From 8abe69cb8554cb59e9263965ca2d867bd4413d9a Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Mon, 20 Nov 2023 12:38:49 -0500 Subject: [PATCH] Generate current service sources. --- GoogleAPIClientForREST.podspec | 10 + Package.swift | 20 + .../GTLRAIPlatformNotebooksObjects.m | 57 + .../GTLRAIPlatformNotebooksQuery.m | 19 + .../GTLRAIPlatformNotebooksObjects.h | 65 + .../GTLRAIPlatformNotebooksQuery.h | 32 + .../GTLRAccessApprovalObjects.m | 46 +- .../GTLRAccessApprovalObjects.h | 347 +- .../Aiplatform/GTLRAiplatformObjects.m | 770 +- .../Aiplatform/GTLRAiplatformQuery.m | 1260 +- .../GTLRAiplatformObjects.h | 1273 +- .../GTLRAiplatformQuery.h | 2422 +++- .../AnalyticsData/GTLRAnalyticsDataObjects.m | 20 +- .../GTLRAnalyticsDataObjects.h | 48 +- .../GTLRAndroidEnterpriseObjects.h | 24 +- .../GTLRAndroidManagementObjects.m | 2 + .../GTLRAndroidManagementObjects.h | 80 +- .../GTLRAndroidProvisioningPartnerObjects.m | 4 +- .../GTLRAndroidProvisioningPartnerObjects.h | 14 + .../GTLRAndroidPublisherObjects.m | 31 +- .../GTLRAndroidPublisherQuery.m | 31 + .../GTLRAndroidPublisherObjects.h | 178 +- .../GTLRAndroidPublisherQuery.h | 82 +- .../Apigee/GTLRApigeeObjects.m | 20 +- .../Apigee/GTLRApigeeQuery.m | 10 +- .../GTLRApigeeObjects.h | 65 +- .../GoogleAPIClientForREST/GTLRApigeeQuery.h | 18 +- .../Appengine/GTLRAppengineObjects.m | 89 +- .../Appengine/GTLRAppengineQuery.m | 24 + .../GTLRAppengineObjects.h | 229 +- .../GTLRAppengineQuery.h | 67 + .../GTLRArtifactRegistryObjects.m | 1 + .../GTLRArtifactRegistryObjects.h | 12 +- .../GTLRArtifactRegistryQuery.h | 4 +- .../GTLRAssuredworkloadsObjects.m | 25 +- .../GTLRAssuredworkloadsObjects.h | 148 +- .../GTLRAssuredworkloadsQuery.h | 2 +- .../Backupdr/GTLRBackupdrObjects.m | 24 +- .../GTLRBackupdrObjects.h | 45 + .../GTLRBigQueryDataPolicyServiceObjects.m | 253 + .../GTLRBigQueryDataPolicyServiceQuery.m | 236 + .../GTLRBigQueryDataPolicyServiceService.m | 36 + .../GTLRBigQueryDataPolicyService.h | 13 + .../GTLRBigQueryDataPolicyServiceObjects.h | 677 ++ .../GTLRBigQueryDataPolicyServiceQuery.h | 386 + .../GTLRBigQueryDataPolicyServiceService.h | 80 + .../BigtableAdmin/GTLRBigtableAdminObjects.m | 11 +- .../GTLRBigtableAdminObjects.h | 29 +- .../GTLRBlockchainNodeEngineObjects.m | 3 +- .../GTLRBlockchainNodeEngineObjects.h | 20 + .../GTLRChromeManagementObjects.m | 21 +- .../GTLRChromeManagementObjects.h | 32 + .../GTLRChromeUXReportObjects.m | 16 +- .../GTLRChromeUXReportObjects.h | 16 + .../GTLRCloudAlloyDBAdminObjects.m | 8 +- .../GTLRCloudAlloyDBAdminObjects.h | 80 +- .../GTLRCloudAssetObjects.h | 58 +- .../GTLRCloudAssetQuery.h | 69 +- .../CloudBatch/GTLRCloudBatchObjects.m | 23 +- .../GTLRCloudBatchObjects.h | 53 +- .../GTLRCloudBillingBudgetObjects.m | 7 +- .../GTLRCloudBillingBudgetObjects.h | 43 + .../CloudBuild/GTLRCloudBuildObjects.m | 91 +- .../GTLRCloudBuildObjects.h | 174 +- .../CloudDataplex/GTLRCloudDataplexObjects.m | 50 +- .../GTLRCloudDataplexObjects.h | 130 +- .../CloudDeploy/GTLRCloudDeployObjects.m | 484 +- .../CloudDeploy/GTLRCloudDeployQuery.m | 180 + .../GTLRCloudDeployObjects.h | 1364 ++- .../GTLRCloudDeployQuery.h | 517 +- .../CloudDomains/GTLRCloudDomainsObjects.m | 17 +- .../CloudDomains/GTLRCloudDomainsQuery.m | 5 + .../GTLRCloudDomainsObjects.h | 248 +- .../GTLRCloudDomainsQuery.h | 65 +- .../GTLRCloudFunctionsQuery.h | 10 +- .../GTLRCloudHealthcareQuery.h | 174 +- .../CloudRedis/GTLRCloudRedisObjects.m | 6 +- .../GTLRCloudRedisObjects.h | 9 + .../GTLRCloudRetailObjects.h | 17 +- .../CloudRun/GTLRCloudRunObjects.m | 15 +- .../GTLRCloudRunObjects.h | 22 + .../CloudTasks/GTLRCloudTasksObjects.m | 145 +- .../CloudTasks/GTLRCloudTasksQuery.m | 31 + .../GTLRCloudTasksObjects.h | 396 +- .../GTLRCloudTasksQuery.h | 82 +- .../GTLRCloudWorkstationsObjects.m | 18 +- .../GTLRCloudWorkstationsObjects.h | 20 + .../Cloudbilling/GTLRCloudbillingObjects.m | 12 +- .../Cloudbilling/GTLRCloudbillingQuery.m | 146 +- .../GTLRCloudbillingObjects.h | 23 + .../GTLRCloudbillingQuery.h | 349 + .../Compute/GTLRComputeObjects.m | 134 +- .../Compute/GTLRComputeQuery.m | 142 + .../GTLRComputeObjects.h | 514 +- .../GoogleAPIClientForREST/GTLRComputeQuery.h | 283 + .../GTLRContactcenterinsightsObjects.m | 118 +- .../GTLRContactcenterinsightsQuery.m | 27 + .../GTLRContactcenterinsightsObjects.h | 286 +- .../GTLRContactcenterinsightsQuery.h | 34 + .../Container/GTLRContainerObjects.m | 39 +- .../GTLRContainerObjects.h | 69 + .../GTLRContainerAnalysisObjects.m | 5 +- .../GTLRContainerAnalysisQuery.m | 5 +- .../GTLRContainerAnalysisService.m | 5 +- .../GTLRContainerAnalysis.h | 5 +- .../GTLRContainerAnalysisObjects.h | 5 +- .../GTLRContainerAnalysisQuery.h | 5 +- .../GTLRContainerAnalysisService.h | 12 +- .../GTLRContentwarehouseObjects.m | 271 +- .../GTLRContentwarehouseObjects.h | 741 +- .../GoogleAPIClientForREST/GTLRDLPObjects.h | 121 +- .../GoogleAPIClientForREST/GTLRDLPQuery.h | 236 +- .../GTLRDatabaseMigrationServiceObjects.m | 32 +- .../GTLRDatabaseMigrationServiceQuery.m | 27 + .../GTLRDatabaseMigrationServiceObjects.h | 132 + .../GTLRDatabaseMigrationServiceQuery.h | 33 + .../GTLRDataflowObjects.h | 12 +- .../Dataform/GTLRDataformObjects.m | 56 +- .../Dataform/GTLRDataformQuery.m | 19 + .../GTLRDataformObjects.h | 73 + .../GTLRDataformQuery.h | 51 + .../Dataproc/GTLRDataprocObjects.m | 43 +- .../GTLRDataprocObjects.h | 108 + .../GTLRDataprocMetastoreObjects.m | 28 +- .../GTLRDataprocMetastoreObjects.h | 44 + .../Datastream/GTLRDatastreamQuery.m | 12 +- .../GTLRDatastreamQuery.h | 8 - .../Dialogflow/GTLRDialogflowObjects.m | 187 +- .../Dialogflow/GTLRDialogflowQuery.m | 27 + .../GTLRDialogflowObjects.h | 328 + .../GTLRDialogflowQuery.h | 33 + .../Directory/GTLRDirectoryObjects.m | 22 +- .../GTLRDirectoryObjects.h | 37 +- .../GTLRDiscoveryEngineObjects.m | 256 +- .../GTLRDiscoveryEngineQuery.m | 38 + .../GTLRDiscoveryEngineObjects.h | 806 +- .../GTLRDiscoveryEngineQuery.h | 164 +- .../DisplayVideo/GTLRDisplayVideoObjects.m | 29 +- .../GTLRDisplayVideoObjects.h | 146 +- .../Document/GTLRDocumentObjects.m | 2 +- .../GTLRDocumentObjects.h | 23 +- .../GTLRFirebaseDynamicLinksObjects.h | 1 + .../Firestore/GTLRFirestoreObjects.m | 5 +- .../GTLRFirestoreObjects.h | 23 +- .../GKEHub/GTLRGKEHubObjects.m | 292 +- .../GTLRGKEHubObjects.h | 695 +- .../GoogleAPIClientForREST/GTLRGKEHubQuery.h | 4 +- .../GKEOnPrem/GTLRGKEOnPremObjects.m | 29 +- .../GTLRGKEOnPremObjects.h | 25 +- .../Gmail/GTLRGmailObjects.m | 2 +- .../GoogleAPIClientForREST/GTLRGmailObjects.h | 7 + .../GTLRGoogleAnalyticsAdminObjects.m | 13 +- .../GTLRGoogleAnalyticsAdminObjects.h | 28 + .../GTLRHangoutsChatObjects.h | 13 +- .../GTLRHangoutsChatQuery.h | 61 +- .../Logging/GTLRLoggingObjects.m | 164 +- .../Logging/GTLRLoggingQuery.m | 336 + .../GTLRLoggingObjects.h | 336 +- .../GoogleAPIClientForREST/GTLRLoggingQuery.h | 1134 +- .../Looker/GTLRLookerObjects.m | 599 + .../Looker/GTLRLookerQuery.m | 483 + .../Looker/GTLRLookerService.m | 33 + .../GoogleAPIClientForREST/GTLRLooker.h | 11 + .../GTLRLookerObjects.h | 1496 +++ .../GoogleAPIClientForREST/GTLRLookerQuery.h | 801 ++ .../GTLRLookerService.h | 69 + .../GTLRManufacturerCenterObjects.m | 15 +- .../GTLRManufacturerCenterObjects.h | 21 + .../GTLRMapsPlacesObjects.h | 72 +- .../GTLRMapsPlacesQuery.h | 29 +- .../Monitoring/GTLRMonitoringObjects.m | 8 +- .../GTLRMonitoringObjects.h | 59 +- .../GTLRMonitoringQuery.h | 13 +- .../GTLRMyBusinessLodgingObjects.m | 6 + .../GTLRMyBusinessLodgingObjects.h | 31 +- .../GTLRNetworkManagementObjects.m | 2 + .../GTLRNetworkManagementObjects.h | 35 +- .../GTLRNetworkconnectivityObjects.m | 20 - .../GTLRNetworkconnectivityQuery.m | 54 - .../GTLRNetworkconnectivityObjects.h | 52 - .../GTLRNetworkconnectivityQuery.h | 64 - .../GTLROnDemandScanningObjects.m | 2 +- .../GTLROnDemandScanningObjects.h | 2 + .../GTLRPaymentsResellerSubscriptionObjects.m | 1 + .../GTLRPaymentsResellerSubscriptionObjects.h | 13 +- .../PlayIntegrity/GTLRPlayIntegrityObjects.m | 67 +- .../GTLRPlayIntegrityObjects.h | 286 +- .../Pubsub/GTLRPubsubObjects.m | 2 +- .../GTLRPubsubObjects.h | 22 +- .../GoogleAPIClientForREST/GTLRPubsubQuery.h | 44 +- .../GTLRRealTimeBiddingObjects.h | 4 +- .../GTLRRealTimeBiddingQuery.h | 16 +- .../GTLRRecaptchaEnterpriseObjects.h | 15 +- .../GTLRRecaptchaEnterpriseQuery.h | 11 +- .../GTLRRecommenderQuery.h | 112 +- .../SA360/GTLRSA360Objects.m | 747 +- .../GoogleAPIClientForREST/GTLRSA360Objects.h | 10049 +++++++++++----- .../SASPortal/GTLRSASPortalObjects.m | 6 +- .../GTLRSASPortalObjects.h | 14 - .../SQLAdmin/GTLRSQLAdminObjects.m | 50 +- .../SQLAdmin/GTLRSQLAdminQuery.m | 31 + .../GTLRSQLAdminObjects.h | 228 +- .../GTLRSQLAdminQuery.h | 37 + .../Script/GTLRScriptObjects.m | 1 + .../Script/GTLRScriptQuery.m | 2 + .../GTLRScriptObjects.h | 9 + .../GoogleAPIClientForREST/GTLRScriptQuery.h | 16 + .../GTLRSecurityCommandCenterObjects.m | 40 +- .../GTLRSecurityCommandCenterObjects.h | 48 + .../GTLRServiceNetworkingObjects.m | 18 +- .../GTLRServiceNetworkingQuery.m | 19 + .../GTLRServiceNetworkingObjects.h | 27 + .../GTLRServiceNetworkingQuery.h | 44 + .../ServiceUsage/GTLRServiceUsageObjects.m | 65 + .../GTLRServiceUsageObjects.h | 98 + .../GTLRShoppingContentObjects.m | 27 +- .../GTLRShoppingContentObjects.h | 123 +- .../Spanner/GTLRSpannerObjects.m | 106 +- .../Spanner/GTLRSpannerQuery.m | 76 + .../GTLRSpannerObjects.h | 222 + .../GoogleAPIClientForREST/GTLRSpannerQuery.h | 149 + .../Speech/GTLRSpeechObjects.m | 32 +- .../GTLRSpeechObjects.h | 71 +- .../Storage/GTLRStorageObjects.m | 34 + .../Storage/GTLRStorageQuery.m | 169 + .../Storage/GTLRStorageService.m | 2 + .../GTLRStorageObjects.h | 93 +- .../GoogleAPIClientForREST/GTLRStorageQuery.h | 246 + .../Testing/GTLRTestingObjects.m | 11 +- .../GTLRTestingObjects.h | 14 +- .../GTLRTrafficDirectorServiceObjects.m | 253 +- .../GTLRTrafficDirectorServiceQuery.m | 4 +- .../GTLRTrafficDirectorServiceService.m | 2 +- .../GTLRTrafficDirectorService.h | 2 +- .../GTLRTrafficDirectorServiceObjects.h | 930 +- .../GTLRTrafficDirectorServiceQuery.h | 2 +- .../GTLRTrafficDirectorServiceService.h | 2 +- .../VMwareEngine/GTLRVMwareEngineObjects.m | 502 +- .../VMwareEngine/GTLRVMwareEngineQuery.m | 1211 +- .../GTLRVMwareEngineObjects.h | 1439 ++- .../GTLRVMwareEngineQuery.h | 3603 ++++-- .../GTLRWebSecurityScannerObjects.m | 1 + .../GTLRWebSecurityScannerObjects.h | 9 + .../GTLRWorkflowExecutionsObjects.m | 107 + .../GTLRWorkflowExecutionsQuery.m | 38 + .../GTLRWorkflowExecutionsObjects.h | 443 + .../GTLRWorkflowExecutionsQuery.h | 106 + 247 files changed, 43109 insertions(+), 6628 deletions(-) create mode 100644 Sources/GeneratedServices/BigQueryDataPolicyService/GTLRBigQueryDataPolicyServiceObjects.m create mode 100644 Sources/GeneratedServices/BigQueryDataPolicyService/GTLRBigQueryDataPolicyServiceQuery.m create mode 100644 Sources/GeneratedServices/BigQueryDataPolicyService/GTLRBigQueryDataPolicyServiceService.m create mode 100644 Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyService.h create mode 100644 Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceObjects.h create mode 100644 Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceQuery.h create mode 100644 Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceService.h create mode 100644 Sources/GeneratedServices/Looker/GTLRLookerObjects.m create mode 100644 Sources/GeneratedServices/Looker/GTLRLookerQuery.m create mode 100644 Sources/GeneratedServices/Looker/GTLRLookerService.m create mode 100644 Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLooker.h create mode 100644 Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h create mode 100644 Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerQuery.h create mode 100644 Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerService.h diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index c229ccd27..0243bb0b6 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -239,6 +239,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/BigQueryConnectionService/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'BigQueryDataPolicyService' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/BigQueryDataPolicyService/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'BigQueryDataTransfer' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/BigQueryDataTransfer/**/*.{h,m}' @@ -924,6 +929,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/Logging/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'Looker' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/Looker/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'ManagedServiceforMicrosoftActiveDirectoryConsumerAPI' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/ManagedServiceforMicrosoftActiveDirectoryConsumerAPI/**/*.{h,m}' diff --git a/Package.swift b/Package.swift index 324be98ee..5ff4b2d83 100644 --- a/Package.swift +++ b/Package.swift @@ -169,6 +169,10 @@ let package = Package( name: "GoogleAPIClientForREST_BigQueryConnectionService", targets: ["GoogleAPIClientForREST_BigQueryConnectionService"] ), + .library( + name: "GoogleAPIClientForREST_BigQueryDataPolicyService", + targets: ["GoogleAPIClientForREST_BigQueryDataPolicyService"] + ), .library( name: "GoogleAPIClientForREST_BigQueryDataTransfer", targets: ["GoogleAPIClientForREST_BigQueryDataTransfer"] @@ -717,6 +721,10 @@ let package = Package( name: "GoogleAPIClientForREST_Logging", targets: ["GoogleAPIClientForREST_Logging"] ), + .library( + name: "GoogleAPIClientForREST_Looker", + targets: ["GoogleAPIClientForREST_Looker"] + ), .library( name: "GoogleAPIClientForREST_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI", targets: ["GoogleAPIClientForREST_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI"] @@ -1350,6 +1358,12 @@ let package = Package( path: "Sources/GeneratedServices/BigQueryConnectionService", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_BigQueryDataPolicyService", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/BigQueryDataPolicyService", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_BigQueryDataTransfer", dependencies: ["GoogleAPIClientForRESTCore"], @@ -2172,6 +2186,12 @@ let package = Package( path: "Sources/GeneratedServices/Logging", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_Looker", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/Looker", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI", dependencies: ["GoogleAPIClientForRESTCore"], diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m index aebf5c703..6e5c8409f 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m +++ b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m @@ -151,6 +151,24 @@ @implementation GTLRAIPlatformNotebooks_CheckInstanceUpgradabilityResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAIPlatformNotebooks_Config +// + +@implementation GTLRAIPlatformNotebooks_Config +@dynamic availableImages, defaultValues, supportedValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"availableImages" : [GTLRAIPlatformNotebooks_ImageRelease class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAIPlatformNotebooks_ContainerImage @@ -171,6 +189,16 @@ @implementation GTLRAIPlatformNotebooks_DataDisk @end +// ---------------------------------------------------------------------------- +// +// GTLRAIPlatformNotebooks_DefaultValues +// + +@implementation GTLRAIPlatformNotebooks_DefaultValues +@dynamic machineType; +@end + + // ---------------------------------------------------------------------------- // // GTLRAIPlatformNotebooks_DiagnoseInstanceRequest @@ -289,6 +317,16 @@ @implementation GTLRAIPlatformNotebooks_GPUDriverConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRAIPlatformNotebooks_ImageRelease +// + +@implementation GTLRAIPlatformNotebooks_ImageRelease +@dynamic imageName, releaseName; +@end + + // ---------------------------------------------------------------------------- // // GTLRAIPlatformNotebooks_Instance @@ -645,6 +683,25 @@ @implementation GTLRAIPlatformNotebooks_StopInstanceRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAIPlatformNotebooks_SupportedValues +// + +@implementation GTLRAIPlatformNotebooks_SupportedValues +@dynamic acceleratorTypes, machineTypes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"acceleratorTypes" : [NSString class], + @"machineTypes" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAIPlatformNotebooks_TestIamPermissionsRequest diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m index b7b2e132a..8fb8ab3e1 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m +++ b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m @@ -146,6 +146,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetConfig + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}/instances:getConfig"; + GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAIPlatformNotebooks_Config class]; + query.loggingName = @"notebooks.projects.locations.instances.getConfig"; + return query; +} + +@end + @implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetIamPolicy @dynamic optionsRequestedPolicyVersion, resource; diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h index 4c8028d30..12c3794bd 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h +++ b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h @@ -19,6 +19,7 @@ @class GTLRAIPlatformNotebooks_BootDisk; @class GTLRAIPlatformNotebooks_ContainerImage; @class GTLRAIPlatformNotebooks_DataDisk; +@class GTLRAIPlatformNotebooks_DefaultValues; @class GTLRAIPlatformNotebooks_DiagnosticConfig; @class GTLRAIPlatformNotebooks_Event; @class GTLRAIPlatformNotebooks_Event_Details; @@ -26,6 +27,7 @@ @class GTLRAIPlatformNotebooks_GceSetup; @class GTLRAIPlatformNotebooks_GceSetup_Metadata; @class GTLRAIPlatformNotebooks_GPUDriverConfig; +@class GTLRAIPlatformNotebooks_ImageRelease; @class GTLRAIPlatformNotebooks_Instance; @class GTLRAIPlatformNotebooks_Instance_HealthInfo; @class GTLRAIPlatformNotebooks_Instance_Labels; @@ -41,6 +43,7 @@ @class GTLRAIPlatformNotebooks_ShieldedInstanceConfig; @class GTLRAIPlatformNotebooks_Status; @class GTLRAIPlatformNotebooks_Status_Details_Item; +@class GTLRAIPlatformNotebooks_SupportedValues; @class GTLRAIPlatformNotebooks_UpgradeHistoryEntry; @class GTLRAIPlatformNotebooks_VmImage; @@ -674,6 +677,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ @end +/** + * Response for getting WbI configurations in a location + */ +@interface GTLRAIPlatformNotebooks_Config : GTLRObject + +/** Output only. The list of available images to create a WbI. */ +@property(nonatomic, strong, nullable) NSArray *availableImages; + +/** Output only. The default values for configuration. */ +@property(nonatomic, strong, nullable) GTLRAIPlatformNotebooks_DefaultValues *defaultValues; + +/** Output only. The supported values for configuration. */ +@property(nonatomic, strong, nullable) GTLRAIPlatformNotebooks_SupportedValues *supportedValues; + +@end + + /** * Definition of a container image for starting a notebook instance with the * environment installed in a container. @@ -751,6 +771,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ @end +/** + * DefaultValues represents the default configuration values. + */ +@interface GTLRAIPlatformNotebooks_DefaultValues : GTLRObject + +/** + * Output only. The default machine type used by the backend if not provided by + * the user. + */ +@property(nonatomic, copy, nullable) NSString *machineType; + +@end + + /** * Request for creating a notebook instance diagnostic file. */ @@ -1047,6 +1081,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ @end +/** + * ConfigImage represents an image release available to create a WbI + */ +@interface GTLRAIPlatformNotebooks_ImageRelease : GTLRObject + +/** + * Output only. The name of the image of the form + * workbench-instances-vYYYYmmdd-- + */ +@property(nonatomic, copy, nullable) NSString *imageName; + +/** Output only. The release of the image of the form m123 */ +@property(nonatomic, copy, nullable) NSString *releaseName; + +@end + + /** * The definition of a notebook instance. */ @@ -1756,6 +1807,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ @end +/** + * SupportedValues represents the values supported by the configuration. + */ +@interface GTLRAIPlatformNotebooks_SupportedValues : GTLRObject + +/** Output only. The accelerator types supported by WbI. */ +@property(nonatomic, strong, nullable) NSArray *acceleratorTypes; + +/** Output only. The machine types supported by WbI. */ +@property(nonatomic, strong, nullable) NSArray *machineTypes; + +@end + + /** * Request message for `TestIamPermissions` method. */ diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h index 46a2d1687..104595720 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h +++ b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h @@ -221,6 +221,38 @@ 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. + * + * Method: notebooks.projects.locations.instances.getConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeAIPlatformNotebooksCloudPlatform + */ +@interface GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetConfig : GTLRAIPlatformNotebooksQuery + +/** Required. Format: `projects/{project_id}/locations/{location}` */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * 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. + * + * @param name Required. Format: `projects/{project_id}/locations/{location}` + * + * @return GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetConfig + */ ++ (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. diff --git a/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m b/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m index 165837d6f..f3ea1d9c7 100644 --- a/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m +++ b/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m @@ -25,6 +25,43 @@ NSString * const kGTLRAccessApproval_EnrolledService_EnrollmentLevel_BlockAll = @"BLOCK_ALL"; NSString * const kGTLRAccessApproval_EnrolledService_EnrollmentLevel_EnrollmentLevelUnspecified = @"ENROLLMENT_LEVEL_UNSPECIFIED"; +// GTLRAccessApproval_SignatureInfo.googleKeyAlgorithm +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes128Cbc = @"AES_128_CBC"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes128Ctr = @"AES_128_CTR"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes128Gcm = @"AES_128_GCM"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes256Cbc = @"AES_256_CBC"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes256Ctr = @"AES_256_CTR"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes256Gcm = @"AES_256_GCM"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_CryptoKeyVersionAlgorithmUnspecified = @"CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignP256Sha256 = @"EC_SIGN_P256_SHA256"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignP384Sha384 = @"EC_SIGN_P384_SHA384"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignSecp256k1Sha256 = @"EC_SIGN_SECP256K1_SHA256"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_ExternalSymmetricEncryption = @"EXTERNAL_SYMMETRIC_ENCRYPTION"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_GoogleSymmetricEncryption = @"GOOGLE_SYMMETRIC_ENCRYPTION"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha1 = @"HMAC_SHA1"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha224 = @"HMAC_SHA224"; +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_RsaDecryptOaep2048Sha1 = @"RSA_DECRYPT_OAEP_2048_SHA1"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep2048Sha256 = @"RSA_DECRYPT_OAEP_2048_SHA256"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep3072Sha1 = @"RSA_DECRYPT_OAEP_3072_SHA1"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep3072Sha256 = @"RSA_DECRYPT_OAEP_3072_SHA256"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep4096Sha1 = @"RSA_DECRYPT_OAEP_4096_SHA1"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep4096Sha256 = @"RSA_DECRYPT_OAEP_4096_SHA256"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep4096Sha512 = @"RSA_DECRYPT_OAEP_4096_SHA512"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPkcs12048Sha256 = @"RSA_SIGN_PKCS1_2048_SHA256"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPkcs13072Sha256 = @"RSA_SIGN_PKCS1_3072_SHA256"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPkcs14096Sha256 = @"RSA_SIGN_PKCS1_4096_SHA256"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPkcs14096Sha512 = @"RSA_SIGN_PKCS1_4096_SHA512"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPss2048Sha256 = @"RSA_SIGN_PSS_2048_SHA256"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPss3072Sha256 = @"RSA_SIGN_PSS_3072_SHA256"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPss4096Sha256 = @"RSA_SIGN_PSS_4096_SHA256"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPss4096Sha512 = @"RSA_SIGN_PSS_4096_SHA512"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignRawPkcs12048 = @"RSA_SIGN_RAW_PKCS1_2048"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignRawPkcs13072 = @"RSA_SIGN_RAW_PKCS1_3072"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignRawPkcs14096 = @"RSA_SIGN_RAW_PKCS1_4096"; + // ---------------------------------------------------------------------------- // // GTLRAccessApproval_AccessLocations @@ -51,9 +88,9 @@ @implementation GTLRAccessApproval_AccessReason // @implementation GTLRAccessApproval_ApprovalRequest -@dynamic approve, dismiss, name, requestedExpiration, requestedLocations, - requestedReason, requestedResourceName, requestedResourceProperties, - requestTime; +@dynamic approve, dismiss, name, requestedDuration, requestedExpiration, + requestedLocations, requestedReason, requestedResourceName, + requestedResourceProperties, requestTime; @end @@ -194,5 +231,6 @@ @implementation GTLRAccessApproval_Settings // @implementation GTLRAccessApproval_SignatureInfo -@dynamic customerKmsKeyVersion, googlePublicKeyPem, signature; +@dynamic customerKmsKeyVersion, googleKeyAlgorithm, googlePublicKeyPem, + serializedApprovalRequest, signature; @end diff --git a/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h b/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h index 949ac77df..149909773 100644 --- a/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h +++ b/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h @@ -98,6 +98,226 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_EnrolledService_Enrollmen */ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_EnrolledService_EnrollmentLevel_EnrollmentLevelUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAccessApproval_SignatureInfo.googleKeyAlgorithm + +/** + * AES-CBC (Cipher Block Chaining Mode) using 128-bit keys. + * + * Value: "AES_128_CBC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes128Cbc; +/** + * AES-CTR (Counter Mode) using 128-bit keys. + * + * Value: "AES_128_CTR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes128Ctr; +/** + * AES-GCM (Galois Counter Mode) using 128-bit keys. + * + * Value: "AES_128_GCM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes128Gcm; +/** + * AES-CBC (Cipher Block Chaining Mode) using 256-bit keys. + * + * Value: "AES_256_CBC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes256Cbc; +/** + * AES-CTR (Counter Mode) using 256-bit keys. + * + * Value: "AES_256_CTR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes256Ctr; +/** + * AES-GCM (Galois Counter Mode) using 256-bit keys. + * + * Value: "AES_256_GCM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes256Gcm; +/** + * Not specified. + * + * Value: "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_CryptoKeyVersionAlgorithmUnspecified; +/** + * ECDSA on the NIST P-256 curve with a SHA256 digest. Other hash functions can + * also be used: + * https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms + * + * Value: "EC_SIGN_P256_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignP256Sha256; +/** + * ECDSA on the NIST P-384 curve with a SHA384 digest. Other hash functions can + * also be used: + * https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms + * + * Value: "EC_SIGN_P384_SHA384" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignP384Sha384; +/** + * ECDSA on the non-NIST secp256k1 curve. This curve is only supported for HSM + * protection level. Other hash functions can also be used: + * https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms + * + * Value: "EC_SIGN_SECP256K1_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignSecp256k1Sha256; +/** + * Algorithm representing symmetric encryption by an external key manager. + * + * Value: "EXTERNAL_SYMMETRIC_ENCRYPTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_ExternalSymmetricEncryption; +/** + * Creates symmetric encryption keys. + * + * Value: "GOOGLE_SYMMETRIC_ENCRYPTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_GoogleSymmetricEncryption; +/** + * HMAC-SHA1 signing with a 160 bit key. + * + * Value: "HMAC_SHA1" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha1; +/** + * HMAC-SHA224 signing with a 224 bit key. + * + * Value: "HMAC_SHA224" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha224; +/** + * HMAC-SHA256 signing with a 256 bit key. + * + * Value: "HMAC_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha256; +/** + * HMAC-SHA384 signing with a 384 bit key. + * + * Value: "HMAC_SHA384" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha384; +/** + * HMAC-SHA512 signing with a 512 bit key. + * + * Value: "HMAC_SHA512" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha512; +/** + * RSAES-OAEP 2048 bit key with a SHA1 digest. + * + * Value: "RSA_DECRYPT_OAEP_2048_SHA1" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep2048Sha1; +/** + * RSAES-OAEP 2048 bit key with a SHA256 digest. + * + * Value: "RSA_DECRYPT_OAEP_2048_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep2048Sha256; +/** + * RSAES-OAEP 3072 bit key with a SHA1 digest. + * + * Value: "RSA_DECRYPT_OAEP_3072_SHA1" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep3072Sha1; +/** + * RSAES-OAEP 3072 bit key with a SHA256 digest. + * + * Value: "RSA_DECRYPT_OAEP_3072_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep3072Sha256; +/** + * RSAES-OAEP 4096 bit key with a SHA1 digest. + * + * Value: "RSA_DECRYPT_OAEP_4096_SHA1" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep4096Sha1; +/** + * RSAES-OAEP 4096 bit key with a SHA256 digest. + * + * Value: "RSA_DECRYPT_OAEP_4096_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep4096Sha256; +/** + * RSAES-OAEP 4096 bit key with a SHA512 digest. + * + * Value: "RSA_DECRYPT_OAEP_4096_SHA512" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep4096Sha512; +/** + * RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest. + * + * Value: "RSA_SIGN_PKCS1_2048_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPkcs12048Sha256; +/** + * RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest. + * + * Value: "RSA_SIGN_PKCS1_3072_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPkcs13072Sha256; +/** + * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest. + * + * Value: "RSA_SIGN_PKCS1_4096_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPkcs14096Sha256; +/** + * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest. + * + * Value: "RSA_SIGN_PKCS1_4096_SHA512" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPkcs14096Sha512; +/** + * RSASSA-PSS 2048 bit key with a SHA256 digest. + * + * Value: "RSA_SIGN_PSS_2048_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPss2048Sha256; +/** + * RSASSA-PSS 3072 bit key with a SHA256 digest. + * + * Value: "RSA_SIGN_PSS_3072_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPss3072Sha256; +/** + * RSASSA-PSS 4096 bit key with a SHA256 digest. + * + * Value: "RSA_SIGN_PSS_4096_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPss4096Sha256; +/** + * RSASSA-PSS 4096 bit key with a SHA512 digest. + * + * Value: "RSA_SIGN_PSS_4096_SHA512" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPss4096Sha512; +/** + * RSASSA-PKCS1-v1_5 signing without encoding, with a 2048 bit key. + * + * Value: "RSA_SIGN_RAW_PKCS1_2048" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignRawPkcs12048; +/** + * RSASSA-PKCS1-v1_5 signing without encoding, with a 3072 bit key. + * + * Value: "RSA_SIGN_RAW_PKCS1_3072" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignRawPkcs13072; +/** + * RSASSA-PKCS1-v1_5 signing without encoding, with a 4096 bit key. + * + * Value: "RSA_SIGN_RAW_PKCS1_4096" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignRawPkcs14096; + /** * Home office and physical location of the principal. */ @@ -188,9 +408,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_EnrolledService_Enrollmen */ @property(nonatomic, copy, nullable) NSString *name; +/** The requested access duration. */ +@property(nonatomic, strong, nullable) GTLRDuration *requestedDuration; + /** - * The requested expiration for the approval. If the request is approved, - * access will be granted from the time of approval until the expiration time. + * The original requested expiration for the approval. Calculated by adding the + * requested_duration to the request_time. */ @property(nonatomic, strong, nullable) GTLRDateTime *requestedExpiration; @@ -524,6 +747,117 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_EnrolledService_Enrollmen /** The resource name of the customer CryptoKeyVersion used for signing. */ @property(nonatomic, copy, nullable) NSString *customerKmsKeyVersion; +/** + * The hashing algorithm used for signature verification. It will only be + * present in the case of Google managed keys. + * + * Likely values: + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes128Cbc + * AES-CBC (Cipher Block Chaining Mode) using 128-bit keys. (Value: + * "AES_128_CBC") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes128Ctr + * AES-CTR (Counter Mode) using 128-bit keys. (Value: "AES_128_CTR") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes128Gcm + * AES-GCM (Galois Counter Mode) using 128-bit keys. (Value: + * "AES_128_GCM") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes256Cbc + * AES-CBC (Cipher Block Chaining Mode) using 256-bit keys. (Value: + * "AES_256_CBC") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes256Ctr + * AES-CTR (Counter Mode) using 256-bit keys. (Value: "AES_256_CTR") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_Aes256Gcm + * AES-GCM (Galois Counter Mode) using 256-bit keys. (Value: + * "AES_256_GCM") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_CryptoKeyVersionAlgorithmUnspecified + * Not specified. (Value: "CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignP256Sha256 + * ECDSA on the NIST P-256 curve with a SHA256 digest. Other hash + * functions can also be used: + * https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms + * (Value: "EC_SIGN_P256_SHA256") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignP384Sha384 + * ECDSA on the NIST P-384 curve with a SHA384 digest. Other hash + * functions can also be used: + * https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms + * (Value: "EC_SIGN_P384_SHA384") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_EcSignSecp256k1Sha256 + * ECDSA on the non-NIST secp256k1 curve. This curve is only supported + * for HSM protection level. Other hash functions can also be used: + * https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms + * (Value: "EC_SIGN_SECP256K1_SHA256") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_ExternalSymmetricEncryption + * Algorithm representing symmetric encryption by an external key + * manager. (Value: "EXTERNAL_SYMMETRIC_ENCRYPTION") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_GoogleSymmetricEncryption + * Creates symmetric encryption keys. (Value: + * "GOOGLE_SYMMETRIC_ENCRYPTION") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha1 + * HMAC-SHA1 signing with a 160 bit key. (Value: "HMAC_SHA1") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha224 + * HMAC-SHA224 signing with a 224 bit key. (Value: "HMAC_SHA224") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha256 + * HMAC-SHA256 signing with a 256 bit key. (Value: "HMAC_SHA256") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha384 + * 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_RsaDecryptOaep2048Sha1 + * RSAES-OAEP 2048 bit key with a SHA1 digest. (Value: + * "RSA_DECRYPT_OAEP_2048_SHA1") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep2048Sha256 + * RSAES-OAEP 2048 bit key with a SHA256 digest. (Value: + * "RSA_DECRYPT_OAEP_2048_SHA256") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep3072Sha1 + * RSAES-OAEP 3072 bit key with a SHA1 digest. (Value: + * "RSA_DECRYPT_OAEP_3072_SHA1") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep3072Sha256 + * RSAES-OAEP 3072 bit key with a SHA256 digest. (Value: + * "RSA_DECRYPT_OAEP_3072_SHA256") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep4096Sha1 + * RSAES-OAEP 4096 bit key with a SHA1 digest. (Value: + * "RSA_DECRYPT_OAEP_4096_SHA1") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep4096Sha256 + * RSAES-OAEP 4096 bit key with a SHA256 digest. (Value: + * "RSA_DECRYPT_OAEP_4096_SHA256") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep4096Sha512 + * RSAES-OAEP 4096 bit key with a SHA512 digest. (Value: + * "RSA_DECRYPT_OAEP_4096_SHA512") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPkcs12048Sha256 + * RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest. (Value: + * "RSA_SIGN_PKCS1_2048_SHA256") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPkcs13072Sha256 + * RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest. (Value: + * "RSA_SIGN_PKCS1_3072_SHA256") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPkcs14096Sha256 + * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest. (Value: + * "RSA_SIGN_PKCS1_4096_SHA256") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPkcs14096Sha512 + * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest. (Value: + * "RSA_SIGN_PKCS1_4096_SHA512") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPss2048Sha256 + * RSASSA-PSS 2048 bit key with a SHA256 digest. (Value: + * "RSA_SIGN_PSS_2048_SHA256") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPss3072Sha256 + * RSASSA-PSS 3072 bit key with a SHA256 digest. (Value: + * "RSA_SIGN_PSS_3072_SHA256") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPss4096Sha256 + * RSASSA-PSS 4096 bit key with a SHA256 digest. (Value: + * "RSA_SIGN_PSS_4096_SHA256") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignPss4096Sha512 + * RSASSA-PSS 4096 bit key with a SHA512 digest. (Value: + * "RSA_SIGN_PSS_4096_SHA512") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignRawPkcs12048 + * RSASSA-PKCS1-v1_5 signing without encoding, with a 2048 bit key. + * (Value: "RSA_SIGN_RAW_PKCS1_2048") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignRawPkcs13072 + * RSASSA-PKCS1-v1_5 signing without encoding, with a 3072 bit key. + * (Value: "RSA_SIGN_RAW_PKCS1_3072") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaSignRawPkcs14096 + * RSASSA-PKCS1-v1_5 signing without encoding, with a 4096 bit key. + * (Value: "RSA_SIGN_RAW_PKCS1_4096") + */ +@property(nonatomic, copy, nullable) NSString *googleKeyAlgorithm; + /** * The public key for the Google default signing, encoded in PEM format. The * signature was created using a private key which may be verified using this @@ -531,6 +865,15 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_EnrolledService_Enrollmen */ @property(nonatomic, copy, nullable) NSString *googlePublicKeyPem; +/** + * The serialized ApprovalRequest message without the approve.signature_info + * field. This to allow the customer to verify signatures if they want to. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *serializedApprovalRequest; + /** * The digital signature. * diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m index 9ad4f84fe..3c40c436f 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m @@ -149,6 +149,11 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly_Objective_ObjectiveUnspecified = @"OBJECTIVE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly_Objective_SnapshotAnalysis = @"SNAPSHOT_ANALYSIS"; +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore.state +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_State_Stable = @"STABLE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_State_Updating = @"UPDATING"; + // GTLRAiplatform_GoogleCloudAiplatformV1Featurestore.state NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Featurestore_State_Stable = @"STABLE"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Featurestore_State_StateUnspecified = @"STATE_UNSPECIFIED"; @@ -166,6 +171,11 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis_State_Enabled = @"ENABLED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest.dataFormat +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_FeatureViewDataFormatUnspecified = @"FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_KeyValue = @"KEY_VALUE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_ProtoStruct = @"PROTO_STRUCT"; + // GTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob.state NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob_State_JobStateCancelled = @"JOB_STATE_CANCELLED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob_State_JobStateCancelling = @"JOB_STATE_CANCELLING"; @@ -185,6 +195,14 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Index_IndexUpdateMethod_IndexUpdateMethodUnspecified = @"INDEX_UPDATE_METHOD_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Index_IndexUpdateMethod_StreamUpdate = @"STREAM_UPDATE"; +// GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction.op +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_Equal = @"EQUAL"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_Greater = @"GREATER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_GreaterEqual = @"GREATER_EQUAL"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_Less = @"LESS"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_LessEqual = @"LESS_EQUAL"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_OperatorUnspecified = @"OPERATOR_UNSPECIFIED"; + // GTLRAiplatform_GoogleCloudAiplatformV1MachineSpec.acceleratorType NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_AcceleratorTypeUnspecified = @"ACCELERATOR_TYPE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaA10080gb = @"NVIDIA_A100_80GB"; @@ -428,6 +446,7 @@ // GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry.type NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Enterprise = @"ENTERPRISE"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Unspecified = @"UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_VertexAiSearch = @"VERTEX_AI_SEARCH"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Web = @"WEB"; // GTLRAiplatform_GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationInputs.modelType @@ -1482,6 +1501,42 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CompletionStats @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensRequest +@dynamic instances; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [NSObject class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensResponse +@dynamic tokensInfo; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"tokensInfo" : [GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ContainerRegistryDestination @@ -1597,6 +1652,34 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CopyModelResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1CountTokensRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1CountTokensRequest +@dynamic instances; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [NSObject class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1CountTokensResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1CountTokensResponse +@dynamic totalBillableCharacters, totalTokens; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1CreateDatasetOperationMetadata @@ -1617,6 +1700,26 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateDatasetVersionOperat @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata +@dynamic genericMetadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest +@dynamic deploymentResourcePool, deploymentResourcePoolId; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata @@ -1637,6 +1740,26 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateEntityTypeOperationM @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1CreateFeatureGroupOperationMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateFeatureGroupOperationMetadata +@dynamic genericMetadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1CreateFeatureOnlineStoreOperationMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateFeatureOnlineStoreOperationMetadata +@dynamic genericMetadata; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1CreateFeatureOperationMetadata @@ -1667,6 +1790,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateFeaturestoreOperatio @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1CreateFeatureViewOperationMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateFeatureViewOperationMetadata +@dynamic genericMetadata; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1CreateIndexEndpointOperationMetadata @@ -1717,6 +1850,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CreatePipelineJobRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1CreateRegistryFeatureOperationMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateRegistryFeatureOperationMetadata +@dynamic genericMetadata; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1CreateSpecialistPoolOperationMetadata @@ -2223,6 +2366,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployIndexResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DeploymentResourcePool +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DeploymentResourcePool +@dynamic createTime, dedicatedResources, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata @@ -3047,7 +3200,8 @@ + (NSString *)collectionItemsKey { @implementation GTLRAiplatform_GoogleCloudAiplatformV1Feature @dynamic createTime, descriptionProperty, disableMonitoring, ETag, labels, - monitoringStatsAnomalies, name, updateTime, valueType; + monitoringStatsAnomalies, name, updateTime, valueType, + versionColumnName; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -3081,6 +3235,58 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup +@dynamic bigQuery, createTime, descriptionProperty, ETag, labels, name, + updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"ETag" : @"etag" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup_Labels +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroupBigQuery +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroupBigQuery +@dynamic bigQuerySource, entityIdColumns; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"entityIdColumns" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly @@ -3119,6 +3325,55 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigm @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore +@dynamic bigtable, createTime, ETag, labels, name, state, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_Labels +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStoreBigtable +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStoreBigtable +@dynamic autoScaling; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling +@dynamic cpuUtilizationTarget, maxNodeCount, minNodeCount; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1FeatureSelector @@ -3172,97 +3427,273 @@ + (Class)classForAdditionalProperties { // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfig +// GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfig +@dynamic categoricalThresholdConfig, importFeaturesAnalysis, + numericalThresholdConfig, snapshotAnalysis; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis +@dynamic anomalyDetectionBaseline, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigSnapshotAnalysis +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigSnapshotAnalysis +@dynamic disabled, monitoringIntervalDays, stalenessDays; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig +@dynamic value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig +@dynamic fixedNodeCount, scaling; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling +@dynamic cpuUtilizationTarget, maxNodeCount, minNodeCount; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureValue +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureValue +@dynamic boolArrayValue, boolValue, bytesValue, doubleArrayValue, doubleValue, + int64ArrayValue, int64Value, metadata, stringArrayValue, stringValue; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueDestination +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueDestination +@dynamic bigqueryDestination, csvDestination, tfrecordDestination; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueList +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueList +@dynamic values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [GTLRAiplatform_GoogleCloudAiplatformV1FeatureValue class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueMetadata +@dynamic generateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureView +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureView +@dynamic bigQuerySource, createTime, ETag, featureRegistrySource, labels, name, + syncConfig, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureView_Labels +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureView_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewBigQuerySource +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewBigQuerySource +@dynamic entityIdColumns, uri; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"entityIdColumns" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDataKey // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfig -@dynamic categoricalThresholdConfig, importFeaturesAnalysis, - numericalThresholdConfig, snapshotAnalysis; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDataKey +@dynamic key; @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis -@dynamic anomalyDetectionBaseline, state; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource +@dynamic featureGroups; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"featureGroups" : [GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup class] + }; + return map; +} + @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigSnapshotAnalysis +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigSnapshotAnalysis -@dynamic disabled, monitoringIntervalDays, stalenessDays; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup +@dynamic featureGroupId, featureIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"featureIds" : [NSString class] + }; + return map; +} + @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSync // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig -@dynamic value; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSync +@dynamic createTime, finalStatus, name, runTime; @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSyncConfig // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig -@dynamic fixedNodeCount, scaling; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSyncConfig +@dynamic cron; @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling +// GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling -@dynamic cpuUtilizationTarget, maxNodeCount, minNodeCount; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest +@dynamic dataFormat, dataKey; @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FeatureValue +// GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponse // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureValue -@dynamic boolArrayValue, boolValue, bytesValue, doubleArrayValue, doubleValue, - int64ArrayValue, int64Value, metadata, stringArrayValue, stringValue; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponse +@dynamic keyValues, protoStruct; @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueDestination +// GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponse_ProtoStruct // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueDestination -@dynamic bigqueryDestination, csvDestination, tfrecordDestination; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponse_ProtoStruct + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueList +// GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueList -@dynamic values; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList +@dynamic features; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"values" : [GTLRAiplatform_GoogleCloudAiplatformV1FeatureValue class] + @"features" : [GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair class] }; return map; } @@ -3272,11 +3703,11 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueList // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueMetadata +// GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueMetadata -@dynamic generateTime; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair +@dynamic name, value; @end @@ -3677,11 +4108,12 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapoint -@dynamic crowdingTag, datapointId, featureVector, restricts; +@dynamic crowdingTag, datapointId, featureVector, numericRestricts, restricts; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"featureVector" : [NSNumber class], + @"numericRestricts" : [GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction class], @"restricts" : [GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointRestriction class] }; return map; @@ -3700,6 +4132,21 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointCrowdingTag @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction +@dynamic namespaceProperty, op, valueDouble, valueFloat, valueInt; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"namespaceProperty" : @"namespace" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointRestriction @@ -4054,6 +4501,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse +@dynamic deploymentResourcePools, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"deploymentResourcePools" : [GTLRAiplatform_GoogleCloudAiplatformV1DeploymentResourcePool class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"deploymentResourcePools"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ListEndpointsResponse @@ -4120,6 +4589,50 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureGroupsResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureGroupsResponse +@dynamic featureGroups, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"featureGroups" : [GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"featureGroups"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse +@dynamic featureOnlineStores, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"featureOnlineStores" : [GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"featureOnlineStores"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ListFeaturesResponse @@ -4164,6 +4677,50 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureViewsResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureViewsResponse +@dynamic featureViews, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"featureViews" : [GTLRAiplatform_GoogleCloudAiplatformV1FeatureView class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"featureViews"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureViewSyncsResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureViewSyncsResponse +@dynamic featureViewSyncs, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"featureViewSyncs" : [GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSync class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"featureViewSyncs"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse @@ -5066,7 +5623,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAiplatform_GoogleCloudAiplatformV1ModelContainerSpec -@dynamic args, command, env, healthRoute, imageUri, ports, predictRoute; +@dynamic args, command, deploymentTimeout, env, healthProbe, healthRoute, + imageUri, ports, predictRoute, sharedMemorySizeMb, startupProbe; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6281,6 +6839,34 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PrivateServiceConnectConfi @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1Probe +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1Probe +@dynamic exec, periodSeconds, timeoutSeconds; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ProbeExecAction +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ProbeExecAction +@dynamic command; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"command" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1PublisherModel @@ -6519,6 +7105,26 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PythonPackageSpec @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1QueryDeployedModelsResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1QueryDeployedModelsResponse +@dynamic deployedModelRefs, deployedModels, nextPageToken, + totalDeployedModelCount, totalEndpointCount; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"deployedModelRefs" : [GTLRAiplatform_GoogleCloudAiplatformV1DeployedModelRef class], + @"deployedModels" : [GTLRAiplatform_GoogleCloudAiplatformV1DeployedModel class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1RawPredictRequest @@ -7528,7 +8134,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictionResultErro // @implementation GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig -@dynamic sources; +@dynamic disableAttribution, sources; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -7546,7 +8152,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundi // @implementation GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry -@dynamic enterpriseDatastore, type; +@dynamic enterpriseDatastore, type, vertexAiSearchDatastore; @end @@ -9527,6 +10133,25 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1SuggestTrialsResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1SyncFeatureViewRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1SyncFeatureViewRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1SyncFeatureViewResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1SyncFeatureViewResponse +@dynamic featureViewSync; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1Tensor @@ -9803,6 +10428,25 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1TimestampSplit @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo +@dynamic tokenIds, tokens; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"tokenIds" : [NSNumber class], + @"tokens" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1TrainingConfig @@ -9993,6 +10637,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1UnmanagedContainerModel @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata +@dynamic genericMetadata; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1UpdateExplanationDatasetOperationMetadata @@ -10022,6 +10676,36 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1UpdateExplanationDatasetRe @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeatureGroupOperationMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeatureGroupOperationMetadata +@dynamic genericMetadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeatureOnlineStoreOperationMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeatureOnlineStoreOperationMetadata +@dynamic genericMetadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeatureOperationMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeatureOperationMetadata +@dynamic genericMetadata; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeaturestoreOperationMetadata @@ -10032,6 +10716,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeaturestoreOperatio @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeatureViewOperationMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeatureViewOperationMetadata +@dynamic genericMetadata; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1UpdateIndexOperationMetadata diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m index 7f497526e..e3233c1ff 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m @@ -1428,6 +1428,90 @@ + (instancetype)queryWithDataset:(NSString *)dataset { @end +@implementation GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest *)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}/deploymentResourcePools"; + GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.deploymentResourcePools.create"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.deploymentResourcePools.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1DeploymentResourcePool class]; + query.loggingName = @"aiplatform.projects.locations.deploymentResourcePools.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/deploymentResourcePools"; + GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse class]; + query.loggingName = @"aiplatform.projects.locations.deploymentResourcePools.list"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsOperationsCancel @dynamic name; @@ -1523,6 +1607,79 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsQueryDeployedModels + +@dynamic deploymentResourcePool, pageSize, pageToken; + ++ (instancetype)queryWithDeploymentResourcePool:(NSString *)deploymentResourcePool { + NSArray *pathParams = @[ @"deploymentResourcePool" ]; + NSString *pathURITemplate = @"v1/{+deploymentResourcePool}:queryDeployedModels"; + GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsQueryDeployedModels *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.deploymentResourcePool = deploymentResourcePool; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1QueryDeployedModelsResponse class]; + query.loggingName = @"aiplatform.projects.locations.deploymentResourcePools.queryDeployedModels"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsComputeTokens + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensRequest *)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}:computeTokens"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsComputeTokens *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensResponse class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.computeTokens"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsCountTokens + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1CountTokensRequest *)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}:countTokens"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsCountTokens *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1CountTokensResponse class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.countTokens"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsCreate @dynamic endpointId, parent; @@ -1612,182 +1769,963 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1ExplainRe NSString *pathURITemplate = @"v1/{+endpoint}:explain"; GTLRAiplatformQuery_ProjectsLocationsEndpointsExplain *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ExplainResponse class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.explain"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1Endpoint class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsList + +@dynamic filter, orderBy, pageSize, pageToken, parent, readMask; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/endpoints"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ListEndpointsResponse class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.list"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsMutateDeployedModel + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1MutateDeployedModelRequest *)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}:mutateDeployedModel"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsMutateDeployedModel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.mutateDeployedModel"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:cancel"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleProtobufEmpty class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.operations.cancel"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleProtobufEmpty class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.operations.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.operations.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningListOperationsResponse class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.operations.list"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsWait + +@dynamic name, timeout; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:wait"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsWait *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.operations.wait"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1Endpoint *)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_ProjectsLocationsEndpointsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1Endpoint class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.patch"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsPredict + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1PredictRequest *)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}:predict"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsPredict *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1PredictResponse class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.predict"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsRawPredict + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1RawPredictRequest *)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}:rawPredict"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsRawPredict *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleApiHttpBody class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.rawPredict"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsServerStreamingPredict + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1StreamingPredictRequest *)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}:serverStreamingPredict"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsServerStreamingPredict *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1StreamingPredictResponse class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.serverStreamingPredict"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsUndeployModel + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1UndeployModelRequest *)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}:undeployModel"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsUndeployModel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.undeployModel"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsCreate + +@dynamic featureGroupId, parent; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup *)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}/featureGroups"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.create"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsDelete + +@dynamic force, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesCreate + +@dynamic featureId, parent; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1Feature *)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}/features"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.features.create"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.features.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1Feature class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.features.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesList + +@dynamic filter, latestStatsCount, orderBy, pageSize, pageToken, parent, + readMask; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/features"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ListFeaturesResponse class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.features.list"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleProtobufEmpty class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.features.operations.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.features.operations.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsListWait + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:wait"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsListWait *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningListOperationsResponse class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.features.operations.listWait"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsWait + +@dynamic name, timeout; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:wait"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsWait *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.features.operations.wait"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1Feature *)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_ProjectsLocationsFeatureGroupsFeaturesPatch *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.featureGroups.features.patch"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/featureGroups"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureGroupsResponse class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.list"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleProtobufEmpty class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.operations.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.operations.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsListWait + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:wait"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsListWait *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningListOperationsResponse class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.operations.listWait"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsWait + +@dynamic name, timeout; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:wait"; + GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsWait *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureGroups.operations.wait"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup *)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_ProjectsLocationsFeatureGroupsPatch *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.featureGroups.patch"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresCreate + +@dynamic featureOnlineStoreId, parent; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore *)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}/featureOnlineStores"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.create"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresDelete + +@dynamic force, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsCreate + +@dynamic featureViewId, parent, runSyncImmediately; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureView *)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}/featureViews"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.create"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" pathParameterNames:pathParams]; - query.bodyObject = object; - query.endpoint = endpoint; - query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ExplainResponse class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.explain"; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.delete"; return query; } @end -@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsGet +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGet @dynamic name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRAiplatformQuery_ProjectsLocationsEndpointsGet *query = + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1Endpoint class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.get"; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSync class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.featureViewSyncs.get"; return query; } @end -@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsList +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsList -@dynamic filter, orderBy, pageSize, pageToken, parent, readMask; +@dynamic filter, orderBy, pageSize, pageToken, parent; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/endpoints"; - GTLRAiplatformQuery_ProjectsLocationsEndpointsList *query = + NSString *pathURITemplate = @"v1/{+parent}/featureViewSyncs"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.parent = parent; - query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ListEndpointsResponse class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.list"; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureViewSyncsResponse class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.featureViewSyncs.list"; return query; } @end -@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsMutateDeployedModel +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsFetchFeatureValues -@dynamic endpoint; +@dynamic featureView; -+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1MutateDeployedModelRequest *)object - endpoint:(NSString *)endpoint { ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest *)object + featureView:(NSString *)featureView { if (object == nil) { #if defined(DEBUG) && DEBUG NSAssert(object != nil, @"Got a nil object"); #endif return nil; } - NSArray *pathParams = @[ @"endpoint" ]; - NSString *pathURITemplate = @"v1/{+endpoint}:mutateDeployedModel"; - GTLRAiplatformQuery_ProjectsLocationsEndpointsMutateDeployedModel *query = + NSArray *pathParams = @[ @"featureView" ]; + NSString *pathURITemplate = @"v1/{+featureView}:fetchFeatureValues"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsFetchFeatureValues *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; - query.endpoint = endpoint; - query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.mutateDeployedModel"; + query.featureView = featureView; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponse class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.fetchFeatureValues"; return query; } @end -@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsCancel +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsGet @dynamic name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}:cancel"; - GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsCancel *query = + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" + HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRAiplatform_GoogleProtobufEmpty class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.operations.cancel"; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1FeatureView class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.get"; return query; } @end -@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsDelete +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/featureViews"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureViewsResponse class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.list"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsDelete @dynamic name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsDelete *query = + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsDelete *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"DELETE" pathParameterNames:pathParams]; query.name = name; query.expectedObjectClass = [GTLRAiplatform_GoogleProtobufEmpty class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.operations.delete"; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.operations.delete"; return query; } @end -@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsGet +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGet @dynamic name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsGet *query = + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.operations.get"; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.operations.get"; return query; } @end -@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsList +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWait @dynamic filter, name, pageSize, pageToken; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}/operations"; - GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsList *query = + NSString *pathURITemplate = @"v1/{+name}:wait"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWait *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningListOperationsResponse class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.operations.list"; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.operations.listWait"; return query; } @end -@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsWait +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWait @dynamic name, timeout; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}:wait"; - GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsWait *query = + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWait *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.name = name; query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.operations.wait"; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.operations.wait"; return query; } @end -@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsPatch +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsPatch @dynamic name, updateMask; -+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1Endpoint *)object ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureView *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -1797,122 +2735,182 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1Endpoint } NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRAiplatformQuery_ProjectsLocationsEndpointsPatch *query = + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsPatch *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"PATCH" pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1Endpoint class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.patch"; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.patch"; return query; } @end -@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsPredict +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsSync -@dynamic endpoint; +@dynamic featureView; -+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1PredictRequest *)object - endpoint:(NSString *)endpoint { ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1SyncFeatureViewRequest *)object + featureView:(NSString *)featureView { if (object == nil) { #if defined(DEBUG) && DEBUG NSAssert(object != nil, @"Got a nil object"); #endif return nil; } - NSArray *pathParams = @[ @"endpoint" ]; - NSString *pathURITemplate = @"v1/{+endpoint}:predict"; - GTLRAiplatformQuery_ProjectsLocationsEndpointsPredict *query = + NSArray *pathParams = @[ @"featureView" ]; + NSString *pathURITemplate = @"v1/{+featureView}:sync"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsSync *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; - query.endpoint = endpoint; - query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1PredictResponse class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.predict"; + query.featureView = featureView; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1SyncFeatureViewResponse class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.sync"; return query; } @end -@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsRawPredict +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresGet -@dynamic endpoint; +@dynamic name; -+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1RawPredictRequest *)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}:rawPredict"; - GTLRAiplatformQuery_ProjectsLocationsEndpointsRawPredict *query = ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" + HTTPMethod:nil pathParameterNames:pathParams]; - query.bodyObject = object; - query.endpoint = endpoint; - query.expectedObjectClass = [GTLRAiplatform_GoogleApiHttpBody class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.rawPredict"; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.get"; return query; } @end -@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsServerStreamingPredict +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresList -@dynamic endpoint; +@dynamic filter, orderBy, pageSize, pageToken, parent; -+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1StreamingPredictRequest *)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}:serverStreamingPredict"; - GTLRAiplatformQuery_ProjectsLocationsEndpointsServerStreamingPredict *query = ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/featureOnlineStores"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.list"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleProtobufEmpty class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.operations.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.operations.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsListWait + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:wait"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsListWait *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningListOperationsResponse class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.operations.listWait"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsWait + +@dynamic name, timeout; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:wait"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsWait *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; - query.bodyObject = object; - query.endpoint = endpoint; - query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1StreamingPredictResponse class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.serverStreamingPredict"; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.operations.wait"; return query; } @end -@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsUndeployModel +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresPatch -@dynamic endpoint; +@dynamic name, updateMask; -+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1UndeployModelRequest *)object - endpoint:(NSString *)endpoint { ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore *)object + name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG NSAssert(object != nil, @"Got a nil object"); #endif return nil; } - NSArray *pathParams = @[ @"endpoint" ]; - NSString *pathURITemplate = @"v1/{+endpoint}:undeployModel"; - GTLRAiplatformQuery_ProjectsLocationsEndpointsUndeployModel *query = + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresPatch *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" + HTTPMethod:@"PATCH" pathParameterNames:pathParams]; query.bodyObject = object; - query.endpoint = endpoint; + query.name = name; query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; - query.loggingName = @"aiplatform.projects.locations.endpoints.undeployModel"; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.patch"; return query; } @@ -6243,6 +7241,60 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRAiplatformQuery_ProjectsLocationsPublishersModelsComputeTokens + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensRequest *)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}:computeTokens"; + GTLRAiplatformQuery_ProjectsLocationsPublishersModelsComputeTokens *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensResponse class]; + query.loggingName = @"aiplatform.projects.locations.publishers.models.computeTokens"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsPublishersModelsCountTokens + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1CountTokensRequest *)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}:countTokens"; + GTLRAiplatformQuery_ProjectsLocationsPublishersModelsCountTokens *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1CountTokensResponse class]; + query.loggingName = @"aiplatform.projects.locations.publishers.models.countTokens"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsPublishersModelsPredict @dynamic endpoint; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h index f36005f47..a539556fa 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h @@ -77,6 +77,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1DeployedIndexRef; @class GTLRAiplatform_GoogleCloudAiplatformV1DeployedModel; @class GTLRAiplatform_GoogleCloudAiplatformV1DeployedModelRef; +@class GTLRAiplatform_GoogleCloudAiplatformV1DeploymentResourcePool; @class GTLRAiplatform_GoogleCloudAiplatformV1DeployModelRequest_TrafficSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1DestinationFeatureSetting; @class GTLRAiplatform_GoogleCloudAiplatformV1DiskSpec; @@ -124,9 +125,16 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ExportModelRequestOutputConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1Feature; @class GTLRAiplatform_GoogleCloudAiplatformV1Feature_Labels; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup_Labels; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroupBigQuery; @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly; @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureNoiseSigma; @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_Labels; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStoreBigtable; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling; @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureSelector; @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureStatsAnomaly; @class GTLRAiplatform_GoogleCloudAiplatformV1Featurestore; @@ -141,6 +149,17 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueDestination; @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueList; @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureValueMetadata; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureView; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureView_Labels; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewBigQuerySource; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDataKey; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSync; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSyncConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponse_ProtoStruct; +@class GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList; +@class GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair; @class GTLRAiplatform_GoogleCloudAiplatformV1FilterSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsRequestQuery; @class GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors; @@ -160,6 +179,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1Index_Labels; @class GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapoint; @class GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointCrowdingTag; +@class GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction; @class GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointRestriction; @class GTLRAiplatform_GoogleCloudAiplatformV1IndexEndpoint; @class GTLRAiplatform_GoogleCloudAiplatformV1IndexEndpoint_Labels; @@ -275,6 +295,8 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1Presets; @class GTLRAiplatform_GoogleCloudAiplatformV1PrivateEndpoints; @class GTLRAiplatform_GoogleCloudAiplatformV1PrivateServiceConnectConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1Probe; +@class GTLRAiplatform_GoogleCloudAiplatformV1ProbeExecAction; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToAction; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToActionDeploy; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences; @@ -431,6 +453,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1TimeSeriesData; @class GTLRAiplatform_GoogleCloudAiplatformV1TimeSeriesDataPoint; @class GTLRAiplatform_GoogleCloudAiplatformV1TimestampSplit; +@class GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo; @class GTLRAiplatform_GoogleCloudAiplatformV1TrainingConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline; @class GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_Labels; @@ -1184,6 +1207,33 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Featur */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly_Objective_SnapshotAnalysis; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore.state + +/** + * State when the featureOnlineStore configuration is not being updated and the + * fields reflect the current configuration of the featureOnlineStore. The + * featureOnlineStore is usable in this state. + * + * Value: "STABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_State_Stable; +/** + * Default value. This value is unused. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_State_StateUnspecified; +/** + * The state of the featureOnlineStore configuration when it is being updated. + * During an update, the fields reflect either the original configuration or + * the updated configuration of the featureOnlineStore. The featureOnlineStore + * is still usable in this state. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_State_Updating; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1Featurestore.state @@ -1283,6 +1333,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Featur */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest.dataFormat + +/** + * Not set. Will be treated as the KeyValue format. + * + * Value: "FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_FeatureViewDataFormatUnspecified; +/** + * Return response data in key-value format. + * + * Value: "KEY_VALUE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_KeyValue; +/** + * Return response data in proto Struct format. + * + * Value: "PROTO_STRUCT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_ProtoStruct; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob.state @@ -1386,6 +1458,46 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Index_ */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Index_IndexUpdateMethod_StreamUpdate; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction.op + +/** + * Datapoints are eligible iff their value is == the query's. + * + * Value: "EQUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_Equal; +/** + * Datapoints are eligible iff their value is > the query's. + * + * Value: "GREATER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_Greater; +/** + * Datapoints are eligible iff their value is >= the query's. + * + * Value: "GREATER_EQUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_GreaterEqual; +/** + * Datapoints are eligible iff their value is < the query's. + * + * Value: "LESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_Less; +/** + * Datapoints are eligible iff their value is <= the query's. + * + * Value: "LESS_EQUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_LessEqual; +/** + * Default value of the enum. + * + * Value: "OPERATOR_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_OperatorUnspecified; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1MachineSpec.acceleratorType @@ -2678,13 +2790,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema // GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry.type /** - * Uses Enterprise Search to check the grounding. + * Uses Vertex AI Search to check the grounding. Deprecated. Use + * VERTEX_AI_SEARCH instead. * * Value: "ENTERPRISE" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Enterprise; +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Enterprise GTLR_DEPRECATED; /** Value: "UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Unspecified; +/** + * Uses Vertex AI Search to check the grounding + * + * Value: "VERTEX_AI_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_VertexAiSearch; /** * Uses Web Search to check the grounding. * @@ -5132,6 +5251,38 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Request message for ComputeTokens RPC call. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensRequest : GTLRObject + +/** + * Required. The instances that are the input to token computing API call. + * Schema is identical to the prediction schema of the text model, even for the + * non-text models, like chat models, or Codey models. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) NSArray *instances; + +@end + + +/** + * Response message for ComputeTokens RPC call. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensResponse : GTLRObject + +/** + * Lists of tokens info from the input. A ComputeTokensRequest could have + * multiple instances with a prompt in each instance. We also need to return + * lists of tokens info for the request with multiple instances. + */ +@property(nonatomic, strong, nullable) NSArray *tokensInfo; + +@end + + /** * The Container Registry location for the container image. */ @@ -5344,6 +5495,45 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Request message for PredictionService.CountTokens. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1CountTokensRequest : GTLRObject + +/** + * Required. The instances that are the input to token counting call. Schema is + * identical to the prediction schema of the underlying model. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) NSArray *instances; + +@end + + +/** + * Response message for PredictionService.CountTokens. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1CountTokensResponse : GTLRObject + +/** + * The total number of billable characters counted across all instances from + * the request. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalBillableCharacters; + +/** + * The total number of tokens counted across all instances from the request. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalTokens; + +@end + + /** * Runtime operation information for DatasetService.CreateDataset. */ @@ -5366,6 +5556,36 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Runtime operation information for CreateDeploymentResourcePool method. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata : GTLRObject + +/** The operation generic information. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; + +@end + + +/** + * Request message for CreateDeploymentResourcePool method. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest : GTLRObject + +/** Required. The DeploymentResourcePool to create. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DeploymentResourcePool *deploymentResourcePool; + +/** + * Required. The ID to use for the DeploymentResourcePool, which will become + * the final component of the DeploymentResourcePool's resource name. The + * maximum length is 63 characters, and valid characters are + * `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. + */ +@property(nonatomic, copy, nullable) NSString *deploymentResourcePoolId; + +@end + + /** * Runtime operation information for EndpointService.CreateEndpoint. */ @@ -5388,6 +5608,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Details of operations that perform create FeatureGroup. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1CreateFeatureGroupOperationMetadata : GTLRObject + +/** Operation metadata for FeatureGroup. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; + +@end + + +/** + * Details of operations that perform create FeatureOnlineStore. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1CreateFeatureOnlineStoreOperationMetadata : GTLRObject + +/** Operation metadata for FeatureOnlineStore. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; + +@end + + /** * Details of operations that perform create Feature. */ @@ -5439,6 +5681,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Details of operations that perform create FeatureView. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1CreateFeatureViewOperationMetadata : GTLRObject + +/** Operation metadata for FeatureView Create. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; + +@end + + /** * Runtime operation information for IndexEndpointService.CreateIndexEndpoint. */ @@ -5511,6 +5764,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Details of operations that perform create FeatureGroup. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1CreateRegistryFeatureOperationMetadata : GTLRObject + +/** Operation metadata for Feature. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; + +@end + + /** * Runtime operation information for * SpecialistPoolService.CreateSpecialistPool. @@ -6556,16 +6820,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ /** * Optional. A description of resources that are dedicated to the - * DeployedIndex, and that need a higher degree of manual configuration. If - * min_replica_count is not set, the default value is 2 (we don't provide SLA - * when min_replica_count=1). If max_replica_count is not set, the default - * value is min_replica_count. The max allowed replica count is 1000. Available - * machine types for SMALL shard: e2-standard-2 and all machine types available - * for MEDIUM and LARGE shard. Available machine types for MEDIUM shard: - * e2-standard-16 and all machine types available for LARGE shard. Available - * machine types for LARGE shard: e2-highmem-16, n2d-standard-32. - * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-highmem-16 for cost efficiency. + * DeployedIndex, and that need a higher degree of manual configuration. The + * field min_replica_count must be set to a value strictly greater than 0, or + * else validation will fail. We don't provide SLA when min_replica_count=1. If + * max_replica_count is not set, the default value is min_replica_count. The + * max allowed replica count is 1000. Available machine types for SMALL shard: + * e2-standard-2 and all machine types available for MEDIUM and LARGE shard. + * Available machine types for MEDIUM shard: e2-standard-16 and all machine + * types available for LARGE shard. Available machine types for LARGE shard: + * e2-highmem-16, n2d-standard-32. n1-standard-16 and n1-standard-32 are still + * available, but we recommend e2-standard-16 and e2-highmem-16 for cost + * efficiency. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DedicatedResources *dedicatedResources; @@ -6859,6 +7124,30 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * A description of resources that can be shared by multiple DeployedModels, + * whose underlying specification consists of a DedicatedResources. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DeploymentResourcePool : GTLRObject + +/** Output only. Timestamp when this DeploymentResourcePool was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Required. The underlying DedicatedResources that the DeploymentResourcePool + * uses. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DedicatedResources *dedicatedResources; + +/** + * Immutable. The resource name of the DeploymentResourcePool. Format: + * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Runtime operation information for EndpointService.DeployModel. */ @@ -8860,6 +9149,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @property(nonatomic, copy, nullable) NSString *valueType; +/** + * Only applicable for Vertex AI Feature Store. The name of the BigQuery + * Table/View columnn hosting data for this version. If no value is provided, + * will use feature_id. + */ +@property(nonatomic, copy, nullable) NSString *versionColumnName; + @end @@ -8882,6 +9178,97 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Vertex AI Feature Group. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup : GTLRObject + +/** + * Indicates that features for this group come from BigQuery Table/View. By + * default treats the source as a sparse time series source, which is required + * to have an entity_id and a feature_timestamp column in the source. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroupBigQuery *bigQuery; + +/** Output only. Timestamp when this FeatureGroup was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Description of the FeatureGroup. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. Used to perform consistent read-modify-write updates. If not set, + * a blind "overwrite" update happens. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. The labels with user-defined metadata to organize your + * FeatureGroup. Label keys and values can be no longer than 64 characters + * (Unicode codepoints), can only contain lowercase letters, numeric + * characters, underscores and dashes. International characters are allowed. + * See https://goo.gl/xmQnxf for more information on and examples of labels. No + * more than 64 user labels can be associated with one FeatureGroup(System + * labels are excluded)." System reserved label keys are prefixed with + * "aiplatform.googleapis.com/" and are immutable. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup_Labels *labels; + +/** + * Output only. Name of the FeatureGroup. Format: + * `projects/{project}/locations/{location}/featureGroups/{featureGroup}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Timestamp when this FeatureGroup was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. The labels with user-defined metadata to organize your + * FeatureGroup. Label keys and values can be no longer than 64 characters + * (Unicode codepoints), can only contain lowercase letters, numeric + * characters, underscores and dashes. International characters are allowed. + * See https://goo.gl/xmQnxf for more information on and examples of labels. No + * more than 64 user labels can be associated with one FeatureGroup(System + * labels are excluded)." System reserved label keys are prefixed with + * "aiplatform.googleapis.com/" and are immutable. + * + * @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_GoogleCloudAiplatformV1FeatureGroup_Labels : GTLRObject +@end + + +/** + * Input source type for BigQuery Tables and Views. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroupBigQuery : GTLRObject + +/** + * Required. Immutable. The BigQuery source URI that points to either a + * BigQuery Table or View. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1BigQuerySource *bigQuerySource; + +/** + * Optional. Columns to construct entity_id / row keys. Currently only supports + * 1 entity_id_column. If not provided defaults to `entity_id`. + */ +@property(nonatomic, strong, nullable) NSArray *entityIdColumns; + +@end + + /** * A list of historical SnapshotAnalysis or ImportFeaturesAnalysis stats * requested by user, sorted by FeatureStatsAnomaly.start_time descending. @@ -8949,20 +9336,152 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ /** - * Selector for Features of an EntityType. + * Vertex AI Feature Online Store provides a centralized repository for serving + * ML features and embedding indexes at low latency. The Feature Online Store + * is a top-level container. */ -@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureSelector : GTLRObject +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore : GTLRObject -/** Required. Matches Features based on ID. */ -@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1IdMatcher *idMatcher; +/** + * Contains settings for the Cloud Bigtable instance that will be created to + * serve featureValues for all FeatureViews under this FeatureOnlineStore. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStoreBigtable *bigtable; -@end +/** Output only. Timestamp when this FeatureOnlineStore was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Optional. Used to perform consistent read-modify-write updates. If not set, + * a blind "overwrite" update happens. + */ +@property(nonatomic, copy, nullable) NSString *ETag; /** - * Stats and Anomaly generated at specific timestamp for specific Feature. The - * start_time and end_time are used to define the time range of the dataset - * that current stats belongs to, e.g. prediction traffic is bucketed into + * Optional. The labels with user-defined metadata to organize your + * FeatureOnlineStore. Label keys and values can be no longer than 64 + * characters (Unicode codepoints), can only contain lowercase letters, numeric + * characters, underscores and dashes. International characters are allowed. + * See https://goo.gl/xmQnxf for more information on and examples of labels. No + * more than 64 user labels can be associated with one + * FeatureOnlineStore(System labels are excluded)." System reserved label keys + * are prefixed with "aiplatform.googleapis.com/" and are immutable. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_Labels *labels; + +/** + * Output only. Name of the FeatureOnlineStore. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. State of the featureOnlineStore. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_State_Stable + * State when the featureOnlineStore configuration is not being updated + * and the fields reflect the current configuration of the + * featureOnlineStore. The featureOnlineStore is usable in this state. + * (Value: "STABLE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_State_StateUnspecified + * Default value. This value is unused. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_State_Updating + * The state of the featureOnlineStore configuration when it is being + * updated. During an update, the fields reflect either the original + * configuration or the updated configuration of the featureOnlineStore. + * The featureOnlineStore is still usable in this state. (Value: + * "UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. Timestamp when this FeatureOnlineStore was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. The labels with user-defined metadata to organize your + * FeatureOnlineStore. Label keys and values can be no longer than 64 + * characters (Unicode codepoints), can only contain lowercase letters, numeric + * characters, underscores and dashes. International characters are allowed. + * See https://goo.gl/xmQnxf for more information on and examples of labels. No + * more than 64 user labels can be associated with one + * FeatureOnlineStore(System labels are excluded)." System reserved label keys + * are prefixed with "aiplatform.googleapis.com/" and are immutable. + * + * @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_GoogleCloudAiplatformV1FeatureOnlineStore_Labels : GTLRObject +@end + + +/** + * GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStoreBigtable + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStoreBigtable : GTLRObject + +/** Required. Autoscaling config applied to Bigtable Instance. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling *autoScaling; + +@end + + +/** + * GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling : GTLRObject + +/** + * Optional. A percentage of the cluster's CPU capacity. Can be from 10% to + * 80%. When a cluster's CPU utilization exceeds the target that you have set, + * Bigtable immediately adds nodes to the cluster. When CPU utilization is + * substantially lower than the target, Bigtable removes nodes. If not set will + * default to 50%. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpuUtilizationTarget; + +/** + * Required. The maximum number of nodes to scale up to. Must be greater than + * or equal to min_node_count, and less than or equal to 10 times of + * 'min_node_count'. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxNodeCount; + +/** + * Required. The minimum number of nodes to scale down to. Must be greater than + * or equal to 1. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minNodeCount; + +@end + + +/** + * Selector for Features of an EntityType. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureSelector : GTLRObject + +/** Required. Matches Features based on ID. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1IdMatcher *idMatcher; + +@end + + +/** + * Stats and Anomaly generated at specific timestamp for specific Feature. The + * start_time and end_time are used to define the time range of the dataset + * that current stats belongs to, e.g. prediction traffic is bucketed into * prediction datasets by time window. If the Dataset is not defined by time * window, start_time = end_time. Timestamp of the stats and anomalies always * refers to end_time. Raw stats and anomalies are stored in stats_uri or @@ -9468,6 +9987,266 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * FeatureView is representation of values that the FeatureOnlineStore will + * serve based on its syncConfig. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureView : GTLRObject + +/** + * Optional. Configures how data is supposed to be extracted from a BigQuery + * source to be loaded onto the FeatureOnlineStore. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewBigQuerySource *bigQuerySource; + +/** Output only. Timestamp when this FeatureView was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Used to perform consistent read-modify-write updates. If not set, + * a blind "overwrite" update happens. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. Configures the features from a Feature Registry source that need + * to be loaded onto the FeatureOnlineStore. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource *featureRegistrySource; + +/** + * Optional. The labels with user-defined metadata to organize your + * FeatureViews. Label keys and values can be no longer than 64 characters + * (Unicode codepoints), can only contain lowercase letters, numeric + * characters, underscores and dashes. International characters are allowed. + * See https://goo.gl/xmQnxf for more information on and examples of labels. No + * more than 64 user labels can be associated with one + * FeatureOnlineStore(System labels are excluded)." System reserved label keys + * are prefixed with "aiplatform.googleapis.com/" and are immutable. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureView_Labels *labels; + +/** + * Output only. Name of the FeatureView. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Configures when data is to be synced/updated for this FeatureView. At the + * end of the sync the latest featureValues for each entityId of this + * FeatureView are made ready for online serving. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSyncConfig *syncConfig; + +/** Output only. Timestamp when this FeatureView was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. The labels with user-defined metadata to organize your + * FeatureViews. Label keys and values can be no longer than 64 characters + * (Unicode codepoints), can only contain lowercase letters, numeric + * characters, underscores and dashes. International characters are allowed. + * See https://goo.gl/xmQnxf for more information on and examples of labels. No + * more than 64 user labels can be associated with one + * FeatureOnlineStore(System labels are excluded)." System reserved label keys + * are prefixed with "aiplatform.googleapis.com/" and are immutable. + * + * @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_GoogleCloudAiplatformV1FeatureView_Labels : GTLRObject +@end + + +/** + * GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewBigQuerySource + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewBigQuerySource : GTLRObject + +/** + * Required. Columns to construct entity_id / row keys. Start by supporting 1 + * only. + */ +@property(nonatomic, strong, nullable) NSArray *entityIdColumns; + +/** + * Required. The BigQuery view URI that will be materialized on each sync + * trigger based on FeatureView.SyncConfig. + */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * Lookup key for a feature view. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDataKey : GTLRObject + +/** String key to use for lookup. */ +@property(nonatomic, copy, nullable) NSString *key; + +@end + + +/** + * A Feature Registry source for features that need to be synced to Online + * Store. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource : GTLRObject + +/** Required. List of features that need to be synced to Online Store. */ +@property(nonatomic, strong, nullable) NSArray *featureGroups; + +@end + + +/** + * Features belonging to a single feature group that will be synced to Online + * Store. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup : GTLRObject + +/** Required. Identifier of the feature group. */ +@property(nonatomic, copy, nullable) NSString *featureGroupId; + +/** Required. Identifiers of features under the feature group. */ +@property(nonatomic, strong, nullable) NSArray *featureIds; + +@end + + +/** + * FeatureViewSync is a representation of sync operation which copies data from + * data source to Feature View in Online Store. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSync : GTLRObject + +/** + * Output only. Time when this FeatureViewSync is created. Creation of a + * FeatureViewSync means that the job is pending / waiting for sufficient + * resources but may not have started the actual data transfer yet. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. Final status of the FeatureViewSync. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleRpcStatus *finalStatus; + +/** + * Output only. Name of the FeatureViewSync. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Time when this FeatureViewSync is finished. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleTypeInterval *runTime; + +@end + + +/** + * GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSyncConfig + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSyncConfig : GTLRObject + +/** + * Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. + * To explicitly set a timezone to the cron tab, apply a prefix in the cron + * tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The + * ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. + * For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 + * * * * *". + */ +@property(nonatomic, copy, nullable) NSString *cron; + +@end + + +/** + * Request message for FeatureOnlineStoreService.FetchFeatureValues. All the + * features under the requested feature view will be returned. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest : GTLRObject + +/** + * Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE + * will be used. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_FeatureViewDataFormatUnspecified + * Not set. Will be treated as the KeyValue format. (Value: + * "FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_KeyValue + * Return response data in key-value format. (Value: "KEY_VALUE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_ProtoStruct + * Return response data in proto Struct format. (Value: "PROTO_STRUCT") + */ +@property(nonatomic, copy, nullable) NSString *dataFormat; + +/** Optional. The request key to fetch feature values for. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDataKey *dataKey; + +@end + + +/** + * Response message for FeatureOnlineStoreService.FetchFeatureValues + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponse : GTLRObject + +/** Feature values in KeyValue format. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList *keyValues; + +/** Feature values in proto Struct format. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponse_ProtoStruct *protoStruct; + +@end + + +/** + * Feature values in proto Struct format. + * + * @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 GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponse_ProtoStruct : GTLRObject +@end + + +/** + * Response structure in the format of key (feature name) and (feature) value + * pair. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList : GTLRObject + +/** List of feature names and values. */ +@property(nonatomic, strong, nullable) NSArray *features; + +@end + + +/** + * Feature name & value pair. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair : GTLRObject + +/** Feature short name. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Feature value. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureValue *value; + +@end + + /** * Assigns input data to training, validation, and test sets based on the given * filters, data pieces not matched by any filter are ignored. Currently only @@ -10350,6 +11129,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @property(nonatomic, strong, nullable) NSArray *featureVector; +/** + * Optional. List of Restrict of the datapoint, used to perform "restricted + * searches" where boolean rule are used to filter the subset of the database + * eligible for matching. This uses numeric comparisons. + */ +@property(nonatomic, strong, nullable) NSArray *numericRestricts; + /** * Optional. List of Restrict of the datapoint, used to perform "restricted * searches" where boolean rule are used to filter the subset of the database @@ -10375,7 +11161,68 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ * per_crowding_attribute_num_neighbors is larger than the total number of * neighbors to return for a given query. */ -@property(nonatomic, copy, nullable) NSString *crowdingAttribute; +@property(nonatomic, copy, nullable) NSString *crowdingAttribute; + +@end + + +/** + * This field allows restricts to be based on numeric comparisons rather than + * categorical tokens. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction : GTLRObject + +/** + * The namespace of this restriction. e.g.: cost. + * + * Remapped to 'namespaceProperty' to avoid language reserved word 'namespace'. + */ +@property(nonatomic, copy, nullable) NSString *namespaceProperty; + +/** + * This MUST be specified for queries and must NOT be specified for datapoints. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_Equal + * Datapoints are eligible iff their value is == the query's. (Value: + * "EQUAL") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_Greater + * Datapoints are eligible iff their value is > the query's. (Value: + * "GREATER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_GreaterEqual + * Datapoints are eligible iff their value is >= the query's. (Value: + * "GREATER_EQUAL") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_Less + * Datapoints are eligible iff their value is < the query's. (Value: + * "LESS") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_LessEqual + * Datapoints are eligible iff their value is <= the query's. (Value: + * "LESS_EQUAL") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction_Op_OperatorUnspecified + * Default value of the enum. (Value: "OPERATOR_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *op; + +/** + * Represents 64 bit float. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *valueDouble; + +/** + * Represents 32 bit float. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *valueFloat; + +/** + * Represents 64 bit integer. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *valueInt; @end @@ -10993,6 +11840,33 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Response message for ListDeploymentResourcePools method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "deploymentResourcePools" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse : GTLRCollectionObject + +/** + * The DeploymentResourcePools from the specified location. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *deploymentResourcePools; + +/** + * 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 EndpointService.ListEndpoints. * @@ -11075,6 +11949,62 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Response message for FeatureRegistryService.ListFeatureGroups. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "featureGroups" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureGroupsResponse : GTLRCollectionObject + +/** + * The FeatureGroups matching the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *featureGroups; + +/** + * A token, which can be sent as ListFeatureGroupsRequest.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 FeatureOnlineStoreAdminService.ListFeatureOnlineStores. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "featureOnlineStores" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse : GTLRCollectionObject + +/** + * The FeatureOnlineStores matching the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *featureOnlineStores; + +/** + * A token, which can be sent as ListFeatureOnlineStoresRequest.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 FeaturestoreService.ListFeatures. Response message for * FeatureRegistryService.ListFeatures. @@ -11131,6 +12061,61 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Response message for FeatureOnlineStoreAdminService.ListFeatureViews. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "featureViews" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureViewsResponse : GTLRCollectionObject + +/** + * The FeatureViews matching the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *featureViews; + +/** + * A token, which can be sent as ListFeatureViewsRequest.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 FeatureOnlineStoreAdminService.ListFeatureViewSyncs. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "featureViewSyncs" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureViewSyncsResponse : GTLRCollectionObject + +/** + * The FeatureViewSyncs matching the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *featureViewSyncs; + +/** + * A token, which can be sent as ListFeatureViewSyncsRequest.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 JobService.ListHyperparameterTuningJobs * @@ -12708,6 +13693,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @property(nonatomic, strong, nullable) NSArray *command; +/** + * Immutable. Deployment timeout. TODO (b/306244185): Revise documentation + * before exposing. + */ +@property(nonatomic, strong, nullable) GTLRDuration *deploymentTimeout; + /** * Immutable. List of environment variables to set in the container. After the * container starts running, code running in the container can read these @@ -12723,6 +13714,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @property(nonatomic, strong, nullable) NSArray *env; +/** + * Immutable. Specification for Kubernetes readiness probe. TODO (b/306244185): + * Revise documentation before exposing. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Probe *healthProbe; + /** * Immutable. HTTP path on the container to send health checks to. Vertex AI * intermittently sends GET requests to this path on the container's IP address @@ -12799,6 +13796,21 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @property(nonatomic, copy, nullable) NSString *predictRoute; +/** + * Immutable. The amount of the VM memory to reserve as the shared memory for + * the model in megabytes. TODO (b/306244185): Revise documentation before + * exposing. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sharedMemorySizeMb; + +/** + * Immutable. Specification for Kubernetes startup probe. TODO (b/306244185): + * Revise documentation before exposing. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Probe *startupProbe; + @end @@ -15724,6 +16736,54 @@ GTLR_DEPRECATED @end +/** + * Probe describes a health check to be performed against a container to + * determine whether it is alive or ready to receive traffic. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1Probe : GTLRObject + +/** Exec specifies the action to take. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ProbeExecAction *exec; + +/** + * How often (in seconds) to perform the probe. Default to 10 seconds. Minimum + * value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe + * argument 'periodSeconds'. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *periodSeconds; + +/** + * Number of seconds after which the probe times out. Defaults to 1 second. + * Minimum value is 1. Must be greater or equal to period_seconds. Maps to + * Kubernetes probe argument 'timeoutSeconds'. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *timeoutSeconds; + +@end + + +/** + * ExecAction specifies a command to execute. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ProbeExecAction : GTLRObject + +/** + * Command is the command line to execute inside the container, the working + * directory for the command is root ('/') in the container's filesystem. The + * command is simply exec'd, it is not run inside a shell, so traditional shell + * instructions ('|', etc) won't work. To use a shell, you need to explicitly + * call out to that shell. Exit status of 0 is treated as live/healthy and + * non-zero is unhealthy. + */ +@property(nonatomic, strong, nullable) NSArray *command; + +@end + + /** * A Model Garden Publisher Model. */ @@ -16181,6 +17241,44 @@ GTLR_DEPRECATED @end +/** + * Response message for QueryDeployedModels method. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1QueryDeployedModelsResponse : GTLRObject + +/** + * References to the DeployedModels that share the specified + * deploymentResourcePool. + */ +@property(nonatomic, strong, nullable) NSArray *deployedModelRefs; + +/** DEPRECATED Use deployed_model_refs instead. */ +@property(nonatomic, strong, nullable) NSArray *deployedModels GTLR_DEPRECATED; + +/** + * 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 total number of DeployedModels on this DeploymentResourcePool. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalDeployedModelCount; + +/** + * The total number of Endpoints that have DeployedModels on this + * DeploymentResourcePool. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalEndpointCount; + +@end + + /** * Request message for PredictionService.RawPredict. */ @@ -18436,6 +19534,14 @@ GTLR_DEPRECATED */ @interface GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig : GTLRObject +/** + * If set, skip finding claim attributions (i.e not generate grounding + * citation). + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableAttribution; + /** The sources for the grounding checking. */ @property(nonatomic, strong, nullable) NSArray *sources; @@ -18447,22 +19553,32 @@ GTLR_DEPRECATED */ @interface GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry : GTLRObject -/** The uri of the Enterprise Search data source. */ -@property(nonatomic, copy, nullable) NSString *enterpriseDatastore; +/** + * The uri of the Vertex AI Search data source. Deprecated. Use + * vertex_ai_search_datastore instead. + */ +@property(nonatomic, copy, nullable) NSString *enterpriseDatastore GTLR_DEPRECATED; /** * The type of the grounding checking source. * * Likely values: * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Enterprise - * Uses Enterprise Search to check the grounding. (Value: "ENTERPRISE") + * Uses Vertex AI Search to check the grounding. Deprecated. Use + * VERTEX_AI_SEARCH instead. (Value: "ENTERPRISE") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Unspecified * Value "UNSPECIFIED" + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_VertexAiSearch + * Uses Vertex AI Search to check the grounding (Value: + * "VERTEX_AI_SEARCH") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Web * Uses Web Search to check the grounding. (Value: "WEB") */ @property(nonatomic, copy, nullable) NSString *type; +/** The uri of the Vertex AI Search data source. */ +@property(nonatomic, copy, nullable) NSString *vertexAiSearchDatastore; + @end @@ -22306,7 +23422,7 @@ GTLR_DEPRECATED /** - * A message representing a Study. Next id: 12 + * A message representing a Study. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1Study : GTLRObject @@ -23047,6 +24163,27 @@ GTLR_DEPRECATED @end +/** + * Request message for FeatureOnlineStoreAdminService.SyncFeatureView. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1SyncFeatureViewRequest : GTLRObject +@end + + +/** + * Respose message for FeatureOnlineStoreAdminService.SyncFeatureView. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1SyncFeatureViewResponse : GTLRObject + +/** + * Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` + */ +@property(nonatomic, copy, nullable) NSString *featureViewSync; + +@end + + /** * A tensor value type. */ @@ -23758,6 +24895,29 @@ GTLR_DEPRECATED @end +/** + * Tokens info with a list of tokens and the corresponding list of token ids. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo : GTLRObject + +/** + * A list of token ids from the input. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *tokenIds; + +/** + * A list of tokens from the input. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, strong, nullable) NSArray *tokens; + +@end + + /** * CMLE training config. For every active learning labeling iteration, system * will train a machine learning model on CMLE. The trained model will be used @@ -24243,6 +25403,17 @@ GTLR_DEPRECATED @end +/** + * Runtime operation information for UpdateDeploymentResourcePool method. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata : GTLRObject + +/** The operation generic information. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; + +@end + + /** * Runtime operation information for ModelService.UpdateExplanationDataset. */ @@ -24272,6 +25443,39 @@ GTLR_DEPRECATED @end +/** + * Details of operations that perform update FeatureGroup. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeatureGroupOperationMetadata : GTLRObject + +/** Operation metadata for FeatureGroup. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; + +@end + + +/** + * Details of operations that perform update FeatureOnlineStore. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeatureOnlineStoreOperationMetadata : GTLRObject + +/** Operation metadata for FeatureOnlineStore. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; + +@end + + +/** + * Details of operations that perform update Feature. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeatureOperationMetadata : GTLRObject + +/** Operation metadata for Feature Update. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; + +@end + + /** * Details of operations that perform update Featurestore. */ @@ -24283,6 +25487,17 @@ GTLR_DEPRECATED @end +/** + * Details of operations that perform update FeatureView. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1UpdateFeatureViewOperationMetadata : GTLRObject + +/** Operation metadata for FeatureView Update. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; + +@end + + /** * Runtime operation information for IndexService.UpdateIndex. */ @@ -24375,10 +25590,10 @@ GTLR_DEPRECATED * Optional. The user-provided custom service account to use to do the model * upload. If empty, [Vertex AI Service * Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) - * will be used. Users uploading the Model must have the - * `iam.serviceAccounts.actAs` permission on this service account. Also, this - * account must belong to the project specified in the `parent` field and have - * all necessary read permissions. + * will be used to access resources needed to upload the model. This account + * must belong to the target project where the model is uploaded to, i.e., the + * project specified in the `parent` field of this request and have necessary + * read permissions (to Google Cloud Storage, Artifact Registry, etc.). */ @property(nonatomic, copy, nullable) NSString *serviceAccount; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h index 64d3cf34d..3b367a72e 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h @@ -2865,6 +2865,152 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Create a DeploymentResourcePool. + * + * Method: aiplatform.projects.locations.deploymentResourcePools.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsCreate : GTLRAiplatformQuery + +/** + * Required. The parent location resource where this DeploymentResourcePool + * will be created. Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Create a DeploymentResourcePool. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest + * to include in the query. + * @param parent Required. The parent location resource where this + * DeploymentResourcePool will be created. Format: + * `projects/{project}/locations/{location}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsCreate + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a DeploymentResourcePool. + * + * Method: aiplatform.projects.locations.deploymentResourcePools.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsDelete : GTLRAiplatformQuery + +/** + * Required. The name of the DeploymentResourcePool to delete. Format: + * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Delete a DeploymentResourcePool. + * + * @param name Required. The name of the DeploymentResourcePool to delete. + * Format: + * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get a DeploymentResourcePool. + * + * Method: aiplatform.projects.locations.deploymentResourcePools.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsGet : GTLRAiplatformQuery + +/** + * Required. The name of the DeploymentResourcePool to retrieve. Format: + * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1DeploymentResourcePool. + * + * Get a DeploymentResourcePool. + * + * @param name Required. The name of the DeploymentResourcePool to retrieve. + * Format: + * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List DeploymentResourcePools in a location. + * + * Method: aiplatform.projects.locations.deploymentResourcePools.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsList : GTLRAiplatformQuery + +/** + * The maximum number of DeploymentResourcePools to return. The service may + * return fewer than this value. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListDeploymentResourcePools` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListDeploymentResourcePools` must match the call + * that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent Location which owns this collection of + * DeploymentResourcePools. Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse. + * + * List DeploymentResourcePools in a location. + * + * @param parent Required. The parent Location which owns this collection of + * DeploymentResourcePools. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsList + * + * @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. @@ -3059,6 +3205,121 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * List DeployedModels that have been deployed on this DeploymentResourcePool. + * + * Method: aiplatform.projects.locations.deploymentResourcePools.queryDeployedModels + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsQueryDeployedModels : GTLRAiplatformQuery + +/** + * Required. The name of the target DeploymentResourcePool to query. Format: + * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` + */ +@property(nonatomic, copy, nullable) NSString *deploymentResourcePool; + +/** + * The maximum number of DeployedModels to return. The service may return fewer + * than this value. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `QueryDeployedModels` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters + * provided to `QueryDeployedModels` must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1QueryDeployedModelsResponse. + * + * List DeployedModels that have been deployed on this DeploymentResourcePool. + * + * @param deploymentResourcePool Required. The name of the target + * DeploymentResourcePool to query. Format: + * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsQueryDeployedModels + */ ++ (instancetype)queryWithDeploymentResourcePool:(NSString *)deploymentResourcePool; + +@end + +/** + * Return a list of tokens based on the input text. + * + * Method: aiplatform.projects.locations.endpoints.computeTokens + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsComputeTokens : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint requested to get lists of tokens and + * token ids. + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensResponse. + * + * Return a list of tokens based on the input text. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensRequest to include in + * the query. + * @param endpoint Required. The name of the Endpoint requested to get lists of + * tokens and token ids. + * + * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsComputeTokens + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensRequest *)object + endpoint:(NSString *)endpoint; + +@end + +/** + * Perform a token counting. + * + * Method: aiplatform.projects.locations.endpoints.countTokens + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsCountTokens : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint requested to perform token counting. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1CountTokensResponse. + * + * Perform a token counting. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1CountTokensRequest to include in the + * query. + * @param endpoint Required. The name of the Endpoint requested to perform + * token counting. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsCountTokens + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1CountTokensRequest *)object + endpoint:(NSString *)endpoint; + +@end + /** * Creates an Endpoint. * @@ -3368,29 +3629,1883 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform */ -@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsCancel : GTLRAiplatformQuery +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsCancel : GTLRAiplatformQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_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`. + * + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsCancel + */ ++ (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: aiplatform.projects.locations.endpoints.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsDelete : GTLRAiplatformQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleProtobufEmpty. + * + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * @param name The name of the operation resource to be deleted. + * + * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsDelete + */ ++ (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: aiplatform.projects.locations.endpoints.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsGet : GTLRAiplatformQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_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 GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsGet + */ ++ (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: aiplatform.projects.locations.endpoints.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsList : GTLRAiplatformQuery + +/** 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 GTLRAiplatform_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 GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsList + * + * @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 + +/** + * Waits until the specified long-running operation is done or reaches at most + * a specified timeout, returning the latest state. If the operation is already + * done, the latest state is immediately returned. If the timeout specified is + * greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If + * the server does not support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort + * basis. It may return the latest state before the specified timeout + * (including immediately), meaning even an immediate response is no guarantee + * that the operation is done. + * + * Method: aiplatform.projects.locations.endpoints.operations.wait + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsWait : GTLRAiplatformQuery + +/** The name of the operation resource to wait on. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum duration to wait before timing out. If left blank, the wait will + * be at most the time permitted by the underlying HTTP/RPC protocol. If RPC + * context deadline is also specified, the shorter one will be used. + */ +@property(nonatomic, strong, nullable) GTLRDuration *timeout; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Waits until the specified long-running operation is done or reaches at most + * a specified timeout, returning the latest state. If the operation is already + * done, the latest state is immediately returned. If the timeout specified is + * greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If + * the server does not support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort + * basis. It may return the latest state before the specified timeout + * (including immediately), meaning even an immediate response is no guarantee + * that the operation is done. + * + * @param name The name of the operation resource to wait on. + * + * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsWait + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Updates an Endpoint. + * + * Method: aiplatform.projects.locations.endpoints.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsPatch : GTLRAiplatformQuery + +/** Output only. The resource name of the Endpoint. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The update mask applies to the resource. See + * google.protobuf.FieldMask. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1Endpoint. + * + * Updates an Endpoint. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1Endpoint to + * include in the query. + * @param name Output only. The resource name of the Endpoint. + * + * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsPatch + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1Endpoint *)object + name:(NSString *)name; + +@end + +/** + * Perform an online prediction. + * + * Method: aiplatform.projects.locations.endpoints.predict + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsPredict : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint requested to serve the prediction. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1PredictResponse. + * + * Perform an online prediction. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1PredictRequest 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}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsPredict + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1PredictRequest *)object + endpoint:(NSString *)endpoint; + +@end + +/** + * Perform an online prediction with an arbitrary HTTP payload. The response + * includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the + * Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID + * of the Endpoint's DeployedModel that served this prediction. + * + * Method: aiplatform.projects.locations.endpoints.rawPredict + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsRawPredict : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint requested to serve the prediction. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleApiHttpBody. + * + * Perform an online prediction with an arbitrary HTTP payload. The response + * includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the + * Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID + * of the Endpoint's DeployedModel that served this prediction. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1RawPredictRequest + * 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}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsRawPredict + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1RawPredictRequest *)object + endpoint:(NSString *)endpoint; + +@end + +/** + * Perform a server-side streaming online prediction request for Vertex LLM + * streaming. + * + * Method: aiplatform.projects.locations.endpoints.serverStreamingPredict + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsServerStreamingPredict : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint requested to serve the prediction. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1StreamingPredictResponse. + * + * Perform a server-side streaming online prediction request for Vertex LLM + * streaming. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1StreamingPredictRequest 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}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsServerStreamingPredict + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1StreamingPredictRequest *)object + endpoint:(NSString *)endpoint; + +@end + +/** + * Undeploys a Model from an Endpoint, removing a DeployedModel from it, and + * freeing all resources it's using. + * + * Method: aiplatform.projects.locations.endpoints.undeployModel + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsUndeployModel : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint resource from which to undeploy a Model. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Undeploys a Model from an Endpoint, removing a DeployedModel from it, and + * freeing all resources it's using. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1UndeployModelRequest to include in + * the query. + * @param endpoint Required. The name of the Endpoint resource from which to + * undeploy a Model. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsUndeployModel + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1UndeployModelRequest *)object + endpoint:(NSString *)endpoint; + +@end + +/** + * Creates a new FeatureGroup in a given project and location. + * + * Method: aiplatform.projects.locations.featureGroups.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsCreate : GTLRAiplatformQuery + +/** + * Required. The ID to use for this FeatureGroup, which will become the final + * component of the FeatureGroup's resource name. This value may be up to 60 + * characters, and valid characters are `[a-z0-9_]`. The first character cannot + * be a number. The value must be unique within the project and location. + */ +@property(nonatomic, copy, nullable) NSString *featureGroupId; + +/** + * Required. The resource name of the Location to create FeatureGroups. Format: + * `projects/{project}/locations/{location}'` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Creates a new FeatureGroup in a given project and location. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup to + * include in the query. + * @param parent Required. The resource name of the Location to create + * FeatureGroups. Format: `projects/{project}/locations/{location}'` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsCreate + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single FeatureGroup. + * + * Method: aiplatform.projects.locations.featureGroups.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsDelete : GTLRAiplatformQuery + +/** + * If set to true, any Features under this FeatureGroup will also be deleted. + * (Otherwise, the request will only work if the FeatureGroup has no Features.) + */ +@property(nonatomic, assign) BOOL force; + +/** + * Required. The name of the FeatureGroup to be deleted. Format: + * `projects/{project}/locations/{location}/featureGroups/{feature_group}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Deletes a single FeatureGroup. + * + * @param name Required. The name of the FeatureGroup to be deleted. Format: + * `projects/{project}/locations/{location}/featureGroups/{feature_group}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates a new Feature in a given FeatureGroup. + * + * Method: aiplatform.projects.locations.featureGroups.features.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesCreate : GTLRAiplatformQuery + +/** + * Required. The ID to use for the Feature, which will become the final + * component of the Feature's resource name. This value may be up to 128 + * characters, and valid characters are `[a-z0-9_]`. The first character cannot + * be a number. The value must be unique within an EntityType/FeatureGroup. + */ +@property(nonatomic, copy, nullable) NSString *featureId; + +/** + * Required. The resource name of the EntityType or FeatureGroup to create a + * Feature. Format for entity_type as parent: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + * Format for feature_group as parent: + * `projects/{project}/locations/{location}/featureGroups/{feature_group}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Creates a new Feature in a given FeatureGroup. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1Feature to + * include in the query. + * @param parent Required. The resource name of the EntityType or FeatureGroup + * to create a Feature. Format for entity_type as parent: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + * Format for feature_group as parent: + * `projects/{project}/locations/{location}/featureGroups/{feature_group}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesCreate + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1Feature *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single Feature. + * + * Method: aiplatform.projects.locations.featureGroups.features.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesDelete : GTLRAiplatformQuery + +/** + * Required. The name of the Features to be deleted. Format: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Deletes a single Feature. + * + * @param name Required. The name of the Features to be deleted. Format: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single Feature. + * + * Method: aiplatform.projects.locations.featureGroups.features.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesGet : GTLRAiplatformQuery + +/** + * Required. The name of the Feature resource. Format for entity_type as + * parent: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + * Format for feature_group as parent: + * `projects/{project}/locations/{location}/featureGroups/{feature_group}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1Feature. + * + * Gets details of a single Feature. + * + * @param name Required. The name of the Feature resource. Format for + * entity_type as parent: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + * Format for feature_group as parent: + * `projects/{project}/locations/{location}/featureGroups/{feature_group}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists Features in a given FeatureGroup. + * + * Method: aiplatform.projects.locations.featureGroups.features.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesList : GTLRAiplatformQuery + +/** + * Lists the Features that match the filter expression. The following filters + * are supported: * `value_type`: Supports = and != comparisons. * + * `create_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must be + * in RFC 3339 format. * `update_time`: Supports =, !=, <, >, >=, and <= + * comparisons. Values must be in RFC 3339 format. * `labels`: Supports + * key-value equality as well as key presence. Examples: * `value_type = + * DOUBLE` --> Features whose type is DOUBLE. * `create_time > + * \\"2020-01-31T15:30:00.000000Z\\" OR update_time > + * \\"2020-01-31T15:30:00.000000Z\\"` --> EntityTypes created or updated after + * 2020-01-31T15:30:00.000000Z. * `labels.active = yes AND labels.env = prod` + * --> Features having both (active: yes) and (env: prod) labels. * + * `labels.env: *` --> Any Feature which has a label with 'env' as the key. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Only applicable for Vertex AI Feature Store (Legacy). If set, return the + * most recent ListFeaturesRequest.latest_stats_count of stats for each Feature + * in response. Valid value is [0, 10]. If number of stats exists < + * ListFeaturesRequest.latest_stats_count, return all existing stats. + */ +@property(nonatomic, assign) NSInteger latestStatsCount; + +/** + * A comma-separated list of fields to order by, sorted in ascending order. Use + * "desc" after a field name for descending. Supported fields: * `feature_id` * + * `value_type` (Not supported for FeatureRegistry Feature) * `create_time` * + * `update_time` + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * The maximum number of Features to return. The service may return fewer than + * this value. If unspecified, at most 1000 Features will be returned. The + * maximum value is 1000; any value greater than 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous FeaturestoreService.ListFeatures call + * or FeatureRegistryService.ListFeatures call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures + * must match the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the Location to list Features. Format for + * entity_type as parent: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + * Format for feature_group as parent: + * `projects/{project}/locations/{location}/featureGroups/{feature_group}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Mask specifying which fields to read. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *readMask; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1ListFeaturesResponse. + * + * Lists Features in a given FeatureGroup. + * + * @param parent Required. The resource name of the Location to list Features. + * Format for entity_type as parent: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + * Format for feature_group as parent: + * `projects/{project}/locations/{location}/featureGroups/{feature_group}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * Method: aiplatform.projects.locations.featureGroups.features.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsDelete : GTLRAiplatformQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleProtobufEmpty. + * + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * @param name The name of the operation resource to be deleted. + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsDelete + */ ++ (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: aiplatform.projects.locations.featureGroups.features.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsGet : GTLRAiplatformQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_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 GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsGet + */ ++ (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: aiplatform.projects.locations.featureGroups.features.operations.listWait + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsListWait : GTLRAiplatformQuery + +/** 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 GTLRAiplatform_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 GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsListWait + * + * @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 + +/** + * Waits until the specified long-running operation is done or reaches at most + * a specified timeout, returning the latest state. If the operation is already + * done, the latest state is immediately returned. If the timeout specified is + * greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If + * the server does not support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort + * basis. It may return the latest state before the specified timeout + * (including immediately), meaning even an immediate response is no guarantee + * that the operation is done. + * + * Method: aiplatform.projects.locations.featureGroups.features.operations.wait + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsWait : GTLRAiplatformQuery + +/** The name of the operation resource to wait on. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum duration to wait before timing out. If left blank, the wait will + * be at most the time permitted by the underlying HTTP/RPC protocol. If RPC + * context deadline is also specified, the shorter one will be used. + */ +@property(nonatomic, strong, nullable) GTLRDuration *timeout; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Waits until the specified long-running operation is done or reaches at most + * a specified timeout, returning the latest state. If the operation is already + * done, the latest state is immediately returned. If the timeout specified is + * greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If + * the server does not support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort + * basis. It may return the latest state before the specified timeout + * (including immediately), meaning even an immediate response is no guarantee + * that the operation is done. + * + * @param name The name of the operation resource to wait on. + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesOperationsWait + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Updates the parameters of a single Feature. + * + * Method: aiplatform.projects.locations.featureGroups.features.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesPatch : GTLRAiplatformQuery + +/** + * Immutable. Name of the Feature. Format: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` + * The last part feature is assigned by the client. The feature can be up to 64 + * characters long and can consist only of ASCII Latin letters A-Z and a-z, + * underscore(_), and ASCII digits 0-9 starting with a letter. The value will + * be unique given an entity type. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Field mask is used to specify the fields to be overwritten in the Features + * 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 only the non-empty + * fields present in the request will be overwritten. Set the update_mask to + * `*` to override all fields. Updatable fields: * `description` * `labels` * + * `disable_monitoring` (Not supported for FeatureRegistry Feature) + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Updates the parameters of a single Feature. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1Feature to + * include in the query. + * @param name Immutable. Name of the Feature. Format: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` + * The last part feature is assigned by the client. The feature can be up to + * 64 characters long and can consist only of ASCII Latin letters A-Z and + * a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value + * will be unique given an entity type. + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsFeaturesPatch + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1Feature *)object + name:(NSString *)name; + +@end + +/** + * Gets details of a single FeatureGroup. + * + * Method: aiplatform.projects.locations.featureGroups.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsGet : GTLRAiplatformQuery + +/** Required. The name of the FeatureGroup resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup. + * + * Gets details of a single FeatureGroup. + * + * @param name Required. The name of the FeatureGroup resource. + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists FeatureGroups in a given project and location. + * + * Method: aiplatform.projects.locations.featureGroups.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsList : GTLRAiplatformQuery + +/** + * Lists the FeatureGroups that match the filter expression. The following + * fields are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, + * and `>=` comparisons. Values must be in RFC 3339 format. * `update_time`: + * Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in + * RFC 3339 format. * `labels`: Supports key-value equality and key presence. + * Examples: * `create_time > "2020-01-01" OR update_time > "2020-01-01"` + * FeatureGroups created or updated after 2020-01-01. * `labels.env = "prod"` + * FeatureGroups with label "env" set to "prod". + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * A comma-separated list of fields to order by, sorted in ascending order. Use + * "desc" after a field name for descending. Supported Fields: * `create_time` + * * `update_time` + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * The maximum number of FeatureGroups to return. The service may return fewer + * than this value. If unspecified, at most 100 FeatureGroups will be returned. + * The maximum value is 100; any value greater than 100 will be coerced to 100. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous + * FeatureGroupAdminService.ListFeatureGroups call. Provide this to retrieve + * the subsequent page. When paginating, all other parameters provided to + * FeatureGroupAdminService.ListFeatureGroups must match the call that provided + * the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the Location to list FeatureGroups. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureGroupsResponse. + * + * Lists FeatureGroups in a given project and location. + * + * @param parent Required. The resource name of the Location to list + * FeatureGroups. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * Method: aiplatform.projects.locations.featureGroups.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsDelete : GTLRAiplatformQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleProtobufEmpty. + * + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * @param name The name of the operation resource to be deleted. + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsDelete + */ ++ (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: aiplatform.projects.locations.featureGroups.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsGet : GTLRAiplatformQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_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 GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsGet + */ ++ (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: aiplatform.projects.locations.featureGroups.operations.listWait + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsListWait : GTLRAiplatformQuery + +/** 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 GTLRAiplatform_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 GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsListWait + * + * @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 + +/** + * Waits until the specified long-running operation is done or reaches at most + * a specified timeout, returning the latest state. If the operation is already + * done, the latest state is immediately returned. If the timeout specified is + * greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If + * the server does not support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort + * basis. It may return the latest state before the specified timeout + * (including immediately), meaning even an immediate response is no guarantee + * that the operation is done. + * + * Method: aiplatform.projects.locations.featureGroups.operations.wait + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsWait : GTLRAiplatformQuery + +/** The name of the operation resource to wait on. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum duration to wait before timing out. If left blank, the wait will + * be at most the time permitted by the underlying HTTP/RPC protocol. If RPC + * context deadline is also specified, the shorter one will be used. + */ +@property(nonatomic, strong, nullable) GTLRDuration *timeout; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Waits until the specified long-running operation is done or reaches at most + * a specified timeout, returning the latest state. If the operation is already + * done, the latest state is immediately returned. If the timeout specified is + * greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If + * the server does not support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort + * basis. It may return the latest state before the specified timeout + * (including immediately), meaning even an immediate response is no guarantee + * that the operation is done. + * + * @param name The name of the operation resource to wait on. + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsOperationsWait + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Updates the parameters of a single FeatureGroup. + * + * Method: aiplatform.projects.locations.featureGroups.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsPatch : GTLRAiplatformQuery + +/** + * Output only. Name of the FeatureGroup. Format: + * `projects/{project}/locations/{location}/featureGroups/{featureGroup}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Field mask is used to specify the fields to be overwritten in the + * FeatureGroup 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 + * only the non-empty fields present in the request will be overwritten. Set + * the update_mask to `*` to override all fields. Updatable fields: * `labels` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Updates the parameters of a single FeatureGroup. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup to + * include in the query. + * @param name Output only. Name of the FeatureGroup. Format: + * `projects/{project}/locations/{location}/featureGroups/{featureGroup}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsPatch + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup *)object + name:(NSString *)name; + +@end + +/** + * Creates a new FeatureOnlineStore in a given project and location. + * + * Method: aiplatform.projects.locations.featureOnlineStores.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresCreate : GTLRAiplatformQuery + +/** + * Required. The ID to use for this FeatureOnlineStore, which will become the + * final component of the FeatureOnlineStore's resource name. This value may be + * up to 60 characters, and valid characters are `[a-z0-9_]`. The first + * character cannot be a number. The value must be unique within the project + * and location. + */ +@property(nonatomic, copy, nullable) NSString *featureOnlineStoreId; + +/** + * Required. The resource name of the Location to create FeatureOnlineStores. + * Format: `projects/{project}/locations/{location}'` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Creates a new FeatureOnlineStore in a given project and location. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore to include in the + * query. + * @param parent Required. The resource name of the Location to create + * FeatureOnlineStores. Format: `projects/{project}/locations/{location}'` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresCreate + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain + * any FeatureViews. + * + * Method: aiplatform.projects.locations.featureOnlineStores.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresDelete : GTLRAiplatformQuery + +/** + * If set to true, any FeatureViews and Features for this FeatureOnlineStore + * will also be deleted. (Otherwise, the request will only work if the + * FeatureOnlineStore has no FeatureViews.) + */ +@property(nonatomic, assign) BOOL force; + +/** + * Required. The name of the FeatureOnlineStore to be deleted. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain + * any FeatureViews. + * + * @param name Required. The name of the FeatureOnlineStore to be deleted. + * Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates a new FeatureView in a given FeatureOnlineStore. + * + * Method: aiplatform.projects.locations.featureOnlineStores.featureViews.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsCreate : GTLRAiplatformQuery + +/** + * Required. The ID to use for the FeatureView, which will become the final + * component of the FeatureView's resource name. This value may be up to 60 + * characters, and valid characters are `[a-z0-9_]`. The first character cannot + * be a number. The value must be unique within a FeatureOnlineStore. + */ +@property(nonatomic, copy, nullable) NSString *featureViewId; + +/** + * Required. The resource name of the FeatureOnlineStore to create + * FeatureViews. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Immutable. If set to true, one on demand sync will be run immediately, + * regardless whether the FeatureView.sync_config is configured or not. + */ +@property(nonatomic, assign) BOOL runSyncImmediately; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Creates a new FeatureView in a given FeatureOnlineStore. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1FeatureView to + * include in the query. + * @param parent Required. The resource name of the FeatureOnlineStore to + * create FeatureViews. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsCreate + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureView *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single FeatureView. + * + * Method: aiplatform.projects.locations.featureOnlineStores.featureViews.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsDelete : GTLRAiplatformQuery + +/** + * Required. The name of the FeatureView to be deleted. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Deletes a single FeatureView. + * + * @param name Required. The name of the FeatureView to be deleted. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single FeatureViewSync. + * + * Method: aiplatform.projects.locations.featureOnlineStores.featureViews.featureViewSyncs.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGet : GTLRAiplatformQuery + +/** + * Required. The name of the FeatureViewSync resource. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSync. + * + * Gets details of a single FeatureViewSync. + * + * @param name Required. The name of the FeatureViewSync resource. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists FeatureViewSyncs in a given FeatureView. + * + * Method: aiplatform.projects.locations.featureOnlineStores.featureViews.featureViewSyncs.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsList : GTLRAiplatformQuery + +/** + * Lists the FeatureViewSyncs that match the filter expression. The following + * filters are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, + * and `<=` comparisons. Values must be in RFC 3339 format. Examples: * + * `create_time > \\"2020-01-31T15:30:00.000000Z\\"` --> FeatureViewSyncs + * created after 2020-01-31T15:30:00.000000Z. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * A comma-separated list of fields to order by, sorted in ascending order. Use + * "desc" after a field name for descending. Supported fields: * `create_time` + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * The maximum number of FeatureViewSyncs to return. The service may return + * fewer than this value. If unspecified, at most 1000 FeatureViewSyncs will be + * returned. The maximum value is 1000; any value greater than 1000 will be + * coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous + * FeatureOnlineStoreAdminService.ListFeatureViewSyncs call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided + * to FeatureOnlineStoreAdminService.ListFeatureViewSyncs must match the call + * that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the FeatureView to list FeatureViewSyncs. + * Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureViewSyncsResponse. + * + * Lists FeatureViewSyncs in a given FeatureView. + * + * @param parent Required. The resource name of the FeatureView to list + * FeatureViewSyncs. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsList + * + * @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 + +/** + * Fetch feature values under a FeatureView. + * + * Method: aiplatform.projects.locations.featureOnlineStores.featureViews.fetchFeatureValues + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsFetchFeatureValues : GTLRAiplatformQuery + +/** + * Required. FeatureView resource format + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` + */ +@property(nonatomic, copy, nullable) NSString *featureView; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponse. + * + * Fetch feature values under a FeatureView. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest to include + * in the query. + * @param featureView Required. FeatureView resource format + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsFetchFeatureValues + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest *)object + featureView:(NSString *)featureView; + +@end + +/** + * Gets details of a single FeatureView. + * + * Method: aiplatform.projects.locations.featureOnlineStores.featureViews.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsGet : GTLRAiplatformQuery + +/** + * Required. The name of the FeatureView resource. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1FeatureView. + * + * Gets details of a single FeatureView. + * + * @param name Required. The name of the FeatureView resource. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists FeatureViews in a given FeatureOnlineStore. + * + * Method: aiplatform.projects.locations.featureOnlineStores.featureViews.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsList : GTLRAiplatformQuery + +/** + * Lists the FeatureViews that match the filter expression. The following + * filters are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, + * and `<=` comparisons. Values must be in RFC 3339 format. * `update_time`: + * Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in + * RFC 3339 format. * `labels`: Supports key-value equality as well as key + * presence. Examples: * `create_time > \\"2020-01-31T15:30:00.000000Z\\" OR + * update_time > \\"2020-01-31T15:30:00.000000Z\\"` --> FeatureViews created or + * updated after 2020-01-31T15:30:00.000000Z. * `labels.active = yes AND + * labels.env = prod` --> FeatureViews having both (active: yes) and (env: + * prod) labels. * `labels.env: *` --> Any FeatureView which has a label with + * 'env' as the key. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * A comma-separated list of fields to order by, sorted in ascending order. Use + * "desc" after a field name for descending. Supported fields: * + * `feature_view_id` * `create_time` * `update_time` + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * The maximum number of FeatureViews to return. The service may return fewer + * than this value. If unspecified, at most 1000 FeatureViews will be returned. + * The maximum value is 1000; any value greater than 1000 will be coerced to + * 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous + * FeatureOnlineStoreAdminService.ListFeatureViews call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided + * to FeatureOnlineStoreAdminService.ListFeatureViews must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the FeatureOnlineStore to list FeatureViews. + * Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureViewsResponse. + * + * Lists FeatureViews in a given FeatureOnlineStore. + * + * @param parent Required. The resource name of the FeatureOnlineStore to list + * FeatureViews. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * Method: aiplatform.projects.locations.featureOnlineStores.featureViews.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsDelete : GTLRAiplatformQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleProtobufEmpty. + * + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * @param name The name of the operation resource to be deleted. + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsDelete + */ ++ (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: aiplatform.projects.locations.featureOnlineStores.featureViews.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGet : GTLRAiplatformQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_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 GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGet + */ ++ (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: aiplatform.projects.locations.featureOnlineStores.featureViews.operations.listWait + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWait : GTLRAiplatformQuery + +/** 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 GTLRAiplatform_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 GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWait + * + * @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 + +/** + * Waits until the specified long-running operation is done or reaches at most + * a specified timeout, returning the latest state. If the operation is already + * done, the latest state is immediately returned. If the timeout specified is + * greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If + * the server does not support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort + * basis. It may return the latest state before the specified timeout + * (including immediately), meaning even an immediate response is no guarantee + * that the operation is done. + * + * Method: aiplatform.projects.locations.featureOnlineStores.featureViews.operations.wait + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWait : GTLRAiplatformQuery + +/** The name of the operation resource to wait on. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum duration to wait before timing out. If left blank, the wait will + * be at most the time permitted by the underlying HTTP/RPC protocol. If RPC + * context deadline is also specified, the shorter one will be used. + */ +@property(nonatomic, strong, nullable) GTLRDuration *timeout; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Waits until the specified long-running operation is done or reaches at most + * a specified timeout, returning the latest state. If the operation is already + * done, the latest state is immediately returned. If the timeout specified is + * greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If + * the server does not support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort + * basis. It may return the latest state before the specified timeout + * (including immediately), meaning even an immediate response is no guarantee + * that the operation is done. + * + * @param name The name of the operation resource to wait on. + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWait + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Updates the parameters of a single FeatureView. + * + * Method: aiplatform.projects.locations.featureOnlineStores.featureViews.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsPatch : GTLRAiplatformQuery + +/** + * Output only. Name of the FeatureView. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Field mask is used to specify the fields to be overwritten in the + * FeatureView 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 + * only the non-empty fields present in the request will be overwritten. Set + * the update_mask to `*` to override all fields. Updatable fields: * `labels` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Updates the parameters of a single FeatureView. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1FeatureView to + * include in the query. + * @param name Output only. Name of the FeatureView. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsPatch + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureView *)object + name:(NSString *)name; + +@end + +/** + * Triggers on-demand sync for the FeatureView. + * + * Method: aiplatform.projects.locations.featureOnlineStores.featureViews.sync + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsSync : GTLRAiplatformQuery + +/** + * Required. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` + */ +@property(nonatomic, copy, nullable) NSString *featureView; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1SyncFeatureViewResponse. + * + * Triggers on-demand sync for the FeatureView. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1SyncFeatureViewRequest to include in + * the query. + * @param featureView Required. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsSync + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1SyncFeatureViewRequest *)object + featureView:(NSString *)featureView; + +@end + +/** + * Gets details of a single FeatureOnlineStore. + * + * Method: aiplatform.projects.locations.featureOnlineStores.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresGet : GTLRAiplatformQuery + +/** Required. The name of the FeatureOnlineStore resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore. + * + * Gets details of a single FeatureOnlineStore. + * + * @param name Required. The name of the FeatureOnlineStore resource. + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists FeatureOnlineStores in a given project and location. + * + * Method: aiplatform.projects.locations.featureOnlineStores.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresList : GTLRAiplatformQuery + +/** + * Lists the FeatureOnlineStores that match the filter expression. The + * following fields are supported: * `create_time`: Supports `=`, `!=`, `<`, + * `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * + * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. + * Values must be in RFC 3339 format. * `labels`: Supports key-value equality + * and key presence. Examples: * `create_time > "2020-01-01" OR update_time > + * "2020-01-01"` FeatureOnlineStores created or updated after 2020-01-01. * + * `labels.env = "prod"` FeatureOnlineStores with label "env" set to "prod". + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * A comma-separated list of fields to order by, sorted in ascending order. Use + * "desc" after a field name for descending. Supported Fields: * `create_time` + * * `update_time` + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * The maximum number of FeatureOnlineStores to return. The service may return + * fewer than this value. If unspecified, at most 100 FeatureOnlineStores will + * be returned. The maximum value is 100; any value greater than 100 will be + * coerced to 100. + */ +@property(nonatomic, assign) NSInteger pageSize; -/** The name of the operation resource to be cancelled. */ -@property(nonatomic, copy, nullable) NSString *name; +/** + * A page token, received from a previous + * FeatureOnlineStoreAdminService.ListFeatureOnlineStores call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided + * to FeatureOnlineStoreAdminService.ListFeatureOnlineStores must match the + * call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * Fetches a @c GTLRAiplatform_GoogleProtobufEmpty. + * Required. The resource name of the Location to list FeatureOnlineStores. + * Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse. * - * 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`. + * Lists FeatureOnlineStores in a given project and location. * - * @param name The name of the operation resource to be cancelled. + * @param parent Required. The resource name of the Location to list + * FeatureOnlineStores. Format: `projects/{project}/locations/{location}` * - * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsCancel + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresList + * + * @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 @@ -3400,12 +5515,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * operation. If the server doesn't support this method, it returns * `google.rpc.Code.UNIMPLEMENTED`. * - * Method: aiplatform.projects.locations.endpoints.operations.delete + * Method: aiplatform.projects.locations.featureOnlineStores.operations.delete * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform */ -@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsDelete : GTLRAiplatformQuery +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsDelete : GTLRAiplatformQuery /** The name of the operation resource to be deleted. */ @property(nonatomic, copy, nullable) NSString *name; @@ -3420,7 +5535,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * @param name The name of the operation resource to be deleted. * - * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsDelete + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsDelete */ + (instancetype)queryWithName:(NSString *)name; @@ -3431,12 +5546,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * method to poll the operation result at intervals as recommended by the API * service. * - * Method: aiplatform.projects.locations.endpoints.operations.get + * Method: aiplatform.projects.locations.featureOnlineStores.operations.get * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform */ -@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsGet : GTLRAiplatformQuery +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsGet : GTLRAiplatformQuery /** The name of the operation resource. */ @property(nonatomic, copy, nullable) NSString *name; @@ -3450,7 +5565,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * @param name The name of the operation resource. * - * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsGet + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsGet */ + (instancetype)queryWithName:(NSString *)name; @@ -3460,12 +5575,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * Lists operations that match the specified filter in the request. If the * server doesn't support this method, it returns `UNIMPLEMENTED`. * - * Method: aiplatform.projects.locations.endpoints.operations.list + * Method: aiplatform.projects.locations.featureOnlineStores.operations.listWait * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform */ -@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsList : GTLRAiplatformQuery +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsListWait : GTLRAiplatformQuery /** The standard list filter. */ @property(nonatomic, copy, nullable) NSString *filter; @@ -3487,7 +5602,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * @param name The name of the operation's parent resource. * - * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsList + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsListWait * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -3508,12 +5623,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * (including immediately), meaning even an immediate response is no guarantee * that the operation is done. * - * Method: aiplatform.projects.locations.endpoints.operations.wait + * Method: aiplatform.projects.locations.featureOnlineStores.operations.wait * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform */ -@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsWait : GTLRAiplatformQuery +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsWait : GTLRAiplatformQuery /** The name of the operation resource to wait on. */ @property(nonatomic, copy, nullable) NSString *name; @@ -3540,194 +5655,56 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * @param name The name of the operation resource to wait on. * - * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsOperationsWait + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresOperationsWait */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Updates an Endpoint. + * Updates the parameters of a single FeatureOnlineStore. * - * Method: aiplatform.projects.locations.endpoints.patch + * Method: aiplatform.projects.locations.featureOnlineStores.patch * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform */ -@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsPatch : GTLRAiplatformQuery +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresPatch : GTLRAiplatformQuery -/** Output only. The resource name of the Endpoint. */ +/** + * Output only. Name of the FeatureOnlineStore. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}` + */ @property(nonatomic, copy, nullable) NSString *name; /** - * Required. The update mask applies to the resource. See - * google.protobuf.FieldMask. + * Field mask is used to specify the fields to be overwritten in the + * FeatureOnlineStore 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 only the non-empty fields present in the request will be overwritten. + * Set the update_mask to `*` to override all fields. Updatable fields: * + * `big_query_source` * `labels` * `sync_config` * * String format is a comma-separated list of fields. */ @property(nonatomic, copy, nullable) NSString *updateMask; -/** - * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1Endpoint. - * - * Updates an Endpoint. - * - * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1Endpoint to - * include in the query. - * @param name Output only. The resource name of the Endpoint. - * - * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsPatch - */ -+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1Endpoint *)object - name:(NSString *)name; - -@end - -/** - * Perform an online prediction. - * - * Method: aiplatform.projects.locations.endpoints.predict - * - * Authorization scope(s): - * @c kGTLRAuthScopeAiplatformCloudPlatform - */ -@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsPredict : GTLRAiplatformQuery - -/** - * Required. The name of the Endpoint requested to serve the prediction. - * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` - */ -@property(nonatomic, copy, nullable) NSString *endpoint; - -/** - * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1PredictResponse. - * - * Perform an online prediction. - * - * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1PredictRequest 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}` - * - * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsPredict - */ -+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1PredictRequest *)object - endpoint:(NSString *)endpoint; - -@end - -/** - * Perform an online prediction with an arbitrary HTTP payload. The response - * includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the - * Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID - * of the Endpoint's DeployedModel that served this prediction. - * - * Method: aiplatform.projects.locations.endpoints.rawPredict - * - * Authorization scope(s): - * @c kGTLRAuthScopeAiplatformCloudPlatform - */ -@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsRawPredict : GTLRAiplatformQuery - -/** - * Required. The name of the Endpoint requested to serve the prediction. - * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` - */ -@property(nonatomic, copy, nullable) NSString *endpoint; - -/** - * Fetches a @c GTLRAiplatform_GoogleApiHttpBody. - * - * Perform an online prediction with an arbitrary HTTP payload. The response - * includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the - * Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID - * of the Endpoint's DeployedModel that served this prediction. - * - * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1RawPredictRequest - * 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}` - * - * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsRawPredict - */ -+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1RawPredictRequest *)object - endpoint:(NSString *)endpoint; - -@end - -/** - * Perform a server-side streaming online prediction request for Vertex LLM - * streaming. - * - * Method: aiplatform.projects.locations.endpoints.serverStreamingPredict - * - * Authorization scope(s): - * @c kGTLRAuthScopeAiplatformCloudPlatform - */ -@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsServerStreamingPredict : GTLRAiplatformQuery - -/** - * Required. The name of the Endpoint requested to serve the prediction. - * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` - */ -@property(nonatomic, copy, nullable) NSString *endpoint; - -/** - * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1StreamingPredictResponse. - * - * Perform a server-side streaming online prediction request for Vertex LLM - * streaming. - * - * @param object The @c - * GTLRAiplatform_GoogleCloudAiplatformV1StreamingPredictRequest 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}` - * - * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsServerStreamingPredict - */ -+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1StreamingPredictRequest *)object - endpoint:(NSString *)endpoint; - -@end - -/** - * Undeploys a Model from an Endpoint, removing a DeployedModel from it, and - * freeing all resources it's using. - * - * Method: aiplatform.projects.locations.endpoints.undeployModel - * - * Authorization scope(s): - * @c kGTLRAuthScopeAiplatformCloudPlatform - */ -@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsUndeployModel : GTLRAiplatformQuery - -/** - * Required. The name of the Endpoint resource from which to undeploy a Model. - * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` - */ -@property(nonatomic, copy, nullable) NSString *endpoint; - /** * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. * - * Undeploys a Model from an Endpoint, removing a DeployedModel from it, and - * freeing all resources it's using. + * Updates the parameters of a single FeatureOnlineStore. * * @param object The @c - * GTLRAiplatform_GoogleCloudAiplatformV1UndeployModelRequest to include in - * the query. - * @param endpoint Required. The name of the Endpoint resource from which to - * undeploy a Model. Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` + * GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore to include in the + * query. + * @param name Output only. Name of the FeatureOnlineStore. Format: + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}` * - * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsUndeployModel + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresPatch */ -+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1UndeployModelRequest *)object - endpoint:(NSString *)endpoint; ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore *)object + name:(NSString *)name; @end @@ -12045,6 +14022,75 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Return a list of tokens based on the input text. + * + * Method: aiplatform.projects.locations.publishers.models.computeTokens + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsPublishersModelsComputeTokens : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint requested to get lists of tokens and + * token ids. + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensResponse. + * + * Return a list of tokens based on the input text. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensRequest to include in + * the query. + * @param endpoint Required. The name of the Endpoint requested to get lists of + * tokens and token ids. + * + * @return GTLRAiplatformQuery_ProjectsLocationsPublishersModelsComputeTokens + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1ComputeTokensRequest *)object + endpoint:(NSString *)endpoint; + +@end + +/** + * Perform a token counting. + * + * Method: aiplatform.projects.locations.publishers.models.countTokens + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsPublishersModelsCountTokens : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint requested to perform token counting. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1CountTokensResponse. + * + * Perform a token counting. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1CountTokensRequest to include in the + * query. + * @param endpoint Required. The name of the Endpoint requested to perform + * token counting. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsPublishersModelsCountTokens + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1CountTokensRequest *)object + endpoint:(NSString *)endpoint; + +@end + /** * Perform an online prediction. * diff --git a/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataObjects.m b/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataObjects.m index a1e6dff10..60aefc54b 100644 --- a/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataObjects.m +++ b/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataObjects.m @@ -754,8 +754,16 @@ @implementation GTLRAnalyticsData_QuotaStatus // @implementation GTLRAnalyticsData_ResponseMetaData -@dynamic currencyCode, dataLossFromOtherRow, emptyReason, +@dynamic currencyCode, dataLossFromOtherRow, emptyReason, samplingMetadatas, schemaRestrictionResponse, subjectToThresholding, timeZone; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"samplingMetadatas" : [GTLRAnalyticsData_SamplingMetadata class] + }; + return map; +} + @end @@ -937,6 +945,16 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_SamplingMetadata +// + +@implementation GTLRAnalyticsData_SamplingMetadata +@dynamic samplesReadCount, samplingSpaceSize; +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsData_SchemaRestrictionResponse diff --git a/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h b/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h index 9cd555a93..de634b2eb 100644 --- a/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h +++ b/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h @@ -63,6 +63,7 @@ @class GTLRAnalyticsData_RunPivotReportResponse; @class GTLRAnalyticsData_RunReportRequest; @class GTLRAnalyticsData_RunReportResponse; +@class GTLRAnalyticsData_SamplingMetadata; @class GTLRAnalyticsData_SchemaRestrictionResponse; @class GTLRAnalyticsData_StringFilter; @@ -1908,6 +1909,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par /** If empty reason is specified, the report is empty for this reason. */ @property(nonatomic, copy, nullable) NSString *emptyReason; +/** + * If this report results is + * [sampled](https://support.google.com/analytics/answer/13331292), this + * describes the percentage of events used in this report. One + * `samplingMetadatas` is populated for each date range. Each + * `samplingMetadatas` corresponds to a date range in order that date ranges + * were specified in the request. However if the results are not sampled, this + * field will not be defined. + */ +@property(nonatomic, strong, nullable) NSArray *samplingMetadatas; + /** * Describes the schema restrictions actively enforced in creating this report. * To learn more, see [Access and data-restriction @@ -1921,9 +1933,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par * possible for a request to be subject to thresholding thresholding and no * data is absent from the report, and this happens when all data is above the * thresholds. To learn more, see [Data - * thresholds](https://support.google.com/analytics/answer/9383630) and [About - * Demographics and - * Interests](https://support.google.com/analytics/answer/2799357). + * thresholds](https://support.google.com/analytics/answer/9383630). * * Uses NSNumber of boolValue. */ @@ -2403,6 +2413,38 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par @end +/** + * If this report results is + * [sampled](https://support.google.com/analytics/answer/13331292), this + * describes the percentage of events used in this report. Sampling is the + * practice of analyzing a subset of all data in order to uncover the + * meaningful information in the larger data set. + */ +@interface GTLRAnalyticsData_SamplingMetadata : GTLRObject + +/** + * The total number of events read in this sampled report for a date range. + * This is the size of the subset this property's data that was analyzed in + * this report. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *samplesReadCount; + +/** + * The total number of events present in this property's data that could have + * been analyzed in this report for a date range. Sampling uncovers the + * meaningful information about the larger data set, and this is the size of + * the larger data set. To calculate the percentage of available data that was + * used in this report, compute `samplesReadCount/samplingSpaceSize`. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *samplingSpaceSize; + +@end + + /** * The schema restrictions actively enforced in creating this report. To learn * more, see [Access and data-restriction diff --git a/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h b/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h index b44af6902..7e97310cc 100644 --- a/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h +++ b/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h @@ -1430,7 +1430,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_WebApp_DisplayMode_Sta @property(nonatomic, strong, nullable) NSArray *autoInstallConstraint; /** - * The auto-install mode. If unset defaults to "doNotAutoInstall". + * The auto-install mode. If unset, defaults to "doNotAutoInstall". An app is + * automatically installed regardless of a set maintenance window. * * Likely values: * @arg @c kGTLRAndroidEnterprise_AutoInstallPolicy_AutoInstallMode_AutoInstallModeUnspecified @@ -1562,10 +1563,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_WebApp_DisplayMode_Sta /** The device report updated with the latest app states. */ @property(nonatomic, strong, nullable) GTLRAndroidEnterprise_DeviceReport *report; -/** - * Retail brand for the device, if set. See - * https://developer.android.com/reference/android/os/Build.html#BRAND - */ +/** Retail brand for the device, if set. See android.os.Build.BRAND */ @property(nonatomic, copy, nullable) NSString *retailBrand; /** @@ -2510,13 +2508,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_WebApp_DisplayMode_Sta /** * A longer description of the Permissions resource, giving more details of - * what it affects. This field may be absent. + * what it affects. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; -/** The name of the permission. This field may be absent. */ +/** The name of the permission. */ @property(nonatomic, copy, nullable) NSString *name; /** An opaque string uniquely identifying the permission. */ @@ -2531,9 +2529,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_WebApp_DisplayMode_Sta @interface GTLRAndroidEnterprise_Policy : GTLRObject /** + * Controls when automatic app updates on the device can be applied. * Recommended alternative: autoUpdateMode which is set per app, provides * greater flexibility around update frequency. When autoUpdateMode is set to - * AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, this field has no + * AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, autoUpdatePolicy has no * effect. "choiceToTheUser" allows the device's user to configure the app * update policy. "always" enables auto updates. "never" disables auto updates. * "wifiOnly" enables auto updates only when the device is connected to wifi. @@ -2880,7 +2879,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_WebApp_DisplayMode_Sta @property(nonatomic, strong, nullable) GTLRAndroidEnterprise_AutoInstallPolicy *autoInstallPolicy; /** - * The auto-update mode for the product. + * The auto-update mode for the product. When autoUpdateMode is used, it always + * takes precedence over the user's choice. So when a user makes changes to the + * device settings manually, these changes are ignored. * * Likely values: * @arg @c kGTLRAndroidEnterprise_ProductPolicy_AutoUpdateMode_AutoUpdateDefault @@ -2913,9 +2914,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_WebApp_DisplayMode_Sta * An authentication URL configuration for the authenticator app of an identity * provider. This helps to launch the identity provider's authenticator app * during the authentication happening in a private app using Android WebView. - * Authenticator app should already be the [default - * handler](https://developer.android.com/training/app-links/verify-site-associations) - * for the authentication url on the device. + * Authenticator app should already be the default handler for the + * authentication url on the device. */ @property(nonatomic, strong, nullable) NSArray *enterpriseAuthenticationAppLinkConfigs; diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m index 372bb7cfa..3855345b5 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m @@ -344,6 +344,8 @@ NSString * const kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_InProgress = @"IN_PROGRESS"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_InstallationFailureReasonUnknown = @"INSTALLATION_FAILURE_REASON_UNKNOWN"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_InstallationFailureReasonUnspecified = @"INSTALLATION_FAILURE_REASON_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_InsufficientStorage = @"INSUFFICIENT_STORAGE"; +NSString * const kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_NetworkErrorUnreliableConnection = @"NETWORK_ERROR_UNRELIABLE_CONNECTION"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_NoLicensesRemaining = @"NO_LICENSES_REMAINING"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_NotApproved = @"NOT_APPROVED"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_NotAvailableInCountry = @"NOT_AVAILABLE_IN_COUNTRY"; diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h index b2c333342..a3e7291ba 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h @@ -445,12 +445,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_Alwa // GTLRAndroidManagement_ApplicationPolicy.autoUpdateMode /** - * The app is automatically updated with low priority to minimize the impact on - * the user.The app is updated when all of the following constraints are met: - * The device is not actively used. The device is connected to an unmetered - * network. The device is charging.The device is notified about a new update - * within 24 hours after it is published by the developer, after which the app - * is updated the next time the constraints above are met. + * The default update mode.The app is automatically updated with low priority + * to minimize the impact on the user.The app is updated when all of the + * following constraints are met: The device is not actively used. The device + * is connected to an unmetered network. The device is charging. The app to be + * updated is not running in the foreground.The device is notified about a new + * update within 24 hours after it is published by the developer, after which + * the app is updated the next time the constraints above are met. * * Value: "AUTO_UPDATE_DEFAULT" */ @@ -646,7 +647,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_Inst */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_Blocked; /** - * The app is automatically installed and can't be removed by the user. + * The app is automatically installed regardless of a set maintenance window + * and can't be removed by the user. * * Value: "FORCE_INSTALLED" */ @@ -1891,6 +1893,26 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_In * Value: "INSTALLATION_FAILURE_REASON_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_InstallationFailureReasonUnspecified; +/** + * The user's device does not have sufficient storage space to install the app. + * This can be resolved by clearing up storage space on the device. App install + * or update will automatically resume once the device has sufficient storage. + * + * Value: "INSUFFICIENT_STORAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_InsufficientStorage; +/** + * A network error on the user's device has prevented the install from + * succeeding. This usually happens when the device's internet connectivity is + * degraded, unavailable or there's a network configuration issue. Please + * ensure the device has access to full internet connectivity on a network that + * meets Android Enterprise Network Requirements + * (https://support.google.com/work/android/answer/10513641). App install or + * update will automatically resume once this is the case. + * + * Value: "NETWORK_ERROR_UNRELIABLE_CONNECTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_NetworkErrorUnreliableConnection; /** * There are no licenses available to assign to the user. * @@ -3233,7 +3255,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_StopLostModeUserAttemp */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_SystemUpdate_Type_Automatic; /** - * Postpone automatic install up to a maximum of 30 days. + * Postpone automatic install up to a maximum of 30 days. This policy does not + * affect security updates (e.g. monthly security patches). * * Value: "POSTPONE" */ @@ -4067,13 +4090,14 @@ GTLR_DEPRECATED * * Likely values: * @arg @c kGTLRAndroidManagement_ApplicationPolicy_AutoUpdateMode_AutoUpdateDefault - * The app is automatically updated with low priority to minimize the - * impact on the user.The app is updated when all of the following - * constraints are met: The device is not actively used. The device is - * connected to an unmetered network. The device is charging.The device - * is notified about a new update within 24 hours after it is published - * by the developer, after which the app is updated the next time the - * constraints above are met. (Value: "AUTO_UPDATE_DEFAULT") + * The default update mode.The app is automatically updated with low + * priority to minimize the impact on the user.The app is updated when + * all of the following constraints are met: The device is not actively + * used. The device is connected to an unmetered network. The device is + * charging. The app to be updated is not running in the foreground.The + * device is notified about a new update within 24 hours after it is + * published by the developer, after which the app is updated the next + * time the constraints above are met. (Value: "AUTO_UPDATE_DEFAULT") * @arg @c kGTLRAndroidManagement_ApplicationPolicy_AutoUpdateMode_AutoUpdateHighPriority * The app is updated as soon as possible. No constraints are applied.The * device is notified immediately about a new update after it becomes @@ -4160,8 +4184,8 @@ GTLR_DEPRECATED * a previous policy, it will be uninstalled. This also blocks its * instant app functionality. (Value: "BLOCKED") * @arg @c kGTLRAndroidManagement_ApplicationPolicy_InstallType_ForceInstalled - * The app is automatically installed and can't be removed by the user. - * (Value: "FORCE_INSTALLED") + * The app is automatically installed regardless of a set maintenance + * window and can't be removed by the user. (Value: "FORCE_INSTALLED") * @arg @c kGTLRAndroidManagement_ApplicationPolicy_InstallType_InstallTypeUnspecified * Unspecified. Defaults to AVAILABLE. (Value: * "INSTALL_TYPE_UNSPECIFIED") @@ -4774,6 +4798,9 @@ GTLR_DEPRECATED /** * 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 + * in case of Android 14 devices. Else the command will fail with + * INVALID_VALUE. */ @property(nonatomic, copy, nullable) NSString *newPassword NS_RETURNS_NOT_RETAINED; @@ -7124,6 +7151,21 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_InstallationFailureReasonUnspecified * This value is disallowed. (Value: * "INSTALLATION_FAILURE_REASON_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_InsufficientStorage + * The user's device does not have sufficient storage space to install + * the app. This can be resolved by clearing up storage space on the + * device. App install or update will automatically resume once the + * device has sufficient storage. (Value: "INSUFFICIENT_STORAGE") + * @arg @c kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_NetworkErrorUnreliableConnection + * A network error on the user's device has prevented the install from + * succeeding. This usually happens when the device's internet + * connectivity is degraded, unavailable or there's a network + * configuration issue. Please ensure the device has access to full + * internet connectivity on a network that meets Android Enterprise + * Network Requirements + * (https://support.google.com/work/android/answer/10513641). App install + * or update will automatically resume once this is the case. (Value: + * "NETWORK_ERROR_UNRELIABLE_CONNECTION") * @arg @c kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_NoLicensesRemaining * There are no licenses available to assign to the user. (Value: * "NO_LICENSES_REMAINING") @@ -9449,7 +9491,9 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_SystemUpdate_Type_Automatic Install * automatically as soon as an update is available. (Value: "AUTOMATIC") * @arg @c kGTLRAndroidManagement_SystemUpdate_Type_Postpone Postpone - * automatic install up to a maximum of 30 days. (Value: "POSTPONE") + * automatic install up to a maximum of 30 days. This policy does not + * affect security updates (e.g. monthly security patches). (Value: + * "POSTPONE") * @arg @c kGTLRAndroidManagement_SystemUpdate_Type_SystemUpdateTypeUnspecified * Follow the default update behavior for the device, which typically * requires the user to accept system updates. (Value: diff --git a/Sources/GeneratedServices/AndroidProvisioningPartner/GTLRAndroidProvisioningPartnerObjects.m b/Sources/GeneratedServices/AndroidProvisioningPartner/GTLRAndroidProvisioningPartnerObjects.m index ad0878c75..785aee25e 100644 --- a/Sources/GeneratedServices/AndroidProvisioningPartner/GTLRAndroidProvisioningPartnerObjects.m +++ b/Sources/GeneratedServices/AndroidProvisioningPartner/GTLRAndroidProvisioningPartnerObjects.m @@ -90,7 +90,7 @@ // @implementation GTLRAndroidProvisioningPartner_ClaimDeviceRequest -@dynamic customerId, deviceIdentifier, deviceMetadata, +@dynamic configurationId, customerId, deviceIdentifier, deviceMetadata, googleWorkspaceCustomerId, preProvisioningToken, sectionType, simlockProfileId; @end @@ -629,7 +629,7 @@ @implementation GTLRAndroidProvisioningPartner_OperationPerDevice // @implementation GTLRAndroidProvisioningPartner_PartnerClaim -@dynamic customerId, deviceIdentifier, deviceMetadata, +@dynamic configurationId, customerId, deviceIdentifier, deviceMetadata, googleWorkspaceCustomerId, preProvisioningToken, sectionType, simlockProfileId; @end diff --git a/Sources/GeneratedServices/AndroidProvisioningPartner/Public/GoogleAPIClientForREST/GTLRAndroidProvisioningPartnerObjects.h b/Sources/GeneratedServices/AndroidProvisioningPartner/Public/GoogleAPIClientForREST/GTLRAndroidProvisioningPartnerObjects.h index 0f9110894..f49d0278f 100644 --- a/Sources/GeneratedServices/AndroidProvisioningPartner/Public/GoogleAPIClientForREST/GTLRAndroidProvisioningPartnerObjects.h +++ b/Sources/GeneratedServices/AndroidProvisioningPartner/Public/GoogleAPIClientForREST/GTLRAndroidProvisioningPartnerObjects.h @@ -379,6 +379,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidProvisioningPartner_UnclaimDevice */ @interface GTLRAndroidProvisioningPartner_ClaimDeviceRequest : GTLRObject +/** + * Optional. The ID of the configuration applied to the device section. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *configurationId; + /** * The ID of the customer for whom the device is being claimed. * @@ -1502,6 +1509,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidProvisioningPartner_UnclaimDevice */ @interface GTLRAndroidProvisioningPartner_PartnerClaim : GTLRObject +/** + * Optional. The ID of the configuration applied to the device section. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *configurationId; + /** * The ID of the customer for whom the device is being claimed. * diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m index 9c89b841d..b478392ee 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m @@ -73,7 +73,6 @@ NSString * const kGTLRAndroidPublisher_Grant_AppLevelPermissions_AppLevelPermissionUnspecified = @"APP_LEVEL_PERMISSION_UNSPECIFIED"; NSString * const kGTLRAndroidPublisher_Grant_AppLevelPermissions_CanAccessApp = @"CAN_ACCESS_APP"; NSString * const kGTLRAndroidPublisher_Grant_AppLevelPermissions_CanManageAppContent = @"CAN_MANAGE_APP_CONTENT"; -NSString * const kGTLRAndroidPublisher_Grant_AppLevelPermissions_CanManageDeeplinks = @"CAN_MANAGE_DEEPLINKS"; NSString * const kGTLRAndroidPublisher_Grant_AppLevelPermissions_CanManageDraftApps = @"CAN_MANAGE_DRAFT_APPS"; NSString * const kGTLRAndroidPublisher_Grant_AppLevelPermissions_CanManageOrders = @"CAN_MANAGE_ORDERS"; NSString * const kGTLRAndroidPublisher_Grant_AppLevelPermissions_CanManagePermissions = @"CAN_MANAGE_PERMISSIONS"; @@ -116,6 +115,11 @@ NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionInactive = @"TIME_EXTENSION_INACTIVE"; NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionUnspecified = @"TIME_EXTENSION_UNSPECIFIED"; +// GTLRAndroidPublisher_RecurringExternalTransaction.migratedTransactionProgram +NSString * const kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_AltertnativeBillingOnly = @"ALTERTNATIVE_BILLING_ONLY"; +NSString * const kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_ExternalTransactionProgramUnspecified = @"EXTERNAL_TRANSACTION_PROGRAM_UNSPECIFIED"; +NSString * const kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_UserChoiceBilling = @"USER_CHOICE_BILLING"; + // 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"; @@ -200,6 +204,16 @@ NSString * const kGTLRAndroidPublisher_TextureCompressionFormat_Alias_ThreeDc = @"THREE_DC"; NSString * const kGTLRAndroidPublisher_TextureCompressionFormat_Alias_UnspecifiedTextureCompressionFormat = @"UNSPECIFIED_TEXTURE_COMPRESSION_FORMAT"; +// GTLRAndroidPublisher_TrackConfig.formFactor +NSString * const kGTLRAndroidPublisher_TrackConfig_FormFactor_Automotive = @"AUTOMOTIVE"; +NSString * const kGTLRAndroidPublisher_TrackConfig_FormFactor_Default = @"DEFAULT"; +NSString * const kGTLRAndroidPublisher_TrackConfig_FormFactor_FormFactorUnspecified = @"FORM_FACTOR_UNSPECIFIED"; +NSString * const kGTLRAndroidPublisher_TrackConfig_FormFactor_Wear = @"WEAR"; + +// GTLRAndroidPublisher_TrackConfig.type +NSString * const kGTLRAndroidPublisher_TrackConfig_Type_ClosedTesting = @"CLOSED_TESTING"; +NSString * const kGTLRAndroidPublisher_TrackConfig_Type_TrackTypeUnspecified = @"TRACK_TYPE_UNSPECIFIED"; + // GTLRAndroidPublisher_TrackRelease.status NSString * const kGTLRAndroidPublisher_TrackRelease_Status_Completed = @"completed"; NSString * const kGTLRAndroidPublisher_TrackRelease_Status_Draft = @"draft"; @@ -219,7 +233,6 @@ NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPermissions_CanCreateManagedPlayAppsGlobal = @"CAN_CREATE_MANAGED_PLAY_APPS_GLOBAL"; NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPermissions_CanEditGamesGlobal = @"CAN_EDIT_GAMES_GLOBAL"; NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPermissions_CanManageAppContentGlobal = @"CAN_MANAGE_APP_CONTENT_GLOBAL"; -NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPermissions_CanManageDeeplinksGlobal = @"CAN_MANAGE_DEEPLINKS_GLOBAL"; NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPermissions_CanManageDraftAppsGlobal = @"CAN_MANAGE_DRAFT_APPS_GLOBAL"; NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPermissions_CanManageOrdersGlobal = @"CAN_MANAGE_ORDERS_GLOBAL"; NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPermissions_CanManagePermissionsGlobal = @"CAN_MANAGE_PERMISSIONS_GLOBAL"; @@ -954,7 +967,7 @@ @implementation GTLRAndroidPublisher_ExternalTransaction // @implementation GTLRAndroidPublisher_ExternalTransactionAddress -@dynamic regionCode; +@dynamic administrativeArea, regionCode; @end @@ -1703,7 +1716,7 @@ @implementation GTLRAndroidPublisher_ProductPurchasesAcknowledgeRequest @implementation GTLRAndroidPublisher_RecurringExternalTransaction @dynamic externalSubscription, externalTransactionToken, - initialExternalTransactionId; + initialExternalTransactionId, migratedTransactionProgram; @end @@ -2385,6 +2398,16 @@ @implementation GTLRAndroidPublisher_Track @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_TrackConfig +// + +@implementation GTLRAndroidPublisher_TrackConfig +@dynamic formFactor, track, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_TrackCountryAvailability diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m index 2e8928a69..8a5edab6a 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m @@ -964,6 +964,37 @@ + (instancetype)queryWithObject:(GTLRAndroidPublisher_Testers *)object @end +@implementation GTLRAndroidPublisherQuery_EditsTracksCreate + +@dynamic editId, packageName; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_TrackConfig *)object + packageName:(NSString *)packageName + editId:(NSString *)editId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"editId", @"packageName" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks"; + GTLRAndroidPublisherQuery_EditsTracksCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.editId = editId; + query.expectedObjectClass = [GTLRAndroidPublisher_Track class]; + query.loggingName = @"androidpublisher.edits.tracks.create"; + return query; +} + +@end + @implementation GTLRAndroidPublisherQuery_EditsTracksGet @dynamic editId, packageName, track; diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h index e0a715d5c..c80eeafd2 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h @@ -440,12 +440,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Grant_AppLevelPermissio * Value: "CAN_MANAGE_APP_CONTENT" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Grant_AppLevelPermissions_CanManageAppContent; -/** - * Manage the deep links setup of an app. - * - * Value: "CAN_MANAGE_DEEPLINKS" - */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Grant_AppLevelPermissions_CanManageDeeplinks; /** * Edit and delete draft apps. * @@ -638,6 +632,30 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_Tim */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_RecurringExternalTransaction.migratedTransactionProgram + +/** + * Alternatively billing only, where users may only use developer-manager + * billing. + * + * Value: "ALTERTNATIVE_BILLING_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_AltertnativeBillingOnly; +/** + * Unspecified transaction program. Not used. + * + * Value: "EXTERNAL_TRANSACTION_PROGRAM_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_ExternalTransactionProgramUnspecified; +/** + * User choice billing, where a user may choose between Google Play Billing + * developer-managed billing. + * + * Value: "USER_CHOICE_BILLING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_UserChoiceBilling; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_RegionalPriceMigrationConfig.priceIncreaseType @@ -1035,6 +1053,50 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TextureCompressionForma */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TextureCompressionFormat_Alias_UnspecifiedTextureCompressionFormat; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_TrackConfig.formFactor + +/** + * Automotive form factor track. + * + * Value: "AUTOMOTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TrackConfig_FormFactor_Automotive; +/** + * Default track. + * + * Value: "DEFAULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TrackConfig_FormFactor_Default; +/** + * Fallback value, do not use. + * + * Value: "FORM_FACTOR_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TrackConfig_FormFactor_FormFactorUnspecified; +/** + * Wear form factor track. + * + * Value: "WEAR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TrackConfig_FormFactor_Wear; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_TrackConfig.type + +/** + * Closed testing track. + * + * Value: "CLOSED_TESTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TrackConfig_Type_ClosedTesting; +/** + * Fallback value, do not use. + * + * Value: "TRACK_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TrackConfig_Type_TrackTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_TrackRelease.status @@ -1133,12 +1195,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe * Value: "CAN_MANAGE_APP_CONTENT_GLOBAL" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPermissions_CanManageAppContentGlobal; -/** - * Manage the deep links setup for all apps for the developer. - * - * Value: "CAN_MANAGE_DEEPLINKS_GLOBAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPermissions_CanManageDeeplinksGlobal; /** * Create, edit, and delete draft apps. * @@ -1194,11 +1250,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPermissions_CanReplyToReviewsGlobal; /** - * View app information and download bulk reports (read-only). + * View app information and download bulk reports (read-only). Deprecated: + * Check CAN_VIEW_NON_FINANCIAL_DATA_GLOBAL. * * Value: "CAN_SEE_ALL_APPS" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPermissions_CanSeeAllApps; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPermissions_CanSeeAllApps GTLR_DEPRECATED; /** * View app quality information for all apps for the developer. * @@ -2523,6 +2580,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe */ @interface GTLRAndroidPublisher_ExternalTransactionAddress : GTLRObject +/** + * Optional. Top-level administrative subdivision of the country/region. Only + * required for transactions in India. Valid values are "ANDAMAN AND NICOBAR + * ISLANDS", "ANDHRA PRADESH", "ARUNACHAL PRADESH", "ASSAM", "BIHAR", + * "CHANDIGARH", "CHHATTISGARH", "DADRA AND NAGAR HAVELI", "DADRA AND NAGAR + * HAVELI AND DAMAN AND DIU", "DAMAN AND DIU", "DELHI", "GOA", "GUJARAT", + * "HARYANA", "HIMACHAL PRADESH", "JAMMU AND KASHMIR", "JHARKHAND", + * "KARNATAKA", "KERALA", "LADAKH", "LAKSHADWEEP", "MADHYA PRADESH", + * "MAHARASHTRA", "MANIPUR", "MEGHALAYA", "MIZORAM", "NAGALAND", "ODISHA", + * "PUDUCHERRY", "PUNJAB", "RAJASTHAN", "SIKKIM", "TAMIL NADU", "TELANGANA", + * "TRIPURA", "UTTAR PRADESH", "UTTARAKHAND", and "WEST BENGAL". + */ +@property(nonatomic, copy, nullable) NSString *administrativeArea; + /** * Required. Two letter region code based on ISO-3166-1 Alpha-2 (UN region * codes). @@ -3796,6 +3867,24 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe */ @property(nonatomic, copy, nullable) NSString *initialExternalTransactionId; +/** + * Input only. Provided during the call to Create. Must only be used when + * migrating a subscription from manual monthly reporting to automated + * reporting. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_AltertnativeBillingOnly + * Alternatively billing only, where users may only use developer-manager + * billing. (Value: "ALTERTNATIVE_BILLING_ONLY") + * @arg @c kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_ExternalTransactionProgramUnspecified + * Unspecified transaction program. Not used. (Value: + * "EXTERNAL_TRANSACTION_PROGRAM_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_UserChoiceBilling + * User choice billing, where a user may choose between Google Play + * Billing developer-managed billing. (Value: "USER_CHOICE_BILLING") + */ +@property(nonatomic, copy, nullable) NSString *migratedTransactionProgram; + @end @@ -4028,14 +4117,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe /** * The version of the available regions being used for the specified resource. - * 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 - * article](https://support.google.com/googleplay/android-developer/answer/10532353). */ @interface GTLRAndroidPublisher_RegionsVersion : GTLRObject -/** Required. The latest version is 2022/02. */ +/** + * 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 + * 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. + */ @property(nonatomic, copy, nullable) NSString *version; @end @@ -5343,6 +5438,51 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe @end +/** + * Configurations of the new track. + */ +@interface GTLRAndroidPublisher_TrackConfig : GTLRObject + +/** + * Required. Form factor of the new track. Defaults to the default track. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_TrackConfig_FormFactor_Automotive Automotive + * form factor track. (Value: "AUTOMOTIVE") + * @arg @c kGTLRAndroidPublisher_TrackConfig_FormFactor_Default Default + * track. (Value: "DEFAULT") + * @arg @c kGTLRAndroidPublisher_TrackConfig_FormFactor_FormFactorUnspecified + * Fallback value, do not use. (Value: "FORM_FACTOR_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisher_TrackConfig_FormFactor_Wear Wear form factor + * track. (Value: "WEAR") + */ +@property(nonatomic, copy, nullable) NSString *formFactor; + +/** + * Required. Identifier of the new track. For default tracks, this field + * consists of the track alias only. Form factor tracks have a special prefix + * as an identifier, for example `wear:production`, `automotive:production`. + * This prefix must match the value of the `form_factor` field, if it is not a + * default track. [More on track + * name](https://developers.google.com/android-publisher/tracks#ff-track-name) + */ +@property(nonatomic, copy, nullable) NSString *track; + +/** + * Required. Type of the new track. Currently, the only supported value is + * closedTesting. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_TrackConfig_Type_ClosedTesting Closed + * testing track. (Value: "CLOSED_TESTING") + * @arg @c kGTLRAndroidPublisher_TrackConfig_Type_TrackTypeUnspecified + * Fallback value, do not use. (Value: "TRACK_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * Resource for per-track country availability information. */ diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h index fa96792a5..376ae9859 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h @@ -1760,6 +1760,40 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots @end +/** + * Creates a new track. + * + * Method: androidpublisher.edits.tracks.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_EditsTracksCreate : GTLRAndroidPublisherQuery + +/** Required. Identifier of the edit. */ +@property(nonatomic, copy, nullable) NSString *editId; + +/** Required. Package name of the app. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Fetches a @c GTLRAndroidPublisher_Track. + * + * Creates a new track. + * + * @param object The @c GTLRAndroidPublisher_TrackConfig to include in the + * query. + * @param packageName Required. Package name of the app. + * @param editId Required. Identifier of the edit. + * + * @return GTLRAndroidPublisherQuery_EditsTracksCreate + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_TrackConfig *)object + packageName:(NSString *)packageName + editId:(NSString *)editId; + +@end + /** * Gets a track. * @@ -2935,7 +2969,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots */ @property(nonatomic, copy, nullable) NSString *productId; -/** Required. The latest version is 2022/02. */ +/** + * 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 + * 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. + */ @property(nonatomic, copy, nullable) NSString *regionsVersionVersion; /** @@ -3209,7 +3253,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots */ @property(nonatomic, copy, nullable) NSString *productId; -/** Required. The latest version is 2022/02. */ +/** + * 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 + * 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. + */ @property(nonatomic, copy, nullable) NSString *regionsVersionVersion; /** @@ -3270,7 +3324,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots */ @property(nonatomic, copy, nullable) NSString *productId; -/** Required. The latest version is 2022/02. */ +/** + * 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 + * 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. + */ @property(nonatomic, copy, nullable) NSString *regionsVersionVersion; /** @@ -3439,7 +3503,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots */ @property(nonatomic, copy, nullable) NSString *productId; -/** Required. The latest version is 2022/02. */ +/** + * 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 + * 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. + */ @property(nonatomic, copy, nullable) NSString *regionsVersionVersion; /** diff --git a/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m b/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m index eb87a9ec7..2bf143539 100644 --- a/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m +++ b/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m @@ -520,22 +520,22 @@ @implementation GTLRApigee_GoogleCloudApigeeV1AnalyticsConfig // @implementation GTLRApigee_GoogleCloudApigeeV1ApiCategory -@dynamic data, errorCode, message, requestId, status; +@dynamic identifier, name, siteId, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + @end // ---------------------------------------------------------------------------- // -// GTLRApigee_GoogleCloudApigeeV1ApiCategoryData +// GTLRApigee_GoogleCloudApigeeV1ApiCategoryResponse // -@implementation GTLRApigee_GoogleCloudApigeeV1ApiCategoryData -@dynamic identifier, name, siteId, updateTime; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} - +@implementation GTLRApigee_GoogleCloudApigeeV1ApiCategoryResponse +@dynamic data, errorCode, message, requestId, status; @end @@ -2097,7 +2097,7 @@ @implementation GTLRApigee_GoogleCloudApigeeV1ListApiCategoriesResponse + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"data" : [GTLRApigee_GoogleCloudApigeeV1ApiCategoryData class] + @"data" : [GTLRApigee_GoogleCloudApigeeV1ApiCategory class] }; return map; } diff --git a/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m b/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m index d624d7bfc..70899bd61 100644 --- a/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m +++ b/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m @@ -6469,7 +6469,7 @@ @implementation GTLRApigeeQuery_OrganizationsSitesApicategoriesCreate @dynamic parent; -+ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1ApiCategoryData *)object ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1ApiCategory *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -6485,7 +6485,7 @@ + (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1ApiCategoryData * pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; - query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1ApiCategory class]; + query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1ApiCategoryResponse class]; query.loggingName = @"apigee.organizations.sites.apicategories.create"; return query; } @@ -6523,7 +6523,7 @@ + (instancetype)queryWithName:(NSString *)name { HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1ApiCategory class]; + query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1ApiCategoryResponse class]; query.loggingName = @"apigee.organizations.sites.apicategories.get"; return query; } @@ -6553,7 +6553,7 @@ @implementation GTLRApigeeQuery_OrganizationsSitesApicategoriesPatch @dynamic name; -+ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1ApiCategoryData *)object ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1ApiCategory *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -6569,7 +6569,7 @@ + (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1ApiCategoryData * pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1ApiCategory class]; + query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1ApiCategoryResponse class]; query.loggingName = @"apigee.organizations.sites.apicategories.patch"; return query; } diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h index a6a6e0e6d..4863e408b 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h @@ -28,7 +28,7 @@ @class GTLRApigee_GoogleCloudApigeeV1AdvancedApiOpsConfig; @class GTLRApigee_GoogleCloudApigeeV1AliasRevisionConfig; @class GTLRApigee_GoogleCloudApigeeV1AnalyticsConfig; -@class GTLRApigee_GoogleCloudApigeeV1ApiCategoryData; +@class GTLRApigee_GoogleCloudApigeeV1ApiCategory; @class GTLRApigee_GoogleCloudApigeeV1ApiProduct; @class GTLRApigee_GoogleCloudApigeeV1APIProductAssociation; @class GTLRApigee_GoogleCloudApigeeV1ApiProductRef; @@ -1044,7 +1044,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1OperationMetad */ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1Organization_BillingType_BillingTypeUnspecified; /** - * Free and limited access to Apigee for evaluation purposes only. only. + * Free and limited access to Apigee for evaluation purposes only. * * Value: "EVALUATION" */ @@ -2121,35 +2121,13 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType /** - * The API category resource wrapped with response status, error_code, etc. + * `ApiCategory` represents an API category. [Catalog + * items](/apigee/docs/reference/apis/apigee/rest/v1/organizations.sites.apidocs) + * can be tagged with API categories; users viewing the API catalog in the + * portal will have the option to browse the catalog by category. */ @interface GTLRApigee_GoogleCloudApigeeV1ApiCategory : GTLRObject -/** Details of the category. */ -@property(nonatomic, strong, nullable) GTLRApigee_GoogleCloudApigeeV1ApiCategoryData *data; - -/** Unique error code for the request, if any. */ -@property(nonatomic, copy, nullable) NSString *errorCode; - -/** Description of the operation. */ -@property(nonatomic, copy, nullable) NSString *message; - -/** Unique ID of the request. */ -@property(nonatomic, copy, nullable) NSString *requestId; - -/** Status of the operation. */ -@property(nonatomic, copy, nullable) NSString *status; - -@end - - -/** - * `ApiCategoryData` represents an API category. Catalog items can be tagged - * with API categories; users viewing the API catalog in the portal will have - * the option to browse the catalog by category. - */ -@interface GTLRApigee_GoogleCloudApigeeV1ApiCategoryData : GTLRObject - /** * ID of the category (a UUID). * @@ -2173,6 +2151,29 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType @end +/** + * The API category resource wrapped with response status, error_code, etc. + */ +@interface GTLRApigee_GoogleCloudApigeeV1ApiCategoryResponse : GTLRObject + +/** The API category resource. */ +@property(nonatomic, strong, nullable) GTLRApigee_GoogleCloudApigeeV1ApiCategory *data; + +/** Unique error code for the request, if any. */ +@property(nonatomic, copy, nullable) NSString *errorCode; + +/** Description of the operation. */ +@property(nonatomic, copy, nullable) NSString *message; + +/** Unique ID of the request. */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Status of the operation. */ +@property(nonatomic, copy, nullable) NSString *status; + +@end + + /** * GTLRApigee_GoogleCloudApigeeV1ApiProduct */ @@ -5948,12 +5949,12 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType /** - * The response for `ListApiCategoriesRequest`. + * The response for `ListApiCategoriesRequest`. Next ID: 6 */ @interface GTLRApigee_GoogleCloudApigeeV1ListApiCategoriesResponse : GTLRObject -/** Details of the categories. */ -@property(nonatomic, strong, nullable) NSArray *data; +/** The API category resources. */ +@property(nonatomic, strong, nullable) NSArray *data; /** Unique error code for the request, if any. */ @property(nonatomic, copy, nullable) NSString *errorCode; @@ -7172,7 +7173,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType * @arg @c kGTLRApigee_GoogleCloudApigeeV1Organization_BillingType_BillingTypeUnspecified * Billing type not specified. (Value: "BILLING_TYPE_UNSPECIFIED") * @arg @c kGTLRApigee_GoogleCloudApigeeV1Organization_BillingType_Evaluation - * Free and limited access to Apigee for evaluation purposes only. only. + * Free and limited access to Apigee for evaluation purposes only. * (Value: "EVALUATION") * @arg @c kGTLRApigee_GoogleCloudApigeeV1Organization_BillingType_Payg * Access to Apigee using a Pay-As-You-Go plan. (Value: "PAYG") diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h index 88e4a8930..6fc95def7 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h @@ -12210,18 +12210,18 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRApigee_GoogleCloudApigeeV1ApiCategory. + * Fetches a @c GTLRApigee_GoogleCloudApigeeV1ApiCategoryResponse. * * Creates a new API category. * - * @param object The @c GTLRApigee_GoogleCloudApigeeV1ApiCategoryData to - * include in the query. + * @param object The @c GTLRApigee_GoogleCloudApigeeV1ApiCategory to include in + * the query. * @param parent Required. Name of the portal. Use the following structure in * your request: `organizations/{org}/sites/{site}` * * @return GTLRApigeeQuery_OrganizationsSitesApicategoriesCreate */ -+ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1ApiCategoryData *)object ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1ApiCategory *)object parent:(NSString *)parent; @end @@ -12274,7 +12274,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRApigee_GoogleCloudApigeeV1ApiCategory. + * Fetches a @c GTLRApigee_GoogleCloudApigeeV1ApiCategoryResponse. * * Gets an API category. * @@ -12335,19 +12335,19 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRApigee_GoogleCloudApigeeV1ApiCategory. + * Fetches a @c GTLRApigee_GoogleCloudApigeeV1ApiCategoryResponse. * * Updates an API category. * - * @param object The @c GTLRApigee_GoogleCloudApigeeV1ApiCategoryData to - * include in the query. + * @param object The @c GTLRApigee_GoogleCloudApigeeV1ApiCategory to include in + * the query. * @param name Required. Name of the category. Use the following structure in * your request: * `organizations/{org}/sites/{site}/apicategories/{apicategory}` * * @return GTLRApigeeQuery_OrganizationsSitesApicategoriesPatch */ -+ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1ApiCategoryData *)object ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1ApiCategory *)object name:(NSString *)name; @end diff --git a/Sources/GeneratedServices/Appengine/GTLRAppengineObjects.m b/Sources/GeneratedServices/Appengine/GTLRAppengineObjects.m index bbe2a3a17..1bac615ba 100644 --- a/Sources/GeneratedServices/Appengine/GTLRAppengineObjects.m +++ b/Sources/GeneratedServices/Appengine/GTLRAppengineObjects.m @@ -144,6 +144,21 @@ NSString * const kGTLRAppengine_ResourceRecord_Type_Cname = @"CNAME"; NSString * const kGTLRAppengine_ResourceRecord_Type_RecordTypeUnspecified = @"RECORD_TYPE_UNSPECIFIED"; +// GTLRAppengine_Runtime.environment +NSString * const kGTLRAppengine_Runtime_Environment_EnvironmentUnspecified = @"ENVIRONMENT_UNSPECIFIED"; +NSString * const kGTLRAppengine_Runtime_Environment_Flexible = @"FLEXIBLE"; +NSString * const kGTLRAppengine_Runtime_Environment_Standard = @"STANDARD"; + +// GTLRAppengine_Runtime.stage +NSString * const kGTLRAppengine_Runtime_Stage_Alpha = @"ALPHA"; +NSString * const kGTLRAppengine_Runtime_Stage_Beta = @"BETA"; +NSString * const kGTLRAppengine_Runtime_Stage_Decommissioned = @"DECOMMISSIONED"; +NSString * const kGTLRAppengine_Runtime_Stage_Deprecated = @"DEPRECATED"; +NSString * const kGTLRAppengine_Runtime_Stage_Development = @"DEVELOPMENT"; +NSString * const kGTLRAppengine_Runtime_Stage_EndOfSupport = @"END_OF_SUPPORT"; +NSString * const kGTLRAppengine_Runtime_Stage_Ga = @"GA"; +NSString * const kGTLRAppengine_Runtime_Stage_RuntimeStageUnspecified = @"RUNTIME_STAGE_UNSPECIFIED"; + // GTLRAppengine_SslSettings.sslManagementType NSString * const kGTLRAppengine_SslSettings_SslManagementType_Automatic = @"AUTOMATIC"; NSString * const kGTLRAppengine_SslSettings_SslManagementType_Manual = @"MANUAL"; @@ -439,6 +454,16 @@ @implementation GTLRAppengine_CreateVersionMetadataV1Beta @end +// ---------------------------------------------------------------------------- +// +// GTLRAppengine_Date +// + +@implementation GTLRAppengine_Date +@dynamic day, month, year; +@end + + // ---------------------------------------------------------------------------- // // GTLRAppengine_DebugInstanceRequest @@ -803,6 +828,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAppengine_ListRuntimesResponse +// + +@implementation GTLRAppengine_ListRuntimesResponse +@dynamic nextPageToken, runtimes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"runtimes" : [GTLRAppengine_Runtime class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"runtimes"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAppengine_ListServicesResponse @@ -1152,6 +1199,25 @@ @implementation GTLRAppengine_Resources @end +// ---------------------------------------------------------------------------- +// +// GTLRAppengine_Runtime +// + +@implementation GTLRAppengine_Runtime +@dynamic decommissionedDate, deprecationDate, endOfSupportDate, environment, + name, stage, warnings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"warnings" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAppengine_ScriptHandler @@ -1338,10 +1404,11 @@ @implementation GTLRAppengine_Version @dynamic apiConfig, appEngineApis, automaticScaling, basicScaling, betaSettings, buildEnvVariables, createdBy, createTime, defaultExpiration, deployment, diskUsageBytes, endpointsApiService, entrypoint, env, - envVariables, errorHandlers, flexibleRuntimeSettings, handlers, - healthCheck, identifier, inboundServices, instanceClass, libraries, - livenessCheck, manualScaling, name, network, nobuildFilesRegex, - readinessCheck, resources, runtime, runtimeApiVersion, runtimeChannel, + envVariables, errorHandlers, flexibleRuntimeSettings, + generatedCustomerMetadata, handlers, healthCheck, identifier, + inboundServices, instanceClass, libraries, livenessCheck, + manualScaling, name, network, nobuildFilesRegex, readinessCheck, + resources, runtime, runtimeApiVersion, runtimeChannel, runtimeMainExecutablePath, serviceAccount, servingStatus, threadsafe, versionUrl, vm, vpcAccessConnector, zones; @@ -1405,6 +1472,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAppengine_Version_GeneratedCustomerMetadata +// + +@implementation GTLRAppengine_Version_GeneratedCustomerMetadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAppengine_Volume diff --git a/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m b/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m index 7e52d9281..0b191d89e 100644 --- a/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m +++ b/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m @@ -13,6 +13,11 @@ // ---------------------------------------------------------------------------- // Constants +// environment +NSString * const kGTLRAppengineEnvironmentEnvironmentUnspecified = @"ENVIRONMENT_UNSPECIFIED"; +NSString * const kGTLRAppengineEnvironmentFlexible = @"FLEXIBLE"; +NSString * const kGTLRAppengineEnvironmentStandard = @"STANDARD"; + // includeExtraData NSString * const kGTLRAppengineIncludeExtraDataIncludeExtraDataNone = @"INCLUDE_EXTRA_DATA_NONE"; NSString * const kGTLRAppengineIncludeExtraDataIncludeExtraDataUnspecified = @"INCLUDE_EXTRA_DATA_UNSPECIFIED"; @@ -495,6 +500,25 @@ + (instancetype)queryWithAppsId:(NSString *)appsId { @end +@implementation GTLRAppengineQuery_AppsListRuntimes + +@dynamic appsId, environment; + ++ (instancetype)queryWithAppsId:(NSString *)appsId { + NSArray *pathParams = @[ @"appsId" ]; + NSString *pathURITemplate = @"v1/apps/{appsId}:listRuntimes"; + GTLRAppengineQuery_AppsListRuntimes *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.appsId = appsId; + query.expectedObjectClass = [GTLRAppengine_ListRuntimesResponse class]; + query.loggingName = @"appengine.apps.listRuntimes"; + return query; +} + +@end + @implementation GTLRAppengineQuery_AppsLocationsGet @dynamic appsId, locationsId; diff --git a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h index 7d651829b..5e8e58a1c 100644 --- a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h +++ b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h @@ -29,6 +29,7 @@ @class GTLRAppengine_CreateVersionMetadataV1; @class GTLRAppengine_CreateVersionMetadataV1Alpha; @class GTLRAppengine_CreateVersionMetadataV1Beta; +@class GTLRAppengine_Date; @class GTLRAppengine_Deployment; @class GTLRAppengine_Deployment_Files; @class GTLRAppengine_DiskUtilization; @@ -62,6 +63,7 @@ @class GTLRAppengine_RequestUtilization; @class GTLRAppengine_ResourceRecord; @class GTLRAppengine_Resources; +@class GTLRAppengine_Runtime; @class GTLRAppengine_ScriptHandler; @class GTLRAppengine_Service; @class GTLRAppengine_Service_GeneratedCustomerMetadata; @@ -80,6 +82,7 @@ @class GTLRAppengine_Version_BetaSettings; @class GTLRAppengine_Version_BuildEnvVariables; @class GTLRAppengine_Version_EnvVariables; +@class GTLRAppengine_Version_GeneratedCustomerMetadata; @class GTLRAppengine_Volume; @class GTLRAppengine_VpcAccessConnector; @class GTLRAppengine_ZipInfo; @@ -776,6 +779,80 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_ResourceRecord_Type_Cname; */ FOUNDATION_EXTERN NSString * const kGTLRAppengine_ResourceRecord_Type_RecordTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAppengine_Runtime.environment + +/** + * Default value. + * + * Value: "ENVIRONMENT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengine_Runtime_Environment_EnvironmentUnspecified; +/** + * App Engine Flexible + * + * Value: "FLEXIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengine_Runtime_Environment_Flexible; +/** + * App Engine Standard. + * + * Value: "STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengine_Runtime_Environment_Standard; + +// ---------------------------------------------------------------------------- +// GTLRAppengine_Runtime.stage + +/** + * The runtime is in the Alpha stage. + * + * Value: "ALPHA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengine_Runtime_Stage_Alpha; +/** + * The runtime is in the Beta stage. + * + * Value: "BETA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengine_Runtime_Stage_Beta; +/** + * The runtime is no longer supported. + * + * Value: "DECOMMISSIONED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengine_Runtime_Stage_Decommissioned; +/** + * The runtime is deprecated. + * + * Value: "DEPRECATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengine_Runtime_Stage_Deprecated; +/** + * The runtime is in development. + * + * Value: "DEVELOPMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengine_Runtime_Stage_Development; +/** + * The runtime is end of support. + * + * Value: "END_OF_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengine_Runtime_Stage_EndOfSupport; +/** + * The runtime is generally available. + * + * Value: "GA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengine_Runtime_Stage_Ga; +/** + * Not specified. + * + * Value: "RUNTIME_STAGE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengine_Runtime_Stage_RuntimeStageUnspecified; + // ---------------------------------------------------------------------------- // GTLRAppengine_SslSettings.sslManagementType @@ -1715,6 +1792,46 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti @end +/** + * Represents a whole or partial calendar date, such as a birthday. The time of + * day and time zone are either specified elsewhere or are insignificant. The + * date is relative to the Gregorian Calendar. This can represent one of the + * following: A full date, with non-zero year, month, and day values. A month + * and day, with a zero year (for example, an anniversary). A year on its own, + * with a zero month and a zero day. A year and month, with a zero day (for + * example, a credit card expiration date).Related types: google.type.TimeOfDay + * google.type.DateTime google.protobuf.Timestamp + */ +@interface GTLRAppengine_Date : GTLRObject + +/** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 + * to specify a year by itself or a year and month where the day isn't + * significant. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *day; + +/** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a + * month and day. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *month; + +/** + * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + * year. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *year; + +@end + + /** * Request message for Instances.DebugInstance. */ @@ -2519,6 +2636,30 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti @end +/** + * Response message for Applications.ListRuntimes. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "runtimes" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAppengine_ListRuntimesResponse : GTLRCollectionObject + +/** Continuation token for fetching the next page of results. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The runtimes available to the requested application. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *runtimes; + +@end + + /** * Response message for Services.ListServices. * @@ -3493,6 +3634,65 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti @end +/** + * Runtime versions for App Engine. + */ +@interface GTLRAppengine_Runtime : GTLRObject + +/** Date when Runtime is decommissioned. */ +@property(nonatomic, strong, nullable) GTLRAppengine_Date *decommissionedDate; + +/** Date when Runtime is deprecated. */ +@property(nonatomic, strong, nullable) GTLRAppengine_Date *deprecationDate; + +/** Date when Runtime is end of support. */ +@property(nonatomic, strong, nullable) GTLRAppengine_Date *endOfSupportDate; + +/** + * The environment of the runtime. + * + * Likely values: + * @arg @c kGTLRAppengine_Runtime_Environment_EnvironmentUnspecified Default + * value. (Value: "ENVIRONMENT_UNSPECIFIED") + * @arg @c kGTLRAppengine_Runtime_Environment_Flexible App Engine Flexible + * (Value: "FLEXIBLE") + * @arg @c kGTLRAppengine_Runtime_Environment_Standard App Engine Standard. + * (Value: "STANDARD") + */ +@property(nonatomic, copy, nullable) NSString *environment; + +/** The name of the runtime, e.g., 'go113', 'nodejs12', etc. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The stage of life this runtime is in, e.g., BETA, GA, etc. + * + * Likely values: + * @arg @c kGTLRAppengine_Runtime_Stage_Alpha The runtime is in the Alpha + * stage. (Value: "ALPHA") + * @arg @c kGTLRAppengine_Runtime_Stage_Beta The runtime is in the Beta + * stage. (Value: "BETA") + * @arg @c kGTLRAppengine_Runtime_Stage_Decommissioned The runtime is no + * longer supported. (Value: "DECOMMISSIONED") + * @arg @c kGTLRAppengine_Runtime_Stage_Deprecated The runtime is deprecated. + * (Value: "DEPRECATED") + * @arg @c kGTLRAppengine_Runtime_Stage_Development The runtime is in + * development. (Value: "DEVELOPMENT") + * @arg @c kGTLRAppengine_Runtime_Stage_EndOfSupport The runtime is end of + * support. (Value: "END_OF_SUPPORT") + * @arg @c kGTLRAppengine_Runtime_Stage_Ga The runtime is generally + * available. (Value: "GA") + * @arg @c kGTLRAppengine_Runtime_Stage_RuntimeStageUnspecified Not + * specified. (Value: "RUNTIME_STAGE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *stage; + +/** Warning messages, e.g., a deprecation warning. */ +@property(nonatomic, strong, nullable) NSArray *warnings; + +@end + + /** * Executes a script to handle the request that matches the URL pattern. */ @@ -4102,6 +4302,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti /** Settings for App Engine flexible runtimes. */ @property(nonatomic, strong, nullable) GTLRAppengine_FlexibleRuntimeSettings *flexibleRuntimeSettings; +/** + * Additional Google Generated Customer Metadata, this field won't be provided + * by default and can be requested by setting the IncludeExtraData field in + * GetVersionRequest + */ +@property(nonatomic, strong, nullable) GTLRAppengine_Version_GeneratedCustomerMetadata *generatedCustomerMetadata; + /** * An ordered list of URL-matching patterns that should be applied to incoming * requests. The first matching URL handles the request and other request @@ -4113,7 +4320,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti /** * Configures health checking for instances. Unhealthy instances are stopped * and replaced with new instances. Only applicable in the App Engine flexible - * environment.Only returned in GET requests if view=FULL is set. + * environment. */ @property(nonatomic, strong, nullable) GTLRAppengine_HealthCheck *healthCheck; @@ -4148,8 +4355,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti /** * Configures liveness health checking for instances. Unhealthy instances are - * stopped and replaced with new instancesOnly returned in GET requests if - * view=FULL is set. + * stopped and replaced with new instances */ @property(nonatomic, strong, nullable) GTLRAppengine_LivenessCheck *livenessCheck; @@ -4181,8 +4387,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti /** * Configures readiness health checking for instances. Unhealthy instances are - * not put into the backend traffic rotation.Only returned in GET requests if - * view=FULL is set. + * not put into the backend traffic rotation. */ @property(nonatomic, strong, nullable) GTLRAppengine_ReadinessCheck *readinessCheck; @@ -4306,6 +4511,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti @end +/** + * Additional Google Generated Customer Metadata, this field won't be provided + * by default and can be requested by setting the IncludeExtraData field in + * GetVersionRequest + * + * @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 GTLRAppengine_Version_GeneratedCustomerMetadata : GTLRObject +@end + + /** * Volumes mounted within the app container. Only applicable in the App Engine * flexible environment. diff --git a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h index 3ebb061ba..da4796c98 100644 --- a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h +++ b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h @@ -26,6 +26,28 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the query classes' properties below. +// ---------------------------------------------------------------------------- +// environment + +/** + * Default value. + * + * Value: "ENVIRONMENT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengineEnvironmentEnvironmentUnspecified; +/** + * App Engine Flexible + * + * Value: "FLEXIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengineEnvironmentFlexible; +/** + * App Engine Standard. + * + * Value: "STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppengineEnvironmentStandard; + // ---------------------------------------------------------------------------- // includeExtraData @@ -931,6 +953,51 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @end +/** + * Lists all the available runtimes for the application. + * + * Method: appengine.apps.listRuntimes + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppengineAdmin + * @c kGTLRAuthScopeAppengineCloudPlatform + * @c kGTLRAuthScopeAppengineCloudPlatformReadOnly + */ +@interface GTLRAppengineQuery_AppsListRuntimes : GTLRAppengineQuery + +/** + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. + */ +@property(nonatomic, copy, nullable) NSString *appsId; + +/** + * Optional. The environment of the Application. + * + * Likely values: + * @arg @c kGTLRAppengineEnvironmentEnvironmentUnspecified Default value. + * (Value: "ENVIRONMENT_UNSPECIFIED") + * @arg @c kGTLRAppengineEnvironmentStandard App Engine Standard. (Value: + * "STANDARD") + * @arg @c kGTLRAppengineEnvironmentFlexible App Engine Flexible (Value: + * "FLEXIBLE") + */ +@property(nonatomic, copy, nullable) NSString *environment; + +/** + * Fetches a @c GTLRAppengine_ListRuntimesResponse. + * + * Lists all the available runtimes for the application. + * + * @param appsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. + * + * @return GTLRAppengineQuery_AppsListRuntimes + */ ++ (instancetype)queryWithAppsId:(NSString *)appsId; + +@end + /** * Gets information about a location. * diff --git a/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m index 22817600f..152e8854c 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m +++ b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m @@ -36,6 +36,7 @@ // GTLRArtifactRegistry_GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository.repositoryBase NSString * const kGTLRArtifactRegistry_GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository_RepositoryBase_Debian = @"DEBIAN"; +NSString * const kGTLRArtifactRegistry_GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository_RepositoryBase_DebianSnapshot = @"DEBIAN_SNAPSHOT"; NSString * const kGTLRArtifactRegistry_GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository_RepositoryBase_RepositoryBaseUnspecified = @"REPOSITORY_BASE_UNSPECIFIED"; NSString * const kGTLRArtifactRegistry_GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository_RepositoryBase_Ubuntu = @"UBUNTU"; diff --git a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h index ca75bc62b..4effa3334 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h +++ b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h @@ -174,6 +174,12 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_DockerRepository_Public * Value: "DEBIAN" */ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository_RepositoryBase_Debian; +/** + * Archived Debian. + * + * Value: "DEBIAN_SNAPSHOT" + */ +FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository_RepositoryBase_DebianSnapshot; /** * Unspecified repository base. * @@ -995,6 +1001,8 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType * Likely values: * @arg @c kGTLRArtifactRegistry_GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository_RepositoryBase_Debian * Debian. (Value: "DEBIAN") + * @arg @c kGTLRArtifactRegistry_GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository_RepositoryBase_DebianSnapshot + * Archived Debian. (Value: "DEBIAN_SNAPSHOT") * @arg @c kGTLRArtifactRegistry_GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository_RepositoryBase_RepositoryBaseUnspecified * Unspecified repository base. (Value: "REPOSITORY_BASE_UNSPECIFIED") * @arg @c kGTLRArtifactRegistry_GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository_RepositoryBase_Ubuntu @@ -2189,7 +2197,7 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType /** * The name of the repository, for example: - * "projects/p1/locations/us-central1/repositories/repo1". + * `projects/p1/locations/us-central1/repositories/repo1`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2568,7 +2576,7 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType /** * A reference to the repository resource, for example: - * "projects/p1/locations/us-central1/repositories/repo1". + * `projects/p1/locations/us-central1/repositories/repo1`. */ @property(nonatomic, copy, nullable) NSString *repository; diff --git a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryQuery.h b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryQuery.h index 554fd1e1e..ee18e0928 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryQuery.h +++ b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryQuery.h @@ -1390,7 +1390,7 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi /** * The name of the repository, for example: - * "projects/p1/locations/us-central1/repositories/repo1". + * `projects/p1/locations/us-central1/repositories/repo1`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1410,7 +1410,7 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi * @param object The @c GTLRArtifactRegistry_Repository to include in the * query. * @param name The name of the repository, for example: - * "projects/p1/locations/us-central1/repositories/repo1". + * `projects/p1/locations/us-central1/repositories/repo1`. * * @return GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesPatch */ diff --git a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m index 4785012a2..03d214fcc 100644 --- a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m +++ b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m @@ -11,6 +11,11 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest.acknowledgeType +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest_AcknowledgeType_AcknowledgeTypeUnspecified = @"ACKNOWLEDGE_TYPE_UNSPECIFIED"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest_AcknowledgeType_ExistingChildResourceViolations = @"EXISTING_CHILD_RESOURCE_VIOLATIONS"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest_AcknowledgeType_SingleViolation = @"SINGLE_VIOLATION"; + // GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata.complianceRegime NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AssuredWorkloadsForPartners = @"ASSURED_WORKLOADS_FOR_PARTNERS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AuRegionsAndUsSupport = @"AU_REGIONS_AND_US_SUPPORT"; @@ -44,10 +49,16 @@ NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation_State_Unresolved = @"UNRESOLVED"; +// GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation.violationType +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation_ViolationType_OrgPolicy = @"ORG_POLICY"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation_ViolationType_Resource = @"RESOURCE"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation_ViolationType_ViolationTypeUnspecified = @"VIOLATION_TYPE_UNSPECIFIED"; + // GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediation.remediationType NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediation_RemediationType_RemediationBooleanOrgPolicyViolation = @"REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediation_RemediationType_RemediationListAllowedValuesOrgPolicyViolation = @"REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediation_RemediationType_RemediationListDeniedValuesOrgPolicyViolation = @"REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediation_RemediationType_RemediationResourceViolation = @"REMEDIATION_RESOURCE_VIOLATION"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediation_RemediationType_RemediationRestrictCmekCryptoKeyProjectsOrgPolicyViolation = @"REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediation_RemediationType_RemediationTypeUnspecified = @"REMEDIATION_TYPE_UNSPECIFIED"; @@ -140,7 +151,7 @@ // @implementation GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest -@dynamic comment, nonCompliantOrgPolicy; +@dynamic acknowledgeType, comment, nonCompliantOrgPolicy; @end @@ -326,10 +337,11 @@ @implementation GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1RestrictAllowe // @implementation GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation -@dynamic acknowledged, acknowledgementTime, auditLogLink, beginTime, category, - descriptionProperty, exceptionAuditLogLink, exceptionContexts, name, - nonCompliantOrgPolicy, orgPolicyConstraint, remediation, resolveTime, - state, updateTime; +@dynamic acknowledged, acknowledgementTime, associatedOrgPolicyViolationId, + auditLogLink, beginTime, category, descriptionProperty, + exceptionAuditLogLink, exceptionContexts, name, nonCompliantOrgPolicy, + orgPolicyConstraint, parentProjectNumber, remediation, resolveTime, + resourceName, resourceType, state, updateTime, violationType; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -473,7 +485,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus -@dynamic acknowledgedViolationCount, activeViolationCount; +@dynamic acknowledgedResourceViolationCount, acknowledgedViolationCount, + activeResourceViolationCount, activeViolationCount; @end diff --git a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h index eb6234f7f..f76854289 100644 --- a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h +++ b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h @@ -48,6 +48,29 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest.acknowledgeType + +/** + * Acknowledge type unspecified. + * + * Value: "ACKNOWLEDGE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest_AcknowledgeType_AcknowledgeTypeUnspecified; +/** + * Acknowledge specified orgPolicy violation and also associated resource + * violations. + * + * Value: "EXISTING_CHILD_RESOURCE_VIOLATIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest_AcknowledgeType_ExistingChildResourceViolations; +/** + * Acknowledge only the specific violation. + * + * Value: "SINGLE_VIOLATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest_AcknowledgeType_SingleViolation; + // ---------------------------------------------------------------------------- // GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata.complianceRegime @@ -58,8 +81,7 @@ NS_ASSUME_NONNULL_BEGIN */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AssuredWorkloadsForPartners; /** - * Assured Workloads for Australia Regions and Support controls Available for - * public preview consumption. Don't create production workloads. + * Assured Workloads for Australia Regions and Support controls * * Value: "AU_REGIONS_AND_US_SUPPORT" */ @@ -230,6 +252,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation_State_Unresolved; +// ---------------------------------------------------------------------------- +// GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation.violationType + +/** + * Org Policy Violation. + * + * Value: "ORG_POLICY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation_ViolationType_OrgPolicy; +/** + * Resource Violation. + * + * Value: "RESOURCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation_ViolationType_Resource; +/** + * Unspecified type. + * + * Value: "VIOLATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation_ViolationType_ViolationTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediation.remediationType @@ -253,6 +297,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediation_RemediationType_RemediationListDeniedValuesOrgPolicyViolation; +/** + * Remediation type for resource violation. + * + * Value: "REMEDIATION_RESOURCE_VIOLATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediation_RemediationType_RemediationResourceViolation; /** * Remediation type for gcp.restrictCmekCryptoKeyProjects * @@ -276,8 +326,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_AssuredWorkloadsForPartners; /** - * Assured Workloads for Australia Regions and Support controls Available for - * public preview consumption. Don't create production workloads. + * Assured Workloads for Australia Regions and Support controls * * Value: "AU_REGIONS_AND_US_SUPPORT" */ @@ -666,6 +715,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl */ @interface GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest : GTLRObject +/** + * Optional. Acknowledge type of specified violation. + * + * Likely values: + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest_AcknowledgeType_AcknowledgeTypeUnspecified + * Acknowledge type unspecified. (Value: "ACKNOWLEDGE_TYPE_UNSPECIFIED") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest_AcknowledgeType_ExistingChildResourceViolations + * Acknowledge specified orgPolicy violation and also associated resource + * violations. (Value: "EXISTING_CHILD_RESOURCE_VIOLATIONS") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest_AcknowledgeType_SingleViolation + * Acknowledge only the specific violation. (Value: "SINGLE_VIOLATION") + */ +@property(nonatomic, copy, nullable) NSString *acknowledgeType; + /** * Required. Business justification explaining the need for violation * acknowledgement @@ -733,7 +796,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl /** * Type of the asset being analyzed. Possible values will be among the ones * listed - * [here](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types). + * [here](https://cloud.google.com/asset-inventory/docs/supported-asset-types). */ @property(nonatomic, copy, nullable) NSString *assetType; @@ -754,9 +817,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Assured Workloads for Partners; (Value: * "ASSURED_WORKLOADS_FOR_PARTNERS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AuRegionsAndUsSupport - * Assured Workloads for Australia Regions and Support controls Available - * for public preview consumption. Don't create production workloads. - * (Value: "AU_REGIONS_AND_US_SUPPORT") + * Assured Workloads for Australia Regions and Support controls (Value: + * "AU_REGIONS_AND_US_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CaProtectedB * Assured Workloads for Canada Protected B regime (Value: * "CA_PROTECTED_B") @@ -976,7 +1038,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl /** - * Workload monitoring Violation. Next Id: 28 + * Workload monitoring Violation. */ @interface GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation : GTLRObject @@ -995,6 +1057,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl */ @property(nonatomic, strong, nullable) GTLRDateTime *acknowledgementTime; +/** + * Optional. Output only. Violation Id of the org-policy violation due to which + * the resource violation is caused. Empty for org-policy violations. + */ +@property(nonatomic, copy, nullable) NSString *associatedOrgPolicyViolationId; + /** * Output only. Immutable. Audit Log Link for violated resource Format: * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder} @@ -1049,6 +1117,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl */ @property(nonatomic, copy, nullable) NSString *orgPolicyConstraint GTLR_DEPRECATED; +/** + * Optional. Output only. Parent project number where resource is present. + * Empty for org-policy violations. + */ +@property(nonatomic, copy, nullable) NSString *parentProjectNumber; + /** Output only. Compliance violation remediation */ @property(nonatomic, strong, nullable) GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediation *remediation; @@ -1058,6 +1132,19 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl */ @property(nonatomic, strong, nullable) GTLRDateTime *resolveTime; +/** + * Optional. Output only. Name of the resource like + * //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy + * violations. + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +/** + * Optional. Output only. Type of the resource like + * compute.googleapis.com/Disk, etc. Empty for org-policy violations. + */ +@property(nonatomic, copy, nullable) NSString *resourceType; + /** * Output only. State of the violation * @@ -1076,11 +1163,24 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl /** Output only. The last time when the Violation record was updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** + * Output only. Type of the violation + * + * Likely values: + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation_ViolationType_OrgPolicy + * Org Policy Violation. (Value: "ORG_POLICY") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation_ViolationType_Resource + * Resource Violation. (Value: "RESOURCE") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Violation_ViolationType_ViolationTypeUnspecified + * Unspecified type. (Value: "VIOLATION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *violationType; + @end /** - * Violation exception detail. Next Id: 6 + * Violation exception detail. */ @interface GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationExceptionContext : GTLRObject @@ -1130,6 +1230,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Remediation type for list org policy which have denied values in the * monitoring rule (Value: * "REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediation_RemediationType_RemediationResourceViolation + * Remediation type for resource violation. (Value: + * "REMEDIATION_RESOURCE_VIOLATION") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediation_RemediationType_RemediationRestrictCmekCryptoKeyProjectsOrgPolicyViolation * Remediation type for gcp.restrictCmekCryptoKeyProjects (Value: * "REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION") @@ -1213,9 +1316,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Assured Workloads for Partners; (Value: * "ASSURED_WORKLOADS_FOR_PARTNERS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_AuRegionsAndUsSupport - * Assured Workloads for Australia Regions and Support controls Available - * for public preview consumption. Don't create production workloads. - * (Value: "AU_REGIONS_AND_US_SUPPORT") + * Assured Workloads for Australia Regions and Support controls (Value: + * "AU_REGIONS_AND_US_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CaProtectedB * Assured Workloads for Canada Protected B regime (Value: * "CA_PROTECTED_B") @@ -1267,7 +1369,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Output only. Urls for services which are compliant for this Assured * Workload, but which are currently disallowed by the ResourceUsageRestriction * org policy. Invoke RestrictAllowedResources endpoint to allow your project - * developers to use these services in their environment." + * developers to use these services in their environment. */ @property(nonatomic, strong, nullable) NSArray *compliantButDisallowedServices; @@ -1281,7 +1383,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl */ @property(nonatomic, copy, nullable) NSString *displayName; -/** Optional. Represents the Ekm Provisioning State of the given workload. */ +/** + * Output only. Represents the Ekm Provisioning State of the given workload. + */ @property(nonatomic, strong, nullable) GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse *ekmProvisioningResponse; /** @@ -1430,6 +1534,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl */ @interface GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus : GTLRObject +/** + * Number of current resource violations which are not acknowledged. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *acknowledgedResourceViolationCount; + /** * Number of current orgPolicy violations which are acknowledged. * @@ -1437,6 +1548,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl */ @property(nonatomic, strong, nullable) NSNumber *acknowledgedViolationCount; +/** + * Number of current resource violations which are acknowledged. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *activeResourceViolationCount; + /** * Number of current orgPolicy violations which are not acknowledged. * diff --git a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsQuery.h b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsQuery.h index 78e05e60e..88a268464 100644 --- a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsQuery.h +++ b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsQuery.h @@ -118,7 +118,7 @@ NS_ASSUME_NONNULL_BEGIN * Optional. List of asset types to be analyzed, including and under the source * resource. If empty, all assets are analyzed. The complete list of asset * types is available - * [here](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types). + * [here](https://cloud.google.com/asset-inventory/docs/supported-asset-types). */ @property(nonatomic, strong, nullable) NSArray *assetTypes; diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m index 2902b0a29..cef3025ca 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m @@ -234,7 +234,9 @@ + (Class)classForAdditionalProperties { @implementation GTLRBackupdr_ManagementServer @dynamic createTime, descriptionProperty, ETag, labels, managementUri, name, - networks, oauth2ClientId, state, type, updateTime; + networks, oauth2ClientId, state, type, updateTime, + workforceIdentityBasedManagementUri, + workforceIdentityBasedOauth2ClientId; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -450,3 +452,23 @@ @implementation GTLRBackupdr_TestIamPermissionsResponse } @end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_WorkforceIdentityBasedManagementURI +// + +@implementation GTLRBackupdr_WorkforceIdentityBasedManagementURI +@dynamic firstPartyManagementUri, thirdPartyManagementUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_WorkforceIdentityBasedOAuth2ClientID +// + +@implementation GTLRBackupdr_WorkforceIdentityBasedOAuth2ClientID +@dynamic firstPartyOauth2ClientId, thirdPartyOauth2ClientId; +@end diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h index 95fd2d655..7695e904c 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h @@ -30,6 +30,8 @@ @class GTLRBackupdr_Policy; @class GTLRBackupdr_Status; @class GTLRBackupdr_Status_Details_Item; +@class GTLRBackupdr_WorkforceIdentityBasedManagementURI; +@class GTLRBackupdr_WorkforceIdentityBasedOAuth2ClientID; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -587,6 +589,17 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_NetworkConfig_PeeringMode_Priva /** Output only. The time when the instance was updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** + * Output only. The hostnames of the exposed AGM endpoints for both types of + * user i.e. 1p and 3p, used to connect AGM/RM UI. + */ +@property(nonatomic, strong, nullable) GTLRBackupdr_WorkforceIdentityBasedManagementURI *workforceIdentityBasedManagementUri; + +/** + * Output only. The OAuth client IDs for both types of user i.e. 1p and 3p. + */ +@property(nonatomic, strong, nullable) GTLRBackupdr_WorkforceIdentityBasedOAuth2ClientID *workforceIdentityBasedOauth2ClientId; + @end @@ -970,6 +983,38 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_NetworkConfig_PeeringMode_Priva @end + +/** + * ManagementURI depending on the Workforce Identity i.e. either 1p or 3p. + */ +@interface GTLRBackupdr_WorkforceIdentityBasedManagementURI : GTLRObject + +/** Output only. First party Management URI for Google Identities. */ +@property(nonatomic, copy, nullable) NSString *firstPartyManagementUri; + +/** + * Output only. Third party Management URI for External Identity Providers. + */ +@property(nonatomic, copy, nullable) NSString *thirdPartyManagementUri; + +@end + + +/** + * OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p, + */ +@interface GTLRBackupdr_WorkforceIdentityBasedOAuth2ClientID : GTLRObject + +/** Output only. First party OAuth Client ID for Google Identities. */ +@property(nonatomic, copy, nullable) NSString *firstPartyOauth2ClientId; + +/** + * Output only. Third party OAuth Client ID for External Identity Providers. + */ +@property(nonatomic, copy, nullable) NSString *thirdPartyOauth2ClientId; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/BigQueryDataPolicyService/GTLRBigQueryDataPolicyServiceObjects.m b/Sources/GeneratedServices/BigQueryDataPolicyService/GTLRBigQueryDataPolicyServiceObjects.m new file mode 100644 index 000000000..cc52747f0 --- /dev/null +++ b/Sources/GeneratedServices/BigQueryDataPolicyService/GTLRBigQueryDataPolicyServiceObjects.m @@ -0,0 +1,253 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Data Policy API (bigquerydatapolicy/v1) +// Description: +// Allows users to manage BigQuery data policies. +// Documentation: +// https://cloud.google.com/bigquery/docs/column-data-masking + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRBigQueryDataPolicyService_AuditLogConfig.logType +NSString * const kGTLRBigQueryDataPolicyService_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; +NSString * const kGTLRBigQueryDataPolicyService_AuditLogConfig_LogType_DataRead = @"DATA_READ"; +NSString * const kGTLRBigQueryDataPolicyService_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; +NSString * const kGTLRBigQueryDataPolicyService_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; + +// GTLRBigQueryDataPolicyService_DataMaskingPolicy.predefinedExpression +NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_AlwaysNull = @"ALWAYS_NULL"; +NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_DateYearMask = @"DATE_YEAR_MASK"; +NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_DefaultMaskingValue = @"DEFAULT_MASKING_VALUE"; +NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_EmailMask = @"EMAIL_MASK"; +NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_FirstFourCharacters = @"FIRST_FOUR_CHARACTERS"; +NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_LastFourCharacters = @"LAST_FOUR_CHARACTERS"; +NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_PredefinedExpressionUnspecified = @"PREDEFINED_EXPRESSION_UNSPECIFIED"; +NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_Sha256 = @"SHA256"; + +// GTLRBigQueryDataPolicyService_DataPolicy.dataPolicyType +NSString * const kGTLRBigQueryDataPolicyService_DataPolicy_DataPolicyType_ColumnLevelSecurityPolicy = @"COLUMN_LEVEL_SECURITY_POLICY"; +NSString * const kGTLRBigQueryDataPolicyService_DataPolicy_DataPolicyType_DataMaskingPolicy = @"DATA_MASKING_POLICY"; +NSString * const kGTLRBigQueryDataPolicyService_DataPolicy_DataPolicyType_DataPolicyTypeUnspecified = @"DATA_POLICY_TYPE_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_AuditConfig +// + +@implementation GTLRBigQueryDataPolicyService_AuditConfig +@dynamic auditLogConfigs, service; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditLogConfigs" : [GTLRBigQueryDataPolicyService_AuditLogConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_AuditLogConfig +// + +@implementation GTLRBigQueryDataPolicyService_AuditLogConfig +@dynamic exemptedMembers, logType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"exemptedMembers" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_Binding +// + +@implementation GTLRBigQueryDataPolicyService_Binding +@dynamic condition, members, role; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"members" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_DataMaskingPolicy +// + +@implementation GTLRBigQueryDataPolicyService_DataMaskingPolicy +@dynamic predefinedExpression, routine; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_DataPolicy +// + +@implementation GTLRBigQueryDataPolicyService_DataPolicy +@dynamic dataMaskingPolicy, dataPolicyId, dataPolicyType, name, policyTag; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_Empty +// + +@implementation GTLRBigQueryDataPolicyService_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_Expr +// + +@implementation GTLRBigQueryDataPolicyService_Expr +@dynamic descriptionProperty, expression, location, title; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_GetIamPolicyRequest +// + +@implementation GTLRBigQueryDataPolicyService_GetIamPolicyRequest +@dynamic options; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_GetPolicyOptions +// + +@implementation GTLRBigQueryDataPolicyService_GetPolicyOptions +@dynamic requestedPolicyVersion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_ListDataPoliciesResponse +// + +@implementation GTLRBigQueryDataPolicyService_ListDataPoliciesResponse +@dynamic dataPolicies, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dataPolicies" : [GTLRBigQueryDataPolicyService_DataPolicy class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"dataPolicies"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_Policy +// + +@implementation GTLRBigQueryDataPolicyService_Policy +@dynamic auditConfigs, bindings, ETag, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditConfigs" : [GTLRBigQueryDataPolicyService_AuditConfig class], + @"bindings" : [GTLRBigQueryDataPolicyService_Binding class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_RenameDataPolicyRequest +// + +@implementation GTLRBigQueryDataPolicyService_RenameDataPolicyRequest +@dynamic newDataPolicyId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_SetIamPolicyRequest +// + +@implementation GTLRBigQueryDataPolicyService_SetIamPolicyRequest +@dynamic policy, updateMask; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_TestIamPermissionsRequest +// + +@implementation GTLRBigQueryDataPolicyService_TestIamPermissionsRequest +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataPolicyService_TestIamPermissionsResponse +// + +@implementation GTLRBigQueryDataPolicyService_TestIamPermissionsResponse +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end diff --git a/Sources/GeneratedServices/BigQueryDataPolicyService/GTLRBigQueryDataPolicyServiceQuery.m b/Sources/GeneratedServices/BigQueryDataPolicyService/GTLRBigQueryDataPolicyServiceQuery.m new file mode 100644 index 000000000..ad04917c3 --- /dev/null +++ b/Sources/GeneratedServices/BigQueryDataPolicyService/GTLRBigQueryDataPolicyServiceQuery.m @@ -0,0 +1,236 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Data Policy API (bigquerydatapolicy/v1) +// Description: +// Allows users to manage BigQuery data policies. +// Documentation: +// https://cloud.google.com/bigquery/docs/column-data-masking + +#import + +@implementation GTLRBigQueryDataPolicyServiceQuery + +@dynamic fields; + +@end + +@implementation GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRBigQueryDataPolicyService_DataPolicy *)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}/dataPolicies"; + GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRBigQueryDataPolicyService_DataPolicy class]; + query.loggingName = @"bigquerydatapolicy.projects.locations.dataPolicies.create"; + return query; +} + +@end + +@implementation GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBigQueryDataPolicyService_Empty class]; + query.loggingName = @"bigquerydatapolicy.projects.locations.dataPolicies.delete"; + return query; +} + +@end + +@implementation GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBigQueryDataPolicyService_DataPolicy class]; + query.loggingName = @"bigquerydatapolicy.projects.locations.dataPolicies.get"; + return query; +} + +@end + +@implementation GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesGetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRBigQueryDataPolicyService_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 = @"v1/{+resource}:getIamPolicy"; + GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRBigQueryDataPolicyService_Policy class]; + query.loggingName = @"bigquerydatapolicy.projects.locations.dataPolicies.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/dataPolicies"; + GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRBigQueryDataPolicyService_ListDataPoliciesResponse class]; + query.loggingName = @"bigquerydatapolicy.projects.locations.dataPolicies.list"; + return query; +} + +@end + +@implementation GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRBigQueryDataPolicyService_DataPolicy *)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}"; + GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRBigQueryDataPolicyService_DataPolicy class]; + query.loggingName = @"bigquerydatapolicy.projects.locations.dataPolicies.patch"; + return query; +} + +@end + +@implementation GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesRename + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRBigQueryDataPolicyService_RenameDataPolicyRequest *)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}:rename"; + GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesRename *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRBigQueryDataPolicyService_DataPolicy class]; + query.loggingName = @"bigquerydatapolicy.projects.locations.dataPolicies.rename"; + return query; +} + +@end + +@implementation GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRBigQueryDataPolicyService_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"; + GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRBigQueryDataPolicyService_Policy class]; + query.loggingName = @"bigquerydatapolicy.projects.locations.dataPolicies.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRBigQueryDataPolicyService_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"; + GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRBigQueryDataPolicyService_TestIamPermissionsResponse class]; + query.loggingName = @"bigquerydatapolicy.projects.locations.dataPolicies.testIamPermissions"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/BigQueryDataPolicyService/GTLRBigQueryDataPolicyServiceService.m b/Sources/GeneratedServices/BigQueryDataPolicyService/GTLRBigQueryDataPolicyServiceService.m new file mode 100644 index 000000000..a08ec4271 --- /dev/null +++ b/Sources/GeneratedServices/BigQueryDataPolicyService/GTLRBigQueryDataPolicyServiceService.m @@ -0,0 +1,36 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Data Policy API (bigquerydatapolicy/v1) +// Description: +// Allows users to manage BigQuery data policies. +// Documentation: +// https://cloud.google.com/bigquery/docs/column-data-masking + +#import + +// ---------------------------------------------------------------------------- +// Authorization scopes + +NSString * const kGTLRAuthScopeBigQueryDataPolicyServiceBigquery = @"https://www.googleapis.com/auth/bigquery"; +NSString * const kGTLRAuthScopeBigQueryDataPolicyServiceCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRBigQueryDataPolicyServiceService +// + +@implementation GTLRBigQueryDataPolicyServiceService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://bigquerydatapolicy.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyService.h b/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyService.h new file mode 100644 index 000000000..01278bfde --- /dev/null +++ b/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyService.h @@ -0,0 +1,13 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Data Policy API (bigquerydatapolicy/v1) +// Description: +// Allows users to manage BigQuery data policies. +// Documentation: +// https://cloud.google.com/bigquery/docs/column-data-masking + +#import "GTLRBigQueryDataPolicyServiceObjects.h" +#import "GTLRBigQueryDataPolicyServiceQuery.h" +#import "GTLRBigQueryDataPolicyServiceService.h" diff --git a/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceObjects.h b/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceObjects.h new file mode 100644 index 000000000..4b87a40cc --- /dev/null +++ b/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceObjects.h @@ -0,0 +1,677 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Data Policy API (bigquerydatapolicy/v1) +// Description: +// Allows users to manage BigQuery data policies. +// Documentation: +// https://cloud.google.com/bigquery/docs/column-data-masking + +#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 GTLRBigQueryDataPolicyService_AuditConfig; +@class GTLRBigQueryDataPolicyService_AuditLogConfig; +@class GTLRBigQueryDataPolicyService_Binding; +@class GTLRBigQueryDataPolicyService_DataMaskingPolicy; +@class GTLRBigQueryDataPolicyService_DataPolicy; +@class GTLRBigQueryDataPolicyService_Expr; +@class GTLRBigQueryDataPolicyService_GetPolicyOptions; +@class GTLRBigQueryDataPolicyService_Policy; + +// 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. + +// ---------------------------------------------------------------------------- +// GTLRBigQueryDataPolicyService_AuditLogConfig.logType + +/** + * Admin reads. Example: CloudIAM getIamPolicy + * + * Value: "ADMIN_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_AuditLogConfig_LogType_AdminRead; +/** + * Data reads. Example: CloudSQL Users list + * + * Value: "DATA_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_AuditLogConfig_LogType_DataRead; +/** + * Data writes. Example: CloudSQL Users create + * + * Value: "DATA_WRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_AuditLogConfig_LogType_DataWrite; +/** + * Default case. Should never be this. + * + * Value: "LOG_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_AuditLogConfig_LogType_LogTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBigQueryDataPolicyService_DataMaskingPolicy.predefinedExpression + +/** + * Masking expression to replace data with NULLs. + * + * Value: "ALWAYS_NULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_AlwaysNull; +/** + * Masking expression to only show the *year* of `Date`, `DateTime` and + * `TimeStamp`. For example, with the year 2076: * DATE : 2076-01-01 * DATETIME + * : 2076-01-01T00:00:00 * TIMESTAMP : 2076-01-01 00:00:00 UTC Truncation + * occurs according to the UTC time zone. To change this, adjust the default + * time zone using the `time_zone` system variable. For more information, see + * the System variables reference. + * + * Value: "DATE_YEAR_MASK" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_DateYearMask; +/** + * Masking expression to replace data with their default masking values. The + * default masking values for each type listed as below: * STRING: "" * BYTES: + * b'' * INTEGER: 0 * FLOAT: 0.0 * NUMERIC: 0 * BOOLEAN: FALSE * TIMESTAMP: + * 1970-01-01 00:00:00 UTC * DATE: 1970-01-01 * TIME: 00:00:00 * DATETIME: + * 1970-01-01T00:00:00 * GEOGRAPHY: POINT(0 0) * BIGNUMERIC: 0 * ARRAY: [] * + * STRUCT: NOT_APPLICABLE * JSON: NULL + * + * Value: "DEFAULT_MASKING_VALUE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_DefaultMaskingValue; +/** + * Masking expression for email addresses. The masking behavior is as follows: + * * Syntax-valid email address: Replace username with XXXXX. For example, + * cloudysanfrancisco\@gmail.com becomes XXXXX\@gmail.com. * Syntax-invalid + * email address: Apply SHA-256 hash. For more information, see Email mask. + * + * Value: "EMAIL_MASK" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_EmailMask; +/** + * Masking expression shows the first four characters of text. The masking + * behavior is as follows: * If text length > 4 characters: Replace text with + * XXXXX, prepend first four characters of original text. * If text length <= 4 + * characters: Apply SHA-256 hash. + * + * Value: "FIRST_FOUR_CHARACTERS" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_FirstFourCharacters; +/** + * Masking expression shows the last four characters of text. The masking + * behavior is as follows: * If text length > 4 characters: Replace text with + * XXXXX, append last four characters of original text. * If text length <= 4 + * characters: Apply SHA-256 hash. + * + * Value: "LAST_FOUR_CHARACTERS" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_LastFourCharacters; +/** + * Default, unspecified predefined expression. No masking will take place since + * no expression is specified. + * + * Value: "PREDEFINED_EXPRESSION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_PredefinedExpressionUnspecified; +/** + * Masking expression to replace data with SHA-256 hash. + * + * Value: "SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_Sha256; + +// ---------------------------------------------------------------------------- +// GTLRBigQueryDataPolicyService_DataPolicy.dataPolicyType + +/** + * Used to create a data policy for column-level security, without data + * masking. + * + * Value: "COLUMN_LEVEL_SECURITY_POLICY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_DataPolicy_DataPolicyType_ColumnLevelSecurityPolicy; +/** + * Used to create a data policy for data masking. + * + * Value: "DATA_MASKING_POLICY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_DataPolicy_DataPolicyType_DataMaskingPolicy; +/** + * Default value for the data policy type. This should not be used. + * + * Value: "DATA_POLICY_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_DataPolicy_DataPolicyType_DataPolicyTypeUnspecified; + +/** + * 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 GTLRBigQueryDataPolicyService_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 GTLRBigQueryDataPolicyService_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 kGTLRBigQueryDataPolicyService_AuditLogConfig_LogType_AdminRead + * Admin reads. Example: CloudIAM getIamPolicy (Value: "ADMIN_READ") + * @arg @c kGTLRBigQueryDataPolicyService_AuditLogConfig_LogType_DataRead + * Data reads. Example: CloudSQL Users list (Value: "DATA_READ") + * @arg @c kGTLRBigQueryDataPolicyService_AuditLogConfig_LogType_DataWrite + * Data writes. Example: CloudSQL Users create (Value: "DATA_WRITE") + * @arg @c kGTLRBigQueryDataPolicyService_AuditLogConfig_LogType_LogTypeUnspecified + * Default case. Should never be this. (Value: "LOG_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *logType; + +@end + + +/** + * Associates `members`, or principals, with a `role`. + */ +@interface GTLRBigQueryDataPolicyService_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) GTLRBigQueryDataPolicyService_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`. * `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. + */ +@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`. + */ +@property(nonatomic, copy, nullable) NSString *role; + +@end + + +/** + * The data masking policy that is used to specify data masking rule. + */ +@interface GTLRBigQueryDataPolicyService_DataMaskingPolicy : GTLRObject + +/** + * A predefined masking expression. + * + * Likely values: + * @arg @c kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_AlwaysNull + * Masking expression to replace data with NULLs. (Value: "ALWAYS_NULL") + * @arg @c kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_DateYearMask + * Masking expression to only show the *year* of `Date`, `DateTime` and + * `TimeStamp`. For example, with the year 2076: * DATE : 2076-01-01 * + * DATETIME : 2076-01-01T00:00:00 * TIMESTAMP : 2076-01-01 00:00:00 UTC + * Truncation occurs according to the UTC time zone. To change this, + * adjust the default time zone using the `time_zone` system variable. + * For more information, see the System variables reference. (Value: + * "DATE_YEAR_MASK") + * @arg @c kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_DefaultMaskingValue + * Masking expression to replace data with their default masking values. + * The default masking values for each type listed as below: * STRING: "" + * * BYTES: b'' * INTEGER: 0 * FLOAT: 0.0 * NUMERIC: 0 * BOOLEAN: FALSE * + * TIMESTAMP: 1970-01-01 00:00:00 UTC * DATE: 1970-01-01 * TIME: 00:00:00 + * * DATETIME: 1970-01-01T00:00:00 * GEOGRAPHY: POINT(0 0) * BIGNUMERIC: + * 0 * ARRAY: [] * STRUCT: NOT_APPLICABLE * JSON: NULL (Value: + * "DEFAULT_MASKING_VALUE") + * @arg @c kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_EmailMask + * Masking expression for email addresses. The masking behavior is as + * follows: * Syntax-valid email address: Replace username with XXXXX. + * For example, cloudysanfrancisco\@gmail.com becomes XXXXX\@gmail.com. * + * Syntax-invalid email address: Apply SHA-256 hash. For more + * information, see Email mask. (Value: "EMAIL_MASK") + * @arg @c kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_FirstFourCharacters + * Masking expression shows the first four characters of text. The + * masking behavior is as follows: * If text length > 4 characters: + * Replace text with XXXXX, prepend first four characters of original + * text. * If text length <= 4 characters: Apply SHA-256 hash. (Value: + * "FIRST_FOUR_CHARACTERS") + * @arg @c kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_LastFourCharacters + * Masking expression shows the last four characters of text. The masking + * behavior is as follows: * If text length > 4 characters: Replace text + * with XXXXX, append last four characters of original text. * If text + * length <= 4 characters: Apply SHA-256 hash. (Value: + * "LAST_FOUR_CHARACTERS") + * @arg @c kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_PredefinedExpressionUnspecified + * Default, unspecified predefined expression. No masking will take place + * since no expression is specified. (Value: + * "PREDEFINED_EXPRESSION_UNSPECIFIED") + * @arg @c kGTLRBigQueryDataPolicyService_DataMaskingPolicy_PredefinedExpression_Sha256 + * Masking expression to replace data with SHA-256 hash. (Value: + * "SHA256") + */ +@property(nonatomic, copy, nullable) NSString *predefinedExpression; + +/** + * The name of the BigQuery routine that contains the custom masking routine, + * in the format of + * `projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}`. + */ +@property(nonatomic, copy, nullable) NSString *routine; + +@end + + +/** + * Represents the label-policy binding. + */ +@interface GTLRBigQueryDataPolicyService_DataPolicy : GTLRObject + +/** The data masking policy that specifies the data masking rule to use. */ +@property(nonatomic, strong, nullable) GTLRBigQueryDataPolicyService_DataMaskingPolicy *dataMaskingPolicy; + +/** + * User-assigned (human readable) ID of the data policy that needs to be unique + * within a project. Used as {data_policy_id} in part of the resource name. + */ +@property(nonatomic, copy, nullable) NSString *dataPolicyId; + +/** + * Type of data policy. + * + * Likely values: + * @arg @c kGTLRBigQueryDataPolicyService_DataPolicy_DataPolicyType_ColumnLevelSecurityPolicy + * Used to create a data policy for column-level security, without data + * masking. (Value: "COLUMN_LEVEL_SECURITY_POLICY") + * @arg @c kGTLRBigQueryDataPolicyService_DataPolicy_DataPolicyType_DataMaskingPolicy + * Used to create a data policy for data masking. (Value: + * "DATA_MASKING_POLICY") + * @arg @c kGTLRBigQueryDataPolicyService_DataPolicy_DataPolicyType_DataPolicyTypeUnspecified + * Default value for the data policy type. This should not be used. + * (Value: "DATA_POLICY_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *dataPolicyType; + +/** + * Output only. Resource name of this data policy, in the format of + * `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Policy tag resource name, in the format of + * `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. + */ +@property(nonatomic, copy, nullable) NSString *policyTag; + +@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 GTLRBigQueryDataPolicyService_Empty : GTLRObject +@end + + +/** + * Represents a textual expression in the Common Expression Language (CEL) + * syntax. CEL is a C-like expression language. The syntax and semantics of CEL + * are documented at https://github.com/google/cel-spec. Example (Comparison): + * title: "Summary size limit" description: "Determines if a summary is less + * than 100 chars" expression: "document.summary.size() < 100" Example + * (Equality): title: "Requestor is owner" description: "Determines if + * requestor is the document owner" expression: "document.owner == + * request.auth.claims.email" Example (Logic): title: "Public documents" + * description: "Determine whether the document should be publicly visible" + * expression: "document.type != 'private' && document.type != 'internal'" + * Example (Data Manipulation): title: "Notification string" description: + * "Create a notification string with a timestamp." expression: "'New message + * received at ' + string(document.create_time)" The exact variables and + * functions that may be referenced within an expression are determined by the + * service that evaluates it. See the service documentation for additional + * information. + */ +@interface GTLRBigQueryDataPolicyService_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 + + +/** + * Request message for `GetIamPolicy` method. + */ +@interface GTLRBigQueryDataPolicyService_GetIamPolicyRequest : GTLRObject + +/** + * OPTIONAL: A `GetPolicyOptions` object for specifying options to + * `GetIamPolicy`. + */ +@property(nonatomic, strong, nullable) GTLRBigQueryDataPolicyService_GetPolicyOptions *options; + +@end + + +/** + * Encapsulates settings provided to GetIamPolicy. + */ +@interface GTLRBigQueryDataPolicyService_GetPolicyOptions : GTLRObject + +/** + * 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). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestedPolicyVersion; + +@end + + +/** + * Response message for the ListDataPolicies method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "dataPolicies" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRBigQueryDataPolicyService_ListDataPoliciesResponse : GTLRCollectionObject + +/** + * Data policies that belong to the requested project. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *dataPolicies; + +/** + * Token used to retrieve the next page of results, or empty if there are no + * more results. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@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 GTLRBigQueryDataPolicyService_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 + + +/** + * Request message for the RenameDataPolicy method. + */ +@interface GTLRBigQueryDataPolicyService_RenameDataPolicyRequest : GTLRObject + +/** Required. The new data policy id. */ +@property(nonatomic, copy, nullable) NSString *newDataPolicyId NS_RETURNS_NOT_RETAINED; + +@end + + +/** + * Request message for `SetIamPolicy` method. + */ +@interface GTLRBigQueryDataPolicyService_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) GTLRBigQueryDataPolicyService_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 + + +/** + * Request message for `TestIamPermissions` method. + */ +@interface GTLRBigQueryDataPolicyService_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 GTLRBigQueryDataPolicyService_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/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceQuery.h b/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceQuery.h new file mode 100644 index 000000000..940744120 --- /dev/null +++ b/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceQuery.h @@ -0,0 +1,386 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Data Policy API (bigquerydatapolicy/v1) +// Description: +// Allows users to manage BigQuery data policies. +// Documentation: +// https://cloud.google.com/bigquery/docs/column-data-masking + +#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 "GTLRBigQueryDataPolicyServiceObjects.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 BigQuery DataPolicy Service query classes. + */ +@interface GTLRBigQueryDataPolicyServiceQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Creates a new data policy under a project with the given `dataPolicyId` + * (used as the display name), policy tag, and data policy type. + * + * Method: bigquerydatapolicy.projects.locations.dataPolicies.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryDataPolicyServiceBigquery + * @c kGTLRAuthScopeBigQueryDataPolicyServiceCloudPlatform + */ +@interface GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesCreate : GTLRBigQueryDataPolicyServiceQuery + +/** + * Required. Resource name of the project that the data policy will belong to. + * The format is `projects/{project_number}/locations/{location_id}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRBigQueryDataPolicyService_DataPolicy. + * + * Creates a new data policy under a project with the given `dataPolicyId` + * (used as the display name), policy tag, and data policy type. + * + * @param object The @c GTLRBigQueryDataPolicyService_DataPolicy to include in + * the query. + * @param parent Required. Resource name of the project that the data policy + * will belong to. The format is + * `projects/{project_number}/locations/{location_id}`. + * + * @return GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesCreate + */ ++ (instancetype)queryWithObject:(GTLRBigQueryDataPolicyService_DataPolicy *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes the data policy specified by its resource name. + * + * Method: bigquerydatapolicy.projects.locations.dataPolicies.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryDataPolicyServiceBigquery + * @c kGTLRAuthScopeBigQueryDataPolicyServiceCloudPlatform + */ +@interface GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesDelete : GTLRBigQueryDataPolicyServiceQuery + +/** + * Required. Resource name of the data policy to delete. Format is + * `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBigQueryDataPolicyService_Empty. + * + * Deletes the data policy specified by its resource name. + * + * @param name Required. Resource name of the data policy to delete. Format is + * `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. + * + * @return GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the data policy specified by its resource name. + * + * Method: bigquerydatapolicy.projects.locations.dataPolicies.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryDataPolicyServiceBigquery + * @c kGTLRAuthScopeBigQueryDataPolicyServiceCloudPlatform + */ +@interface GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesGet : GTLRBigQueryDataPolicyServiceQuery + +/** + * Required. Resource name of the requested data policy. Format is + * `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBigQueryDataPolicyService_DataPolicy. + * + * Gets the data policy specified by its resource name. + * + * @param name Required. Resource name of the requested data policy. Format is + * `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. + * + * @return GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the IAM policy for the specified data policy. + * + * Method: bigquerydatapolicy.projects.locations.dataPolicies.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryDataPolicyServiceBigquery + * @c kGTLRAuthScopeBigQueryDataPolicyServiceCloudPlatform + */ +@interface GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesGetIamPolicy : GTLRBigQueryDataPolicyServiceQuery + +/** + * 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 GTLRBigQueryDataPolicyService_Policy. + * + * Gets the IAM policy for the specified data policy. + * + * @param object The @c GTLRBigQueryDataPolicyService_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 GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesGetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRBigQueryDataPolicyService_GetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * List all of the data policies in the specified parent project. + * + * Method: bigquerydatapolicy.projects.locations.dataPolicies.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryDataPolicyServiceBigquery + * @c kGTLRAuthScopeBigQueryDataPolicyServiceCloudPlatform + */ +@interface GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesList : GTLRBigQueryDataPolicyServiceQuery + +/** + * Filters the data policies by policy tags that they are associated with. + * Currently filter only supports "policy_tag" based filtering and OR based + * predicates. Sample filter can be "policy_tag: + * projects/1/locations/us/taxonomies/2/policyTags/3". You may also use + * wildcard such as "policy_tag: projects/1/locations/us/taxonomies/2*". Please + * note that OR predicates cannot be used with wildcard filters. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of data policies to return. Must be a value between 1 and + * 1000. If not set, defaults to 50. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The `nextPageToken` value returned from a previous list request, if any. If + * not set, defaults to an empty string. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Resource name of the project for which to list data policies. + * Format is `projects/{project_number}/locations/{location_id}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRBigQueryDataPolicyService_ListDataPoliciesResponse. + * + * List all of the data policies in the specified parent project. + * + * @param parent Required. Resource name of the project for which to list data + * policies. Format is `projects/{project_number}/locations/{location_id}`. + * + * @return GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates the metadata for an existing data policy. The target data policy can + * be specified by the resource name. + * + * Method: bigquerydatapolicy.projects.locations.dataPolicies.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryDataPolicyServiceBigquery + * @c kGTLRAuthScopeBigQueryDataPolicyServiceCloudPlatform + */ +@interface GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesPatch : GTLRBigQueryDataPolicyServiceQuery + +/** + * Output only. Resource name of this data policy, in the format of + * `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The update mask applies to the resource. For the `FieldMask` definition, see + * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask + * If not set, defaults to all of the fields that are allowed to update. + * Updates to the `name` and `dataPolicyId` fields are not allowed. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRBigQueryDataPolicyService_DataPolicy. + * + * Updates the metadata for an existing data policy. The target data policy can + * be specified by the resource name. + * + * @param object The @c GTLRBigQueryDataPolicyService_DataPolicy to include in + * the query. + * @param name Output only. Resource name of this data policy, in the format of + * `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. + * + * @return GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesPatch + */ ++ (instancetype)queryWithObject:(GTLRBigQueryDataPolicyService_DataPolicy *)object + name:(NSString *)name; + +@end + +/** + * Renames the id (display name) of the specified data policy. + * + * Method: bigquerydatapolicy.projects.locations.dataPolicies.rename + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryDataPolicyServiceBigquery + * @c kGTLRAuthScopeBigQueryDataPolicyServiceCloudPlatform + */ +@interface GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesRename : GTLRBigQueryDataPolicyServiceQuery + +/** + * Required. Resource name of the data policy to rename. The format is + * `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBigQueryDataPolicyService_DataPolicy. + * + * Renames the id (display name) of the specified data policy. + * + * @param object The @c GTLRBigQueryDataPolicyService_RenameDataPolicyRequest + * to include in the query. + * @param name Required. Resource name of the data policy to rename. The format + * is + * `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}` + * + * @return GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesRename + */ ++ (instancetype)queryWithObject:(GTLRBigQueryDataPolicyService_RenameDataPolicyRequest *)object + name:(NSString *)name; + +@end + +/** + * Sets the IAM policy for the specified data policy. + * + * Method: bigquerydatapolicy.projects.locations.dataPolicies.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryDataPolicyServiceBigquery + * @c kGTLRAuthScopeBigQueryDataPolicyServiceCloudPlatform + */ +@interface GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesSetIamPolicy : GTLRBigQueryDataPolicyServiceQuery + +/** + * 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 GTLRBigQueryDataPolicyService_Policy. + * + * Sets the IAM policy for the specified data policy. + * + * @param object The @c GTLRBigQueryDataPolicyService_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 GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRBigQueryDataPolicyService_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Returns the caller's permission on the specified data policy resource. + * + * Method: bigquerydatapolicy.projects.locations.dataPolicies.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryDataPolicyServiceBigquery + * @c kGTLRAuthScopeBigQueryDataPolicyServiceCloudPlatform + */ +@interface GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesTestIamPermissions : GTLRBigQueryDataPolicyServiceQuery + +/** + * 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 GTLRBigQueryDataPolicyService_TestIamPermissionsResponse. + * + * Returns the caller's permission on the specified data policy resource. + * + * @param object The @c GTLRBigQueryDataPolicyService_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 GTLRBigQueryDataPolicyServiceQuery_ProjectsLocationsDataPoliciesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRBigQueryDataPolicyService_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceService.h b/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceService.h new file mode 100644 index 000000000..e7cbf9202 --- /dev/null +++ b/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceService.h @@ -0,0 +1,80 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Data Policy API (bigquerydatapolicy/v1) +// Description: +// Allows users to manage BigQuery data policies. +// Documentation: +// https://cloud.google.com/bigquery/docs/column-data-masking + +#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 scopes + +/** + * Authorization scope: View and manage your data in Google BigQuery and see + * the email address for your Google Account + * + * Value "https://www.googleapis.com/auth/bigquery" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeBigQueryDataPolicyServiceBigquery; +/** + * 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 kGTLRAuthScopeBigQueryDataPolicyServiceCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRBigQueryDataPolicyServiceService +// + +/** + * Service for executing BigQuery Data Policy API queries. + * + * Allows users to manage BigQuery data policies. + */ +@interface GTLRBigQueryDataPolicyServiceService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRBigQueryDataPolicyServiceQuery.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/BigtableAdmin/GTLRBigtableAdminObjects.m b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m index f3d5d392c..55efaaf75 100644 --- a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m +++ b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m @@ -221,7 +221,7 @@ @implementation GTLRBigtableAdmin_ChangeStreamConfig // @implementation GTLRBigtableAdmin_CheckConsistencyRequest -@dynamic consistencyToken; +@dynamic consistencyToken, standardReadRemoteWrites; @end @@ -1030,6 +1030,15 @@ @implementation GTLRBigtableAdmin_StandardIsolation @end +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_StandardReadRemoteWrites +// + +@implementation GTLRBigtableAdmin_StandardReadRemoteWrites +@end + + // ---------------------------------------------------------------------------- // // GTLRBigtableAdmin_Status diff --git a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h index aaeea7327..4bb29c33f 100644 --- a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h +++ b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h @@ -58,6 +58,7 @@ @class GTLRBigtableAdmin_SingleClusterRouting; @class GTLRBigtableAdmin_Split; @class GTLRBigtableAdmin_StandardIsolation; +@class GTLRBigtableAdmin_StandardReadRemoteWrites; @class GTLRBigtableAdmin_Status; @class GTLRBigtableAdmin_Status_Details_Item; @class GTLRBigtableAdmin_Table; @@ -811,6 +812,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU */ @property(nonatomic, copy, nullable) NSString *consistencyToken; +/** + * Checks that reads using an app profile with `StandardIsolation` can see all + * writes committed before the token was created, even if the read and write + * target different clusters. + */ +@property(nonatomic, strong, nullable) GTLRBigtableAdmin_StandardReadRemoteWrites *standardReadRemoteWrites; + @end @@ -995,9 +1003,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU @property(nonatomic, strong, nullable) GTLRBigtableAdmin_GcRule *gcRule; /** - * Only available with STATS_VIEW, this includes summary statistics about - * column family contents. For statistics over an entire table, see TableStats - * above. + * Output only. Only available with STATS_VIEW, this includes summary + * statistics about column family contents. For statistics over an entire + * table, see TableStats above. */ @property(nonatomic, strong, nullable) GTLRBigtableAdmin_ColumnFamilyStats *stats; @@ -2502,6 +2510,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU @end +/** + * Checks that all writes before the consistency token was generated is + * replicated in every cluster and readable. + */ +@interface GTLRBigtableAdmin_StandardReadRemoteWrites : 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 @@ -2614,9 +2630,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU @property(nonatomic, strong, nullable) GTLRBigtableAdmin_RestoreInfo *restoreInfo; /** - * Only available with STATS_VIEW, this includes summary statistics about the - * entire table contents. For statistics about a specific column family, see - * ColumnFamilyStats in the mapped ColumnFamily collection above. + * Output only. Only available with STATS_VIEW, this includes summary + * statistics about the entire table contents. For statistics about a specific + * column family, see ColumnFamilyStats in the mapped ColumnFamily collection + * above. */ @property(nonatomic, strong, nullable) GTLRBigtableAdmin_TableStats *stats; diff --git a/Sources/GeneratedServices/BlockchainNodeEngine/GTLRBlockchainNodeEngineObjects.m b/Sources/GeneratedServices/BlockchainNodeEngine/GTLRBlockchainNodeEngineObjects.m index b96d5b1c9..2077c0a8a 100644 --- a/Sources/GeneratedServices/BlockchainNodeEngine/GTLRBlockchainNodeEngineObjects.m +++ b/Sources/GeneratedServices/BlockchainNodeEngine/GTLRBlockchainNodeEngineObjects.m @@ -39,6 +39,7 @@ NSString * const kGTLRBlockchainNodeEngine_EthereumDetails_Network_Mainnet = @"MAINNET"; NSString * const kGTLRBlockchainNodeEngine_EthereumDetails_Network_NetworkUnspecified = @"NETWORK_UNSPECIFIED"; NSString * const kGTLRBlockchainNodeEngine_EthereumDetails_Network_TestnetGoerliPrater = @"TESTNET_GOERLI_PRATER"; +NSString * const kGTLRBlockchainNodeEngine_EthereumDetails_Network_TestnetHolesky = @"TESTNET_HOLESKY"; NSString * const kGTLRBlockchainNodeEngine_EthereumDetails_Network_TestnetSepolia = @"TESTNET_SEPOLIA"; // GTLRBlockchainNodeEngine_EthereumDetails.nodeType @@ -59,7 +60,7 @@ @implementation GTLRBlockchainNodeEngine_BlockchainNode @dynamic blockchainType, connectionInfo, createTime, ethereumDetails, labels, - name, state, updateTime; + name, privateServiceConnectEnabled, state, updateTime; @end diff --git a/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineObjects.h b/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineObjects.h index e589a53b9..fb22ee5e1 100644 --- a/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineObjects.h +++ b/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineObjects.h @@ -180,6 +180,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBlockchainNodeEngine_EthereumDetails_Net * Value: "TESTNET_GOERLI_PRATER" */ FOUNDATION_EXTERN NSString * const kGTLRBlockchainNodeEngine_EthereumDetails_Network_TestnetGoerliPrater; +/** + * The Ethereum Testnet based on Holesky specification. See + * https://github.com/eth-clients/holesky. + * + * Value: "TESTNET_HOLESKY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBlockchainNodeEngine_EthereumDetails_Network_TestnetHolesky; /** * The Ethereum Testnet based on Sepolia/Bepolia protocol. See * https://github.com/eth-clients/sepolia. @@ -286,6 +293,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBlockchainNodeEngine_GethDetails_Garbage */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. When true, the node is only accessible via Private Service + * Connect; no public endpoints are exposed. Otherwise, the node is only + * accessible via public endpoints. See + * https://cloud.google.com/vpc/docs/private-service-connect. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *privateServiceConnectEnabled; + /** * Output only. A status representing the state of the node. * @@ -463,6 +480,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBlockchainNodeEngine_GethDetails_Garbage * @arg @c kGTLRBlockchainNodeEngine_EthereumDetails_Network_TestnetGoerliPrater * The Ethereum Testnet based on Goerli protocol. (Value: * "TESTNET_GOERLI_PRATER") + * @arg @c kGTLRBlockchainNodeEngine_EthereumDetails_Network_TestnetHolesky + * The Ethereum Testnet based on Holesky specification. See + * https://github.com/eth-clients/holesky. (Value: "TESTNET_HOLESKY") * @arg @c kGTLRBlockchainNodeEngine_EthereumDetails_Network_TestnetSepolia * The Ethereum Testnet based on Sepolia/Bepolia protocol. See * https://github.com/eth-clients/sepolia. (Value: "TESTNET_SEPOLIA") diff --git a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m index f4c870926..dddbe6fa7 100644 --- a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m +++ b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m @@ -933,6 +933,16 @@ @implementation GTLRChromeManagement_GoogleChromeManagementV1MemoryStatusReport @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementV1NetworkBandwidthReport +// + +@implementation GTLRChromeManagement_GoogleChromeManagementV1NetworkBandwidthReport +@dynamic downloadSpeedKbps, reportTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeManagement_GoogleChromeManagementV1NetworkDevice @@ -1105,9 +1115,9 @@ @implementation GTLRChromeManagement_GoogleChromeManagementV1TelemetryDevice bootPerformanceReport, cpuInfo, cpuStatusReport, customer, deviceId, graphicsInfo, graphicsStatusReport, heartbeatStatusReport, kioskAppStatusReport, memoryInfo, memoryStatusReport, name, - networkDiagnosticsReport, networkInfo, networkStatusReport, orgUnitId, - osUpdateStatus, peripheralsReport, serialNumber, storageInfo, - storageStatusReport, thunderboltInfo; + networkBandwidthReport, networkDiagnosticsReport, networkInfo, + networkStatusReport, orgUnitId, osUpdateStatus, peripheralsReport, + serialNumber, storageInfo, storageStatusReport, thunderboltInfo; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1121,6 +1131,7 @@ @implementation GTLRChromeManagement_GoogleChromeManagementV1TelemetryDevice @"heartbeatStatusReport" : [GTLRChromeManagement_GoogleChromeManagementV1HeartbeatStatusReport class], @"kioskAppStatusReport" : [GTLRChromeManagement_GoogleChromeManagementV1KioskAppStatusReport class], @"memoryStatusReport" : [GTLRChromeManagement_GoogleChromeManagementV1MemoryStatusReport class], + @"networkBandwidthReport" : [GTLRChromeManagement_GoogleChromeManagementV1NetworkBandwidthReport class], @"networkDiagnosticsReport" : [GTLRChromeManagement_GoogleChromeManagementV1NetworkDiagnosticsReport class], @"networkStatusReport" : [GTLRChromeManagement_GoogleChromeManagementV1NetworkStatusReport class], @"osUpdateStatus" : [GTLRChromeManagement_GoogleChromeManagementV1OsUpdateStatus class], @@ -1267,12 +1278,14 @@ @implementation GTLRChromeManagement_GoogleChromeManagementV1TelemetryUser // @implementation GTLRChromeManagement_GoogleChromeManagementV1TelemetryUserDevice -@dynamic audioStatusReport, deviceActivityReport, deviceId, peripheralsReport; +@dynamic audioStatusReport, deviceActivityReport, deviceId, + networkBandwidthReport, peripheralsReport; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"audioStatusReport" : [GTLRChromeManagement_GoogleChromeManagementV1AudioStatusReport class], @"deviceActivityReport" : [GTLRChromeManagement_GoogleChromeManagementV1DeviceActivityReport class], + @"networkBandwidthReport" : [GTLRChromeManagement_GoogleChromeManagementV1NetworkBandwidthReport class], @"peripheralsReport" : [GTLRChromeManagement_GoogleChromeManagementV1PeripheralsReport class] }; return map; diff --git a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h index 36dd93cea..c30676ec4 100644 --- a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h +++ b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h @@ -47,6 +47,7 @@ @class GTLRChromeManagement_GoogleChromeManagementV1KioskAppStatusReport; @class GTLRChromeManagement_GoogleChromeManagementV1MemoryInfo; @class GTLRChromeManagement_GoogleChromeManagementV1MemoryStatusReport; +@class GTLRChromeManagement_GoogleChromeManagementV1NetworkBandwidthReport; @class GTLRChromeManagement_GoogleChromeManagementV1NetworkDevice; @class GTLRChromeManagement_GoogleChromeManagementV1NetworkDiagnosticsReport; @class GTLRChromeManagement_GoogleChromeManagementV1NetworkInfo; @@ -2966,6 +2967,25 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV @end +/** + * Network bandwidth report. * Granular permission needed: + * TELEMETRY_API_NETWORK_REPORT + */ +@interface GTLRChromeManagement_GoogleChromeManagementV1NetworkBandwidthReport : GTLRObject + +/** + * Output only. Download speed in kilobits per second. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *downloadSpeedKbps; + +/** Output only. Timestamp of when the report was collected. */ +@property(nonatomic, strong, nullable) GTLRDateTime *reportTime; + +@end + + /** * Details about the network device. * This field provides device information, * which is static and will not change over time. * Data for this field is @@ -3548,6 +3568,12 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV /** Output only. Resource name of the device. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. Network bandwidth reports collected periodically sorted in a + * decreasing order of report_time. + */ +@property(nonatomic, strong, nullable) NSArray *networkBandwidthReport; + /** Output only. Network diagnostics collected periodically. */ @property(nonatomic, strong, nullable) NSArray *networkDiagnosticsReport; @@ -3909,6 +3935,12 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ @property(nonatomic, copy, nullable) NSString *deviceId; +/** + * Output only. Network bandwidth reports collected periodically sorted in a + * decreasing order of report_time. + */ +@property(nonatomic, strong, nullable) NSArray *networkBandwidthReport; + /** * Output only. Peripherals reports collected periodically sorted in a * decreasing order of report_time. diff --git a/Sources/GeneratedServices/ChromeUXReport/GTLRChromeUXReportObjects.m b/Sources/GeneratedServices/ChromeUXReport/GTLRChromeUXReportObjects.m index 5e6a4ec2c..af406aab6 100644 --- a/Sources/GeneratedServices/ChromeUXReport/GTLRChromeUXReportObjects.m +++ b/Sources/GeneratedServices/ChromeUXReport/GTLRChromeUXReportObjects.m @@ -126,7 +126,7 @@ @implementation GTLRChromeUXReport_Key // @implementation GTLRChromeUXReport_Metric -@dynamic histogram, percentiles; +@dynamic fractions, histogram, percentiles; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -138,6 +138,20 @@ @implementation GTLRChromeUXReport_Metric @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeUXReport_Metric_Fractions +// + +@implementation GTLRChromeUXReport_Metric_Fractions + ++ (Class)classForAdditionalProperties { + return [NSNumber class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeUXReport_MetricTimeseries diff --git a/Sources/GeneratedServices/ChromeUXReport/Public/GoogleAPIClientForREST/GTLRChromeUXReportObjects.h b/Sources/GeneratedServices/ChromeUXReport/Public/GoogleAPIClientForREST/GTLRChromeUXReportObjects.h index ebe2a024d..bb7f92320 100644 --- a/Sources/GeneratedServices/ChromeUXReport/Public/GoogleAPIClientForREST/GTLRChromeUXReportObjects.h +++ b/Sources/GeneratedServices/ChromeUXReport/Public/GoogleAPIClientForREST/GTLRChromeUXReportObjects.h @@ -23,6 +23,7 @@ @class GTLRChromeUXReport_HistoryRecord_Metrics; @class GTLRChromeUXReport_Key; @class GTLRChromeUXReport_Metric; +@class GTLRChromeUXReport_Metric_Fractions; @class GTLRChromeUXReport_MetricTimeseries; @class GTLRChromeUXReport_Percentiles; @class GTLRChromeUXReport_Record; @@ -392,6 +393,9 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeUXReport_QueryRequest_FormFactor_T */ @interface GTLRChromeUXReport_Metric : GTLRObject +/** For enum metrics, provides fractions which add up to approximately 1.0. */ +@property(nonatomic, strong, nullable) GTLRChromeUXReport_Metric_Fractions *fractions; + /** * The histogram of user experiences for a metric. The histogram will have at * least one bin and the densities of all bins will add up to ~1. @@ -408,6 +412,18 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeUXReport_QueryRequest_FormFactor_T @end +/** + * For enum metrics, provides fractions which add up to approximately 1.0. + * + * @note This class is documented as having more properties of NSNumber (Uses + * NSNumber of doubleValue.). 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 GTLRChromeUXReport_Metric_Fractions : GTLRObject +@end + + /** * A `metric timeseries` is a set of user experience data for a single web * performance metric, like "first contentful paint". It contains a summary diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m index 03717fc5a..bd9c697bc 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m @@ -27,6 +27,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_DatabaseVersionUnspecified = @"DATABASE_VERSION_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres13 = @"POSTGRES_13"; NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres14 = @"POSTGRES_14"; +NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres15 = @"POSTGRES_15"; // GTLRCloudAlloyDBAdmin_Backup.state NSString * const kGTLRCloudAlloyDBAdmin_Backup_State_Creating = @"CREATING"; @@ -55,6 +56,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_DatabaseVersionUnspecified = @"DATABASE_VERSION_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres13 = @"POSTGRES_13"; NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres14 = @"POSTGRES_14"; +NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres15 = @"POSTGRES_15"; // GTLRCloudAlloyDBAdmin_Cluster.state NSString * const kGTLRCloudAlloyDBAdmin_Cluster_State_Bootstrapping = @"BOOTSTRAPPING"; @@ -174,6 +176,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeExposedToLocalDataLoads = @"SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeExposedToPublicAccess = @"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeExposedToRemoteAccess = @"SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeGroupNotReplicatingAcrossRegions = @"SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS"; 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_SignalTypeLoggingExcessiveStatementInfo = @"SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO"; @@ -189,6 +192,8 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotAvailableInMultipleZones = @"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotLoggingOnlyDdlStatements = @"SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotLoggingTemporaryFiles = @"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotProtectedByAutomaticFailover = @"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypePublicIpEnabled = @"SIGNAL_TYPE_PUBLIC_IP_ENABLED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeQueryDurationsNotLogged = @"SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeQueryLockWaitsNotLogged = @"SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeQueryStatisticsLogged = @"SIGNAL_TYPE_QUERY_STATISTICS_LOGGED"; @@ -274,6 +279,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_DatabaseVersionUnspecified = @"DATABASE_VERSION_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres13 = @"POSTGRES_13"; NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres14 = @"POSTGRES_14"; +NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres15 = @"POSTGRES_15"; // GTLRCloudAlloyDBAdmin_SupportedDatabaseFlag.valueType NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_ValueType_Float = @"FLOAT"; @@ -560,7 +566,7 @@ @implementation GTLRCloudAlloyDBAdmin_FailoverInstanceRequest // @implementation GTLRCloudAlloyDBAdmin_GenerateClientCertificateRequest -@dynamic certDuration, publicKey, requestId; +@dynamic certDuration, publicKey, requestId, useMetadataExchange; @end diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h index c293e25b7..f6d2ba76c 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h @@ -115,6 +115,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion * Value: "POSTGRES_14" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres14; +/** + * The database version is Postgres 15. + * + * Value: "POSTGRES_15" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres15; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_Backup.state @@ -251,6 +257,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersio * Value: "POSTGRES_14" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres14; +/** + * The database version is Postgres 15. + * + * Value: "POSTGRES_15" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres15; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_Cluster.state @@ -862,6 +874,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeExposedToRemoteAccess; +/** + * Represents if a group is replicating across regions. Checks for resources + * that are configured to have redundancy, and ongoing replication, across + * regions. + * + * Value: "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeGroupNotReplicatingAcrossRegions; /** * Represents if the last backup of a resource failed. * @@ -941,13 +961,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * * Value: "SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotAvailableInMultipleRegions; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotAvailableInMultipleRegions GTLR_DEPRECATED; /** * Represents if the resource is available in multiple zones or not. * * Value: "SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotAvailableInMultipleZones; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotAvailableInMultipleZones GTLR_DEPRECATED; /** * Represents if the log_statement database flag for a Cloud SQL for PostgreSQL * instance is not set to DDL (all data definition statements). @@ -962,6 +982,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotLoggingTemporaryFiles; +/** + * Represents if a resource is protected by automatic failover. Checks for + * resources that are configured to have redundancy within a region that + * enables automatic failover. + * + * Value: "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotProtectedByAutomaticFailover; +/** + * Represents if public IP is enabled. + * LINT.ThenChange(//depot/google3/storage/databasecenter/ingestion/borgjob/message_adapter/health_signal_feed/health_signal_mapping.h) + * + * Value: "SIGNAL_TYPE_PUBLIC_IP_ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypePublicIpEnabled; /** * Represents if the log_duration database flag for a Cloud SQL for PostgreSQL * instance is not set to on. @@ -986,7 +1021,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP /** * Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL * Server instance is not set to on. - * LINT.ThenChange(//depot/google3/storage/databasecenter/ingestion/borgjob/message_adapter/health_signal_feed/health_signal_mapping.h) * * Value: "SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED" */ @@ -1402,6 +1436,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_ * Value: "POSTGRES_14" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres14; +/** + * The database version is Postgres 15. + * + * Value: "POSTGRES_15" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres15; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_SupportedDatabaseFlag.valueType @@ -1615,6 +1655,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * "POSTGRES_13") * @arg @c kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres14 The * database version is Postgres 14. (Value: "POSTGRES_14") + * @arg @c kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres15 The + * database version is Postgres 15. (Value: "POSTGRES_15") */ @property(nonatomic, copy, nullable) NSString *databaseVersion; @@ -1909,6 +1951,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * "POSTGRES_13") * @arg @c kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres14 The * database version is Postgres 14. (Value: "POSTGRES_14") + * @arg @c kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres15 The + * database version is Postgres 15. (Value: "POSTGRES_15") */ @property(nonatomic, copy, nullable) NSString *databaseVersion; @@ -2291,6 +2335,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, copy, nullable) NSString *requestId; +/** + * Optional. An optional hint to the endpoint to generate a client ceritificate + * that can be used by AlloyDB connectors to exchange additional metadata with + * the server after TLS handshake. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *useMetadataExchange; + @end @@ -2957,7 +3010,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @property(nonatomic, copy, nullable) NSString *allocatedIpRange; /** - * Required. The resource link for the VPC network in which cluster resources + * Optional. The resource link for the VPC network in which cluster resources * are created and from which they are accessible via Private IP. The network * must belong to the same project as the cluster. It is specified in the form: * "projects/{project_number}/global/networks/{network_id}". This is required @@ -3793,6 +3846,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Represents if the remote access database flag for a Cloud SQL for SQL * Server instance is not set to off. (Value: * "SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeGroupNotReplicatingAcrossRegions + * Represents if a group is replicating across regions. Checks for + * resources that are configured to have redundancy, and ongoing + * replication, across regions. (Value: + * "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLastBackupFailed * Represents if the last backup of a resource failed. (Value: * "SIGNAL_TYPE_LAST_BACKUP_FAILED") @@ -3846,6 +3904,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Represents if the log_temp_files database flag for a Cloud SQL for * PostgreSQL instance is not set to "0". (NOTE: 0 = ON) (Value: * "SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotProtectedByAutomaticFailover + * Represents if a resource is protected by automatic failover. Checks + * for resources that are configured to have redundancy within a region + * that enables automatic failover. (Value: + * "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypePublicIpEnabled + * Represents if public IP is enabled. + * LINT.ThenChange(//depot/google3/storage/databasecenter/ingestion/borgjob/message_adapter/health_signal_feed/health_signal_mapping.h) + * (Value: "SIGNAL_TYPE_PUBLIC_IP_ENABLED") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeQueryDurationsNotLogged * Represents if the log_duration database flag for a Cloud SQL for * PostgreSQL instance is not set to on. (Value: @@ -3860,9 +3927,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * "SIGNAL_TYPE_QUERY_STATISTICS_LOGGED") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeSensitiveTraceInfoNotMasked * Represents if the 3625 (trace flag) database flag for a Cloud SQL for - * SQL Server instance is not set to on. - * LINT.ThenChange(//depot/google3/storage/databasecenter/ingestion/borgjob/message_adapter/health_signal_feed/health_signal_mapping.h) - * (Value: "SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED") + * SQL Server instance is not set to on. (Value: + * "SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeServerAuthenticationNotRequired * Represents if The contained database authentication database flag for * a Cloud SQL for SQL Server instance is not set to off. (Value: diff --git a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h index 5f465984e..dc93a7b33 100644 --- a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h +++ b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h @@ -955,8 +955,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState * organizations/organization_number/savedQueries/saved_query_id If both * `analysis_query` and `saved_analysis_query` are provided, they will be * merged together with the `saved_analysis_query` as base and the - * `analysis_query` as overrides. For more details of the merge behavior, - * please refer to the + * `analysis_query` as overrides. For more details of the merge behavior, refer + * to the * [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) * doc. Note that you cannot override primitive fields with default value, such * as 0 or empty string, etc., because we use proto3, which doesn't support @@ -1186,13 +1186,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState @interface GTLRCloudAsset_Asset : GTLRObject /** - * Please also refer to the [access level user + * Also refer to the [access level user * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels). */ @property(nonatomic, strong, nullable) GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1AccessLevel *accessLevel; /** - * Please also refer to the [access policy user + * Also refer to the [access policy user * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies). */ @property(nonatomic, strong, nullable) GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1AccessPolicy *accessPolicy; @@ -1267,7 +1267,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState @property(nonatomic, strong, nullable) GTLRCloudAsset_Resource *resource; /** - * Please also refer to the [service perimeter user + * Also refer to the [service perimeter user * guide](https://cloud.google.com/vpc-service-controls/docs/overview). */ @property(nonatomic, strong, nullable) GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter *servicePerimeter; @@ -1291,7 +1291,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState * The type of this attached resource. Example: * `osconfig.googleapis.com/Inventory` You can find the supported attached * asset types of each resource in this table: - * `https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types` + * `https://cloud.google.com/asset-inventory/docs/supported-asset-types` */ @property(nonatomic, copy, nullable) NSString *assetType; @@ -5300,7 +5300,7 @@ GTLR_DEPRECATED * metadata fields that are returned by the List or Get APIs provided by the * corresponding Google Cloud service (e.g., Compute Engine). see [API * references and supported searchable - * attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) + * attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types) * to see which fields are included. You can search values of these fields * through free text search. However, you should not consume the field * programically as the field names and values may change as the Google Cloud @@ -5387,9 +5387,9 @@ GTLR_DEPRECATED * name or * [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) * name. This field only presents for the purpose of backward compatibility. - * Please use the `kms_keys` field to retrieve Cloud KMS key information. This - * field is available only when the resource's Protobuf contains it and will - * only be populated for [these resource + * Use the `kms_keys` field to retrieve Cloud KMS key information. This field + * is available only when the resource's Protobuf contains it and will only be + * populated for [these resource * types](https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field) * for backward compatible purposes. To search against the `kms_key`: * Use a * field query. Example: `kmsKey:key` * Use a free text query. Example: `key` @@ -5495,13 +5495,9 @@ GTLR_DEPRECATED /** * The actual content of Security Command Center security marks associated with - * the asset. Note that both staging & prod SecurityMarks are attached on prod - * resources. In CAS preprod/prod, both staging & prod SecurityMarks are - * ingested and returned in the following `security_marks` map. In that case, - * the prefix "staging." will be added to the keys of all the staging marks. To - * search against SCC SecurityMarks field: * Use a field query: - query by a - * given key value pair. Example: `sccSecurityMarks.foo=bar` - query by a given - * key's existence. Example: `sccSecurityMarks.foo:*` + * the asset. To search against SCC SecurityMarks field: * Use a field query: - + * query by a given key value pair. Example: `sccSecurityMarks.foo=bar` - query + * by a given key's existence. Example: `sccSecurityMarks.foo:*` */ @property(nonatomic, strong, nullable) GTLRCloudAsset_ResourceSearchResult_SccSecurityMarks *sccSecurityMarks; @@ -5523,8 +5519,8 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *state; /** - * This field is only present for the purpose of backward compatibility. Please - * use the `tags` field instead. TagKey namespaced names, in the format of + * This field is only present for the purpose of backward compatibility. Use + * the `tags` field instead. TagKey namespaced names, in the format of * {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the `tagKeys`: * Use a * field query. Example: - `tagKeys:"123456789/env*"` - * `tagKeys="123456789/env"` - `tagKeys:"env"` * Use a free text query. @@ -5543,8 +5539,8 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSArray *tags; /** - * This field is only present for the purpose of backward compatibility. Please - * use the `tags` field instead. TagValue IDs, in the format of + * This field is only present for the purpose of backward compatibility. Use + * the `tags` field instead. TagValue IDs, in the format of * tagValues/{TAG_VALUE_ID}. To search against the `tagValueIds`: * Use a field * query. Example: - `tagValueIds="tagValues/456"` * Use a free text query. * Example: - `456` @@ -5552,8 +5548,8 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSArray *tagValueIds GTLR_DEPRECATED; /** - * This field is only present for the purpose of backward compatibility. Please - * use the `tags` field instead. TagValue namespaced names, in the format of + * This field is only present for the purpose of backward compatibility. Use + * the `tags` field instead. TagValue namespaced names, in the format of * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search against the * `tagValues`: * Use a field query. Example: - `tagValues:"env"` - * `tagValues:"env/prod"` - `tagValues:"123456789/env/prod*"` - @@ -5591,7 +5587,7 @@ GTLR_DEPRECATED * metadata fields that are returned by the List or Get APIs provided by the * corresponding Google Cloud service (e.g., Compute Engine). see [API * references and supported searchable - * attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) + * attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types) * to see which fields are included. You can search values of these fields * through free text search. However, you should not consume the field * programically as the field names and values may change as the Google Cloud @@ -5646,13 +5642,9 @@ GTLR_DEPRECATED /** * The actual content of Security Command Center security marks associated with - * the asset. Note that both staging & prod SecurityMarks are attached on prod - * resources. In CAS preprod/prod, both staging & prod SecurityMarks are - * ingested and returned in the following `security_marks` map. In that case, - * the prefix "staging." will be added to the keys of all the staging marks. To - * search against SCC SecurityMarks field: * Use a field query: - query by a - * given key value pair. Example: `sccSecurityMarks.foo=bar` - query by a given - * key's existence. Example: `sccSecurityMarks.foo:*` + * the asset. To search against SCC SecurityMarks field: * Use a field query: - + * query by a given key value pair. Example: `sccSecurityMarks.foo=bar` - query + * by a given key's existence. Example: `sccSecurityMarks.foo:*` * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -6092,7 +6084,7 @@ GTLR_DEPRECATED * instance as defined by Compute Engine: * `https://cloud.google.com/compute/docs/reference/rest/v1/instances`. You can * find the resource definition for each supported resource type in this table: - * `https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types` + * `https://cloud.google.com/asset-inventory/docs/supported-asset-types` */ @property(nonatomic, strong, nullable) GTLRCloudAsset_VersionedResource_Resource *resource; @@ -6114,7 +6106,7 @@ GTLR_DEPRECATED * instance as defined by Compute Engine: * `https://cloud.google.com/compute/docs/reference/rest/v1/instances`. You can * find the resource definition for each supported resource type in this table: - * `https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types` + * `https://cloud.google.com/asset-inventory/docs/supported-asset-types` * * @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/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetQuery.h b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetQuery.h index 98b75a118..ce4b7a87c 100644 --- a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetQuery.h +++ b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetQuery.h @@ -243,7 +243,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAssetViewFull; * Required. The names refer to the [full_resource_names] * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of * [searchable asset - * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types). + * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types). * A maximum of 20 resources' effective policies can be retrieved in a batch. */ @property(nonatomic, strong, nullable) NSArray *names; @@ -851,8 +851,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAssetViewFull; * organizations/organization_number/savedQueries/saved_query_id If both * `analysis_query` and `saved_analysis_query` are provided, they will be * merged together with the `saved_analysis_query` as base and the - * `analysis_query` as overrides. For more details of the merge behavior, - * please refer to the + * `analysis_query` as overrides. For more details of the merge behavior, refer + * to the * [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) * page. Note that you cannot override primitive fields with default value, * such as 0 or empty string, etc., because we use proto3, which doesn't @@ -1097,7 +1097,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAssetViewFull; * compute.skipDefaultNetworkCreation * compute.requireOsLogin * * compute.disableNestedVirtualization This RPC only returns either resources * of types supported by [searchable asset - * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types), + * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types), * or IAM policies. * * Method: cloudasset.analyzeOrgPolicyGovernedAssets @@ -1167,7 +1167,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAssetViewFull; * compute.skipDefaultNetworkCreation * compute.requireOsLogin * * compute.disableNestedVirtualization This RPC only returns either resources * of types supported by [searchable asset - * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types), + * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types), * or IAM policies. * * @param scope Required. The organization to scope the request. Only @@ -1479,7 +1479,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAssetViewFull; * Optional. A list of asset types that the IAM policies are attached to. If * empty, it will search the IAM policies that are attached to all the * [searchable asset - * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types). + * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types). * Regular expressions are also supported. For example: * * "compute.googleapis.com.*" snapshots IAM policies attached to asset type * starts with "compute.googleapis.com". * ".*Instance" snapshots IAM policies @@ -1612,7 +1612,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAssetViewFull; /** * Optional. A list of asset types that this request searches for. If empty, it * will search all the [searchable asset - * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types). + * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types). * Regular expressions are also supported. For example: * * "compute.googleapis.com.*" snapshots resources whose asset type starts with * "compute.googleapis.com". * ".*Instance" snapshots resources whose asset @@ -1668,41 +1668,38 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAssetViewFull; * `prod`. * `labels.env:*` to find Google Cloud resources that have a label * `env`. * `tagKeys:env` to find Google Cloud resources that have directly * attached tags where the - * [`TagKey`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) - * .`namespacedName` contains `env`. * `tagValues:prod*` to find Google Cloud - * resources that have directly attached tags where the - * [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) - * .`namespacedName` contains a word prefixed by `prod`. * - * `tagValueIds=tagValues/123` to find Google Cloud resources that have + * [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) + * contains `env`. * `tagValues:prod*` to find Google Cloud resources that have * directly attached tags where the - * [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) - * .`name` is exactly `tagValues/123`. * `effectiveTagKeys:env` to find Google - * Cloud resources that have directly attached or inherited tags where the - * [`TagKey`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) - * .`namespacedName` contains `env`. * `effectiveTagValues:prod*` to find - * Google Cloud resources that have directly attached or inherited tags where - * the - * [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) - * .`namespacedName` contains a word prefixed by `prod`. * - * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that - * have directly attached or inherited tags where the - * [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) - * .`name` is exactly `tagValues/123`. * `kmsKey:key` to find Google Cloud - * resources encrypted with a customer-managed encryption key whose name - * contains `key` as a word. This field is deprecated. Please use the `kmsKeys` - * field to retrieve Cloud KMS key information. * `kmsKeys:key` to find Google - * Cloud resources encrypted with customer-managed encryption keys whose name - * contains the word `key`. * `relationships:instance-group-1` to find Google - * Cloud resources that have relationships with `instance-group-1` in the - * related resource name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find - * Compute Engine instances that have relationships of type - * `INSTANCE_TO_INSTANCEGROUP`. * + * [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) + * contains a word prefixed by `prod`. * `tagValueIds=tagValues/123` to find + * Google Cloud resources that have directly attached tags where the + * [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) + * is exactly `tagValues/123`. * `effectiveTagKeys:env` to find Google Cloud + * resources that have directly attached or inherited tags where the + * [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) + * contains `env`. * `effectiveTagValues:prod*` to find Google Cloud resources + * that have directly attached or inherited tags where the + * [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) + * contains a word prefixed by `prod`. * `effectiveTagValueIds=tagValues/123` + * to find Google Cloud resources that have directly attached or inherited tags + * where the + * [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) + * is exactly `tagValues/123`. * `kmsKey:key` to find Google Cloud resources + * encrypted with a customer-managed encryption key whose name contains `key` + * as a word. This field is deprecated. Use the `kmsKeys` field to retrieve + * Cloud KMS key information. * `kmsKeys:key` to find Google Cloud resources + * encrypted with customer-managed encryption keys whose name contains the word + * `key`. * `relationships:instance-group-1` to find Google Cloud resources + * that have relationships with `instance-group-1` in the related resource + * name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine + * instances that have relationships of type `INSTANCE_TO_INSTANCEGROUP`. * * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find Compute * Engine instances that have relationships with `instance-group-1` in the * Compute Engine instance group resource name, for relationship type * `INSTANCE_TO_INSTANCEGROUP`. * `sccSecurityMarks.key=value` to find Cloud * resources that are attached with security marks whose key is `key` and value - * is `value'. * `sccSecurityMarks.key:*` to find Cloud resources that are + * is `value`. * `sccSecurityMarks.key:*` to find Cloud resources that are * attached with security marks whose key is `key`. * `state:ACTIVE` to find * Google Cloud resources whose state contains `ACTIVE` as a word. * `NOT * state:ACTIVE` to find Google Cloud resources whose state doesn't contain diff --git a/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m b/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m index 23a1e712e..78f114eed 100644 --- a/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m +++ b/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m @@ -302,7 +302,7 @@ @implementation GTLRCloudBatch_AgentTaskRunnable // @implementation GTLRCloudBatch_AgentTaskSpec -@dynamic environment, maxRunDuration, runnables; +@dynamic environment, maxRunDuration, runnables, userAccount; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -314,6 +314,16 @@ @implementation GTLRCloudBatch_AgentTaskSpec @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudBatch_AgentTaskUserAccount +// + +@implementation GTLRCloudBatch_AgentTaskUserAccount +@dynamic gid, uid; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudBatch_AgentTimingInfo @@ -385,6 +395,15 @@ @implementation GTLRCloudBatch_CancelOperationRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudBatch_CloudLoggingOption +// + +@implementation GTLRCloudBatch_CloudLoggingOption +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudBatch_ComputeResource @@ -770,7 +789,7 @@ @implementation GTLRCloudBatch_LocationPolicy // @implementation GTLRCloudBatch_LogsPolicy -@dynamic destination, logsPath; +@dynamic cloudLoggingOption, destination, logsPath; @end diff --git a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h index e7bffb927..76bfc4c53 100644 --- a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h +++ b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h @@ -29,11 +29,13 @@ @class GTLRCloudBatch_AgentTaskInfo; @class GTLRCloudBatch_AgentTaskRunnable; @class GTLRCloudBatch_AgentTaskSpec; +@class GTLRCloudBatch_AgentTaskUserAccount; @class GTLRCloudBatch_AgentTimingInfo; @class GTLRCloudBatch_AllocationPolicy; @class GTLRCloudBatch_AllocationPolicy_Labels; @class GTLRCloudBatch_AttachedDisk; @class GTLRCloudBatch_Barrier; +@class GTLRCloudBatch_CloudLoggingOption; @class GTLRCloudBatch_ComputeResource; @class GTLRCloudBatch_Container; @class GTLRCloudBatch_Disk; @@ -1007,6 +1009,37 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; /** AgentTaskRunnable is runanbles that will be executed on the agent. */ @property(nonatomic, strong, nullable) NSArray *runnables; +/** + * User account on the VM to run the runnables in the agentTaskSpec. If not + * set, the runnable will be run under root user. + */ +@property(nonatomic, strong, nullable) GTLRCloudBatch_AgentTaskUserAccount *userAccount; + +@end + + +/** + * AgentTaskUserAccount contains the information of a POSIX account on the + * guest os which is used to execute the runnables. + */ +@interface GTLRCloudBatch_AgentTaskUserAccount : GTLRObject + +/** + * gid id an unique identifier of the POSIX account group corresponding to the + * user account. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *gid; + +/** + * uid is an unique identifier of the POSIX account corresponding to the user + * account. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *uid; + @end @@ -1051,7 +1084,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; /** Location where compute resources should be allocated for the Job. */ @property(nonatomic, strong, nullable) GTLRCloudBatch_LocationPolicy *location; -/** The network policy. */ +/** + * The network policy. If you define an instance template in the + * InstancePolicyOrTemplate field, Batch will use the network settings in the + * instance template instead of this field. + */ @property(nonatomic, strong, nullable) GTLRCloudBatch_NetworkPolicy *network; /** The placement policy. */ @@ -1122,6 +1159,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; @end +/** + * CloudLoggingOption contains additional settings for cloud logging generated + * by Batch job. + */ +@interface GTLRCloudBatch_CloudLoggingOption : GTLRObject +@end + + /** * Compute resource requirements. ComputeResource defines the amount of * resources required for each task. Make sure your tasks have enough resources @@ -1903,6 +1948,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; */ @interface GTLRCloudBatch_LogsPolicy : GTLRObject +/** + * Optional. Additional settings for Cloud Logging. It will only take effect + * when the destination of LogsPolicy is set to CLOUD_LOGGING. + */ +@property(nonatomic, strong, nullable) GTLRCloudBatch_CloudLoggingOption *cloudLoggingOption; + /** * Where logs should be saved. * diff --git a/Sources/GeneratedServices/CloudBillingBudget/GTLRCloudBillingBudgetObjects.m b/Sources/GeneratedServices/CloudBillingBudget/GTLRCloudBillingBudgetObjects.m index 1da7944a7..22d4a1609 100644 --- a/Sources/GeneratedServices/CloudBillingBudget/GTLRCloudBillingBudgetObjects.m +++ b/Sources/GeneratedServices/CloudBillingBudget/GTLRCloudBillingBudgetObjects.m @@ -14,6 +14,11 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Budget.ownershipScope +NSString * const kGTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Budget_OwnershipScope_AllUsers = @"ALL_USERS"; +NSString * const kGTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Budget_OwnershipScope_BillingAccount = @"BILLING_ACCOUNT"; +NSString * const kGTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Budget_OwnershipScope_OwnershipScopeUnspecified = @"OWNERSHIP_SCOPE_UNSPECIFIED"; + // GTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Filter.calendarPeriod NSString * const kGTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Filter_CalendarPeriod_CalendarPeriodUnspecified = @"CALENDAR_PERIOD_UNSPECIFIED"; NSString * const kGTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Filter_CalendarPeriod_Month = @"MONTH"; @@ -38,7 +43,7 @@ @implementation GTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Budget @dynamic amount, budgetFilter, displayName, ETag, name, notificationsRule, - thresholdRules; + ownershipScope, thresholdRules; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; diff --git a/Sources/GeneratedServices/CloudBillingBudget/Public/GoogleAPIClientForREST/GTLRCloudBillingBudgetObjects.h b/Sources/GeneratedServices/CloudBillingBudget/Public/GoogleAPIClientForREST/GTLRCloudBillingBudgetObjects.h index 5484cc8fa..01e0245ba 100644 --- a/Sources/GeneratedServices/CloudBillingBudget/Public/GoogleAPIClientForREST/GTLRCloudBillingBudgetObjects.h +++ b/Sources/GeneratedServices/CloudBillingBudget/Public/GoogleAPIClientForREST/GTLRCloudBillingBudgetObjects.h @@ -36,6 +36,31 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Budget.ownershipScope + +/** + * Both billing account-level users and project-level users have full access to + * the budget, if the users have the required IAM permissions. + * + * Value: "ALL_USERS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Budget_OwnershipScope_AllUsers; +/** + * Only billing account-level users have full access to the budget. + * Project-level users have read-only access, even if they have the required + * IAM permissions. + * + * Value: "BILLING_ACCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Budget_OwnershipScope_BillingAccount; +/** + * Unspecified ownership scope, same as ALL_USERS. + * + * Value: "OWNERSHIP_SCOPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Budget_OwnershipScope_OwnershipScopeUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Filter.calendarPeriod @@ -166,6 +191,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBillingBudget_GoogleCloudBillingBud */ @property(nonatomic, strong, nullable) GTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1NotificationsRule *notificationsRule; +/** + * ownershipScope + * + * Likely values: + * @arg @c kGTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Budget_OwnershipScope_AllUsers + * Both billing account-level users and project-level users have full + * access to the budget, if the users have the required IAM permissions. + * (Value: "ALL_USERS") + * @arg @c kGTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Budget_OwnershipScope_BillingAccount + * Only billing account-level users have full access to the budget. + * Project-level users have read-only access, even if they have the + * required IAM permissions. (Value: "BILLING_ACCOUNT") + * @arg @c kGTLRCloudBillingBudget_GoogleCloudBillingBudgetsV1Budget_OwnershipScope_OwnershipScopeUnspecified + * Unspecified ownership scope, same as ALL_USERS. (Value: + * "OWNERSHIP_SCOPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *ownershipScope; + /** * Optional. Rules that trigger alerts (notifications of thresholds being * crossed) when spend exceeds the specified percentages of the budget. diff --git a/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m b/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m index 8b9168594..fc9f49560 100644 --- a/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m +++ b/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m @@ -184,6 +184,25 @@ @implementation GTLRCloudBuild_CancelOperationRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudBuild_Capabilities +// + +@implementation GTLRCloudBuild_Capabilities +@dynamic add, drop; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"add" : [NSString class], + @"drop" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudBuild_ChildStatusReference @@ -295,6 +314,24 @@ @implementation GTLRCloudBuild_EnvVar @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudBuild_ExecAction +// + +@implementation GTLRCloudBuild_ExecAction +@dynamic command; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"command" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudBuild_Expr @@ -729,9 +766,9 @@ @implementation GTLRCloudBuild_PipelineRef @implementation GTLRCloudBuild_PipelineRun @dynamic annotations, childReferences, completionTime, conditions, createTime, - ETag, name, params, pipelineRef, pipelineRunStatus, pipelineSpec, - resolvedPipelineSpec, serviceAccount, skippedTasks, startTime, - timeouts, uid, updateTime, workerPool, workflow, workspaces; + ETag, finallyStartTime, name, params, pipelineRef, pipelineRunStatus, + pipelineSpec, resolvedPipelineSpec, serviceAccount, skippedTasks, + startTime, timeouts, uid, updateTime, workerPool, workflow, workspaces; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -846,6 +883,16 @@ @implementation GTLRCloudBuild_Policy @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudBuild_Probe +// + +@implementation GTLRCloudBuild_Probe +@dynamic exec, periodSeconds; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudBuild_PropertySpec @@ -912,7 +959,8 @@ @implementation GTLRCloudBuild_SecretVolumeSource // @implementation GTLRCloudBuild_SecurityContext -@dynamic privileged; +@dynamic allowPrivilegeEscalation, capabilities, privileged, runAsGroup, + runAsNonRoot, runAsUser; @end @@ -932,8 +980,8 @@ @implementation GTLRCloudBuild_SetIamPolicyRequest // @implementation GTLRCloudBuild_Sidecar -@dynamic args, command, env, image, name, script, securityContext, volumeMounts, - workingDir; +@dynamic args, command, env, image, name, readinessProbe, script, + securityContext, volumeMounts, workingDir; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1004,8 +1052,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudBuild_Step -@dynamic args, command, env, image, name, script, timeout, volumeMounts, - workingDir; +@dynamic args, command, env, image, name, script, securityContext, timeout, + volumeMounts, workingDir; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1020,6 +1068,24 @@ @implementation GTLRCloudBuild_Step @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudBuild_StepTemplate +// + +@implementation GTLRCloudBuild_StepTemplate +@dynamic env; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"env" : [GTLRCloudBuild_EnvVar class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudBuild_TaskRef @@ -1074,7 +1140,7 @@ + (Class)classForAdditionalProperties { @implementation GTLRCloudBuild_TaskSpec @dynamic descriptionProperty, managedSidecars, params, results, sidecars, steps, - volumes, workspaces; + stepTemplate, volumes, workspaces; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1087,6 +1153,7 @@ @implementation GTLRCloudBuild_TaskSpec @"results" : [GTLRCloudBuild_TaskResult class], @"sidecars" : [GTLRCloudBuild_Sidecar class], @"steps" : [GTLRCloudBuild_Step class], + @"stepTemplate" : [GTLRCloudBuild_StepTemplate class], @"volumes" : [GTLRCloudBuild_VolumeSource class], @"workspaces" : [GTLRCloudBuild_WorkspaceDeclaration class] }; @@ -1206,7 +1273,7 @@ @implementation GTLRCloudBuild_WhenExpression // @implementation GTLRCloudBuild_WorkspaceBinding -@dynamic name, secret, volumeClaim; +@dynamic name, secret, subPath, volumeClaim; @end @@ -1216,7 +1283,7 @@ @implementation GTLRCloudBuild_WorkspaceBinding // @implementation GTLRCloudBuild_WorkspaceDeclaration -@dynamic descriptionProperty, mountPath, name, readOnly; +@dynamic descriptionProperty, mountPath, name, optional, readOnly; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1231,5 +1298,5 @@ @implementation GTLRCloudBuild_WorkspaceDeclaration // @implementation GTLRCloudBuild_WorkspacePipelineTaskBinding -@dynamic name, workspace; +@dynamic name, subPath, workspace; @end diff --git a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h index 9aad87084..4ae078bc8 100644 --- a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h +++ b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h @@ -17,6 +17,7 @@ @class GTLRCloudBuild_AuditConfig; @class GTLRCloudBuild_AuditLogConfig; @class GTLRCloudBuild_Binding; +@class GTLRCloudBuild_Capabilities; @class GTLRCloudBuild_ChildStatusReference; @class GTLRCloudBuild_Connection; @class GTLRCloudBuild_Connection_Annotations; @@ -25,6 +26,7 @@ @class GTLRCloudBuild_EmbeddedTask_Annotations; @class GTLRCloudBuild_EmptyDirVolumeSource; @class GTLRCloudBuild_EnvVar; +@class GTLRCloudBuild_ExecAction; @class GTLRCloudBuild_Expr; @class GTLRCloudBuild_GitHubConfig; @class GTLRCloudBuild_GoogleDevtoolsCloudbuildV2Condition; @@ -48,6 +50,7 @@ @class GTLRCloudBuild_PipelineTask; @class GTLRCloudBuild_PipelineWorkspaceDeclaration; @class GTLRCloudBuild_Policy; +@class GTLRCloudBuild_Probe; @class GTLRCloudBuild_PropertySpec; @class GTLRCloudBuild_Repository; @class GTLRCloudBuild_Repository_Annotations; @@ -58,6 +61,7 @@ @class GTLRCloudBuild_Status; @class GTLRCloudBuild_Status_Details_Item; @class GTLRCloudBuild_Step; +@class GTLRCloudBuild_StepTemplate; @class GTLRCloudBuild_TaskRef; @class GTLRCloudBuild_TaskResult; @class GTLRCloudBuild_TaskResult_Properties; @@ -561,6 +565,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @end +/** + * Capabilities adds and removes POSIX capabilities from running containers. + */ +@interface GTLRCloudBuild_Capabilities : GTLRObject + +/** Optional. Added capabilities +optional */ +@property(nonatomic, strong, nullable) NSArray *add; + +/** Optional. Removed capabilities +optional */ +@property(nonatomic, strong, nullable) NSArray *drop; + +@end + + /** * ChildStatusReference is used to point to the statuses of individual TaskRuns * and Runs within this PipelineRun. @@ -754,6 +772,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @end +/** + * ExecAction describes a "run in container" action. + */ +@interface GTLRCloudBuild_ExecAction : GTLRObject + +/** + * Optional. Command is the command line to execute inside the container, the + * working directory for the command is root ('/') in the container's + * filesystem. The command is simply exec'd, it is not run inside a shell, so + * traditional shell instructions ('|', etc) won't work. To use a shell, you + * need to explicitly call out to that shell. Exit status of 0 is treated as + * live/healthy and non-zero is unhealthy. +optional + */ +@property(nonatomic, strong, nullable) NSArray *command; + +@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 @@ -1626,6 +1662,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper /** Needed for declarative-friendly resources. */ @property(nonatomic, copy, nullable) NSString *ETag; +/** + * Output only. FinallyStartTime is when all non-finally tasks have been + * completed and only finally tasks are being executed. +optional + */ +@property(nonatomic, strong, nullable) GTLRDateTime *finallyStartTime; + /** * Output only. The `PipelineRun` name with format * `projects/{project}/locations/{location}/pipelineRuns/{pipeline_run}` @@ -1909,6 +1951,26 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @end +/** + * Probe describes a health check to be performed against a container to + * determine whether it is alive or ready to receive traffic. + */ +@interface GTLRCloudBuild_Probe : GTLRObject + +/** Optional. Exec specifies the action to take. +optional */ +@property(nonatomic, strong, nullable) GTLRCloudBuild_ExecAction *exec; + +/** + * Optional. How often (in seconds) to perform the probe. Default to 10 + * seconds. Minimum value is 1. +optional + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *periodSeconds; + +@end + + /** * PropertySpec holds information about a property in an object. */ @@ -2039,6 +2101,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper */ @interface GTLRCloudBuild_SecurityContext : GTLRObject +/** + * Optional. AllowPrivilegeEscalation controls whether a process can gain more + * privileges than its parent process. This bool directly controls if the + * no_new_privs flag will be set on the container process. + * AllowPrivilegeEscalation is true always when the container is: 1) run as + * Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when + * spec.os.name is windows. +optional + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowPrivilegeEscalation; + +/** Optional. Adds and removes POSIX capabilities from running containers. */ +@property(nonatomic, strong, nullable) GTLRCloudBuild_Capabilities *capabilities; + /** * Run container in privileged mode. * @@ -2046,6 +2123,40 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper */ @property(nonatomic, strong, nullable) NSNumber *privileged; +/** + * Optional. The GID to run the entrypoint of the container process. Uses + * runtime default if unset. May also be set in PodSecurityContext. If set in + * both SecurityContext and PodSecurityContext, the value specified in + * SecurityContext takes precedence. Note that this field cannot be set when + * spec.os.name is windows. +optional + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *runAsGroup; + +/** + * Optional. Indicates that the container must run as a non-root user. If true, + * the Kubelet will validate the image at runtime to ensure that it does not + * run as UID 0 (root) and fail to start the container if it does. If unset or + * false, no such validation will be performed. May also be set in + * PodSecurityContext. If set in both SecurityContext and PodSecurityContext, + * the value specified in SecurityContext takes precedence. +optional + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *runAsNonRoot; + +/** + * Optional. The UID to run the entrypoint of the container process. Defaults + * to user specified in image metadata if unspecified. May also be set in + * PodSecurityContext. If set in both SecurityContext and PodSecurityContext, + * the value specified in SecurityContext takes precedence. Note that this + * field cannot be set when spec.os.name is windows. +optional + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *runAsUser; + @end @@ -2093,10 +2204,19 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper /** Name of the Sidecar. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. Periodic probe of Sidecar service readiness. Container will be + * removed from service endpoints if the probe fails. Cannot be updated. More + * info: + * https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + * +optional + */ +@property(nonatomic, strong, nullable) GTLRCloudBuild_Probe *readinessProbe; + /** The contents of an executable file to execute. */ @property(nonatomic, copy, nullable) NSString *script; -/** Security options the container should be run with. */ +/** Optional. Security options the container should be run with. */ @property(nonatomic, strong, nullable) GTLRCloudBuild_SecurityContext *securityContext; /** Pod volumes to mount into the container's filesystem. */ @@ -2198,6 +2318,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper /** The contents of an executable file to execute. */ @property(nonatomic, copy, nullable) NSString *script; +/** + * Optional. SecurityContext defines the security options the Step should be + * run with. If set, the fields of SecurityContext override the equivalent + * fields of PodSecurityContext. More info: + * https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ + * +optional + */ +@property(nonatomic, strong, nullable) GTLRCloudBuild_SecurityContext *securityContext; + /** Time after which the Step times out. Defaults to never. */ @property(nonatomic, strong, nullable) GTLRDuration *timeout; @@ -2210,6 +2339,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @end +/** + * StepTemplate can be used as the basis for all step containers within the + * Task, so that the steps inherit settings on the base container. + */ +@interface GTLRCloudBuild_StepTemplate : GTLRObject + +/** + * Optional. List of environment variables to set in the Step. Cannot be + * updated. + */ +@property(nonatomic, strong, nullable) NSArray *env; + +@end + + /** * TaskRef can be used to refer to a specific instance of a task. PipelineRef * can be used to refer to a specific instance of a Pipeline. @@ -2325,6 +2469,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper /** Steps of the task. */ @property(nonatomic, strong, nullable) NSArray *steps; +/** + * Optional. StepTemplate can be used as the basis for all step containers + * within the Task, so that the steps inherit settings on the base container. + */ +@property(nonatomic, strong, nullable) NSArray *stepTemplate; + /** A collection of volumes that are available to mount into steps. */ @property(nonatomic, strong, nullable) NSArray *volumes; @@ -2515,6 +2665,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper /** Secret Volume Source. */ @property(nonatomic, strong, nullable) GTLRCloudBuild_SecretVolumeSource *secret; +/** + * Optional. SubPath is optionally a directory on the volume which should be + * used for this binding (i.e. the volume will be mounted at this sub + * directory). +optional + */ +@property(nonatomic, copy, nullable) NSString *subPath; + /** Volume claim that will be created in the same namespace. */ @property(nonatomic, strong, nullable) GTLRCloudBuild_VolumeClaim *volumeClaim; @@ -2541,6 +2698,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper /** Name is the name by which you can bind the volume at runtime. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. Optional marks a Workspace as not being required in TaskRuns. By + * default this field is false and so declared workspaces are required. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *optional; + /** * ReadOnly dictates whether a mounted volume is writable. * @@ -2560,6 +2725,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper /** Name of the workspace as declared by the task. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. SubPath is optionally a directory on the volume which should be + * used for this binding (i.e. the volume will be mounted at this sub + * directory). +optional + */ +@property(nonatomic, copy, nullable) NSString *subPath; + /** Name of the workspace declared by the pipeline. */ @property(nonatomic, copy, nullable) NSString *workspace; diff --git a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m index 91edbc859..a9f78611a 100644 --- a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m +++ b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m @@ -216,6 +216,9 @@ NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_BigqueryTableUpdate = @"BIGQUERY_TABLE_UPDATE"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_BigqueryTaxonomyCreate = @"BIGQUERY_TAXONOMY_CREATE"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_EventTypeUnspecified = @"EVENT_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleErrors = @"GOVERNANCE_RULE_ERRORS"; +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleMatchedResources = @"GOVERNANCE_RULE_MATCHED_RESOURCES"; +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleSearchLimitExceeds = @"GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_ResourceIamPolicyUpdate = @"RESOURCE_IAM_POLICY_UPDATE"; // GTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEventEntity.entityType @@ -1012,6 +1015,16 @@ @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileSpecSelectedFi @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityColumnResult +// + +@implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityColumnResult +@dynamic column, score; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityDimension @@ -1028,7 +1041,7 @@ @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityDimension // @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityDimensionResult -@dynamic dimension, passed; +@dynamic dimension, passed, score; @end @@ -1038,11 +1051,12 @@ @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityDimensionResul // @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityResult -@dynamic dimensions, passed, postScanActionsResult, rowCount, rules, - scannedData; +@dynamic columns, dimensions, passed, postScanActionsResult, rowCount, rules, + scannedData, score; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"columns" : [GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityColumnResult class], @"dimensions" : [GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityDimensionResult class], @"rules" : [GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityRuleResult class] }; @@ -1318,7 +1332,21 @@ @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityA // @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult -@dynamic dimensionPassed, passed, rowCount; +@dynamic columnScore, dimensionPassed, dimensionScore, passed, rowCount, score; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult_ColumnScore +// + +@implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult_ColumnScore + ++ (Class)classForAdditionalProperties { + return [NSNumber class]; +} + @end @@ -1336,6 +1364,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult_DimensionScore +// + +@implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult_DimensionScore + ++ (Class)classForAdditionalProperties { + return [NSNumber class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventPostScanActionsResult diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h index 9b35be9cc..f46efd4ac 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h @@ -58,6 +58,7 @@ @class GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileSpecPostScanActions; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileSpecPostScanActionsBigQueryExport; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileSpecSelectedFields; +@class GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityColumnResult; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityDimension; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityDimensionResult; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityResult; @@ -82,7 +83,9 @@ @class GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataProfileResult; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult; +@class GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult_ColumnScore; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult_DimensionPassed; +@class GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult_DimensionScore; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventPostScanActionsResult; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventPostScanActionsResultBigQueryExportResult; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataScanExecutionSpec; @@ -1149,6 +1152,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Gover * Value: "EVENT_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_EventTypeUnspecified; +/** + * Rule processing errors. + * + * Value: "GOVERNANCE_RULE_ERRORS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleErrors; +/** + * Number of resources matched with particular Query. + * + * Value: "GOVERNANCE_RULE_MATCHED_RESOURCES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleMatchedResources; +/** + * Rule processing exceeds the allowed limit. + * + * Value: "GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleSearchLimitExceeds; /** * Resource IAM policy update event. * @@ -3420,6 +3441,27 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ @end +/** + * DataQualityColumnResult provides a more detailed, per-column view of the + * results. + */ +@interface GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityColumnResult : GTLRObject + +/** Output only. The column specified in the DataQualityRule. */ +@property(nonatomic, copy, nullable) NSString *column; + +/** + * 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, + * 100 (up to two decimal points). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + /** * A dimension captures data quality intent about a defined subset of the rules * specified. @@ -3454,6 +3496,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ */ @property(nonatomic, strong, nullable) NSNumber *passed; +/** + * Output only. The dimension-level data quality score for this data scan job + * if and only if the 'dimension' field is set.The score ranges between 0, 100 + * (up to two decimal points). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + @end @@ -3462,7 +3513,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityResult : GTLRObject -/** A list of results at the dimension level. */ +/** + * 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 + * rule with the 'column' field set to it. + */ +@property(nonatomic, strong, nullable) NSArray *columns; + +/** + * A list of results at the dimension level.A dimension will have a + * corresponding DataQualityDimensionResult if and only if there is at least + * one rule with the 'dimension' field set to it. + */ @property(nonatomic, strong, nullable) NSArray *dimensions; /** @@ -3488,6 +3550,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ /** The data scanned for this result. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1ScannedData *scannedData; +/** + * Output only. The overall data quality score.The score ranges between 0, 100 + * (up to two decimal points). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + @end @@ -4308,6 +4378,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult : GTLRObject +/** + * The score of each column scanned in the data scan job. The key of the map is + * the name of the column. The value is the data quality score for the + * column.The score ranges between 0, 100 (up to two decimal points). + */ +@property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult_ColumnScore *columnScore; + /** * The result of each dimension for data quality result. The key of the map is * the name of the dimension. The value is the bool value depicting whether the @@ -4315,6 +4392,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult_DimensionPassed *dimensionPassed; +/** + * The score of each dimension for data quality result. The key of the map is + * the name of the dimension. The value is the data quality score for the + * dimension.The score ranges between 0, 100 (up to two decimal points). + */ +@property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult_DimensionScore *dimensionScore; + /** * Whether the data quality result was pass or not. * @@ -4329,6 +4413,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ */ @property(nonatomic, strong, nullable) NSNumber *rowCount; +/** + * The table-level data quality score for the data scan job.The data quality + * score ranges between 0, 100 (up to two decimal points). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + +/** + * The score of each column scanned in the data scan job. The key of the map is + * the name of the column. The value is the data quality score for the + * column.The score ranges between 0, 100 (up to two decimal points). + * + * @note This class is documented as having more properties of NSNumber (Uses + * NSNumber of floatValue.). 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 GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult_ColumnScore : GTLRObject @end @@ -4346,6 +4452,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ @end +/** + * The score of each dimension for data quality result. The key of the map is + * the name of the dimension. The value is the data quality score for the + * dimension.The score ranges between 0, 100 (up to two decimal points). + * + * @note This class is documented as having more properties of NSNumber (Uses + * NSNumber of floatValue.). 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 GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityResult_DimensionScore : GTLRObject +@end + + /** * Post scan actions result for data scan job. */ @@ -5208,6 +5328,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ * BigQuery taxonomy created. (Value: "BIGQUERY_TAXONOMY_CREATE") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_EventTypeUnspecified * An unspecified event type. (Value: "EVENT_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleErrors + * Rule processing errors. (Value: "GOVERNANCE_RULE_ERRORS") + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleMatchedResources + * Number of resources matched with particular Query. (Value: + * "GOVERNANCE_RULE_MATCHED_RESOURCES") + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleSearchLimitExceeds + * Rule processing exceeds the allowed limit. (Value: + * "GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_ResourceIamPolicyUpdate * Resource IAM policy update event. (Value: * "RESOURCE_IAM_POLICY_UPDATE") diff --git a/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployObjects.m b/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployObjects.m index acc205aa2..a5891e06f 100644 --- a/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployObjects.m +++ b/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployObjects.m @@ -27,6 +27,14 @@ NSString * const kGTLRCloudDeploy_AutomationEvent_Type_TypeRolloutUpdate = @"TYPE_ROLLOUT_UPDATE"; NSString * const kGTLRCloudDeploy_AutomationEvent_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRCloudDeploy_AutomationRun.state +NSString * const kGTLRCloudDeploy_AutomationRun_State_Cancelled = @"CANCELLED"; +NSString * const kGTLRCloudDeploy_AutomationRun_State_Failed = @"FAILED"; +NSString * const kGTLRCloudDeploy_AutomationRun_State_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRCloudDeploy_AutomationRun_State_Pending = @"PENDING"; +NSString * const kGTLRCloudDeploy_AutomationRun_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRCloudDeploy_AutomationRun_State_Succeeded = @"SUCCEEDED"; + // GTLRCloudDeploy_AutomationRunEvent.type NSString * const kGTLRCloudDeploy_AutomationRunEvent_Type_TypeProcessAborted = @"TYPE_PROCESS_ABORTED"; NSString * const kGTLRCloudDeploy_AutomationRunEvent_Type_TypePubsubNotificationFailure = @"TYPE_PUBSUB_NOTIFICATION_FAILURE"; @@ -131,6 +139,40 @@ NSString * const kGTLRCloudDeploy_ReleaseNotificationEvent_Type_TypeRolloutUpdate = @"TYPE_ROLLOUT_UPDATE"; NSString * const kGTLRCloudDeploy_ReleaseNotificationEvent_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRCloudDeploy_ReleaseRenderEvent.releaseRenderState +NSString * const kGTLRCloudDeploy_ReleaseRenderEvent_ReleaseRenderState_Failed = @"FAILED"; +NSString * const kGTLRCloudDeploy_ReleaseRenderEvent_ReleaseRenderState_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRCloudDeploy_ReleaseRenderEvent_ReleaseRenderState_RenderStateUnspecified = @"RENDER_STATE_UNSPECIFIED"; +NSString * const kGTLRCloudDeploy_ReleaseRenderEvent_ReleaseRenderState_Succeeded = @"SUCCEEDED"; + +// GTLRCloudDeploy_Retry.backoffMode +NSString * const kGTLRCloudDeploy_Retry_BackoffMode_BackoffModeExponential = @"BACKOFF_MODE_EXPONENTIAL"; +NSString * const kGTLRCloudDeploy_Retry_BackoffMode_BackoffModeLinear = @"BACKOFF_MODE_LINEAR"; +NSString * const kGTLRCloudDeploy_Retry_BackoffMode_BackoffModeUnspecified = @"BACKOFF_MODE_UNSPECIFIED"; + +// GTLRCloudDeploy_RetryAttempt.state +NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStateCancelled = @"REPAIR_STATE_CANCELLED"; +NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStateFailed = @"REPAIR_STATE_FAILED"; +NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStateInProgress = @"REPAIR_STATE_IN_PROGRESS"; +NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStatePending = @"REPAIR_STATE_PENDING"; +NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStateSkipped = @"REPAIR_STATE_SKIPPED"; +NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStateSucceeded = @"REPAIR_STATE_SUCCEEDED"; +NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStateUnspecified = @"REPAIR_STATE_UNSPECIFIED"; + +// GTLRCloudDeploy_RetryPhase.backoffMode +NSString * const kGTLRCloudDeploy_RetryPhase_BackoffMode_BackoffModeExponential = @"BACKOFF_MODE_EXPONENTIAL"; +NSString * const kGTLRCloudDeploy_RetryPhase_BackoffMode_BackoffModeLinear = @"BACKOFF_MODE_LINEAR"; +NSString * const kGTLRCloudDeploy_RetryPhase_BackoffMode_BackoffModeUnspecified = @"BACKOFF_MODE_UNSPECIFIED"; + +// GTLRCloudDeploy_RollbackAttempt.state +NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStateCancelled = @"REPAIR_STATE_CANCELLED"; +NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStateFailed = @"REPAIR_STATE_FAILED"; +NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStateInProgress = @"REPAIR_STATE_IN_PROGRESS"; +NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStatePending = @"REPAIR_STATE_PENDING"; +NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStateSkipped = @"REPAIR_STATE_SKIPPED"; +NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStateSucceeded = @"REPAIR_STATE_SUCCEEDED"; +NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStateUnspecified = @"REPAIR_STATE_UNSPECIFIED"; + // GTLRCloudDeploy_Rollout.approvalState NSString * const kGTLRCloudDeploy_Rollout_ApprovalState_ApprovalStateUnspecified = @"APPROVAL_STATE_UNSPECIFIED"; NSString * const kGTLRCloudDeploy_Rollout_ApprovalState_Approved = @"APPROVED"; @@ -171,6 +213,32 @@ NSString * const kGTLRCloudDeploy_RolloutNotificationEvent_Type_TypeRolloutUpdate = @"TYPE_ROLLOUT_UPDATE"; NSString * const kGTLRCloudDeploy_RolloutNotificationEvent_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRCloudDeploy_RolloutUpdateEvent.rolloutUpdateType +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Advanced = @"ADVANCED"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_AdvanceRequired = @"ADVANCE_REQUIRED"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_ApprovalRequired = @"APPROVAL_REQUIRED"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Approved = @"APPROVED"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Cancelled = @"CANCELLED"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Cancelling = @"CANCELLING"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Failed = @"FAILED"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Halted = @"HALTED"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Pending = @"PENDING"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_PendingRelease = @"PENDING_RELEASE"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Rejected = @"REJECTED"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_RolloutUpdateTypeUnspecified = @"ROLLOUT_UPDATE_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Succeeded = @"SUCCEEDED"; + +// GTLRCloudDeploy_RolloutUpdateEvent.type +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeProcessAborted = @"TYPE_PROCESS_ABORTED"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypePubsubNotificationFailure = @"TYPE_PUBSUB_NOTIFICATION_FAILURE"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeRenderStatuesChange = @"TYPE_RENDER_STATUES_CHANGE"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeResourceDeleted = @"TYPE_RESOURCE_DELETED"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeResourceStateChange = @"TYPE_RESOURCE_STATE_CHANGE"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeRestrictionViolated = @"TYPE_RESTRICTION_VIOLATED"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeRolloutUpdate = @"TYPE_ROLLOUT_UPDATE"; +NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + // GTLRCloudDeploy_SkaffoldSupportedCondition.skaffoldSupportState NSString * const kGTLRCloudDeploy_SkaffoldSupportedCondition_SkaffoldSupportState_SkaffoldSupportStateMaintenanceMode = @"SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE"; NSString * const kGTLRCloudDeploy_SkaffoldSupportedCondition_SkaffoldSupportState_SkaffoldSupportStateSupported = @"SKAFFOLD_SUPPORT_STATE_SUPPORTED"; @@ -191,6 +259,7 @@ NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_CloudBuildRequestFailed = @"CLOUD_BUILD_REQUEST_FAILED"; NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_CloudBuildUnavailable = @"CLOUD_BUILD_UNAVAILABLE"; NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_CustomActionNotFound = @"CUSTOM_ACTION_NOT_FOUND"; +NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_DeploymentStrategyNotSupported = @"DEPLOYMENT_STRATEGY_NOT_SUPPORTED"; NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_ExecutionFailed = @"EXECUTION_FAILED"; NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_FailureCauseUnspecified = @"FAILURE_CAUSE_UNSPECIFIED"; NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_VerificationConfigNotFound = @"VERIFICATION_CONFIG_NOT_FOUND"; @@ -246,6 +315,16 @@ @implementation GTLRCloudDeploy_AdvanceChildRolloutJobRun @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_AdvanceRolloutOperation +// + +@implementation GTLRCloudDeploy_AdvanceRolloutOperation +@dynamic destinationPhase, rollout, sourcePhase, wait; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_AdvanceRolloutRequest @@ -265,6 +344,28 @@ @implementation GTLRCloudDeploy_AdvanceRolloutResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_AdvanceRolloutRule +// + +@implementation GTLRCloudDeploy_AdvanceRolloutRule +@dynamic condition, identifier, sourcePhases, wait; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sourcePhases" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_AnthosCluster @@ -330,6 +431,61 @@ @implementation GTLRCloudDeploy_AuditLogConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_Automation +// + +@implementation GTLRCloudDeploy_Automation +@dynamic annotations, createTime, descriptionProperty, ETag, labels, name, + rules, selector, serviceAccount, suspended, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"ETag" : @"etag" + }; + return map; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rules" : [GTLRCloudDeploy_AutomationRule class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_Automation_Annotations +// + +@implementation GTLRCloudDeploy_Automation_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_Automation_Labels +// + +@implementation GTLRCloudDeploy_Automation_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_AutomationEvent @@ -340,6 +496,81 @@ @implementation GTLRCloudDeploy_AutomationEvent @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_AutomationResourceSelector +// + +@implementation GTLRCloudDeploy_AutomationResourceSelector +@dynamic targets; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"targets" : [GTLRCloudDeploy_TargetAttribute class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_AutomationRolloutMetadata +// + +@implementation GTLRCloudDeploy_AutomationRolloutMetadata +@dynamic advanceAutomationRuns, promoteAutomationRun, repairAutomationRuns; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"advanceAutomationRuns" : [NSString class], + @"repairAutomationRuns" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_AutomationRule +// + +@implementation GTLRCloudDeploy_AutomationRule +@dynamic advanceRolloutRule, promoteReleaseRule, repairRolloutRule; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_AutomationRuleCondition +// + +@implementation GTLRCloudDeploy_AutomationRuleCondition +@dynamic targetsPresentCondition; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_AutomationRun +// + +@implementation GTLRCloudDeploy_AutomationRun +@dynamic advanceRolloutOperation, automationId, automationSnapshot, createTime, + ETag, expireTime, name, promoteReleaseOperation, + repairRolloutOperation, ruleId, serviceAccount, state, + stateDescription, targetId, updateTime, waitUntilTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_AutomationRunEvent @@ -407,6 +638,24 @@ @implementation GTLRCloudDeploy_CanaryDeployment @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_CancelAutomationRunRequest +// + +@implementation GTLRCloudDeploy_CancelAutomationRunRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_CancelAutomationRunResponse +// + +@implementation GTLRCloudDeploy_CancelAutomationRunResponse +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_CancelOperationRequest @@ -864,6 +1113,52 @@ @implementation GTLRCloudDeploy_KubernetesConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_ListAutomationRunsResponse +// + +@implementation GTLRCloudDeploy_ListAutomationRunsResponse +@dynamic automationRuns, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"automationRuns" : [GTLRCloudDeploy_AutomationRun class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"automationRuns"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_ListAutomationsResponse +// + +@implementation GTLRCloudDeploy_ListAutomationsResponse +@dynamic automations, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"automations" : [GTLRCloudDeploy_Automation class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"automations"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_ListDeliveryPipelinesResponse @@ -1067,7 +1362,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudDeploy_Metadata -@dynamic cloudRun; +@dynamic automation, cloudRun; @end @@ -1326,6 +1621,31 @@ @implementation GTLRCloudDeploy_PrivatePool @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_PromoteReleaseOperation +// + +@implementation GTLRCloudDeploy_PromoteReleaseOperation +@dynamic phase, rollout, targetId, wait; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_PromoteReleaseRule +// + +@implementation GTLRCloudDeploy_PromoteReleaseRule +@dynamic condition, destinationPhase, destinationTargetId, identifier, wait; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_Release @@ -1468,7 +1788,7 @@ @implementation GTLRCloudDeploy_ReleaseReadyCondition // @implementation GTLRCloudDeploy_ReleaseRenderEvent -@dynamic message, releaseProperty; +@dynamic message, releaseProperty, releaseRenderState; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"releaseProperty" : @"release" }; @@ -1487,6 +1807,88 @@ @implementation GTLRCloudDeploy_RenderMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_RepairMode +// + +@implementation GTLRCloudDeploy_RepairMode +@dynamic retry, rollback; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_RepairPhase +// + +@implementation GTLRCloudDeploy_RepairPhase +@dynamic retry, rollback; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_RepairRolloutOperation +// + +@implementation GTLRCloudDeploy_RepairRolloutOperation +@dynamic currentRepairModeIndex, repairPhases, rollout; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"repairPhases" : [GTLRCloudDeploy_RepairPhase class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_RepairRolloutRule +// + +@implementation GTLRCloudDeploy_RepairRolloutRule +@dynamic condition, identifier, jobs, repairModes, sourcePhases; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"jobs" : [NSString class], + @"repairModes" : [GTLRCloudDeploy_RepairMode class], + @"sourcePhases" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_Retry +// + +@implementation GTLRCloudDeploy_Retry +@dynamic attempts, backoffMode, wait; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_RetryAttempt +// + +@implementation GTLRCloudDeploy_RetryAttempt +@dynamic attempt, state, stateDesc, wait; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_RetryJobRequest @@ -1506,6 +1908,44 @@ @implementation GTLRCloudDeploy_RetryJobResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_RetryPhase +// + +@implementation GTLRCloudDeploy_RetryPhase +@dynamic attempts, backoffMode, jobId, phaseId, totalAttempts; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"attempts" : [GTLRCloudDeploy_RetryAttempt class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_Rollback +// + +@implementation GTLRCloudDeploy_Rollback +@dynamic destinationPhase; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_RollbackAttempt +// + +@implementation GTLRCloudDeploy_RollbackAttempt +@dynamic destinationPhase, rolloutId, state, stateDesc; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_RollbackTargetConfig @@ -1606,6 +2046,17 @@ @implementation GTLRCloudDeploy_RolloutNotificationEvent @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_RolloutUpdateEvent +// + +@implementation GTLRCloudDeploy_RolloutUpdateEvent +@dynamic message, pipelineUid, releaseUid, rollout, rolloutUpdateType, targetId, + type; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_RuntimeConfig @@ -1840,6 +2291,35 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_TargetAttribute +// + +@implementation GTLRCloudDeploy_TargetAttribute +@dynamic identifier, labels; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_TargetAttribute_Labels +// + +@implementation GTLRCloudDeploy_TargetAttribute_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_TargetNotificationEvent diff --git a/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployQuery.m b/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployQuery.m index b4b1c2966..6f9168fe3 100644 --- a/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployQuery.m +++ b/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployQuery.m @@ -14,6 +14,186 @@ @implementation GTLRCloudDeployQuery @end +@implementation GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudDeploy_CancelAutomationRunRequest *)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"; + GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudDeploy_CancelAutomationRunResponse class]; + query.loggingName = @"clouddeploy.projects.locations.deliveryPipelines.automationRuns.cancel"; + return query; +} + +@end + +@implementation GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudDeploy_AutomationRun class]; + query.loggingName = @"clouddeploy.projects.locations.deliveryPipelines.automationRuns.get"; + return query; +} + +@end + +@implementation GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/automationRuns"; + GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudDeploy_ListAutomationRunsResponse class]; + query.loggingName = @"clouddeploy.projects.locations.deliveryPipelines.automationRuns.list"; + return query; +} + +@end + +@implementation GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsCreate + +@dynamic automationId, parent, requestId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRCloudDeploy_Automation *)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}/automations"; + GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudDeploy_Operation class]; + query.loggingName = @"clouddeploy.projects.locations.deliveryPipelines.automations.create"; + return query; +} + +@end + +@implementation GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsDelete + +@dynamic allowMissing, ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudDeploy_Operation class]; + query.loggingName = @"clouddeploy.projects.locations.deliveryPipelines.automations.delete"; + return query; +} + +@end + +@implementation GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudDeploy_Automation class]; + query.loggingName = @"clouddeploy.projects.locations.deliveryPipelines.automations.get"; + return query; +} + +@end + +@implementation GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/automations"; + GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudDeploy_ListAutomationsResponse class]; + query.loggingName = @"clouddeploy.projects.locations.deliveryPipelines.automations.list"; + return query; +} + +@end + +@implementation GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsPatch + +@dynamic allowMissing, name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRCloudDeploy_Automation *)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}"; + GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudDeploy_Operation class]; + query.loggingName = @"clouddeploy.projects.locations.deliveryPipelines.automations.patch"; + return query; +} + +@end + @implementation GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesCreate @dynamic deliveryPipelineId, parent, requestId, validateOnly; diff --git a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h index a37216fb3..f457d0f7a 100644 --- a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h +++ b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h @@ -14,9 +14,19 @@ @class GTLRCloudDeploy_AdvanceChildRolloutJob; @class GTLRCloudDeploy_AdvanceChildRolloutJobRun; +@class GTLRCloudDeploy_AdvanceRolloutOperation; +@class GTLRCloudDeploy_AdvanceRolloutRule; @class GTLRCloudDeploy_AnthosCluster; @class GTLRCloudDeploy_AuditConfig; @class GTLRCloudDeploy_AuditLogConfig; +@class GTLRCloudDeploy_Automation; +@class GTLRCloudDeploy_Automation_Annotations; +@class GTLRCloudDeploy_Automation_Labels; +@class GTLRCloudDeploy_AutomationResourceSelector; +@class GTLRCloudDeploy_AutomationRolloutMetadata; +@class GTLRCloudDeploy_AutomationRule; +@class GTLRCloudDeploy_AutomationRuleCondition; +@class GTLRCloudDeploy_AutomationRun; @class GTLRCloudDeploy_Binding; @class GTLRCloudDeploy_BuildArtifact; @class GTLRCloudDeploy_Canary; @@ -70,6 +80,8 @@ @class GTLRCloudDeploy_PredeployJob; @class GTLRCloudDeploy_PredeployJobRun; @class GTLRCloudDeploy_PrivatePool; +@class GTLRCloudDeploy_PromoteReleaseOperation; +@class GTLRCloudDeploy_PromoteReleaseRule; @class GTLRCloudDeploy_Release; @class GTLRCloudDeploy_Release_Annotations; @class GTLRCloudDeploy_Release_DeployParameters; @@ -79,6 +91,15 @@ @class GTLRCloudDeploy_ReleaseCondition; @class GTLRCloudDeploy_ReleaseReadyCondition; @class GTLRCloudDeploy_RenderMetadata; +@class GTLRCloudDeploy_RepairMode; +@class GTLRCloudDeploy_RepairPhase; +@class GTLRCloudDeploy_RepairRolloutOperation; +@class GTLRCloudDeploy_RepairRolloutRule; +@class GTLRCloudDeploy_Retry; +@class GTLRCloudDeploy_RetryAttempt; +@class GTLRCloudDeploy_RetryPhase; +@class GTLRCloudDeploy_Rollback; +@class GTLRCloudDeploy_RollbackAttempt; @class GTLRCloudDeploy_RollbackTargetConfig; @class GTLRCloudDeploy_Rollout; @class GTLRCloudDeploy_Rollout_Annotations; @@ -99,6 +120,8 @@ @class GTLRCloudDeploy_Target_Labels; @class GTLRCloudDeploy_TargetArtifact; @class GTLRCloudDeploy_TargetArtifact_PhaseArtifacts; +@class GTLRCloudDeploy_TargetAttribute; +@class GTLRCloudDeploy_TargetAttribute_Labels; @class GTLRCloudDeploy_TargetRender; @class GTLRCloudDeploy_TargetsPresentCondition; @class GTLRCloudDeploy_TargetsTypeCondition; @@ -195,6 +218,46 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_AutomationEvent_Type_TypeRol */ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_AutomationEvent_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudDeploy_AutomationRun.state + +/** + * The `AutomationRun` was cancelled. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_AutomationRun_State_Cancelled; +/** + * The `AutomationRun` has failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_AutomationRun_State_Failed; +/** + * The `AutomationRun` is in progress. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_AutomationRun_State_InProgress; +/** + * The `AutomationRun` is pending. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_AutomationRun_State_Pending; +/** + * The `AutomationRun` has an unspecified state. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_AutomationRun_State_StateUnspecified; +/** + * The `AutomationRun` has succeeded. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_AutomationRun_State_Succeeded; + // ---------------------------------------------------------------------------- // GTLRCloudDeploy_AutomationRunEvent.type @@ -735,6 +798,170 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_ReleaseNotificationEvent_Typ */ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_ReleaseNotificationEvent_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudDeploy_ReleaseRenderEvent.releaseRenderState + +/** + * All rendering operations have completed, and one or more have failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_ReleaseRenderEvent_ReleaseRenderState_Failed; +/** + * Rendering has started and is not complete. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_ReleaseRenderEvent_ReleaseRenderState_InProgress; +/** + * The render state is unspecified. + * + * Value: "RENDER_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_ReleaseRenderEvent_ReleaseRenderState_RenderStateUnspecified; +/** + * All rendering operations have completed successfully. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_ReleaseRenderEvent_ReleaseRenderState_Succeeded; + +// ---------------------------------------------------------------------------- +// GTLRCloudDeploy_Retry.backoffMode + +/** + * Increases the wait time exponentially. + * + * Value: "BACKOFF_MODE_EXPONENTIAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_Retry_BackoffMode_BackoffModeExponential; +/** + * Increases the wait time linearly. + * + * Value: "BACKOFF_MODE_LINEAR" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_Retry_BackoffMode_BackoffModeLinear; +/** + * No WaitMode is specified. + * + * Value: "BACKOFF_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_Retry_BackoffMode_BackoffModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudDeploy_RetryAttempt.state + +/** + * The `repair` action was cancelled. + * + * Value: "REPAIR_STATE_CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStateCancelled; +/** + * The `repair` action has failed. + * + * Value: "REPAIR_STATE_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStateFailed; +/** + * The `repair` action is in progress. + * + * Value: "REPAIR_STATE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStateInProgress; +/** + * The `repair` action is pending. + * + * Value: "REPAIR_STATE_PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStatePending; +/** + * The `repair` action was skipped. + * + * Value: "REPAIR_STATE_SKIPPED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStateSkipped; +/** + * The `repair` action has succeeded. + * + * Value: "REPAIR_STATE_SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStateSucceeded; +/** + * The `repair` has an unspecified state. + * + * Value: "REPAIR_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RetryAttempt_State_RepairStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudDeploy_RetryPhase.backoffMode + +/** + * Increases the wait time exponentially. + * + * Value: "BACKOFF_MODE_EXPONENTIAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RetryPhase_BackoffMode_BackoffModeExponential; +/** + * Increases the wait time linearly. + * + * Value: "BACKOFF_MODE_LINEAR" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RetryPhase_BackoffMode_BackoffModeLinear; +/** + * No WaitMode is specified. + * + * Value: "BACKOFF_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RetryPhase_BackoffMode_BackoffModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudDeploy_RollbackAttempt.state + +/** + * The `repair` action was cancelled. + * + * Value: "REPAIR_STATE_CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStateCancelled; +/** + * The `repair` action has failed. + * + * Value: "REPAIR_STATE_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStateFailed; +/** + * The `repair` action is in progress. + * + * Value: "REPAIR_STATE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStateInProgress; +/** + * The `repair` action is pending. + * + * Value: "REPAIR_STATE_PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStatePending; +/** + * The `repair` action was skipped. + * + * Value: "REPAIR_STATE_SKIPPED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStateSkipped; +/** + * The `repair` action has succeeded. + * + * Value: "REPAIR_STATE_SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStateSucceeded; +/** + * The `repair` has an unspecified state. + * + * Value: "REPAIR_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RollbackAttempt_State_RepairStateUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudDeploy_Rollout.approvalState @@ -947,6 +1174,146 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutNotificationEvent_Typ */ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutNotificationEvent_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudDeploy_RolloutUpdateEvent.rolloutUpdateType + +/** + * Rollout has been advanced. + * + * Value: "ADVANCED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Advanced; +/** + * Rollout requires advance to the next phase. + * + * Value: "ADVANCE_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_AdvanceRequired; +/** + * Rollout requires approval. + * + * Value: "APPROVAL_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_ApprovalRequired; +/** + * Rollout has been approved. + * + * Value: "APPROVED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Approved; +/** + * Rollout state updated to cancelled. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Cancelled; +/** + * Rollout state updated to cancelling. + * + * Value: "CANCELLING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Cancelling; +/** + * Rollout state updated to failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Failed; +/** + * Rollout state updated to halted. + * + * Value: "HALTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Halted; +/** + * Rollout state updated to in progress. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_InProgress; +/** + * rollout state updated to pending. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Pending; +/** + * Rollout state updated to pending release. + * + * Value: "PENDING_RELEASE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_PendingRelease; +/** + * Rollout has been rejected. + * + * Value: "REJECTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Rejected; +/** + * Rollout update type unspecified. + * + * Value: "ROLLOUT_UPDATE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_RolloutUpdateTypeUnspecified; +/** + * Rollout state updated to succeeded. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Succeeded; + +// ---------------------------------------------------------------------------- +// GTLRCloudDeploy_RolloutUpdateEvent.type + +/** + * A process aborted. + * + * Value: "TYPE_PROCESS_ABORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeProcessAborted; +/** + * A Pub/Sub notification failed to be sent. + * + * Value: "TYPE_PUBSUB_NOTIFICATION_FAILURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypePubsubNotificationFailure; +/** + * Deprecated: This field is never used. Use release_render log type instead. + * + * Value: "TYPE_RENDER_STATUES_CHANGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeRenderStatuesChange GTLR_DEPRECATED; +/** + * Resource deleted. + * + * Value: "TYPE_RESOURCE_DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeResourceDeleted; +/** + * Resource state changed. + * + * Value: "TYPE_RESOURCE_STATE_CHANGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeResourceStateChange; +/** + * Restriction check failed. + * + * Value: "TYPE_RESTRICTION_VIOLATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeRestrictionViolated; +/** + * Rollout updated. + * + * Value: "TYPE_ROLLOUT_UPDATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeRolloutUpdate; +/** + * Type is unspecified. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudDeploy_SkaffoldSupportedCondition.skaffoldSupportState @@ -1053,6 +1420,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_Cl * Value: "CUSTOM_ACTION_NOT_FOUND" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_CustomActionNotFound; +/** + * Release failed during rendering because the release configuration is not + * supported with the specified deployment strategy. + * + * Value: "DEPLOYMENT_STRATEGY_NOT_SUPPORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_DeploymentStrategyNotSupported; /** * The render operation did not complete successfully; check Cloud Build logs. * @@ -1172,9 +1546,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @interface GTLRCloudDeploy_AdvanceChildRolloutJobRun : GTLRObject /** - * Output only. Name of the `ChildRollout`. Format is projects/{project}/ - * locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/a-z{0,62}. + * Output only. Name of the `ChildRollout`. Format is + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}`. */ @property(nonatomic, copy, nullable) NSString *rollout; @@ -1184,6 +1557,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * Contains the information of an automated advance-rollout operation. + */ +@interface GTLRCloudDeploy_AdvanceRolloutOperation : GTLRObject + +/** Output only. The phase to which the rollout will be advanced to. */ +@property(nonatomic, copy, nullable) NSString *destinationPhase; + +/** + * Output only. The name of the rollout that initiates the `AutomationRun`. + */ +@property(nonatomic, copy, nullable) NSString *rollout; + +/** Output only. The phase of a deployment that initiated the operation. */ +@property(nonatomic, copy, nullable) NSString *sourcePhase; + +/** Output only. How long the operation will be paused. */ +@property(nonatomic, strong, nullable) GTLRDuration *wait; + +@end + + /** * The request object used by `AdvanceRollout`. */ @@ -1202,6 +1597,38 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * The `AdvanceRollout` automation rule will automatically advance a successful + * Rollout to the next phase. + */ +@interface GTLRCloudDeploy_AdvanceRolloutRule : GTLRObject + +/** Output only. Information around the state of the Automation rule. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_AutomationRuleCondition *condition; + +/** + * Required. ID of the rule. This id must be unique in the `Automation` + * resource to which this rule belongs. The format is `a-z{0,62}`. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Optional. Proceeds only after phase name matched any one in the list. This + * value must consist of lower-case letters, numbers, and hyphens, start with a + * letter and end with a letter or a number, and have a max length of 63 + * characters. In other words, it must match the following regex: + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + */ +@property(nonatomic, strong, nullable) NSArray *sourcePhases; + +/** Optional. How long to wait after a rollout is finished. */ +@property(nonatomic, strong, nullable) GTLRDuration *wait; + +@end + + /** * Information specifying an Anthos Cluster. */ @@ -1305,6 +1732,141 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * An `Automation` resource in the Cloud Deploy API. An `Automation` enables + * the automation of manually driven actions for a Delivery Pipeline, which + * includes Release promotion amongst Targets, Rollout repair and Rollout + * deployment strategy advancement. The intention of Automation is to reduce + * manual intervention in the continuous delivery process. + */ +@interface GTLRCloudDeploy_Automation : GTLRObject + +/** + * Optional. User annotations. These attributes can only be set and used by the + * user, and not by Cloud Deploy. Annotations must meet the following + * constraints: * Annotations are key/value pairs. * Valid annotation keys have + * two segments: an optional prefix and name, separated by a slash (`/`). * The + * name segment is required and must be 63 characters or less, beginning and + * ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), + * underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is + * optional. If specified, the prefix must be a DNS subdomain: a series of DNS + * labels separated by dots(`.`), not longer than 253 characters in total, + * followed by a slash (`/`). See + * https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set + * for more details. + */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_Automation_Annotations *annotations; + +/** Output only. Time at which the automation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Description of the `Automation`. Max length is 255 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. The weak etag of the `Automation` resource. This checksum is + * computed by the server based on the value of other fields, and may be sent + * on update and delete requests to ensure the client has an up-to-date value + * before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. Labels are attributes that can be set and used by both the user + * and by Cloud Deploy. Labels must meet the following constraints: * Keys and + * values can contain only lowercase letters, numeric characters, underscores, + * and dashes. * All characters must use UTF-8 encoding, and international + * characters are allowed. * Keys must start with a lowercase letter or + * international character. * Each resource is limited to a maximum of 64 + * labels. Both keys and values are additionally constrained to be <= 63 + * characters. + */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_Automation_Labels *labels; + +/** + * Output only. Name of the `Automation`. Format is + * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. List of Automation rules associated with the Automation resource. + * Must have at least one rule and limited to 250 rules per Delivery Pipeline. + * Note: the order of the rules here is not the same as the order of execution. + */ +@property(nonatomic, strong, nullable) NSArray *rules; + +/** Required. Selected resources to which the automation will be applied. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_AutomationResourceSelector *selector; + +/** + * Required. Email address of the user-managed IAM service account that creates + * Cloud Deploy release and rollout resources. + */ +@property(nonatomic, copy, nullable) NSString *serviceAccount; + +/** + * Optional. When Suspended, automation is deactivated from execution. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *suspended; + +/** Output only. Unique identifier of the `Automation`. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Time at which the automation was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. User annotations. These attributes can only be set and used by the + * user, and not by Cloud Deploy. Annotations must meet the following + * constraints: * Annotations are key/value pairs. * Valid annotation keys have + * two segments: an optional prefix and name, separated by a slash (`/`). * The + * name segment is required and must be 63 characters or less, beginning and + * ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), + * underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is + * optional. If specified, the prefix must be a DNS subdomain: a series of DNS + * labels separated by dots(`.`), not longer than 253 characters in total, + * followed by a slash (`/`). See + * https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set + * for more details. + * + * @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 GTLRCloudDeploy_Automation_Annotations : GTLRObject +@end + + +/** + * Optional. Labels are attributes that can be set and used by both the user + * and by Cloud Deploy. Labels must meet the following constraints: * Keys and + * values can contain only lowercase letters, numeric characters, underscores, + * and dashes. * All characters must use UTF-8 encoding, and international + * characters are allowed. * Keys must start with a lowercase letter or + * international character. * Each resource is limited to a maximum of 64 + * labels. Both keys and values are additionally constrained to be <= 63 + * characters. + * + * @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 GTLRCloudDeploy_Automation_Labels : GTLRObject +@end + + /** * Payload proto for "clouddeploy.googleapis.com/automation" Platform Log event * that describes the Automation related events. @@ -1351,6 +1913,185 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * AutomationResourceSelector contains the information to select the resources + * to which an Automation is going to be applied. + */ +@interface GTLRCloudDeploy_AutomationResourceSelector : GTLRObject + +/** Contains attributes about a target. */ +@property(nonatomic, strong, nullable) NSArray *targets; + +@end + + +/** + * AutomationRolloutMetadata contains Automation-related actions that were + * performed on a rollout. + */ +@interface GTLRCloudDeploy_AutomationRolloutMetadata : GTLRObject + +/** + * Output only. The IDs of the AutomationRuns initiated by an advance rollout + * rule. + */ +@property(nonatomic, strong, nullable) NSArray *advanceAutomationRuns; + +/** + * Output only. The ID of the AutomationRun initiated by a promote release + * rule. + */ +@property(nonatomic, copy, nullable) NSString *promoteAutomationRun; + +/** + * Output only. The IDs of the AutomationRuns initiated by a repair rollout + * rule. + */ +@property(nonatomic, strong, nullable) NSArray *repairAutomationRuns; + +@end + + +/** + * `AutomationRule` defines the automation activities. + */ +@interface GTLRCloudDeploy_AutomationRule : GTLRObject + +/** + * Optional. The `AdvanceRolloutRule` will automatically advance a successful + * Rollout. + */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_AdvanceRolloutRule *advanceRolloutRule; + +/** + * Optional. `PromoteReleaseRule` will automatically promote a release from the + * current target to a specified target. + */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_PromoteReleaseRule *promoteReleaseRule; + +/** + * Optional. The `RepairRolloutRule` will automatically repair a failed + * rollout. + */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_RepairRolloutRule *repairRolloutRule; + +@end + + +/** + * `AutomationRuleCondition` contains conditions relevant to an `Automation` + * rule. + */ +@interface GTLRCloudDeploy_AutomationRuleCondition : GTLRObject + +/** Optional. Details around targets enumerated in the rule. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_TargetsPresentCondition *targetsPresentCondition; + +@end + + +/** + * An `AutomationRun` resource in the Cloud Deploy API. An `AutomationRun` + * represents an automation execution instance of an automation rule. + */ +@interface GTLRCloudDeploy_AutomationRun : GTLRObject + +/** Output only. Advances a rollout to the next phase. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_AdvanceRolloutOperation *advanceRolloutOperation; + +/** Output only. The ID of the automation that initiated the operation. */ +@property(nonatomic, copy, nullable) NSString *automationId; + +/** + * Output only. Snapshot of the Automation taken at AutomationRun creation + * time. + */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_Automation *automationSnapshot; + +/** Output only. Time at which the `AutomationRun` was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. The weak etag of the `AutomationRun` resource. 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; + +/** + * Output only. Time the `AutomationRun` will expire. An `AutomationRun` will + * expire after 14 days from its creation date. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *expireTime; + +/** + * Output only. Name of the `AutomationRun`. Format is + * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Promotes a release to a specified 'Target'. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_PromoteReleaseOperation *promoteReleaseOperation; + +/** Output only. Repairs a failed 'Rollout'. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_RepairRolloutOperation *repairRolloutOperation; + +/** + * Output only. The ID of the automation rule that initiated the operation. + */ +@property(nonatomic, copy, nullable) NSString *ruleId; + +/** + * Output only. Email address of the user-managed IAM service account that + * performs the operations against Cloud Deploy resources. + */ +@property(nonatomic, copy, nullable) NSString *serviceAccount; + +/** + * Output only. Current state of the `AutomationRun`. + * + * Likely values: + * @arg @c kGTLRCloudDeploy_AutomationRun_State_Cancelled The `AutomationRun` + * was cancelled. (Value: "CANCELLED") + * @arg @c kGTLRCloudDeploy_AutomationRun_State_Failed The `AutomationRun` + * has failed. (Value: "FAILED") + * @arg @c kGTLRCloudDeploy_AutomationRun_State_InProgress The + * `AutomationRun` is in progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRCloudDeploy_AutomationRun_State_Pending The `AutomationRun` + * is pending. (Value: "PENDING") + * @arg @c kGTLRCloudDeploy_AutomationRun_State_StateUnspecified The + * `AutomationRun` has an unspecified state. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRCloudDeploy_AutomationRun_State_Succeeded The `AutomationRun` + * has succeeded. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. Explains the current state of the `AutomationRun`. Present only + * an explanation is needed. + */ +@property(nonatomic, copy, nullable) NSString *stateDescription; + +/** + * Output only. The ID of the target that represents the promotion stage that + * initiates the `AutomationRun`. The value of this field is the last segment + * of a target name. + */ +@property(nonatomic, copy, nullable) NSString *targetId; + +/** Output only. Time at which the automationRun was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Output only. Earliest time the `AutomationRun` will attempt to resume. + * Wait-time is configured by `wait` in automation rule. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *waitUntilTime; + +@end + + /** * Payload proto for "clouddeploy.googleapis.com/automation_run" Platform Log * event that describes the AutomationRun related events. @@ -1548,6 +2289,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * The request object used by `CancelAutomationRun`. + */ +@interface GTLRCloudDeploy_CancelAutomationRunRequest : GTLRObject +@end + + +/** + * The response object from `CancelAutomationRun`. + */ +@interface GTLRCloudDeploy_CancelAutomationRunResponse : GTLRObject +@end + + /** * The request message for Operations.CancelOperation. */ @@ -1622,7 +2377,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * Output only. The name of the Cloud Run job that is associated with a * `Rollout`. Format is - * projects/{project}/locations/{location}/jobs/{job_name}. + * `projects/{project}/locations/{location}/jobs/{job_name}`. */ @property(nonatomic, copy, nullable) NSString *job; @@ -1632,7 +2387,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * Output only. The name of the Cloud Run Service that is associated with a * `Rollout`. Format is - * projects/{project}/locations/{location}/services/{service}. + * `projects/{project}/locations/{location}/services/{service}`. */ @property(nonatomic, copy, nullable) NSString *service; @@ -1653,7 +2408,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * Output only. The name of the Cloud Run Service in the rendered manifest. - * Format is projects/{project}/locations/{location}/services/{service}. + * Format is `projects/{project}/locations/{location}/services/{service}`. */ @property(nonatomic, copy, nullable) NSString *service; @@ -1694,9 +2449,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @interface GTLRCloudDeploy_CreateChildRolloutJobRun : GTLRObject /** - * Output only. Name of the `ChildRollout`. Format is projects/{project}/ - * locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/a-z{0,62}. + * Output only. Name of the `ChildRollout`. Format is + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}`. */ @property(nonatomic, copy, nullable) NSString *rollout; @@ -1828,8 +2582,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @property(nonatomic, strong, nullable) GTLRCloudDeploy_DeliveryPipeline_Labels *labels; /** - * Optional. Name of the `DeliveryPipeline`. Format is projects/{project}/ - * locations/{location}/deliveryPipelines/a-z{0,62}. + * Optional. Name of the `DeliveryPipeline`. Format is + * `projects/{project}/locations/{location}/deliveryPipelines/a-z{0,62}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1965,7 +2719,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * Output only. The resource name of the Cloud Build `Build` object that is * used to deploy. Format is - * projects/{project}/locations/{location}/builds/{build}. + * `projects/{project}/locations/{location}/builds/{build}`. */ @property(nonatomic, copy, nullable) NSString *build; @@ -2230,7 +2984,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * Information specifying a GKE Cluster. Format is - * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}. + * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`. */ @property(nonatomic, copy, nullable) NSString *cluster; @@ -2373,9 +3127,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * Optional. Name of the `JobRun`. Format is - * projects/{project}/locations/{location}/ - * deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/ - * {rollouts}/jobRuns/{uuid}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2486,6 +3238,66 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * The response object from `ListAutomationRuns`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "automationRuns" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRCloudDeploy_ListAutomationRunsResponse : GTLRCollectionObject + +/** + * The `AutomationRuns` objects. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *automationRuns; + +/** + * 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; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * The response object from `ListAutomations`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "automations" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRCloudDeploy_ListAutomationsResponse : GTLRCollectionObject + +/** + * The `Automations` objects. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *automations; + +/** + * 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; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * The response object from `ListDeliveryPipelines`. * @@ -2750,6 +3562,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve */ @interface GTLRCloudDeploy_Metadata : GTLRObject +/** + * Output only. AutomationRolloutMetadata contains the information about the + * interactions between Automation service and this rollout. + */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_AutomationRolloutMetadata *automation; + /** * Output only. The name of the Cloud Run Service that is associated with a * `Rollout`. @@ -3177,7 +3995,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * Output only. The resource name of the Cloud Build `Build` object that is * used to execute the custom actions associated with the postdeploy Job. - * Format is projects/{project}/locations/{location}/builds/{build}. + * Format is `projects/{project}/locations/{location}/builds/{build}`. */ @property(nonatomic, copy, nullable) NSString *build; @@ -3249,7 +4067,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * Output only. The resource name of the Cloud Build `Build` object that is * used to execute the custom actions associated with the predeploy Job. Format - * is projects/{project}/locations/{location}/builds/{build}. + * is `projects/{project}/locations/{location}/builds/{build}`. */ @property(nonatomic, copy, nullable) NSString *build; @@ -3317,6 +4135,76 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * Contains the information of an automated promote-release operation. + */ +@interface GTLRCloudDeploy_PromoteReleaseOperation : GTLRObject + +/** + * Output only. The starting phase of the rollout created by this operation. + */ +@property(nonatomic, copy, nullable) NSString *phase; + +/** + * Output only. The name of the rollout that initiates the `AutomationRun`. + */ +@property(nonatomic, copy, nullable) NSString *rollout; + +/** + * Output only. The ID of the target that represents the promotion stage to + * which the release will be promoted. The value of this field is the last + * segment of a target name. + */ +@property(nonatomic, copy, nullable) NSString *targetId; + +/** Output only. How long the operation will be paused. */ +@property(nonatomic, strong, nullable) GTLRDuration *wait; + +@end + + +/** + * `PromoteRelease` rule will automatically promote a release from the current + * target to a specified target. + */ +@interface GTLRCloudDeploy_PromoteReleaseRule : GTLRObject + +/** Output only. Information around the state of the Automation rule. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_AutomationRuleCondition *condition; + +/** + * Optional. The starting phase of the rollout created by this operation. + * Default to the first phase. + */ +@property(nonatomic, copy, nullable) NSString *destinationPhase; + +/** + * Optional. The ID of the stage in the pipeline to which this `Release` is + * deploying. If unspecified, default it to the next stage in the promotion + * flow. The value of this field could be one of the following: * The last + * segment of a target name. It only needs the ID to determine if the target is + * one of the stages in the promotion sequence defined in the pipeline. * + * "\@next", the next target in the promotion sequence. + */ +@property(nonatomic, copy, nullable) NSString *destinationTargetId; + +/** + * Required. ID of the rule. This id must be unique in the `Automation` + * resource to which this rule belongs. The format is `a-z{0,62}`. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Optional. How long the release need to be paused until being promoted to the + * next target. + */ +@property(nonatomic, strong, nullable) GTLRDuration *wait; + +@end + + /** * A `Release` resource in the Cloud Deploy API. A `Release` defines a specific * Skaffold configuration instance that can be deployed. @@ -3380,9 +4268,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @property(nonatomic, strong, nullable) GTLRCloudDeploy_Release_Labels *labels; /** - * Optional. Name of the `Release`. Format is projects/{project}/ - * locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/a-z{0,62}. + * Optional. Name of the `Release`. Format is + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/a-z{0,62}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -3604,12 +4491,29 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @property(nonatomic, copy, nullable) NSString *message; /** - * The name of the `Release`. + * The name of the release. * * Remapped to 'releaseProperty' to avoid NSObject's 'release'. */ @property(nonatomic, copy, nullable) NSString *releaseProperty; +/** + * The state of the release render. + * + * Likely values: + * @arg @c kGTLRCloudDeploy_ReleaseRenderEvent_ReleaseRenderState_Failed All + * rendering operations have completed, and one or more have failed. + * (Value: "FAILED") + * @arg @c kGTLRCloudDeploy_ReleaseRenderEvent_ReleaseRenderState_InProgress + * Rendering has started and is not complete. (Value: "IN_PROGRESS") + * @arg @c kGTLRCloudDeploy_ReleaseRenderEvent_ReleaseRenderState_RenderStateUnspecified + * The render state is unspecified. (Value: "RENDER_STATE_UNSPECIFIED") + * @arg @c kGTLRCloudDeploy_ReleaseRenderEvent_ReleaseRenderState_Succeeded + * All rendering operations have completed successfully. (Value: + * "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *releaseRenderState; + @end @@ -3624,6 +4528,186 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * Configuration of the repair action. + */ +@interface GTLRCloudDeploy_RepairMode : GTLRObject + +/** Optional. Retries a failed job. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_Retry *retry; + +/** Optional. Rolls back a `Rollout`. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_Rollback *rollback; + +@end + + +/** + * RepairPhase tracks the repair attempts that have been made for each + * `RepairMode` specified in the `Automation` resource. + */ +@interface GTLRCloudDeploy_RepairPhase : GTLRObject + +/** Output only. Records of the retry attempts for retry repair mode. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_RetryPhase *retry; + +/** Output only. Rollback attempt for rollback repair mode . */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_RollbackAttempt *rollback; + +@end + + +/** + * Contains the information for an automated `repair rollout` operation. + */ +@interface GTLRCloudDeploy_RepairRolloutOperation : GTLRObject + +/** + * Output only. The index of the current repair action in the repair sequence. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *currentRepairModeIndex; + +/** + * Output only. Records of the repair attempts. Each repair phase may have + * multiple retry attempts or single rollback attempt. + */ +@property(nonatomic, strong, nullable) NSArray *repairPhases; + +/** + * Output only. The name of the rollout that initiates the `AutomationRun`. + */ +@property(nonatomic, copy, nullable) NSString *rollout; + +@end + + +/** + * The `RepairRolloutRule` automation rule will automatically repair a failed + * `Rollout`. + */ +@interface GTLRCloudDeploy_RepairRolloutRule : GTLRObject + +/** Output only. Information around the state of the 'Automation' rule. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_AutomationRuleCondition *condition; + +/** + * Required. ID of the rule. This id must be unique in the `Automation` + * resource to which this rule belongs. The format is `a-z{0,62}`. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Optional. Jobs to repair. Proceeds only after job name matched any one in + * the list, or for all jobs if unspecified or empty. The phase that includes + * the job must match the phase ID specified in `source_phase`. This value must + * consist of lower-case letters, numbers, and hyphens, start with a letter and + * end with a letter or a number, and have a max length of 63 characters. In + * other words, it must match the following regex: + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + */ +@property(nonatomic, strong, nullable) NSArray *jobs; + +/** + * Required. Defines the types of automatic repair actions for failed jobs. + */ +@property(nonatomic, strong, nullable) NSArray *repairModes; + +/** + * Optional. Phases within which jobs are subject to automatic repair actions + * on failure. Proceeds only after phase name matched any one in the list, or + * for all phases if unspecified. This value must consist of lower-case + * letters, numbers, and hyphens, start with a letter and end with a letter or + * a number, and have a max length of 63 characters. In other words, it must + * match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + */ +@property(nonatomic, strong, nullable) NSArray *sourcePhases; + +@end + + +/** + * Retries the failed job. + */ +@interface GTLRCloudDeploy_Retry : GTLRObject + +/** + * Required. Total number of retries. Retry will skipped if set to 0; The + * minimum value is 1, and the maximum value is 10. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *attempts; + +/** + * Optional. The pattern of how wait time will be increased. Default is linear. + * Backoff mode will be ignored if `wait` is 0. + * + * Likely values: + * @arg @c kGTLRCloudDeploy_Retry_BackoffMode_BackoffModeExponential + * Increases the wait time exponentially. (Value: + * "BACKOFF_MODE_EXPONENTIAL") + * @arg @c kGTLRCloudDeploy_Retry_BackoffMode_BackoffModeLinear Increases the + * wait time linearly. (Value: "BACKOFF_MODE_LINEAR") + * @arg @c kGTLRCloudDeploy_Retry_BackoffMode_BackoffModeUnspecified No + * WaitMode is specified. (Value: "BACKOFF_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *backoffMode; + +/** + * Optional. How long to wait for the first retry. Default is 0, and the + * maximum value is 14d. + */ +@property(nonatomic, strong, nullable) GTLRDuration *wait; + +@end + + +/** + * RetryAttempt represents an action of retrying the failed Cloud Deploy job. + */ +@interface GTLRCloudDeploy_RetryAttempt : GTLRObject + +/** + * Output only. The index of this retry attempt. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *attempt; + +/** + * Output only. Valid state of this retry action. + * + * Likely values: + * @arg @c kGTLRCloudDeploy_RetryAttempt_State_RepairStateCancelled The + * `repair` action was cancelled. (Value: "REPAIR_STATE_CANCELLED") + * @arg @c kGTLRCloudDeploy_RetryAttempt_State_RepairStateFailed The `repair` + * action has failed. (Value: "REPAIR_STATE_FAILED") + * @arg @c kGTLRCloudDeploy_RetryAttempt_State_RepairStateInProgress The + * `repair` action is in progress. (Value: "REPAIR_STATE_IN_PROGRESS") + * @arg @c kGTLRCloudDeploy_RetryAttempt_State_RepairStatePending The + * `repair` action is pending. (Value: "REPAIR_STATE_PENDING") + * @arg @c kGTLRCloudDeploy_RetryAttempt_State_RepairStateSkipped The + * `repair` action was skipped. (Value: "REPAIR_STATE_SKIPPED") + * @arg @c kGTLRCloudDeploy_RetryAttempt_State_RepairStateSucceeded The + * `repair` action has succeeded. (Value: "REPAIR_STATE_SUCCEEDED") + * @arg @c kGTLRCloudDeploy_RetryAttempt_State_RepairStateUnspecified The + * `repair` has an unspecified state. (Value: "REPAIR_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. Description of the state of the Retry. */ +@property(nonatomic, copy, nullable) NSString *stateDesc; + +/** Output only. How long the operation will be paused. */ +@property(nonatomic, strong, nullable) GTLRDuration *wait; + +@end + + /** * RetryJobRequest is the request object used by `RetryJob`. */ @@ -3645,6 +4729,101 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * RetryPhase contains the retry attempts and the metadata for initiating a new + * attempt. + */ +@interface GTLRCloudDeploy_RetryPhase : GTLRObject + +/** Output only. Detail of a retry action. */ +@property(nonatomic, strong, nullable) NSArray *attempts; + +/** + * Output only. The pattern of how the wait time of the retry attempt is + * calculated. + * + * Likely values: + * @arg @c kGTLRCloudDeploy_RetryPhase_BackoffMode_BackoffModeExponential + * Increases the wait time exponentially. (Value: + * "BACKOFF_MODE_EXPONENTIAL") + * @arg @c kGTLRCloudDeploy_RetryPhase_BackoffMode_BackoffModeLinear + * Increases the wait time linearly. (Value: "BACKOFF_MODE_LINEAR") + * @arg @c kGTLRCloudDeploy_RetryPhase_BackoffMode_BackoffModeUnspecified No + * WaitMode is specified. (Value: "BACKOFF_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *backoffMode; + +/** Output only. The job ID for the Job to retry. */ +@property(nonatomic, copy, nullable) NSString *jobId; + +/** + * Output only. The phase ID of the phase that includes the job being retried. + */ +@property(nonatomic, copy, nullable) NSString *phaseId; + +/** + * Output only. The number of attempts that have been made. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalAttempts; + +@end + + +/** + * Rolls back a `Rollout`. + */ +@interface GTLRCloudDeploy_Rollback : GTLRObject + +/** + * Optional. The starting phase ID for the `Rollout`. If unspecified, the + * `Rollout` will start in the stable phase. + */ +@property(nonatomic, copy, nullable) NSString *destinationPhase; + +@end + + +/** + * RollbackAttempt represents an action of rolling back a Cloud Deploy + * 'Target'. + */ +@interface GTLRCloudDeploy_RollbackAttempt : GTLRObject + +/** Output only. The phase to which the rollout will be rolled back to. */ +@property(nonatomic, copy, nullable) NSString *destinationPhase; + +/** Output only. ID of the rollback `Rollout` to create. */ +@property(nonatomic, copy, nullable) NSString *rolloutId; + +/** + * Output only. Valid state of this rollback action. + * + * Likely values: + * @arg @c kGTLRCloudDeploy_RollbackAttempt_State_RepairStateCancelled The + * `repair` action was cancelled. (Value: "REPAIR_STATE_CANCELLED") + * @arg @c kGTLRCloudDeploy_RollbackAttempt_State_RepairStateFailed The + * `repair` action has failed. (Value: "REPAIR_STATE_FAILED") + * @arg @c kGTLRCloudDeploy_RollbackAttempt_State_RepairStateInProgress The + * `repair` action is in progress. (Value: "REPAIR_STATE_IN_PROGRESS") + * @arg @c kGTLRCloudDeploy_RollbackAttempt_State_RepairStatePending The + * `repair` action is pending. (Value: "REPAIR_STATE_PENDING") + * @arg @c kGTLRCloudDeploy_RollbackAttempt_State_RepairStateSkipped The + * `repair` action was skipped. (Value: "REPAIR_STATE_SKIPPED") + * @arg @c kGTLRCloudDeploy_RollbackAttempt_State_RepairStateSucceeded The + * `repair` action has succeeded. (Value: "REPAIR_STATE_SUCCEEDED") + * @arg @c kGTLRCloudDeploy_RollbackAttempt_State_RepairStateUnspecified The + * `repair` has an unspecified state. (Value: "REPAIR_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. Description of the state of the Rollback. */ +@property(nonatomic, copy, nullable) NSString *stateDesc; + +@end + + /** * Configs for the Rollback rollout. */ @@ -3746,9 +4925,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @property(nonatomic, strong, nullable) GTLRDateTime *approveTime; /** - * Output only. Name of the `ControllerRollout`. Format is projects/{project}/ - * locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/a-z{0,62}. + * Output only. Name of the `ControllerRollout`. Format is + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}`. */ @property(nonatomic, copy, nullable) NSString *controllerRollout; @@ -3839,9 +5017,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @property(nonatomic, strong, nullable) GTLRCloudDeploy_Metadata *metadata; /** - * Optional. Name of the `Rollout`. Format is projects/{project}/ - * locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/a-z{0,62}. + * Optional. Name of the `Rollout`. Format is + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -3979,6 +5156,92 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * Payload proto for "clouddeploy.googleapis.com/rollout_update" Platform Log + * event that describes the rollout update event. + */ +@interface GTLRCloudDeploy_RolloutUpdateEvent : GTLRObject + +/** Debug message for when a rollout update event occurs. */ +@property(nonatomic, copy, nullable) NSString *message; + +/** Unique identifier of the pipeline. */ +@property(nonatomic, copy, nullable) NSString *pipelineUid; + +/** Unique identifier of the release. */ +@property(nonatomic, copy, nullable) NSString *releaseUid; + +/** The name of the rollout. */ +@property(nonatomic, copy, nullable) NSString *rollout; + +/** + * The type of the rollout update. + * + * Likely values: + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Advanced + * Rollout has been advanced. (Value: "ADVANCED") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_AdvanceRequired + * Rollout requires advance to the next phase. (Value: + * "ADVANCE_REQUIRED") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_ApprovalRequired + * Rollout requires approval. (Value: "APPROVAL_REQUIRED") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Approved + * Rollout has been approved. (Value: "APPROVED") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Cancelled + * Rollout state updated to cancelled. (Value: "CANCELLED") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Cancelling + * Rollout state updated to cancelling. (Value: "CANCELLING") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Failed + * Rollout state updated to failed. (Value: "FAILED") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Halted + * Rollout state updated to halted. (Value: "HALTED") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_InProgress + * Rollout state updated to in progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Pending + * rollout state updated to pending. (Value: "PENDING") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_PendingRelease + * Rollout state updated to pending release. (Value: "PENDING_RELEASE") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Rejected + * Rollout has been rejected. (Value: "REJECTED") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_RolloutUpdateTypeUnspecified + * Rollout update type unspecified. (Value: + * "ROLLOUT_UPDATE_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_RolloutUpdateType_Succeeded + * Rollout state updated to succeeded. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *rolloutUpdateType; + +/** ID of the target. */ +@property(nonatomic, copy, nullable) NSString *targetId; + +/** + * Type of this notification, e.g. for a rollout update event. + * + * Likely values: + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeProcessAborted A + * process aborted. (Value: "TYPE_PROCESS_ABORTED") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypePubsubNotificationFailure + * A Pub/Sub notification failed to be sent. (Value: + * "TYPE_PUBSUB_NOTIFICATION_FAILURE") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeRenderStatuesChange + * Deprecated: This field is never used. Use release_render log type + * instead. (Value: "TYPE_RENDER_STATUES_CHANGE") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeResourceDeleted + * Resource deleted. (Value: "TYPE_RESOURCE_DELETED") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeResourceStateChange + * Resource state changed. (Value: "TYPE_RESOURCE_STATE_CHANGE") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeRestrictionViolated + * Restriction check failed. (Value: "TYPE_RESTRICTION_VIOLATED") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeRolloutUpdate Rollout + * updated. (Value: "TYPE_ROLLOUT_UPDATE") + * @arg @c kGTLRCloudDeploy_RolloutUpdateEvent_Type_TypeUnspecified Type is + * unspecified. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * RuntimeConfig contains the runtime specific configurations for a deployment * strategy. @@ -4314,7 +5577,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * Optional. Name of the `Target`. Format is - * projects/{project}/locations/{location}/targets/a-z{0,62}. + * `projects/{project}/locations/{location}/targets/a-z{0,62}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -4426,6 +5689,41 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * Contains criteria for selecting Targets. Attributes provided must match the + * target resource in order for policy restrictions to apply. E.g. if id "prod" + * and labels "foo: bar" are given the target resource must match both that id + * and have that label in order to be selected. + */ +@interface GTLRCloudDeploy_TargetAttribute : GTLRObject + +/** + * ID of the `Target`. The value of this field could be one of the following: * + * The last segment of a target name. It only needs the ID to determine which + * target is being referred to * "*", all targets in a location. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** Target labels. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_TargetAttribute_Labels *labels; + +@end + + +/** + * Target 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 GTLRCloudDeploy_TargetAttribute_Labels : GTLRObject +@end + + /** * Payload proto for "clouddeploy.googleapis.com/target_notification" Platform * Log event that describes the failure to send target status change Pub/Sub @@ -4491,6 +5789,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve * action required for predeploy or postdeploy was not found in the * skaffold configuration. See failure_message for additional details. * (Value: "CUSTOM_ACTION_NOT_FOUND") + * @arg @c kGTLRCloudDeploy_TargetRender_FailureCause_DeploymentStrategyNotSupported + * Release failed during rendering because the release configuration is + * not supported with the specified deployment strategy. (Value: + * "DEPLOYMENT_STRATEGY_NOT_SUPPORTED") * @arg @c kGTLRCloudDeploy_TargetRender_FailureCause_ExecutionFailed The * render operation did not complete successfully; check Cloud Build * logs. (Value: "EXECUTION_FAILED") @@ -4546,7 +5848,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * The list of Target names that do not exist. For example, - * projects/{project_id}/locations/{location_name}/targets/{target_name}. + * `projects/{project_id}/locations/{location_name}/targets/{target_name}`. */ @property(nonatomic, strong, nullable) NSArray *missingTargets; @@ -4647,7 +5949,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * Output only. The resource name of the Cloud Build `Build` object that is * used to verify. Format is - * projects/{project}/locations/{location}/builds/{build}. + * `projects/{project}/locations/{location}/builds/{build}`. */ @property(nonatomic, copy, nullable) NSString *build; diff --git a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h index 3e691b70f..c17926542 100644 --- a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h +++ b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h @@ -31,6 +31,415 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Cancels an AutomationRun. The `state` of the `AutomationRun` after + * cancelling is `CANCELLED`. `CancelAutomationRun` can be called on + * AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun in a + * different state returns an `FAILED_PRECONDITION` error. + * + * Method: clouddeploy.projects.locations.deliveryPipelines.automationRuns.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsCancel : GTLRCloudDeployQuery + +/** + * Required. Name of the `AutomationRun`. Format is + * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudDeploy_CancelAutomationRunResponse. + * + * Cancels an AutomationRun. The `state` of the `AutomationRun` after + * cancelling is `CANCELLED`. `CancelAutomationRun` can be called on + * AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun in a + * different state returns an `FAILED_PRECONDITION` error. + * + * @param object The @c GTLRCloudDeploy_CancelAutomationRunRequest to include + * in the query. + * @param name Required. Name of the `AutomationRun`. Format is + * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. + * + * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsCancel + */ ++ (instancetype)queryWithObject:(GTLRCloudDeploy_CancelAutomationRunRequest *)object + name:(NSString *)name; + +@end + +/** + * Gets details of a single AutomationRun. + * + * Method: clouddeploy.projects.locations.deliveryPipelines.automationRuns.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsGet : GTLRCloudDeployQuery + +/** + * Required. Name of the `AutomationRun`. Format must be + * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudDeploy_AutomationRun. + * + * Gets details of a single AutomationRun. + * + * @param name Required. Name of the `AutomationRun`. Format must be + * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. + * + * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists AutomationRuns in a given project and location. + * + * Method: clouddeploy.projects.locations.deliveryPipelines.automationRuns.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsList : GTLRCloudDeployQuery + +/** + * Filter automationRuns to be returned. All fields can be used in the filter. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Field to sort by. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * The maximum number of automationRuns to return. The service may return fewer + * than this value. If unspecified, at most 50 automationRuns will be returned. + * The maximum value is 1000; values above 1000 will be set to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListAutomationRuns` call. Provide + * this to retrieve the subsequent page. When paginating, all other provided + * parameters match the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of automationRuns. Format + * must be + * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRCloudDeploy_ListAutomationRunsResponse. + * + * Lists AutomationRuns in a given project and location. + * + * @param parent Required. The parent, which owns this collection of + * automationRuns. Format must be + * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`. + * + * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsList + * + * @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 Automation in a given project and location. + * + * Method: clouddeploy.projects.locations.deliveryPipelines.automations.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsCreate : GTLRCloudDeployQuery + +/** Required. ID of the `Automation`. */ +@property(nonatomic, copy, nullable) NSString *automationId; + +/** + * Required. The parent collection in which the `Automation` should be created. + * Format should be + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. A 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. If set to true, the request is validated and the user is provided + * with an expected result, but no actual change is made. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRCloudDeploy_Operation. + * + * Creates a new Automation in a given project and location. + * + * @param object The @c GTLRCloudDeploy_Automation to include in the query. + * @param parent Required. The parent collection in which the `Automation` + * should be created. Format should be + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. + * + * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsCreate + */ ++ (instancetype)queryWithObject:(GTLRCloudDeploy_Automation *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single Automation resource. + * + * Method: clouddeploy.projects.locations.deliveryPipelines.automations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsDelete : GTLRCloudDeployQuery + +/** + * Optional. If set to true, then deleting an already deleted or non-existing + * `Automation` will succeed. + */ +@property(nonatomic, assign) BOOL allowMissing; + +/** + * Optional. The weak etag of the request. 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. The name of the `Automation` to delete. Format should be + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. A 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 and verify whether the resource + * exists, but do not actually post it. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRCloudDeploy_Operation. + * + * Deletes a single Automation resource. + * + * @param name Required. The name of the `Automation` to delete. Format should + * be + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. + * + * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single Automation. + * + * Method: clouddeploy.projects.locations.deliveryPipelines.automations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsGet : GTLRCloudDeployQuery + +/** + * Required. Name of the `Automation`. Format must be + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudDeploy_Automation. + * + * Gets details of a single Automation. + * + * @param name Required. Name of the `Automation`. Format must be + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. + * + * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists Automations in a given project and location. + * + * Method: clouddeploy.projects.locations.deliveryPipelines.automations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsList : GTLRCloudDeployQuery + +/** + * Filter automations to be returned. All fields can be used in the filter. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Field to sort by. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * The maximum number of automations to return. The service may return fewer + * than this value. If unspecified, at most 50 automations will be returned. + * The maximum value is 1000; values above 1000 will be set to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListAutomations` call. Provide this + * to retrieve the subsequent page. When paginating, all other provided + * parameters match the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of automations. Format must + * be + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRCloudDeploy_ListAutomationsResponse. + * + * Lists Automations in a given project and location. + * + * @param parent Required. The parent, which owns this collection of + * automations. Format must be + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. + * + * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsList + * + * @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 Automation resource. + * + * Method: clouddeploy.projects.locations.deliveryPipelines.automations.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsPatch : GTLRCloudDeployQuery + +/** + * Optional. If set to true, updating a `Automation` that does not exist will + * result in the creation of a new `Automation`. + */ +@property(nonatomic, assign) BOOL allowMissing; + +/** + * Output only. Name of the `Automation`. Format is + * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. A 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. Field mask is used to specify the fields to be overwritten in the + * `Automation` 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. If set to true, the request is validated and the user is provided + * with an expected result, but no actual change is made. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRCloudDeploy_Operation. + * + * Updates the parameters of a single Automation resource. + * + * @param object The @c GTLRCloudDeploy_Automation to include in the query. + * @param name Output only. Name of the `Automation`. Format is + * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`. + * + * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsPatch + */ ++ (instancetype)queryWithObject:(GTLRCloudDeploy_Automation *)object + name:(NSString *)name; + +@end + /** * Creates a new DeliveryPipeline in a given project and location. * @@ -46,7 +455,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent collection in which the `DeliveryPipeline` should be - * created. Format should be projects/{project_id}/locations/{location_name}. + * created. Format should be `projects/{project_id}/locations/{location_name}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -80,7 +489,7 @@ NS_ASSUME_NONNULL_BEGIN * query. * @param parent Required. The parent collection in which the * `DeliveryPipeline` should be created. Format should be - * projects/{project_id}/locations/{location_name}. + * `projects/{project_id}/locations/{location_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesCreate */ @@ -121,7 +530,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The name of the `DeliveryPipeline` to delete. Format should be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -153,7 +562,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param name Required. The name of the `DeliveryPipeline` to delete. Format * should be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesDelete */ @@ -173,7 +582,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the `DeliveryPipeline`. Format must be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -183,7 +592,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets details of a single DeliveryPipeline. * * @param name Required. Name of the `DeliveryPipeline`. Format must be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesGet */ @@ -277,7 +686,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent, which owns this collection of pipelines. Format must - * be projects/{project_id}/locations/{location_name}. + * be `projects/{project_id}/locations/{location_name}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -287,7 +696,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists DeliveryPipelines in a given project and location. * * @param parent Required. The parent, which owns this collection of pipelines. - * Format must be projects/{project_id}/locations/{location_name}. + * Format must be `projects/{project_id}/locations/{location_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesList * @@ -316,8 +725,8 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, assign) BOOL allowMissing; /** - * Optional. Name of the `DeliveryPipeline`. Format is projects/{project}/ - * locations/{location}/deliveryPipelines/a-z{0,62}. + * Optional. Name of the `DeliveryPipeline`. Format is + * `projects/{project}/locations/{location}/deliveryPipelines/a-z{0,62}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -361,7 +770,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRCloudDeploy_DeliveryPipeline to include in the * query. * @param name Optional. Name of the `DeliveryPipeline`. Format is - * projects/{project}/ locations/{location}/deliveryPipelines/a-z{0,62}. + * `projects/{project}/locations/{location}/deliveryPipelines/a-z{0,62}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesPatch */ @@ -382,8 +791,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the Release. Format is - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -395,8 +803,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRCloudDeploy_AbandonReleaseRequest to include in the * query. * @param name Required. Name of the Release. Format is - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesReleasesAbandon */ @@ -418,7 +825,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent collection in which the `Release` should be created. * Format should be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -454,7 +861,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRCloudDeploy_Release to include in the query. * @param parent Required. The parent collection in which the `Release` should * be created. Format should be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesReleasesCreate */ @@ -475,7 +882,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the `Release`. Format must be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -485,7 +892,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets details of a single Release. * * @param name Required. Name of the `Release`. Format must be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesReleasesGet */ @@ -566,8 +973,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the Rollout. Format is - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/{rollout}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -579,8 +985,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRCloudDeploy_AdvanceRolloutRequest to include in the * query. * @param name Required. Name of the Rollout. Format is - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/{rollout}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvance */ @@ -601,8 +1006,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the Rollout. Format is - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/{rollout}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -614,8 +1018,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRCloudDeploy_ApproveRolloutRequest to include in the * query. * @param name Required. Name of the Rollout. Format is - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/{rollout}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesReleasesRolloutsApprove */ @@ -636,8 +1039,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the Rollout. Format is - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/{rollout}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -649,8 +1051,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRCloudDeploy_CancelRolloutRequest to include in the * query. * @param name Required. Name of the Rollout. Format is - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/{rollout}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancel */ @@ -672,7 +1073,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent collection in which the `Rollout` should be created. * Format should be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -714,7 +1115,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRCloudDeploy_Rollout to include in the query. * @param parent Required. The parent collection in which the `Rollout` should * be created. Format should be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreate */ @@ -735,7 +1136,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the `Rollout`. Format must be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -745,7 +1146,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets details of a single Rollout. * * @param name Required. Name of the `Rollout`. Format must be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesReleasesRolloutsGet */ @@ -765,8 +1166,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the Rollout. Format is - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/{rollout}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. */ @property(nonatomic, copy, nullable) NSString *rollout; @@ -778,8 +1178,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRCloudDeploy_IgnoreJobRequest to include in the * query. * @param rollout Required. Name of the Rollout. Format is - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/{rollout}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJob */ @@ -800,7 +1199,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the `JobRun`. Format must be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -810,7 +1209,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets details of a single JobRun. * * @param name Required. Name of the `JobRun`. Format must be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGet */ @@ -888,8 +1287,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the `JobRun`. Format must be - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -901,8 +1299,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRCloudDeploy_TerminateJobRunRequest to include in * the query. * @param name Required. Name of the `JobRun`. Format must be - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminate */ @@ -983,8 +1380,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the Rollout. Format is - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/{rollout}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. */ @property(nonatomic, copy, nullable) NSString *rollout; @@ -996,8 +1392,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRCloudDeploy_RetryJobRequest to include in the * query. * @param rollout Required. Name of the Rollout. Format is - * projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - * releases/{release}/rollouts/{rollout}. + * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJob */ @@ -1019,7 +1414,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The `DeliveryPipeline` for which the rollback `Rollout` should be * created. Format should be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1032,7 +1427,7 @@ NS_ASSUME_NONNULL_BEGIN * query. * @param name Required. The `DeliveryPipeline` for which the rollback * `Rollout` should be created. Format should be - * projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesRollbackTarget */ @@ -1386,7 +1781,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent collection in which the `Target` should be created. - * Format should be projects/{project_id}/locations/{location_name}. + * Format should be `projects/{project_id}/locations/{location_name}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1422,7 +1817,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRCloudDeploy_Target to include in the query. * @param parent Required. The parent collection in which the `Target` should * be created. Format should be - * projects/{project_id}/locations/{location_name}. + * `projects/{project_id}/locations/{location_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsTargetsCreate */ @@ -1456,7 +1851,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The name of the `Target` to delete. Format should be - * projects/{project_id}/locations/{location_name}/targets/{target_name}. + * `projects/{project_id}/locations/{location_name}/targets/{target_name}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1487,7 +1882,7 @@ NS_ASSUME_NONNULL_BEGIN * Deletes a single Target. * * @param name Required. The name of the `Target` to delete. Format should be - * projects/{project_id}/locations/{location_name}/targets/{target_name}. + * `projects/{project_id}/locations/{location_name}/targets/{target_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsTargetsDelete */ @@ -1507,7 +1902,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the `Target`. Format must be - * projects/{project_id}/locations/{location_name}/targets/{target_name}. + * `projects/{project_id}/locations/{location_name}/targets/{target_name}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1517,7 +1912,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets details of a single Target. * * @param name Required. Name of the `Target`. Format must be - * projects/{project_id}/locations/{location_name}/targets/{target_name}. + * `projects/{project_id}/locations/{location_name}/targets/{target_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsTargetsGet */ @@ -1613,7 +2008,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent, which owns this collection of targets. Format must be - * projects/{project_id}/locations/{location_name}. + * `projects/{project_id}/locations/{location_name}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1623,7 +2018,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists Targets in a given project and location. * * @param parent Required. The parent, which owns this collection of targets. - * Format must be projects/{project_id}/locations/{location_name}. + * Format must be `projects/{project_id}/locations/{location_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsTargetsList * @@ -1653,7 +2048,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. Name of the `Target`. Format is - * projects/{project}/locations/{location}/targets/a-z{0,62}. + * `projects/{project}/locations/{location}/targets/a-z{0,62}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1696,7 +2091,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRCloudDeploy_Target to include in the query. * @param name Optional. Name of the `Target`. Format is - * projects/{project}/locations/{location}/targets/a-z{0,62}. + * `projects/{project}/locations/{location}/targets/a-z{0,62}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsTargetsPatch */ diff --git a/Sources/GeneratedServices/CloudDomains/GTLRCloudDomainsObjects.m b/Sources/GeneratedServices/CloudDomains/GTLRCloudDomainsObjects.m index 51085aeef..9a39a91d2 100644 --- a/Sources/GeneratedServices/CloudDomains/GTLRCloudDomainsObjects.m +++ b/Sources/GeneratedServices/CloudDomains/GTLRCloudDomainsObjects.m @@ -69,9 +69,16 @@ NSString * const kGTLRCloudDomains_GoogleDomainsDns_DsState_DsRecordsUnpublished = @"DS_RECORDS_UNPUBLISHED"; NSString * const kGTLRCloudDomains_GoogleDomainsDns_DsState_DsStateUnspecified = @"DS_STATE_UNSPECIFIED"; +// GTLRCloudDomains_ManagementSettings.preferredRenewalMethod +NSString * const kGTLRCloudDomains_ManagementSettings_PreferredRenewalMethod_AutomaticRenewal = @"AUTOMATIC_RENEWAL"; +NSString * const kGTLRCloudDomains_ManagementSettings_PreferredRenewalMethod_ManualRenewal = @"MANUAL_RENEWAL"; +NSString * const kGTLRCloudDomains_ManagementSettings_PreferredRenewalMethod_RenewalDisabled = @"RENEWAL_DISABLED"; +NSString * const kGTLRCloudDomains_ManagementSettings_PreferredRenewalMethod_RenewalMethodUnspecified = @"RENEWAL_METHOD_UNSPECIFIED"; + // GTLRCloudDomains_ManagementSettings.renewalMethod NSString * const kGTLRCloudDomains_ManagementSettings_RenewalMethod_AutomaticRenewal = @"AUTOMATIC_RENEWAL"; NSString * const kGTLRCloudDomains_ManagementSettings_RenewalMethod_ManualRenewal = @"MANUAL_RENEWAL"; +NSString * const kGTLRCloudDomains_ManagementSettings_RenewalMethod_RenewalDisabled = @"RENEWAL_DISABLED"; NSString * const kGTLRCloudDomains_ManagementSettings_RenewalMethod_RenewalMethodUnspecified = @"RENEWAL_METHOD_UNSPECIFIED"; // GTLRCloudDomains_ManagementSettings.transferLockState @@ -107,6 +114,7 @@ // GTLRCloudDomains_Registration.issues NSString * const kGTLRCloudDomains_Registration_Issues_ContactSupport = @"CONTACT_SUPPORT"; NSString * const kGTLRCloudDomains_Registration_Issues_IssueUnspecified = @"ISSUE_UNSPECIFIED"; +NSString * const kGTLRCloudDomains_Registration_Issues_ProblemWithBilling = @"PROBLEM_WITH_BILLING"; NSString * const kGTLRCloudDomains_Registration_Issues_UnverifiedEmail = @"UNVERIFIED_EMAIL"; // GTLRCloudDomains_Registration.registerFailureReason @@ -117,6 +125,7 @@ // GTLRCloudDomains_Registration.state NSString * const kGTLRCloudDomains_Registration_State_Active = @"ACTIVE"; +NSString * const kGTLRCloudDomains_Registration_State_Expired = @"EXPIRED"; NSString * const kGTLRCloudDomains_Registration_State_Exported = @"EXPORTED"; NSString * const kGTLRCloudDomains_Registration_State_ImportPending = @"IMPORT_PENDING"; NSString * const kGTLRCloudDomains_Registration_State_RegistrationFailed = @"REGISTRATION_FAILED"; @@ -160,6 +169,10 @@ NSString * const kGTLRCloudDomains_TransferParameters_TransferLockState_TransferLockStateUnspecified = @"TRANSFER_LOCK_STATE_UNSPECIFIED"; NSString * const kGTLRCloudDomains_TransferParameters_TransferLockState_Unlocked = @"UNLOCKED"; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + // ---------------------------------------------------------------------------- // // GTLRCloudDomains_AuditConfig @@ -535,7 +548,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudDomains_ManagementSettings -@dynamic renewalMethod, transferLockState; +@dynamic preferredRenewalMethod, renewalMethod, transferLockState; @end @@ -897,3 +910,5 @@ @implementation GTLRCloudDomains_TransferParameters } @end + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudDomains/GTLRCloudDomainsQuery.m b/Sources/GeneratedServices/CloudDomains/GTLRCloudDomainsQuery.m index 9f420e3e3..38b0418ce 100644 --- a/Sources/GeneratedServices/CloudDomains/GTLRCloudDomainsQuery.m +++ b/Sources/GeneratedServices/CloudDomains/GTLRCloudDomainsQuery.m @@ -10,6 +10,9 @@ #import +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + @implementation GTLRCloudDomainsQuery @dynamic fields; @@ -563,3 +566,5 @@ + (instancetype)queryWithObject:(GTLRCloudDomains_TransferDomainRequest *)object } @end + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h b/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h index 207a5559d..2e8cdaaba 100644 --- a/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h +++ b/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h @@ -49,6 +49,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 @@ -110,6 +111,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ConfigureContactSettingsReq */ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ContactSettings_Privacy_ContactPrivacyUnspecified; /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * None of the data from `ContactSettings` is publicly available. Instead, * proxy contact data is published for your domain. Email sent to the proxy * email address is forwarded to the registrant's email address. Cloud Domains @@ -117,7 +120,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ContactSettings_Privacy_Con * * Value: "PRIVATE_CONTACT_DATA" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ContactSettings_Privacy_PrivateContactData; +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ContactSettings_Privacy_PrivateContactData GTLR_DEPRECATED; /** * All the data from `ContactSettings` is publicly available. When setting this * option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the @@ -127,8 +130,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ContactSettings_Privacy_Pri */ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ContactSettings_Privacy_PublicContactData; /** - * Some data from `ContactSettings` is publicly available. The actual - * information redacted depends on the domain. For details, see [the + * The organization name (if provided) and limited non-identifying data from + * `ContactSettings` is available to the public (e.g. country and state). The + * remaining data is marked as `REDACTED FOR PRIVACY` in the WHOIS database. + * The actual information redacted depends on the domain. For details, see [the * registration privacy * article](https://support.google.com/domains/answer/3251242). * @@ -354,26 +359,59 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_GoogleDomainsDns_DsState_Ds */ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_GoogleDomainsDns_DsState_DsStateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudDomains_ManagementSettings.preferredRenewalMethod + +/** + * The domain is automatically renewed each year. + * + * Value: "AUTOMATIC_RENEWAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ManagementSettings_PreferredRenewalMethod_AutomaticRenewal; +/** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) + * This option was never used. Use RENEWAL_DISABLED instead. + * + * Value: "MANUAL_RENEWAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ManagementSettings_PreferredRenewalMethod_ManualRenewal GTLR_DEPRECATED; +/** + * The domain won't be renewed and will expire at its expiration time. + * + * Value: "RENEWAL_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ManagementSettings_PreferredRenewalMethod_RenewalDisabled; +/** + * The renewal method is undefined. + * + * Value: "RENEWAL_METHOD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ManagementSettings_PreferredRenewalMethod_RenewalMethodUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudDomains_ManagementSettings.renewalMethod /** - * The domain is automatically renewed each year . To disable automatic - * renewals, delete the resource by calling `DeleteRegistration` or export it - * by calling `ExportRegistration`. + * The domain is automatically renewed each year. * * Value: "AUTOMATIC_RENEWAL" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ManagementSettings_RenewalMethod_AutomaticRenewal; /** - * The domain must be explicitly renewed each year before its `expire_time`. - * This option is only available when the `Registration` is in state - * `EXPORTED`. To manage the domain's current billing and renewal settings, go - * to [Google Domains](https://domains.google/). + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) + * This option was never used. Use RENEWAL_DISABLED instead. * * Value: "MANUAL_RENEWAL" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ManagementSettings_RenewalMethod_ManualRenewal; +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ManagementSettings_RenewalMethod_ManualRenewal GTLR_DEPRECATED; +/** + * The domain won't be renewed and will expire at its expiration time. + * + * Value: "RENEWAL_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_ManagementSettings_RenewalMethod_RenewalDisabled; /** * The renewal method is undefined. * @@ -505,6 +543,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_RegisterParameters_DomainNo */ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_RegisterParameters_SupportedPrivacy_ContactPrivacyUnspecified; /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * None of the data from `ContactSettings` is publicly available. Instead, * proxy contact data is published for your domain. Email sent to the proxy * email address is forwarded to the registrant's email address. Cloud Domains @@ -512,7 +552,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_RegisterParameters_Supporte * * Value: "PRIVATE_CONTACT_DATA" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_RegisterParameters_SupportedPrivacy_PrivateContactData; +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_RegisterParameters_SupportedPrivacy_PrivateContactData GTLR_DEPRECATED; /** * All the data from `ContactSettings` is publicly available. When setting this * option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the @@ -522,8 +562,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_RegisterParameters_Supporte */ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_RegisterParameters_SupportedPrivacy_PublicContactData; /** - * Some data from `ContactSettings` is publicly available. The actual - * information redacted depends on the domain. For details, see [the + * The organization name (if provided) and limited non-identifying data from + * `ContactSettings` is available to the public (e.g. country and state). The + * remaining data is marked as `REDACTED FOR PRIVACY` in the WHOIS database. + * The actual information redacted depends on the domain. For details, see [the * registration privacy * article](https://support.google.com/domains/answer/3251242). * @@ -546,6 +588,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_Issues_Contact * Value: "ISSUE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_Issues_IssueUnspecified; +/** + * Billing account is not in good standing. The domain will not automatically + * renew at its expiration time unless you resolve problems with your billing + * account. + * + * Value: "PROBLEM_WITH_BILLING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_Issues_ProblemWithBilling; /** * [ICANN](https://icann.org/) requires verification of the email address in * the `Registration`'s `contact_settings.registrant_contact` field. To verify @@ -592,11 +642,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_RegisterFailur /** * The domain is registered and operational. The domain renews automatically as - * long as it remains in this state. + * long as it remains in this state and the RenewalMethod is set to + * AUTOMATIC_RENEWAL. * * Value: "ACTIVE" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_State_Active; +/** + * The domain is expired. + * + * Value: "EXPIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_State_Expired; /** * The domain is no longer managed with Cloud Domains. It may have been * transferred to another registrar or exported for management in [Google @@ -612,7 +669,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_State_Exported * * Value: "IMPORT_PENDING" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_State_ImportPending; +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_State_ImportPending GTLR_DEPRECATED; /** * The domain registration failed. You can delete resources in this state to * allow registration to be retried. @@ -645,13 +702,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_State_Suspende * * Value: "TRANSFER_FAILED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_State_TransferFailed; +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_State_TransferFailed GTLR_DEPRECATED; /** * The domain is being transferred from another registrar to Cloud Domains. * * Value: "TRANSFER_PENDING" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_State_TransferPending; +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_State_TransferPending GTLR_DEPRECATED; // ---------------------------------------------------------------------------- // GTLRCloudDomains_Registration.supportedPrivacy @@ -663,6 +720,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_State_Transfer */ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_SupportedPrivacy_ContactPrivacyUnspecified; /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * None of the data from `ContactSettings` is publicly available. Instead, * proxy contact data is published for your domain. Email sent to the proxy * email address is forwarded to the registrant's email address. Cloud Domains @@ -670,7 +729,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_SupportedPriva * * Value: "PRIVATE_CONTACT_DATA" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_SupportedPrivacy_PrivateContactData; +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_SupportedPrivacy_PrivateContactData GTLR_DEPRECATED; /** * All the data from `ContactSettings` is publicly available. When setting this * option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the @@ -680,8 +739,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_SupportedPriva */ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_Registration_SupportedPrivacy_PublicContactData; /** - * Some data from `ContactSettings` is publicly available. The actual - * information redacted depends on the domain. For details, see [the + * The organization name (if provided) and limited non-identifying data from + * `ContactSettings` is available to the public (e.g. country and state). The + * remaining data is marked as `REDACTED FOR PRIVACY` in the WHOIS database. + * The actual information redacted depends on the domain. For details, see [the * registration privacy * article](https://support.google.com/domains/answer/3251242). * @@ -792,6 +853,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferDomainRequest_Conta */ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_SupportedPrivacy_ContactPrivacyUnspecified; /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * None of the data from `ContactSettings` is publicly available. Instead, * proxy contact data is published for your domain. Email sent to the proxy * email address is forwarded to the registrant's email address. Cloud Domains @@ -799,7 +862,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Supporte * * Value: "PRIVATE_CONTACT_DATA" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_SupportedPrivacy_PrivateContactData; +FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_SupportedPrivacy_PrivateContactData GTLR_DEPRECATED; /** * All the data from `ContactSettings` is publicly available. When setting this * option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the @@ -809,8 +872,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Supporte */ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_SupportedPrivacy_PublicContactData; /** - * Some data from `ContactSettings` is publicly available. The actual - * information redacted depends on the domain. For details, see [the + * The organization name (if provided) and limited non-identifying data from + * `ContactSettings` is available to the public (e.g. country and state). The + * remaining data is marked as `REDACTED FOR PRIVACY` in the WHOIS database. + * The actual information redacted depends on the domain. For details, see [the * registration privacy * article](https://support.google.com/domains/answer/3251242). * @@ -1112,21 +1177,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer * @arg @c kGTLRCloudDomains_ContactSettings_Privacy_ContactPrivacyUnspecified * The contact privacy settings are undefined. (Value: * "CONTACT_PRIVACY_UNSPECIFIED") - * @arg @c kGTLRCloudDomains_ContactSettings_Privacy_PrivateContactData None - * of the data from `ContactSettings` is publicly available. Instead, - * proxy contact data is published for your domain. Email sent to the - * proxy email address is forwarded to the registrant's email address. - * Cloud Domains provides this privacy proxy service at no additional - * cost. (Value: "PRIVATE_CONTACT_DATA") + * @arg @c kGTLRCloudDomains_ContactSettings_Privacy_PrivateContactData + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) + * None of the data from `ContactSettings` is publicly available. + * Instead, proxy contact data is published for your domain. Email sent + * to the proxy email address is forwarded to the registrant's email + * address. Cloud Domains provides this privacy proxy service at no + * additional cost. (Value: "PRIVATE_CONTACT_DATA") * @arg @c kGTLRCloudDomains_ContactSettings_Privacy_PublicContactData All * the data from `ContactSettings` is publicly available. When setting * this option, you must also provide a * `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field * of the request. (Value: "PUBLIC_CONTACT_DATA") - * @arg @c kGTLRCloudDomains_ContactSettings_Privacy_RedactedContactData Some - * data from `ContactSettings` is publicly available. The actual - * information redacted depends on the domain. For details, see [the - * registration privacy + * @arg @c kGTLRCloudDomains_ContactSettings_Privacy_RedactedContactData The + * organization name (if provided) and limited non-identifying data from + * `ContactSettings` is available to the public (e.g. country and state). + * The remaining data is marked as `REDACTED FOR PRIVACY` in the WHOIS + * database. The actual information redacted depends on the domain. For + * details, see [the registration privacy * article](https://support.google.com/domains/answer/3251242). (Value: * "REDACTED_CONTACT_DATA") */ @@ -1182,9 +1251,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer @property(nonatomic, strong, nullable) NSArray *glueRecords; /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * The free DNS zone provided by [Google Domains](https://domains.google/). */ -@property(nonatomic, strong, nullable) GTLRCloudDomains_GoogleDomainsDns *googleDomainsDns; +@property(nonatomic, strong, nullable) GTLRCloudDomains_GoogleDomainsDns *googleDomainsDns GTLR_DEPRECATED; @end @@ -1314,8 +1385,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Request for the `ExportRegistration` method. */ +GTLR_DEPRECATED @interface GTLRCloudDomains_ExportRegistrationRequest : GTLRObject @end @@ -1400,11 +1474,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Configuration for using the free DNS zone provided by Google Domains as a * `Registration`'s `dns_provider`. You cannot configure the DNS zone itself * using the API. To configure the DNS zone, go to [Google * Domains](https://domains.google/). */ +GTLR_DEPRECATED @interface GTLRCloudDomains_GoogleDomainsDns : GTLRObject /** @@ -1444,8 +1521,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Request for the `ImportDomain` method. */ +GTLR_DEPRECATED @interface GTLRCloudDomains_ImportDomainRequest : GTLRObject /** @@ -1614,20 +1694,56 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer @interface GTLRCloudDomains_ManagementSettings : GTLRObject /** - * Output only. The renewal method for this `Registration`. + * Optional. The desired renewal method for this `Registration`. The actual + * `renewal_method` is automatically updated to reflect this choice. If unset + * or equal to `RENEWAL_METHOD_UNSPECIFIED`, it will be treated as if it were + * set to `AUTOMATIC_RENEWAL`. Can't be set to `RENEWAL_DISABLED` during + * resource creation and can only be updated when the `Registration` resource + * has state `ACTIVE` or `SUSPENDED`. When `preferred_renewal_method` is set to + * `AUTOMATIC_RENEWAL` the actual `renewal_method` can be set to + * `RENEWAL_DISABLED` in case of e.g. problems with the Billing Account or + * reported domain abuse. In such cases check the `issues` field on the + * `Registration`. After the problem is resolved the `renewal_method` will be + * automatically updated to `preferred_renewal_method` in a few hours. + * + * Likely values: + * @arg @c kGTLRCloudDomains_ManagementSettings_PreferredRenewalMethod_AutomaticRenewal + * The domain is automatically renewed each year. (Value: + * "AUTOMATIC_RENEWAL") + * @arg @c kGTLRCloudDomains_ManagementSettings_PreferredRenewalMethod_ManualRenewal + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) + * This option was never used. Use RENEWAL_DISABLED instead. (Value: + * "MANUAL_RENEWAL") + * @arg @c kGTLRCloudDomains_ManagementSettings_PreferredRenewalMethod_RenewalDisabled + * The domain won't be renewed and will expire at its expiration time. + * (Value: "RENEWAL_DISABLED") + * @arg @c kGTLRCloudDomains_ManagementSettings_PreferredRenewalMethod_RenewalMethodUnspecified + * The renewal method is undefined. (Value: "RENEWAL_METHOD_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *preferredRenewalMethod; + +/** + * Output only. The actual renewal method for this `Registration`. When + * `preferred_renewal_method` is set to `AUTOMATIC_RENEWAL` the actual + * `renewal_method` can be equal to `RENEWAL_DISABLED` in case of e.g. problems + * with the Billing Account or reported domain abuse. In such cases check the + * `issues` field on the `Registration`. After the problem is resolved the + * `renewal_method` will be automatically updated to `preferred_renewal_method` + * in a few hours. * * Likely values: * @arg @c kGTLRCloudDomains_ManagementSettings_RenewalMethod_AutomaticRenewal - * The domain is automatically renewed each year . To disable automatic - * renewals, delete the resource by calling `DeleteRegistration` or - * export it by calling `ExportRegistration`. (Value: + * The domain is automatically renewed each year. (Value: * "AUTOMATIC_RENEWAL") * @arg @c kGTLRCloudDomains_ManagementSettings_RenewalMethod_ManualRenewal - * The domain must be explicitly renewed each year before its - * `expire_time`. This option is only available when the `Registration` - * is in state `EXPORTED`. To manage the domain's current billing and - * renewal settings, go to [Google Domains](https://domains.google/). - * (Value: "MANUAL_RENEWAL") + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) + * This option was never used. Use RENEWAL_DISABLED instead. (Value: + * "MANUAL_RENEWAL") + * @arg @c kGTLRCloudDomains_ManagementSettings_RenewalMethod_RenewalDisabled + * The domain won't be renewed and will expire at its expiration time. + * (Value: "RENEWAL_DISABLED") * @arg @c kGTLRCloudDomains_ManagementSettings_RenewalMethod_RenewalMethodUnspecified * The renewal method is undefined. (Value: "RENEWAL_METHOD_UNSPECIFIED") */ @@ -2088,15 +2204,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer * `RetrieveRegisterParameters` to ensure availability and obtain information * like pricing, which is needed to build a call to `RegisterDomain`. Another * way to create a new `Registration` is to transfer an existing domain from - * another registrar. First, go to the current registrar to unlock the domain - * for transfer and retrieve the domain's transfer authorization code. Then - * call `RetrieveTransferParameters` to confirm that the domain is unlocked and - * to get values needed to build a call to `TransferDomain`. Finally, you can + * another registrar (Deprecated: For more information, see [Cloud Domains + * feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations)). + * First, go to the current registrar to unlock the domain for transfer and + * retrieve the domain's transfer authorization code. Then call + * `RetrieveTransferParameters` to confirm that the domain is unlocked and to + * get values needed to build a call to `TransferDomain`. Finally, you can * create a new `Registration` by importing an existing domain managed with - * [Google Domains](https://domains.google/). First, call - * `RetrieveImportableDomains` to list domains to which the calling user has - * sufficient access. Then call `ImportDomain` on any domain names you want to - * use with Cloud Domains. + * [Google Domains](https://domains.google/) (Deprecated: For more information, + * see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations)). + * First, call `RetrieveImportableDomains` to list domains to which the calling + * user has sufficient access. Then call `ImportDomain` on any domain names you + * want to use with Cloud Domains. */ @interface GTLRCloudDomains_Registration : GTLRObject @@ -2184,7 +2305,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer * Likely values: * @arg @c kGTLRCloudDomains_Registration_State_Active The domain is * registered and operational. The domain renews automatically as long as - * it remains in this state. (Value: "ACTIVE") + * it remains in this state and the RenewalMethod is set to + * AUTOMATIC_RENEWAL. (Value: "ACTIVE") + * @arg @c kGTLRCloudDomains_Registration_State_Expired The domain is + * expired. (Value: "EXPIRED") * @arg @c kGTLRCloudDomains_Registration_State_Exported The domain is no * longer managed with Cloud Domains. It may have been transferred to * another registrar or exported for management in [Google @@ -2222,7 +2346,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer @property(nonatomic, strong, nullable) NSArray *supportedPrivacy; /** - * Output only. The reason the domain transfer failed. Only set for domains in + * Output only. Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) + * The reason the domain transfer failed. Only set for domains in * TRANSFER_FAILED state. * * Likely values: @@ -2263,7 +2389,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer * The transfer was rejected by the current registrar. Contact the * current registrar for more information. (Value: "TRANSFER_REJECTED") */ -@property(nonatomic, copy, nullable) NSString *transferFailureReason; +@property(nonatomic, copy, nullable) NSString *transferFailureReason GTLR_DEPRECATED; @end @@ -2288,6 +2414,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Response for the `RetrieveImportableDomains` method. * * @note This class supports NSFastEnumeration and indexed subscripting over @@ -2295,6 +2423,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer * should support automatic pagination (when @c shouldFetchNextPages is * enabled). */ +GTLR_DEPRECATED @interface GTLRCloudDomains_RetrieveImportableDomainsResponse : GTLRCollectionObject /** @@ -2326,8 +2455,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Response for the `RetrieveTransferParameters` method. */ +GTLR_DEPRECATED @interface GTLRCloudDomains_RetrieveTransferParametersResponse : GTLRObject /** Parameters to use when calling the `TransferDomain` method. */ @@ -2445,8 +2577,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Request for the `TransferDomain` method. */ +GTLR_DEPRECATED @interface GTLRCloudDomains_TransferDomainRequest : GTLRObject /** @@ -2488,8 +2623,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Parameters required to transfer a domain from another registrar. */ +GTLR_DEPRECATED @interface GTLRCloudDomains_TransferParameters : GTLRObject /** The registrar that currently manages the domain. */ diff --git a/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsQuery.h b/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsQuery.h index 1ba46c99d..dc58c882b 100644 --- a/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsQuery.h +++ b/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsQuery.h @@ -287,15 +287,17 @@ NS_ASSUME_NONNULL_BEGIN * Deletes a `Registration` resource. This method works on any `Registration` * resource using [Subscription or Commitment * billing](/domains/pricing#billing-models), provided that the resource was - * created at least 1 day in the past. For `Registration` resources using - * [Monthly billing](/domains/pricing#billing-models), this method works if: * - * `state` is `EXPORTED` with `expire_time` in the past * `state` is - * `REGISTRATION_FAILED` * `state` is `TRANSFER_FAILED` When an active - * registration is successfully deleted, you can continue to use the domain in - * [Google Domains](https://domains.google/) until it expires. The calling user - * becomes the domain's sole owner in Google Domains, and permissions for the - * domain are subsequently managed there. The domain does not renew - * automatically unless the new owner sets up billing in Google Domains. + * created at least 1 day in the past. When an active registration is + * successfully deleted, you can continue to use the domain in [Google + * Domains](https://domains.google/) until it expires. The calling user becomes + * the domain's sole owner in Google Domains, and permissions for the domain + * are subsequently managed there. The domain does not renew automatically + * unless the new owner sets up billing in Google Domains. After January 2024 + * you will only be able to delete `Registration` resources when `state` is one + * of: `EXPORTED`, `EXPIRED`,`REGISTRATION_FAILED` or `TRANSFER_FAILED`. See + * [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) + * for more details. * * Method: domains.projects.locations.registrations.delete * @@ -316,15 +318,17 @@ NS_ASSUME_NONNULL_BEGIN * Deletes a `Registration` resource. This method works on any `Registration` * resource using [Subscription or Commitment * billing](/domains/pricing#billing-models), provided that the resource was - * created at least 1 day in the past. For `Registration` resources using - * [Monthly billing](/domains/pricing#billing-models), this method works if: * - * `state` is `EXPORTED` with `expire_time` in the past * `state` is - * `REGISTRATION_FAILED` * `state` is `TRANSFER_FAILED` When an active - * registration is successfully deleted, you can continue to use the domain in - * [Google Domains](https://domains.google/) until it expires. The calling user - * becomes the domain's sole owner in Google Domains, and permissions for the - * domain are subsequently managed there. The domain does not renew - * automatically unless the new owner sets up billing in Google Domains. + * created at least 1 day in the past. When an active registration is + * successfully deleted, you can continue to use the domain in [Google + * Domains](https://domains.google/) until it expires. The calling user becomes + * the domain's sole owner in Google Domains, and permissions for the domain + * are subsequently managed there. The domain does not renew automatically + * unless the new owner sets up billing in Google Domains. After January 2024 + * you will only be able to delete `Registration` resources when `state` is one + * of: `EXPORTED`, `EXPIRED`,`REGISTRATION_FAILED` or `TRANSFER_FAILED`. See + * [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) + * for more details. * * @param name Required. The name of the `Registration` to delete, in the * format `projects/ * /locations/ * /registrations/ *`. @@ -336,6 +340,8 @@ NS_ASSUME_NONNULL_BEGIN @end /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Exports a `Registration` resource, such that it is no longer managed by * Cloud Domains. When an active domain is successfully exported, you can * continue to use the domain in [Google Domains](https://domains.google/) @@ -349,6 +355,7 @@ NS_ASSUME_NONNULL_BEGIN * Authorization scope(s): * @c kGTLRAuthScopeCloudDomainsCloudPlatform */ +GTLR_DEPRECATED @interface GTLRCloudDomainsQuery_ProjectsLocationsRegistrationsExport : GTLRCloudDomainsQuery /** @@ -360,6 +367,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRCloudDomains_Operation. * + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Exports a `Registration` resource, such that it is no longer managed by * Cloud Domains. When an active domain is successfully exported, you can * continue to use the domain in [Google Domains](https://domains.google/) @@ -460,6 +469,8 @@ NS_ASSUME_NONNULL_BEGIN @end /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Imports a domain name from [Google Domains](https://domains.google/) for use * in Cloud Domains. To transfer a domain from another registrar, use the * `TransferDomain` method instead. Since individual users can own domains in @@ -471,6 +482,7 @@ NS_ASSUME_NONNULL_BEGIN * Authorization scope(s): * @c kGTLRAuthScopeCloudDomainsCloudPlatform */ +GTLR_DEPRECATED @interface GTLRCloudDomainsQuery_ProjectsLocationsRegistrationsImport : GTLRCloudDomainsQuery /** @@ -482,6 +494,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRCloudDomains_Operation. * + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Imports a domain name from [Google Domains](https://domains.google/) for use * in Cloud Domains. To transfer a domain from another registrar, use the * `TransferDomain` method instead. Since individual users can own domains in @@ -731,6 +745,8 @@ NS_ASSUME_NONNULL_BEGIN @end /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Lists domain names from [Google Domains](https://domains.google/) that can * be imported to Cloud Domains using the `ImportDomain` method. Since * individual users can own domains in Google Domains, the list of domains @@ -742,6 +758,7 @@ NS_ASSUME_NONNULL_BEGIN * Authorization scope(s): * @c kGTLRAuthScopeCloudDomainsCloudPlatform */ +GTLR_DEPRECATED @interface GTLRCloudDomainsQuery_ProjectsLocationsRegistrationsRetrieveImportableDomains : GTLRCloudDomainsQuery /** @@ -761,6 +778,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRCloudDomains_RetrieveImportableDomainsResponse. * + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Lists domain names from [Google Domains](https://domains.google/) that can * be imported to Cloud Domains using the `ImportDomain` method. Since * individual users can own domains in Google Domains, the list of domains @@ -818,6 +837,8 @@ NS_ASSUME_NONNULL_BEGIN @end /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Gets parameters needed to transfer a domain name from another registrar to * Cloud Domains. For domains already managed by [Google * Domains](https://domains.google/), use `ImportDomain` instead. Use the @@ -828,6 +849,7 @@ NS_ASSUME_NONNULL_BEGIN * Authorization scope(s): * @c kGTLRAuthScopeCloudDomainsCloudPlatform */ +GTLR_DEPRECATED @interface GTLRCloudDomainsQuery_ProjectsLocationsRegistrationsRetrieveTransferParameters : GTLRCloudDomainsQuery /** @@ -844,6 +866,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRCloudDomains_RetrieveTransferParametersResponse. * + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Gets parameters needed to transfer a domain name from another registrar to * Cloud Domains. For domains already managed by [Google * Domains](https://domains.google/), use `ImportDomain` instead. Use the @@ -981,6 +1005,8 @@ NS_ASSUME_NONNULL_BEGIN @end /** + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Transfers a domain name from another registrar to Cloud Domains. For domains * already managed by [Google Domains](https://domains.google/), use * `ImportDomain` instead. Before calling this method, go to the domain's @@ -1003,6 +1029,7 @@ NS_ASSUME_NONNULL_BEGIN * Authorization scope(s): * @c kGTLRAuthScopeCloudDomainsCloudPlatform */ +GTLR_DEPRECATED @interface GTLRCloudDomainsQuery_ProjectsLocationsRegistrationsTransfer : GTLRCloudDomainsQuery /** @@ -1014,6 +1041,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRCloudDomains_Operation. * + * Deprecated: For more information, see [Cloud Domains feature + * deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) * Transfers a domain name from another registrar to Cloud Domains. For domains * already managed by [Google Domains](https://domains.google/), use * `ImportDomain` instead. Before calling this method, go to the domain's diff --git a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsQuery.h b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsQuery.h index 017fb86b7..78ac118f9 100644 --- a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsQuery.h +++ b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsQuery.h @@ -157,9 +157,8 @@ NS_ASSUME_NONNULL_BEGIN * to the target bucket using internal service identity; if credentials were * attached, the identity from the credentials would be used, but that identity * does not have permissions to upload files to the URL. When making a HTTP PUT - * request, these two headers need to be specified: * `content-type: - * application/zip` And this header SHOULD NOT be specified: * `Authorization: - * Bearer YOUR_TOKEN` + * request, specify this header: * `content-type: application/zip` Do not + * specify this header: * `Authorization: Bearer YOUR_TOKEN` * * Method: cloudfunctions.projects.locations.functions.generateUploadUrl * @@ -189,9 +188,8 @@ NS_ASSUME_NONNULL_BEGIN * to the target bucket using internal service identity; if credentials were * attached, the identity from the credentials would be used, but that identity * does not have permissions to upload files to the URL. When making a HTTP PUT - * request, these two headers need to be specified: * `content-type: - * application/zip` And this header SHOULD NOT be specified: * `Authorization: - * Bearer YOUR_TOKEN` + * request, specify this header: * `content-type: application/zip` Do not + * specify this header: * `Authorization: Bearer YOUR_TOKEN` * * @param object The @c GTLRCloudFunctions_GenerateUploadUrlRequest to include * in the query. diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h index 590bac050..0f6240513 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h @@ -2280,9 +2280,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of SearchForInstances, see [Search * transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call SearchForInstances, see [Searching for studies, series, instances, - * and - * frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames). + * to call SearchForInstances, see [Search for DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.searchForInstances * @@ -2314,9 +2313,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of SearchForInstances, see [Search * transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call SearchForInstances, see [Searching for studies, series, instances, - * and - * frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames). + * to call SearchForInstances, see [Search for DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -2338,8 +2336,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of SearchForSeries, see [Search * transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call SearchForSeries, see [Searching for studies, series, instances, and - * frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames). + * to call SearchForSeries, see [Search for DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.searchForSeries * @@ -2369,8 +2367,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of SearchForSeries, see [Search * transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call SearchForSeries, see [Searching for studies, series, instances, and - * frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames). + * to call SearchForSeries, see [Search for DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -2392,8 +2390,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of SearchForStudies, see [Search * transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call SearchForStudies, see [Searching for studies, series, instances, and - * frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames). + * to call SearchForStudies, see [Search for DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.searchForStudies * @@ -2423,8 +2421,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of SearchForStudies, see [Search * transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call SearchForStudies, see [Searching for studies, series, instances, and - * frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames). + * to call SearchForStudies, see [Search for DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -2487,8 +2485,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of StoreInstances, see [Store * transaction](https://cloud.google.com/healthcare/docs/dicom#store_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call StoreInstances, see [Storing DICOM - * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#storing_dicom_data). + * to call StoreInstances, see [Store DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#store-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.storeInstances * @@ -2519,8 +2517,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of StoreInstances, see [Store * transaction](https://cloud.google.com/healthcare/docs/dicom#store_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call StoreInstances, see [Storing DICOM - * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#storing_dicom_data). + * to call StoreInstances, see [Store DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#store-dicom). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. * @param parent The name of the DICOM store that is being accessed. For @@ -2543,8 +2541,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * The method returns an Operation which will be marked successful when the * deletion is complete. Warning: Instances cannot be inserted into a study * that is being deleted by an operation until the operation completes. For - * samples that show how to call DeleteStudy, see [Deleting a study, series, or - * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#deleting_a_study_series_or_instance). + * samples that show how to call DeleteStudy, see [Delete a study, series, or + * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.delete * @@ -2569,8 +2567,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * The method returns an Operation which will be marked successful when the * deletion is complete. Warning: Instances cannot be inserted into a study * that is being deleted by an operation until the operation completes. For - * samples that show how to call DeleteStudy, see [Deleting a study, series, or - * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#deleting_a_study_series_or_instance). + * samples that show how to call DeleteStudy, see [Delete a study, series, or + * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom). * * @param parent NSString * @param dicomWebPath The path of the DeleteStudy request. For example, @@ -2590,8 +2588,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveStudyMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveStudyMetadata, see [Retrieving - * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata). + * to call RetrieveStudyMetadata, see [Retrieve + * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.retrieveMetadata * @@ -2622,8 +2620,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveStudyMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveStudyMetadata, see [Retrieving - * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata). + * to call RetrieveStudyMetadata, see [Retrieve + * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -2645,8 +2643,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveStudy, see [DICOM * study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveStudy, see [Retrieving DICOM - * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_dicom_data). + * to call RetrieveStudy, see [Retrieve DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.retrieveStudy * @@ -2677,8 +2675,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveStudy, see [DICOM * study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveStudy, see [Retrieving DICOM - * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_dicom_data). + * to call RetrieveStudy, see [Retrieve DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -2700,9 +2698,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of SearchForInstances, see [Search * transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call SearchForInstances, see [Searching for studies, series, instances, - * and - * frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames). + * to call SearchForInstances, see [Search for DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.searchForInstances * @@ -2734,9 +2731,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of SearchForInstances, see [Search * transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call SearchForInstances, see [Searching for studies, series, instances, - * and - * frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames). + * to call SearchForInstances, see [Search for DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -2758,8 +2754,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of SearchForSeries, see [Search * transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call SearchForSeries, see [Searching for studies, series, instances, and - * frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames). + * to call SearchForSeries, see [Search for DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.searchForSeries * @@ -2789,8 +2785,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of SearchForSeries, see [Search * transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call SearchForSeries, see [Searching for studies, series, instances, and - * frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames). + * to call SearchForSeries, see [Search for DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -2811,9 +2807,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * transaction. The method returns an Operation which will be marked successful * when the deletion is complete. Warning: Instances cannot be inserted into a * series that is being deleted by an operation until the operation completes. - * For samples that show how to call DeleteSeries, see [Deleting a study, - * series, or - * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#deleting_a_study_series_or_instance). + * For samples that show how to call DeleteSeries, see [Delete a study, series, + * or + * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.series.delete * @@ -2843,9 +2839,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * transaction. The method returns an Operation which will be marked successful * when the deletion is complete. Warning: Instances cannot be inserted into a * series that is being deleted by an operation until the operation completes. - * For samples that show how to call DeleteSeries, see [Deleting a study, - * series, or - * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#deleting_a_study_series_or_instance). + * For samples that show how to call DeleteSeries, see [Delete a study, series, + * or + * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -2866,8 +2862,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * specified in the Retrieve transaction. Study and series search results can * take a few seconds to be updated after an instance is deleted using * DeleteInstance. For samples that show how to call DeleteInstance, see - * [Deleting a study, series, or - * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#deleting_a_study_series_or_instance). + * [Delete a study, series, or + * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.series.instances.delete * @@ -2897,8 +2893,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * specified in the Retrieve transaction. Study and series search results can * take a few seconds to be updated after an instance is deleted using * DeleteInstance. For samples that show how to call DeleteInstance, see - * [Deleting a study, series, or - * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#deleting_a_study_series_or_instance). + * [Delete a study, series, or + * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -2920,8 +2916,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveFrames, see [DICOM * frames](https://cloud.google.com/healthcare/docs/dicom#dicom_frames) in the * Cloud Healthcare API conformance statement. For samples that show how to - * call RetrieveFrames, see [Retrieving DICOM - * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_dicom_data). + * call RetrieveFrames, see [Retrieve DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.series.instances.frames.retrieveFrames * @@ -2952,8 +2948,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveFrames, see [DICOM * frames](https://cloud.google.com/healthcare/docs/dicom#dicom_frames) in the * Cloud Healthcare API conformance statement. For samples that show how to - * call RetrieveFrames, see [Retrieving DICOM - * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_dicom_data). + * call RetrieveFrames, see [Retrieve DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -2977,8 +2973,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveRenderedFrames, see [Rendered * resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveRenderedFrames, see [Retrieving consumer image - * formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_consumer_image_formats). + * to call RetrieveRenderedFrames, see [Retrieve consumer image + * formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.series.instances.frames.retrieveRendered * @@ -3010,8 +3006,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveRenderedFrames, see [Rendered * resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveRenderedFrames, see [Retrieving consumer image - * formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_consumer_image_formats). + * to call RetrieveRenderedFrames, see [Retrieve consumer image + * formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -3036,8 +3032,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * and [DICOM * instances](https://cloud.google.com/healthcare/docs/dicom#dicom_instances) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveInstance, see [Retrieving an - * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_an_instance). + * to call RetrieveInstance, see [Retrieve an + * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-instance). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveInstance * @@ -3070,8 +3066,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * and [DICOM * instances](https://cloud.google.com/healthcare/docs/dicom#dicom_instances) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveInstance, see [Retrieving an - * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_an_instance). + * to call RetrieveInstance, see [Retrieve an + * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-instance). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -3095,8 +3091,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveInstanceMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveInstanceMetadata, see [Retrieving - * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata). + * to call RetrieveInstanceMetadata, see [Retrieve + * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveMetadata * @@ -3128,8 +3124,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveInstanceMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveInstanceMetadata, see [Retrieving - * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata). + * to call RetrieveInstanceMetadata, see [Retrieve + * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -3153,8 +3149,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveRenderedInstance, see [Rendered * resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveRenderedInstance, see [Retrieving consumer image - * formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_consumer_image_formats). + * to call RetrieveRenderedInstance, see [Retrieve consumer image + * formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveRendered * @@ -3186,8 +3182,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveRenderedInstance, see [Rendered * resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveRenderedInstance, see [Retrieving consumer image - * formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_consumer_image_formats). + * to call RetrieveRenderedInstance, see [Retrieve consumer image + * formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -3211,8 +3207,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveSeriesMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveSeriesMetadata, see [Retrieving - * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata). + * to call RetrieveSeriesMetadata, see [Retrieve + * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.series.retrieveMetadata * @@ -3244,8 +3240,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveSeriesMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveSeriesMetadata, see [Retrieving - * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata). + * to call RetrieveSeriesMetadata, see [Retrieve + * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -3267,8 +3263,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveSeries, see [DICOM * study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveSeries, see [Retrieving DICOM - * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_dicom_data). + * to call RetrieveSeries, see [Retrieve DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.series.retrieveSeries * @@ -3299,8 +3295,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of RetrieveSeries, see [DICOM * study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call RetrieveSeries, see [Retrieving DICOM - * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_dicom_data). + * to call RetrieveSeries, see [Retrieve DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -3322,9 +3318,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of SearchForInstances, see [Search * transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call SearchForInstances, see [Searching for studies, series, instances, - * and - * frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames). + * to call SearchForInstances, see [Search for DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.series.searchForInstances * @@ -3356,9 +3351,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of SearchForInstances, see [Search * transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call SearchForInstances, see [Searching for studies, series, instances, - * and - * frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames). + * to call SearchForInstances, see [Search for DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * * @param parent The name of the DICOM store that is being accessed. For * example, @@ -3381,8 +3375,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of StoreInstances, see [Store * transaction](https://cloud.google.com/healthcare/docs/dicom#store_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call StoreInstances, see [Storing DICOM - * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#storing_dicom_data). + * to call StoreInstances, see [Store DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#store-dicom). * * Method: healthcare.projects.locations.datasets.dicomStores.studies.storeInstances * @@ -3413,8 +3407,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For details on the implementation of StoreInstances, see [Store * transaction](https://cloud.google.com/healthcare/docs/dicom#store_transaction) * in the Cloud Healthcare API conformance statement. For samples that show how - * to call StoreInstances, see [Storing DICOM - * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#storing_dicom_data). + * to call StoreInstances, see [Store DICOM + * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#store-dicom). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. * @param parent The name of the DICOM store that is being accessed. For @@ -5725,7 +5719,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @end /** - * Gets metrics asssociated with the HL7v2 store. + * Gets metrics associated with the HL7v2 store. * * Method: healthcare.projects.locations.datasets.hl7V2Stores.getHL7v2StoreMetrics * @@ -5744,7 +5738,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Fetches a @c GTLRCloudHealthcare_Hl7V2StoreMetrics. * - * Gets metrics asssociated with the HL7v2 store. + * Gets metrics associated with the HL7v2 store. * * @param name The resource name of the HL7v2 store to get metrics for, in the * format diff --git a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m index 874df63d2..f79de3f38 100644 --- a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m +++ b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m @@ -288,9 +288,9 @@ @implementation GTLRCloudRedis_Instance locationId, maintenancePolicy, maintenanceSchedule, maintenanceVersion, memorySizeGb, name, nodes, persistenceConfig, persistenceIamIdentity, port, readEndpoint, readEndpointPort, readReplicasMode, redisConfigs, - redisVersion, replicaCount, reservedIpRange, secondaryIpRange, - serverCaCerts, state, statusMessage, suspensionReasons, tier, - transitEncryptionMode; + redisVersion, replicaCount, reservedIpRange, satisfiesPzs, + secondaryIpRange, serverCaCerts, state, statusMessage, + suspensionReasons, tier, transitEncryptionMode; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h index 33ba37d9a..c18ff4b4b 100644 --- a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h +++ b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h @@ -1059,6 +1059,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_WeeklyMaintenanceWindow_Day_W */ @property(nonatomic, copy, nullable) NSString *reservedIpRange; +/** + * Optional. Output only. Reserved for future use. Zone Separation compliance + * state of the instance. Field name and documentation is obfuscated according + * to go/zs-resource-status. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** * Optional. Additional IP range for node placement. Required when enabling * read replicas on an existing instance. For DIRECT_PEERING mode value must be diff --git a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h index 7d4657796..f158d9af8 100644 --- a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h +++ b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h @@ -6652,7 +6652,7 @@ GTLR_DEPRECATED /** * Force returns an attribute/facet in the request around a certain position or - * above. * Rule Condition: - Must specify non-empty Condition.query_terms (for + * above. * Rule Condition: Must specify non-empty Condition.query_terms (for * search only) or Condition.page_categories (for browse only), but can't * specify both. * Action Inputs: attribute name, position * Action Result: * Will force return a facet key around a certain position or above if the @@ -6738,7 +6738,7 @@ GTLR_DEPRECATED /** - * Redirects a shopper to a specific page. * Rule Condition: - Must specify + * Redirects a shopper to a specific page. * Rule Condition: Must specify * Condition.query_terms. * Action Input: Request Query * Action Result: * Redirects shopper to provided uri. */ @@ -6751,7 +6751,7 @@ GTLR_DEPRECATED /** - * Removes an attribute/facet in the request if is present. * Rule Condition: - + * Removes an attribute/facet in the request if is present. * Rule Condition: * Must specify non-empty Condition.query_terms (for search only) or * Condition.page_categories (for browse only), but can't specify both. * * Action Input: attribute name * Action Result: Will remove the attribute (as @@ -6836,11 +6836,12 @@ GTLR_DEPRECATED /** * The default filter that is applied when a user performs a search without * checking any filters on the search page. The filter applied to every search - * request when quality improvement such as query expansion is needed. For - * example, if a query does not have enough results, an expanded query with - * SearchRequest.canonical_filter is returned as a supplement of the original - * query. This field is strongly recommended to achieve high search quality. - * For more information about filter syntax, see SearchRequest.filter. + * request when quality improvement such as query expansion is needed. In the + * case a query does not have a sufficient amount of results this filter will + * be used to determine whether or not to enable the query expansion flow. The + * original filter will still be used for the query expanded search. This field + * is strongly recommended to achieve high search quality. For more information + * about filter syntax, see SearchRequest.filter. */ @property(nonatomic, copy, nullable) NSString *canonicalFilter; diff --git a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m index c892c0829..5d3fe09b8 100644 --- a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m +++ b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m @@ -870,8 +870,9 @@ @implementation GTLRCloudRun_GoogleCloudRunV2Service createTime, creator, customAudiences, deleteTime, descriptionProperty, ETag, expireTime, generation, ingress, labels, lastModifier, latestCreatedRevision, latestReadyRevision, launchStage, name, - observedGeneration, reconciling, satisfiesPzs, templateProperty, - terminalCondition, traffic, trafficStatuses, uid, updateTime, uri; + observedGeneration, reconciling, satisfiesPzs, scaling, + templateProperty, terminalCondition, traffic, trafficStatuses, uid, + updateTime, uri; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -923,6 +924,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRun_GoogleCloudRunV2ServiceScaling +// + +@implementation GTLRCloudRun_GoogleCloudRunV2ServiceScaling +@dynamic minInstanceCount; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRun_GoogleCloudRunV2Task diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h index a054cbd79..32e82a637 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h @@ -57,6 +57,7 @@ @class GTLRCloudRun_GoogleCloudRunV2Service; @class GTLRCloudRun_GoogleCloudRunV2Service_Annotations; @class GTLRCloudRun_GoogleCloudRunV2Service_Labels; +@class GTLRCloudRun_GoogleCloudRunV2ServiceScaling; @class GTLRCloudRun_GoogleCloudRunV2Task; @class GTLRCloudRun_GoogleCloudRunV2Task_Annotations; @class GTLRCloudRun_GoogleCloudRunV2Task_Labels; @@ -3162,6 +3163,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; +/** Optional. Specifies service-level scaling settings */ +@property(nonatomic, strong, nullable) GTLRCloudRun_GoogleCloudRunV2ServiceScaling *scaling; + /** * Required. The template used to create revisions for this Service. * @@ -3247,6 +3251,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @end +/** + * Scaling settings applied at the service level rather than at the revision + * level. + */ +@interface GTLRCloudRun_GoogleCloudRunV2ServiceScaling : GTLRObject + +/** + * total min instances for the service. This number of instances is divided + * among all revisions with specified traffic based on the percent of traffic + * they are receiving. (ALPHA) + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minInstanceCount; + +@end + + /** * Task represents a single run of a container to completion. */ diff --git a/Sources/GeneratedServices/CloudTasks/GTLRCloudTasksObjects.m b/Sources/GeneratedServices/CloudTasks/GTLRCloudTasksObjects.m index 13d312ff2..5097de710 100644 --- a/Sources/GeneratedServices/CloudTasks/GTLRCloudTasksObjects.m +++ b/Sources/GeneratedServices/CloudTasks/GTLRCloudTasksObjects.m @@ -38,6 +38,16 @@ NSString * const kGTLRCloudTasks_HttpRequest_HttpMethod_Post = @"POST"; NSString * const kGTLRCloudTasks_HttpRequest_HttpMethod_Put = @"PUT"; +// GTLRCloudTasks_HttpTarget.httpMethod +NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Delete = @"DELETE"; +NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Get = @"GET"; +NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Head = @"HEAD"; +NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_HttpMethodUnspecified = @"HTTP_METHOD_UNSPECIFIED"; +NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Options = @"OPTIONS"; +NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Patch = @"PATCH"; +NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Post = @"POST"; +NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Put = @"PUT"; + // GTLRCloudTasks_Queue.state NSString * const kGTLRCloudTasks_Queue_State_Disabled = @"DISABLED"; NSString * const kGTLRCloudTasks_Queue_State_Paused = @"PAUSED"; @@ -54,6 +64,16 @@ NSString * const kGTLRCloudTasks_Task_View_Full = @"FULL"; NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified = @"VIEW_UNSPECIFIED"; +// GTLRCloudTasks_UriOverride.scheme +NSString * const kGTLRCloudTasks_UriOverride_Scheme_Http = @"HTTP"; +NSString * const kGTLRCloudTasks_UriOverride_Scheme_Https = @"HTTPS"; +NSString * const kGTLRCloudTasks_UriOverride_Scheme_SchemeUnspecified = @"SCHEME_UNSPECIFIED"; + +// GTLRCloudTasks_UriOverride.uriOverrideEnforceMode +NSString * const kGTLRCloudTasks_UriOverride_UriOverrideEnforceMode_Always = @"ALWAYS"; +NSString * const kGTLRCloudTasks_UriOverride_UriOverrideEnforceMode_IfNotExists = @"IF_NOT_EXISTS"; +NSString * const kGTLRCloudTasks_UriOverride_UriOverrideEnforceMode_UriOverrideEnforceModeUnspecified = @"URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED"; + // ---------------------------------------------------------------------------- // // GTLRCloudTasks_AppEngineHttpRequest @@ -116,6 +136,26 @@ @implementation GTLRCloudTasks_Binding @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudTasks_BufferTaskRequest +// + +@implementation GTLRCloudTasks_BufferTaskRequest +@dynamic body; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudTasks_BufferTaskResponse +// + +@implementation GTLRCloudTasks_BufferTaskResponse +@dynamic task; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudTasks_CmekConfig @@ -180,6 +220,58 @@ @implementation GTLRCloudTasks_GetPolicyOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudTasks_Header +// + +@implementation GTLRCloudTasks_Header +@dynamic key, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudTasks_HeaderOverride +// + +@implementation GTLRCloudTasks_HeaderOverride +@dynamic header; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudTasks_HttpBody +// + +@implementation GTLRCloudTasks_HttpBody +@dynamic contentType, data, extensions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extensions" : [GTLRCloudTasks_HttpBody_Extensions_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudTasks_HttpBody_Extensions_Item +// + +@implementation GTLRCloudTasks_HttpBody_Extensions_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudTasks_HttpRequest @@ -204,6 +296,24 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudTasks_HttpTarget +// + +@implementation GTLRCloudTasks_HttpTarget +@dynamic headerOverrides, httpMethod, oauthToken, oidcToken, uriOverride; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"headerOverrides" : [GTLRCloudTasks_HeaderOverride class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudTasks_ListLocationsResponse @@ -328,6 +438,16 @@ @implementation GTLRCloudTasks_OidcToken @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudTasks_PathOverride +// + +@implementation GTLRCloudTasks_PathOverride +@dynamic path; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudTasks_PauseQueueRequest @@ -368,14 +488,24 @@ @implementation GTLRCloudTasks_PurgeQueueRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudTasks_QueryOverride +// + +@implementation GTLRCloudTasks_QueryOverride +@dynamic queryParams; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudTasks_Queue // @implementation GTLRCloudTasks_Queue -@dynamic appEngineRoutingOverride, name, purgeTime, rateLimits, retryConfig, - stackdriverLoggingConfig, state; +@dynamic appEngineRoutingOverride, httpTarget, name, purgeTime, rateLimits, + retryConfig, stackdriverLoggingConfig, state; @end @@ -516,3 +646,14 @@ @implementation GTLRCloudTasks_TestIamPermissionsResponse } @end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudTasks_UriOverride +// + +@implementation GTLRCloudTasks_UriOverride +@dynamic host, pathOverride, port, queryOverride, scheme, + uriOverrideEnforceMode; +@end diff --git a/Sources/GeneratedServices/CloudTasks/GTLRCloudTasksQuery.m b/Sources/GeneratedServices/CloudTasks/GTLRCloudTasksQuery.m index e9357d7c4..a878b27ef 100644 --- a/Sources/GeneratedServices/CloudTasks/GTLRCloudTasksQuery.m +++ b/Sources/GeneratedServices/CloudTasks/GTLRCloudTasksQuery.m @@ -331,6 +331,37 @@ + (instancetype)queryWithObject:(GTLRCloudTasks_SetIamPolicyRequest *)object @end +@implementation GTLRCloudTasksQuery_ProjectsLocationsQueuesTasksBuffer + +@dynamic queue, taskId; + ++ (instancetype)queryWithObject:(GTLRCloudTasks_BufferTaskRequest *)object + queue:(NSString *)queue + taskId:(NSString *)taskId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"queue", @"taskId" + ]; + NSString *pathURITemplate = @"v2/{+queue}/tasks/{taskId}:buffer"; + GTLRCloudTasksQuery_ProjectsLocationsQueuesTasksBuffer *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.queue = queue; + query.taskId = taskId; + query.expectedObjectClass = [GTLRCloudTasks_BufferTaskResponse class]; + query.loggingName = @"cloudtasks.projects.locations.queues.tasks.buffer"; + return query; +} + +@end + @implementation GTLRCloudTasksQuery_ProjectsLocationsQueuesTasksCreate @dynamic parent; diff --git a/Sources/GeneratedServices/CloudTasks/Public/GoogleAPIClientForREST/GTLRCloudTasksObjects.h b/Sources/GeneratedServices/CloudTasks/Public/GoogleAPIClientForREST/GTLRCloudTasksObjects.h index 2e5dc610a..e899162ff 100644 --- a/Sources/GeneratedServices/CloudTasks/Public/GoogleAPIClientForREST/GTLRCloudTasksObjects.h +++ b/Sources/GeneratedServices/CloudTasks/Public/GoogleAPIClientForREST/GTLRCloudTasksObjects.h @@ -21,14 +21,21 @@ @class GTLRCloudTasks_Binding; @class GTLRCloudTasks_Expr; @class GTLRCloudTasks_GetPolicyOptions; +@class GTLRCloudTasks_Header; +@class GTLRCloudTasks_HeaderOverride; +@class GTLRCloudTasks_HttpBody; +@class GTLRCloudTasks_HttpBody_Extensions_Item; @class GTLRCloudTasks_HttpRequest; @class GTLRCloudTasks_HttpRequest_Headers; +@class GTLRCloudTasks_HttpTarget; @class GTLRCloudTasks_Location; @class GTLRCloudTasks_Location_Labels; @class GTLRCloudTasks_Location_Metadata; @class GTLRCloudTasks_OAuthToken; @class GTLRCloudTasks_OidcToken; +@class GTLRCloudTasks_PathOverride; @class GTLRCloudTasks_Policy; +@class GTLRCloudTasks_QueryOverride; @class GTLRCloudTasks_Queue; @class GTLRCloudTasks_RateLimits; @class GTLRCloudTasks_RetryConfig; @@ -36,6 +43,7 @@ @class GTLRCloudTasks_Status; @class GTLRCloudTasks_Status_Details_Item; @class GTLRCloudTasks_Task; +@class GTLRCloudTasks_UriOverride; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -178,6 +186,58 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_HttpRequest_HttpMethod_Post; */ FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_HttpRequest_HttpMethod_Put; +// ---------------------------------------------------------------------------- +// GTLRCloudTasks_HttpTarget.httpMethod + +/** + * HTTP DELETE + * + * Value: "DELETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Delete; +/** + * HTTP GET + * + * Value: "GET" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Get; +/** + * HTTP HEAD + * + * Value: "HEAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Head; +/** + * HTTP method unspecified + * + * Value: "HTTP_METHOD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_HttpMethodUnspecified; +/** + * HTTP OPTIONS + * + * Value: "OPTIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Options; +/** + * HTTP PATCH + * + * Value: "PATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Patch; +/** + * HTTP POST + * + * Value: "POST" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Post; +/** + * HTTP PUT + * + * Value: "PUT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_HttpTarget_HttpMethod_Put; + // ---------------------------------------------------------------------------- // GTLRCloudTasks_Queue.state @@ -273,6 +333,54 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_Task_View_Full; */ FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudTasks_UriOverride.scheme + +/** + * Convert the scheme to HTTP, e.g., https://www.google.ca will change to + * http://www.google.ca. + * + * Value: "HTTP" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_UriOverride_Scheme_Http; +/** + * Convert the scheme to HTTPS, e.g., http://www.google.ca will change to + * https://www.google.ca. + * + * Value: "HTTPS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_UriOverride_Scheme_Https; +/** + * Scheme unspecified. Defaults to HTTPS. + * + * Value: "SCHEME_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_UriOverride_Scheme_SchemeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudTasks_UriOverride.uriOverrideEnforceMode + +/** + * In the ALWAYS mode, queue-level configuration overrides all task-level + * configuration + * + * Value: "ALWAYS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_UriOverride_UriOverrideEnforceMode_Always; +/** + * In the IF_NOT_EXISTS mode, queue-level configuration is only applied where + * task-level configuration does not exist. + * + * Value: "IF_NOT_EXISTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_UriOverride_UriOverrideEnforceMode_IfNotExists; +/** + * UriOverrideEnforceMode Unspecified. Defaults to ALWAYS. + * + * Value: "URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_UriOverride_UriOverrideEnforceMode_UriOverrideEnforceModeUnspecified; + /** * App Engine HTTP request. The message defines the HTTP request that is sent * to an App Engine app when the task is dispatched. Using AppEngineHttpRequest @@ -594,8 +702,33 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; /** - * CMEK, or Customer Managed Encryption Keys, enables GCP products to put - * control over encryption and key management in their customer’s hands. + * Request message for BufferTask. + */ +@interface GTLRCloudTasks_BufferTaskRequest : GTLRObject + +/** + * Optional. Body of the HTTP request. The body can take any generic value. The + * value is written to the HttpRequest of the [Task]. + */ +@property(nonatomic, strong, nullable) GTLRCloudTasks_HttpBody *body; + +@end + + +/** + * Response message for BufferTask. + */ +@interface GTLRCloudTasks_BufferTaskResponse : GTLRObject + +/** The created task. */ +@property(nonatomic, strong, nullable) GTLRCloudTasks_Task *task; + +@end + + +/** + * Describes the customer-managed encryption key (CMEK) configuration + * associated with a project and location. */ @interface GTLRCloudTasks_CmekConfig : GTLRObject @@ -772,6 +905,86 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; @end +/** + * Defines a header message. A header can have a key and a value. + */ +@interface GTLRCloudTasks_Header : GTLRObject + +/** The Key of the header. */ +@property(nonatomic, copy, nullable) NSString *key; + +/** The Value of the header. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + +/** + * Wraps the Header object. + */ +@interface GTLRCloudTasks_HeaderOverride : GTLRObject + +/** header embodying a key and a value. */ +@property(nonatomic, strong, nullable) GTLRCloudTasks_Header *header; + +@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 GTLRCloudTasks_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 + + +/** + * GTLRCloudTasks_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 GTLRCloudTasks_HttpBody_Extensions_Item : GTLRObject +@end + + /** * HTTP request. The task will be pushed to the worker as an HTTP request. If * the worker or the redirected worker acknowledges the task by returning a @@ -901,6 +1114,83 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; @end +/** + * HTTP target. When specified as a Queue, all the tasks with [HttpRequest] + * will be overridden according to the target. + */ +@interface GTLRCloudTasks_HttpTarget : GTLRObject + +/** + * HTTP target headers. This map contains the header field names and values. + * Headers will be set when running the CreateTask and/or BufferTask. These + * headers represent a subset of the headers that will be configured for the + * task's HTTP request. Some HTTP request headers will be ignored or replaced. + * A partial list of headers that will be ignored or replaced is: * Several + * predefined headers, prefixed with "X-CloudTasks-", can be used to define + * properties of the task. * Host: This will be computed by Cloud Tasks and + * derived from HttpRequest.url. * Content-Length: This will be computed by + * Cloud Tasks. `Content-Type` won't be set by Cloud Tasks. You can explicitly + * set `Content-Type` to a media type when the task is created. For + * example,`Content-Type` can be set to `"application/octet-stream"` or + * `"application/json"`. The default value is set to "application/json"`. * + * User-Agent: This will be set to `"Google-Cloud-Tasks"`. Headers which can + * have multiple values (according to RFC2616) can be specified using + * comma-separated values. The size of the headers must be less than 80KB. + * Queue-level headers to override headers of all the tasks in the queue. + */ +@property(nonatomic, strong, nullable) NSArray *headerOverrides; + +/** + * The HTTP method to use for the request. When specified, it overrides + * HttpRequest for the task. Note that if the value is set to HttpMethod the + * HttpRequest of the task will be ignored at execution time. + * + * Likely values: + * @arg @c kGTLRCloudTasks_HttpTarget_HttpMethod_Delete HTTP DELETE (Value: + * "DELETE") + * @arg @c kGTLRCloudTasks_HttpTarget_HttpMethod_Get HTTP GET (Value: "GET") + * @arg @c kGTLRCloudTasks_HttpTarget_HttpMethod_Head HTTP HEAD (Value: + * "HEAD") + * @arg @c kGTLRCloudTasks_HttpTarget_HttpMethod_HttpMethodUnspecified HTTP + * method unspecified (Value: "HTTP_METHOD_UNSPECIFIED") + * @arg @c kGTLRCloudTasks_HttpTarget_HttpMethod_Options HTTP OPTIONS (Value: + * "OPTIONS") + * @arg @c kGTLRCloudTasks_HttpTarget_HttpMethod_Patch HTTP PATCH (Value: + * "PATCH") + * @arg @c kGTLRCloudTasks_HttpTarget_HttpMethod_Post HTTP POST (Value: + * "POST") + * @arg @c kGTLRCloudTasks_HttpTarget_HttpMethod_Put HTTP PUT (Value: "PUT") + */ +@property(nonatomic, copy, nullable) NSString *httpMethod; + +/** + * If specified, an [OAuth + * token](https://developers.google.com/identity/protocols/OAuth2) will be + * generated and attached as the `Authorization` header in the HTTP request. + * This type of authorization should generally only be used when calling Google + * APIs hosted on *.googleapis.com. + */ +@property(nonatomic, strong, nullable) GTLRCloudTasks_OAuthToken *oauthToken; + +/** + * If specified, an + * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token + * will be generated and attached as an `Authorization` header in the HTTP + * request. This type of authorization can be used for many scenarios, + * including calling Cloud Run, or endpoints where you intend to validate the + * token yourself. + */ +@property(nonatomic, strong, nullable) GTLRCloudTasks_OidcToken *oidcToken; + +/** + * URI override. When specified, overrides the execution URI for all the tasks + * in the queue. + */ +@property(nonatomic, strong, nullable) GTLRCloudTasks_UriOverride *uriOverride; + +@end + + /** * The response message for Locations.ListLocations. * @@ -1093,6 +1383,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; @end +/** + * PathOverride. Path message defines path override for HTTP targets. + */ +@interface GTLRCloudTasks_PathOverride : GTLRObject + +/** The URI path (e.g., /users/1234). Default is an empty string. */ +@property(nonatomic, copy, nullable) NSString *path; + +@end + + /** * Request message for PauseQueue. */ @@ -1195,6 +1496,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; @end +/** + * QueryOverride. Query message defines query override for HTTP targets. + */ +@interface GTLRCloudTasks_QueryOverride : GTLRObject + +/** + * The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty + * string. + */ +@property(nonatomic, copy, nullable) NSString *queryParams; + +@end + + /** * A queue is a container of related tasks. Queues are configured to manage how * those tasks are dispatched. Configurable properties include rate limits, @@ -1210,6 +1525,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; */ @property(nonatomic, strong, nullable) GTLRCloudTasks_AppEngineRouting *appEngineRoutingOverride; +/** Modifies HTTP target for HTTP tasks. */ +@property(nonatomic, strong, nullable) GTLRCloudTasks_HttpTarget *httpTarget; + /** * Caller-specified and required in CreateQueue, after which it becomes output * only. The queue name. The queue name must have the following format: @@ -1715,6 +2033,80 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; @end + +/** + * URI Override. When specified, all the HTTP tasks inside the queue will be + * partially or fully overridden depending on the configured values. + */ +@interface GTLRCloudTasks_UriOverride : GTLRObject + +/** + * Host override. When specified, replaces the host part of the task URL. For + * example, if the task URL is "https://www.google.com," and host value is set + * to "example.net", the overridden URI will be changed to + * "https://example.net." Host value cannot be an empty string + * (INVALID_ARGUMENT). + */ +@property(nonatomic, copy, nullable) NSString *host; + +/** + * URI path. When specified, replaces the existing path of the task URL. + * Setting the path value to an empty string clears the URI path segment. + */ +@property(nonatomic, strong, nullable) GTLRCloudTasks_PathOverride *pathOverride; + +/** + * Port override. When specified, replaces the port part of the task URI. For + * instance, for a URI http://www.google.com/foo and port=123, the overridden + * URI becomes http://www.google.com:123/foo. Note that the port value must be + * a positive integer. Setting the port to 0 (Zero) clears the URI port. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *port; + +/** + * URI query. When specified, replaces the query part of the task URI. Setting + * the query value to an empty string clears the URI query segment. + */ +@property(nonatomic, strong, nullable) GTLRCloudTasks_QueryOverride *queryOverride; + +/** + * Scheme override. When specified, the task URI scheme is replaced by the + * provided value (HTTP or HTTPS). + * + * Likely values: + * @arg @c kGTLRCloudTasks_UriOverride_Scheme_Http Convert the scheme to + * HTTP, e.g., https://www.google.ca will change to http://www.google.ca. + * (Value: "HTTP") + * @arg @c kGTLRCloudTasks_UriOverride_Scheme_Https Convert the scheme to + * HTTPS, e.g., http://www.google.ca will change to + * https://www.google.ca. (Value: "HTTPS") + * @arg @c kGTLRCloudTasks_UriOverride_Scheme_SchemeUnspecified Scheme + * unspecified. Defaults to HTTPS. (Value: "SCHEME_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *scheme; + +/** + * URI Override Enforce Mode When specified, determines the Target UriOverride + * mode. If not specified, it defaults to ALWAYS. + * + * Likely values: + * @arg @c kGTLRCloudTasks_UriOverride_UriOverrideEnforceMode_Always In the + * ALWAYS mode, queue-level configuration overrides all task-level + * configuration (Value: "ALWAYS") + * @arg @c kGTLRCloudTasks_UriOverride_UriOverrideEnforceMode_IfNotExists In + * the IF_NOT_EXISTS mode, queue-level configuration is only applied + * where task-level configuration does not exist. (Value: + * "IF_NOT_EXISTS") + * @arg @c kGTLRCloudTasks_UriOverride_UriOverrideEnforceMode_UriOverrideEnforceModeUnspecified + * UriOverrideEnforceMode Unspecified. Defaults to ALWAYS. (Value: + * "URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *uriOverrideEnforceMode; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudTasks/Public/GoogleAPIClientForREST/GTLRCloudTasksQuery.h b/Sources/GeneratedServices/CloudTasks/Public/GoogleAPIClientForREST/GTLRCloudTasksQuery.h index 401bc8e5d..7102f5bc2 100644 --- a/Sources/GeneratedServices/CloudTasks/Public/GoogleAPIClientForREST/GTLRCloudTasksQuery.h +++ b/Sources/GeneratedServices/CloudTasks/Public/GoogleAPIClientForREST/GTLRCloudTasksQuery.h @@ -223,9 +223,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; /** * Deletes a queue. This command will delete the queue even if it has tasks in - * it. Note: If you delete a queue, a queue with the same name can't be created - * for 7 days. WARNING: Using this method may have unintended side effects if - * you are using an App Engine `queue.yaml` or `queue.xml` file to manage your + * it. Note: If you delete a queue, you may be prevented from creating a new + * queue with the same name as the deleted queue for a tombstone window of up + * to 3 days. During this window, the CreateQueue operation may appear to + * recreate the queue, but this can be misleading. If you attempt to create a + * queue with the same name as one that is in the tombstone window, run + * GetQueue to confirm that the queue creation was successful. If GetQueue + * returns 200 response code, your queue was successfully created with the name + * of the previously deleted queue. Otherwise, your queue did not successfully + * recreate. WARNING: Using this method may have unintended side effects if you + * are using an App Engine `queue.yaml` or `queue.xml` file to manage your * queues. Read [Overview of Queue Management and * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using * this method. @@ -247,9 +254,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; * Fetches a @c GTLRCloudTasks_Empty. * * Deletes a queue. This command will delete the queue even if it has tasks in - * it. Note: If you delete a queue, a queue with the same name can't be created - * for 7 days. WARNING: Using this method may have unintended side effects if - * you are using an App Engine `queue.yaml` or `queue.xml` file to manage your + * it. Note: If you delete a queue, you may be prevented from creating a new + * queue with the same name as the deleted queue for a tombstone window of up + * to 3 days. During this window, the CreateQueue operation may appear to + * recreate the queue, but this can be misleading. If you attempt to create a + * queue with the same name as one that is in the tombstone window, run + * GetQueue to confirm that the queue creation was successful. If GetQueue + * returns 200 response code, your queue was successfully created with the name + * of the previously deleted queue. Otherwise, your queue did not successfully + * recreate. WARNING: Using this method may have unintended side effects if you + * are using an App Engine `queue.yaml` or `queue.xml` file to manage your * queues. Read [Overview of Queue Management and * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using * this method. @@ -639,6 +653,62 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; @end +/** + * Creates and buffers a new task without the need to explicitly define a Task + * message. The queue must have HTTP target. To create the task with a custom + * ID, use the following format and set TASK_ID to your desired ID: + * projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer + * To create the task with an automatically generated ID, use the following + * format: + * projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. + * + * Method: cloudtasks.projects.locations.queues.tasks.buffer + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudTasksCloudPlatform + */ +@interface GTLRCloudTasksQuery_ProjectsLocationsQueuesTasksBuffer : GTLRCloudTasksQuery + +/** + * Required. The parent queue name. For example: + * projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must + * already exist. + */ +@property(nonatomic, copy, nullable) NSString *queue; + +/** + * Optional. Task ID for the task being created. If not provided, Cloud Tasks + * generates an ID for the task. + */ +@property(nonatomic, copy, nullable) NSString *taskId; + +/** + * Fetches a @c GTLRCloudTasks_BufferTaskResponse. + * + * Creates and buffers a new task without the need to explicitly define a Task + * message. The queue must have HTTP target. To create the task with a custom + * ID, use the following format and set TASK_ID to your desired ID: + * projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer + * To create the task with an automatically generated ID, use the following + * format: + * projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. + * + * @param object The @c GTLRCloudTasks_BufferTaskRequest to include in the + * query. + * @param queue Required. The parent queue name. For example: + * projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must + * already exist. + * @param taskId Optional. Task ID for the task being created. If not provided, + * Cloud Tasks generates an ID for the task. + * + * @return GTLRCloudTasksQuery_ProjectsLocationsQueuesTasksBuffer + */ ++ (instancetype)queryWithObject:(GTLRCloudTasks_BufferTaskRequest *)object + queue:(NSString *)queue + taskId:(NSString *)taskId; + +@end + /** * Creates a task and adds it to a queue. Tasks cannot be updated after * creation; there is no UpdateTask command. * The maximum task size is 100KB. diff --git a/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m b/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m index fd7361eac..d3fde89de 100644 --- a/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m +++ b/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m @@ -665,8 +665,8 @@ @implementation GTLRCloudWorkstations_TestIamPermissionsResponse // @implementation GTLRCloudWorkstations_Workstation -@dynamic annotations, createTime, deleteTime, displayName, ETag, host, labels, - name, reconciling, startTime, state, uid, updateTime; +@dynamic annotations, createTime, deleteTime, displayName, env, ETag, host, + labels, name, reconciling, startTime, state, uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -689,6 +689,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudWorkstations_Workstation_Env +// + +@implementation GTLRCloudWorkstations_Workstation_Env + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudWorkstations_Workstation_Labels diff --git a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h index 649cbf292..9c980236a 100644 --- a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h +++ b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h @@ -41,6 +41,7 @@ @class GTLRCloudWorkstations_Status_Details_Item; @class GTLRCloudWorkstations_Workstation; @class GTLRCloudWorkstations_Workstation_Annotations; +@class GTLRCloudWorkstations_Workstation_Env; @class GTLRCloudWorkstations_Workstation_Labels; @class GTLRCloudWorkstations_WorkstationCluster; @class GTLRCloudWorkstations_WorkstationCluster_Annotations; @@ -1406,6 +1407,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat /** Optional. Human-readable name for this workstation. */ @property(nonatomic, copy, nullable) NSString *displayName; +/** + * Optional. Environment variables passed to the workstation container's + * entrypoint. + */ +@property(nonatomic, strong, nullable) GTLRCloudWorkstations_Workstation_Env *env; + /** * Optional. Checksum computed by the server. May be sent on update and delete * requests to make sure that the client has an up-to-date value before @@ -1487,6 +1494,19 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat @end +/** + * Optional. Environment variables passed to the workstation container's + * entrypoint. + * + * @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 GTLRCloudWorkstations_Workstation_Env : GTLRObject +@end + + /** * Optional. * [Labels](https://cloud.google.com/workstations/docs/label-resources) that diff --git a/Sources/GeneratedServices/Cloudbilling/GTLRCloudbillingObjects.m b/Sources/GeneratedServices/Cloudbilling/GTLRCloudbillingObjects.m index 509f86a92..e487427e1 100644 --- a/Sources/GeneratedServices/Cloudbilling/GTLRCloudbillingObjects.m +++ b/Sources/GeneratedServices/Cloudbilling/GTLRCloudbillingObjects.m @@ -88,7 +88,7 @@ @implementation GTLRCloudbilling_AuditLogConfig // @implementation GTLRCloudbilling_BillingAccount -@dynamic displayName, masterBillingAccount, name, open; +@dynamic displayName, masterBillingAccount, name, open, parent; @end @@ -251,6 +251,16 @@ @implementation GTLRCloudbilling_Money @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudbilling_MoveBillingAccountRequest +// + +@implementation GTLRCloudbilling_MoveBillingAccountRequest +@dynamic destinationParent; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudbilling_Policy diff --git a/Sources/GeneratedServices/Cloudbilling/GTLRCloudbillingQuery.m b/Sources/GeneratedServices/Cloudbilling/GTLRCloudbillingQuery.m index 9fe1136bc..a0197610e 100644 --- a/Sources/GeneratedServices/Cloudbilling/GTLRCloudbillingQuery.m +++ b/Sources/GeneratedServices/Cloudbilling/GTLRCloudbillingQuery.m @@ -19,6 +19,8 @@ @implementation GTLRCloudbillingQuery @implementation GTLRCloudbillingQuery_BillingAccountsCreate +@dynamic parent; + + (instancetype)queryWithObject:(GTLRCloudbilling_BillingAccount *)object { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -83,7 +85,7 @@ + (instancetype)queryWithResource:(NSString *)resource { @implementation GTLRCloudbillingQuery_BillingAccountsList -@dynamic filter, pageSize, pageToken; +@dynamic filter, pageSize, pageToken, parent; + (instancetype)query { NSString *pathURITemplate = @"v1/billingAccounts"; @@ -98,6 +100,33 @@ + (instancetype)query { @end +@implementation GTLRCloudbillingQuery_BillingAccountsMove + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudbilling_MoveBillingAccountRequest *)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}:move"; + GTLRCloudbillingQuery_BillingAccountsMove *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudbilling_BillingAccount class]; + query.loggingName = @"cloudbilling.billingAccounts.move"; + return query; +} + +@end + @implementation GTLRCloudbillingQuery_BillingAccountsPatch @dynamic name, updateMask; @@ -171,6 +200,52 @@ + (instancetype)queryWithObject:(GTLRCloudbilling_SetIamPolicyRequest *)object @end +@implementation GTLRCloudbillingQuery_BillingAccountsSubAccountsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRCloudbilling_BillingAccount *)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}/subAccounts"; + GTLRCloudbillingQuery_BillingAccountsSubAccountsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudbilling_BillingAccount class]; + query.loggingName = @"cloudbilling.billingAccounts.subAccounts.create"; + return query; +} + +@end + +@implementation GTLRCloudbillingQuery_BillingAccountsSubAccountsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/subAccounts"; + GTLRCloudbillingQuery_BillingAccountsSubAccountsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudbilling_ListBillingAccountsResponse class]; + query.loggingName = @"cloudbilling.billingAccounts.subAccounts.list"; + return query; +} + +@end + @implementation GTLRCloudbillingQuery_BillingAccountsTestIamPermissions @dynamic resource; @@ -198,6 +273,75 @@ + (instancetype)queryWithObject:(GTLRCloudbilling_TestIamPermissionsRequest *)ob @end +@implementation GTLRCloudbillingQuery_OrganizationsBillingAccountsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRCloudbilling_BillingAccount *)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}/billingAccounts"; + GTLRCloudbillingQuery_OrganizationsBillingAccountsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudbilling_BillingAccount class]; + query.loggingName = @"cloudbilling.organizations.billingAccounts.create"; + return query; +} + +@end + +@implementation GTLRCloudbillingQuery_OrganizationsBillingAccountsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/billingAccounts"; + GTLRCloudbillingQuery_OrganizationsBillingAccountsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudbilling_ListBillingAccountsResponse class]; + query.loggingName = @"cloudbilling.organizations.billingAccounts.list"; + return query; +} + +@end + +@implementation GTLRCloudbillingQuery_OrganizationsBillingAccountsMove + +@dynamic destinationParent, name; + ++ (instancetype)queryWithDestinationParent:(NSString *)destinationParent + name:(NSString *)name { + NSArray *pathParams = @[ + @"destinationParent", @"name" + ]; + NSString *pathURITemplate = @"v1/{+destinationParent}/{+name}:move"; + GTLRCloudbillingQuery_OrganizationsBillingAccountsMove *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.destinationParent = destinationParent; + query.name = name; + query.expectedObjectClass = [GTLRCloudbilling_BillingAccount class]; + query.loggingName = @"cloudbilling.organizations.billingAccounts.move"; + return query; +} + +@end + @implementation GTLRCloudbillingQuery_ProjectsGetBillingInfo @dynamic name; diff --git a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h index ea231b415..18beb42b3 100644 --- a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h +++ b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h @@ -266,6 +266,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudbilling_GeoTaxonomy_Type_TypeUnspec */ @property(nonatomic, strong, nullable) NSNumber *open; +/** + * Output only. The billing account's parent resource identifier. Use the + * `MoveBillingAccount` method to update the account's parent resource if it is + * a organization. Format: - organizations/{organization_id}, for example: + * organizations/12345678 - billingAccounts/{billing_account_id}, for example: + * `billingAccounts/012345-567890-ABCDEF` + */ +@property(nonatomic, copy, nullable) NSString *parent; + @end @@ -584,6 +593,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudbilling_GeoTaxonomy_Type_TypeUnspec @end +/** + * Request message for `MoveBillingAccount` RPC. + */ +@interface GTLRCloudbilling_MoveBillingAccountRequest : GTLRObject + +/** + * Required. The resource name of the Organization to reparent the billing + * account under. Must be of the form `organizations/{organization_id}`. + */ +@property(nonatomic, copy, nullable) NSString *destinationParent; + +@end + + /** * An Identity and Access Management (IAM) policy, which specifies access * controls for Google Cloud resources. A `Policy` is a collection of diff --git a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingQuery.h b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingQuery.h index 1ade2e0bb..461d31e4b 100644 --- a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingQuery.h +++ b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingQuery.h @@ -56,6 +56,14 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRCloudbillingQuery_BillingAccountsCreate : GTLRCloudbillingQuery +/** + * Optional. The parent to create a billing account from. Format: - + * organizations/{organization_id} eg organizations/12345678 - + * billingAccounts/{billing_account_id} eg + * `billingAccounts/012345-567890-ABCDEF` + */ +@property(nonatomic, copy, nullable) NSString *parent; + /** * Fetches a @c GTLRCloudbilling_BillingAccount. * @@ -207,6 +215,14 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *pageToken; +/** + * Optional. The parent resource to list billing accounts from. Format: - + * organizations/{organization_id} eg organizations/12345678 - + * billingAccounts/{billing_account_id} eg + * `billingAccounts/012345-567890-ABCDEF` + */ +@property(nonatomic, copy, nullable) NSString *parent; + /** * Fetches a @c GTLRCloudbilling_ListBillingAccountsResponse. * @@ -224,6 +240,44 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Changes which parent organization a billing account belongs to. + * + * Method: cloudbilling.billingAccounts.move + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudbillingCloudBilling + * @c kGTLRAuthScopeCloudbillingCloudPlatform + */ +@interface GTLRCloudbillingQuery_BillingAccountsMove : GTLRCloudbillingQuery + +/** + * Required. The resource name of the billing account to move. Must be of the + * form `billingAccounts/{billing_account_id}`. The specified billing account + * cannot be a subaccount, since a subaccount always belongs to the same + * organization as its parent account. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudbilling_BillingAccount. + * + * Changes which parent organization a billing account belongs to. + * + * @param object The @c GTLRCloudbilling_MoveBillingAccountRequest to include + * in the query. + * @param name Required. The resource name of the billing account to move. Must + * be of the form `billingAccounts/{billing_account_id}`. The specified + * billing account cannot be a subaccount, since a subaccount always belongs + * to the same organization as its parent account. + * + * @return GTLRCloudbillingQuery_BillingAccountsMove + */ ++ (instancetype)queryWithObject:(GTLRCloudbilling_MoveBillingAccountRequest *)object + name:(NSString *)name; + +@end + /** * Updates a billing account's fields. Currently the only field that can be * edited is `display_name`. The current authenticated user must have the @@ -370,6 +424,131 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * This method creates [billing + * subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts). + * Google Cloud resellers should use the Channel Services APIs, + * [accounts.customers.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create) + * and + * [accounts.customers.entitlements.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create). + * When creating a subaccount, the current authenticated user must have the + * `billing.accounts.update` IAM permission on the parent account, which is + * typically given to billing account + * [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). + * This method will return an error if the parent account has not been + * provisioned for subaccounts. + * + * Method: cloudbilling.billingAccounts.subAccounts.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudbillingCloudBilling + * @c kGTLRAuthScopeCloudbillingCloudPlatform + */ +@interface GTLRCloudbillingQuery_BillingAccountsSubAccountsCreate : GTLRCloudbillingQuery + +/** + * Optional. The parent to create a billing account from. Format: - + * organizations/{organization_id} eg organizations/12345678 - + * billingAccounts/{billing_account_id} eg + * `billingAccounts/012345-567890-ABCDEF` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRCloudbilling_BillingAccount. + * + * This method creates [billing + * subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts). + * Google Cloud resellers should use the Channel Services APIs, + * [accounts.customers.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create) + * and + * [accounts.customers.entitlements.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create). + * When creating a subaccount, the current authenticated user must have the + * `billing.accounts.update` IAM permission on the parent account, which is + * typically given to billing account + * [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). + * This method will return an error if the parent account has not been + * provisioned for subaccounts. + * + * @param object The @c GTLRCloudbilling_BillingAccount to include in the + * query. + * @param parent Optional. The parent to create a billing account from. Format: + * - organizations/{organization_id} eg organizations/12345678 - + * billingAccounts/{billing_account_id} eg + * `billingAccounts/012345-567890-ABCDEF` + * + * @return GTLRCloudbillingQuery_BillingAccountsSubAccountsCreate + */ ++ (instancetype)queryWithObject:(GTLRCloudbilling_BillingAccount *)object + parent:(NSString *)parent; + +@end + +/** + * Lists the billing accounts that the current authenticated user has + * permission to + * [view](https://cloud.google.com/billing/docs/how-to/billing-access). + * + * Method: cloudbilling.billingAccounts.subAccounts.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudbillingCloudBilling + * @c kGTLRAuthScopeCloudbillingCloudBillingReadonly + * @c kGTLRAuthScopeCloudbillingCloudPlatform + */ +@interface GTLRCloudbillingQuery_BillingAccountsSubAccountsList : GTLRCloudbillingQuery + +/** + * Options for how to filter the returned billing accounts. This only supports + * filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) + * under a single provided parent billing account. (e.g. + * "master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean + * algebra and other fields are not currently supported. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Requested page size. The maximum page size is 100; this is also the default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results to return. This should be a + * `next_page_token` value returned from a previous `ListBillingAccounts` call. + * If unspecified, the first page of results is returned. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Optional. The parent resource to list billing accounts from. Format: - + * organizations/{organization_id} eg organizations/12345678 - + * billingAccounts/{billing_account_id} eg + * `billingAccounts/012345-567890-ABCDEF` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRCloudbilling_ListBillingAccountsResponse. + * + * Lists the billing accounts that the current authenticated user has + * permission to + * [view](https://cloud.google.com/billing/docs/how-to/billing-access). + * + * @param parent Optional. The parent resource to list billing accounts from. + * Format: - organizations/{organization_id} eg organizations/12345678 - + * billingAccounts/{billing_account_id} eg + * `billingAccounts/012345-567890-ABCDEF` + * + * @return GTLRCloudbillingQuery_BillingAccountsSubAccountsList + * + * @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 + /** * Tests the access control policy for a billing account. This method takes the * resource and a set of permissions as input and returns the subset of the @@ -412,6 +591,176 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * This method creates [billing + * subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts). + * Google Cloud resellers should use the Channel Services APIs, + * [accounts.customers.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create) + * and + * [accounts.customers.entitlements.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create). + * When creating a subaccount, the current authenticated user must have the + * `billing.accounts.update` IAM permission on the parent account, which is + * typically given to billing account + * [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). + * This method will return an error if the parent account has not been + * provisioned for subaccounts. + * + * Method: cloudbilling.organizations.billingAccounts.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudbillingCloudBilling + * @c kGTLRAuthScopeCloudbillingCloudPlatform + */ +@interface GTLRCloudbillingQuery_OrganizationsBillingAccountsCreate : GTLRCloudbillingQuery + +/** + * Optional. The parent to create a billing account from. Format: - + * organizations/{organization_id} eg organizations/12345678 - + * billingAccounts/{billing_account_id} eg + * `billingAccounts/012345-567890-ABCDEF` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRCloudbilling_BillingAccount. + * + * This method creates [billing + * subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts). + * Google Cloud resellers should use the Channel Services APIs, + * [accounts.customers.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create) + * and + * [accounts.customers.entitlements.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create). + * When creating a subaccount, the current authenticated user must have the + * `billing.accounts.update` IAM permission on the parent account, which is + * typically given to billing account + * [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). + * This method will return an error if the parent account has not been + * provisioned for subaccounts. + * + * @param object The @c GTLRCloudbilling_BillingAccount to include in the + * query. + * @param parent Optional. The parent to create a billing account from. Format: + * - organizations/{organization_id} eg organizations/12345678 - + * billingAccounts/{billing_account_id} eg + * `billingAccounts/012345-567890-ABCDEF` + * + * @return GTLRCloudbillingQuery_OrganizationsBillingAccountsCreate + */ ++ (instancetype)queryWithObject:(GTLRCloudbilling_BillingAccount *)object + parent:(NSString *)parent; + +@end + +/** + * Lists the billing accounts that the current authenticated user has + * permission to + * [view](https://cloud.google.com/billing/docs/how-to/billing-access). + * + * Method: cloudbilling.organizations.billingAccounts.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudbillingCloudBilling + * @c kGTLRAuthScopeCloudbillingCloudBillingReadonly + * @c kGTLRAuthScopeCloudbillingCloudPlatform + */ +@interface GTLRCloudbillingQuery_OrganizationsBillingAccountsList : GTLRCloudbillingQuery + +/** + * Options for how to filter the returned billing accounts. This only supports + * filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) + * under a single provided parent billing account. (e.g. + * "master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean + * algebra and other fields are not currently supported. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Requested page size. The maximum page size is 100; this is also the default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results to return. This should be a + * `next_page_token` value returned from a previous `ListBillingAccounts` call. + * If unspecified, the first page of results is returned. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Optional. The parent resource to list billing accounts from. Format: - + * organizations/{organization_id} eg organizations/12345678 - + * billingAccounts/{billing_account_id} eg + * `billingAccounts/012345-567890-ABCDEF` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRCloudbilling_ListBillingAccountsResponse. + * + * Lists the billing accounts that the current authenticated user has + * permission to + * [view](https://cloud.google.com/billing/docs/how-to/billing-access). + * + * @param parent Optional. The parent resource to list billing accounts from. + * Format: - organizations/{organization_id} eg organizations/12345678 - + * billingAccounts/{billing_account_id} eg + * `billingAccounts/012345-567890-ABCDEF` + * + * @return GTLRCloudbillingQuery_OrganizationsBillingAccountsList + * + * @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 + +/** + * Changes which parent organization a billing account belongs to. + * + * Method: cloudbilling.organizations.billingAccounts.move + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudbillingCloudBilling + * @c kGTLRAuthScopeCloudbillingCloudPlatform + */ +@interface GTLRCloudbillingQuery_OrganizationsBillingAccountsMove : GTLRCloudbillingQuery + +/** + * Required. The resource name of the Organization to reparent the billing + * account under. Must be of the form `organizations/{organization_id}`. + */ +@property(nonatomic, copy, nullable) NSString *destinationParent; + +/** + * Required. The resource name of the billing account to move. Must be of the + * form `billingAccounts/{billing_account_id}`. The specified billing account + * cannot be a subaccount, since a subaccount always belongs to the same + * organization as its parent account. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudbilling_BillingAccount. + * + * Changes which parent organization a billing account belongs to. + * + * @param destinationParent Required. The resource name of the Organization to + * reparent the billing account under. Must be of the form + * `organizations/{organization_id}`. + * @param name Required. The resource name of the billing account to move. Must + * be of the form `billingAccounts/{billing_account_id}`. The specified + * billing account cannot be a subaccount, since a subaccount always belongs + * to the same organization as its parent account. + * + * @return GTLRCloudbillingQuery_OrganizationsBillingAccountsMove + */ ++ (instancetype)queryWithDestinationParent:(NSString *)destinationParent + name:(NSString *)name; + +@end + /** * Gets the billing information for a project. The current authenticated user * must have the `resourcemanager.projects.get` permission for the project, diff --git a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m index e51519843..202c06288 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m @@ -3821,12 +3821,23 @@ NSString * const kGTLRCompute_ProjectsSetDefaultNetworkTierRequest_NetworkTier_Standard = @"STANDARD"; NSString * const kGTLRCompute_ProjectsSetDefaultNetworkTierRequest_NetworkTier_StandardOverridesFixedStandard = @"STANDARD_OVERRIDES_FIXED_STANDARD"; +// GTLRCompute_PublicAdvertisedPrefix.byoipApiVersion +NSString * const kGTLRCompute_PublicAdvertisedPrefix_ByoipApiVersion_V1 = @"V1"; +NSString * const kGTLRCompute_PublicAdvertisedPrefix_ByoipApiVersion_V2 = @"V2"; + +// GTLRCompute_PublicAdvertisedPrefix.pdpScope +NSString * const kGTLRCompute_PublicAdvertisedPrefix_PdpScope_Global = @"GLOBAL"; +NSString * const kGTLRCompute_PublicAdvertisedPrefix_PdpScope_GlobalAndRegional = @"GLOBAL_AND_REGIONAL"; +NSString * const kGTLRCompute_PublicAdvertisedPrefix_PdpScope_Regional = @"REGIONAL"; + // GTLRCompute_PublicAdvertisedPrefix.status +NSString * const kGTLRCompute_PublicAdvertisedPrefix_Status_AnnouncedToInternet = @"ANNOUNCED_TO_INTERNET"; NSString * const kGTLRCompute_PublicAdvertisedPrefix_Status_Initial = @"INITIAL"; NSString * const kGTLRCompute_PublicAdvertisedPrefix_Status_PrefixConfigurationComplete = @"PREFIX_CONFIGURATION_COMPLETE"; NSString * const kGTLRCompute_PublicAdvertisedPrefix_Status_PrefixConfigurationInProgress = @"PREFIX_CONFIGURATION_IN_PROGRESS"; NSString * const kGTLRCompute_PublicAdvertisedPrefix_Status_PrefixRemovalInProgress = @"PREFIX_REMOVAL_IN_PROGRESS"; NSString * const kGTLRCompute_PublicAdvertisedPrefix_Status_PtrConfigured = @"PTR_CONFIGURED"; +NSString * const kGTLRCompute_PublicAdvertisedPrefix_Status_ReadyToAnnounce = @"READY_TO_ANNOUNCE"; NSString * const kGTLRCompute_PublicAdvertisedPrefix_Status_ReverseDnsLookupFailed = @"REVERSE_DNS_LOOKUP_FAILED"; NSString * const kGTLRCompute_PublicAdvertisedPrefix_Status_Validated = @"VALIDATED"; @@ -3860,8 +3871,14 @@ NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_UndeclaredProperties = @"UNDECLARED_PROPERTIES"; NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_Unreachable = @"UNREACHABLE"; +// GTLRCompute_PublicDelegatedPrefix.byoipApiVersion +NSString * const kGTLRCompute_PublicDelegatedPrefix_ByoipApiVersion_V1 = @"V1"; +NSString * const kGTLRCompute_PublicDelegatedPrefix_ByoipApiVersion_V2 = @"V2"; + // GTLRCompute_PublicDelegatedPrefix.status NSString * const kGTLRCompute_PublicDelegatedPrefix_Status_Announced = @"ANNOUNCED"; +NSString * const kGTLRCompute_PublicDelegatedPrefix_Status_AnnouncedToGoogle = @"ANNOUNCED_TO_GOOGLE"; +NSString * const kGTLRCompute_PublicDelegatedPrefix_Status_AnnouncedToInternet = @"ANNOUNCED_TO_INTERNET"; NSString * const kGTLRCompute_PublicDelegatedPrefix_Status_Deleting = @"DELETING"; NSString * const kGTLRCompute_PublicDelegatedPrefix_Status_Initializing = @"INITIALIZING"; NSString * const kGTLRCompute_PublicDelegatedPrefix_Status_ReadyToAnnounce = @"READY_TO_ANNOUNCE"; @@ -4766,6 +4783,10 @@ NSString * const kGTLRCompute_RouterNat_SourceSubnetworkIpRangesToNat_AllSubnetworksAllPrimaryIpRanges = @"ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES"; NSString * const kGTLRCompute_RouterNat_SourceSubnetworkIpRangesToNat_ListOfSubnetworks = @"LIST_OF_SUBNETWORKS"; +// GTLRCompute_RouterNat.type +NSString * const kGTLRCompute_RouterNat_Type_Private = @"PRIVATE"; +NSString * const kGTLRCompute_RouterNat_Type_Public = @"PUBLIC"; + // GTLRCompute_RouterNatLogConfig.filter NSString * const kGTLRCompute_RouterNatLogConfig_Filter_All = @"ALL"; NSString * const kGTLRCompute_RouterNatLogConfig_Filter_ErrorsOnly = @"ERRORS_ONLY"; @@ -4944,6 +4965,7 @@ // GTLRCompute_SecurityPolicyAdvancedOptionsConfig.jsonParsing NSString * const kGTLRCompute_SecurityPolicyAdvancedOptionsConfig_JsonParsing_Disabled = @"DISABLED"; NSString * const kGTLRCompute_SecurityPolicyAdvancedOptionsConfig_JsonParsing_Standard = @"STANDARD"; +NSString * const kGTLRCompute_SecurityPolicyAdvancedOptionsConfig_JsonParsing_StandardWithGraphql = @"STANDARD_WITH_GRAPHQL"; // GTLRCompute_SecurityPolicyAdvancedOptionsConfig.logLevel NSString * const kGTLRCompute_SecurityPolicyAdvancedOptionsConfig_LogLevel_Normal = @"NORMAL"; @@ -5195,6 +5217,12 @@ NSString * const kGTLRCompute_SnapshotList_Warning_Code_UndeclaredProperties = @"UNDECLARED_PROPERTIES"; NSString * const kGTLRCompute_SnapshotList_Warning_Code_Unreachable = @"UNREACHABLE"; +// GTLRCompute_SnapshotSettingsStorageLocationSettings.policy +NSString * const kGTLRCompute_SnapshotSettingsStorageLocationSettings_Policy_LocalRegion = @"LOCAL_REGION"; +NSString * const kGTLRCompute_SnapshotSettingsStorageLocationSettings_Policy_NearestMultiRegion = @"NEAREST_MULTI_REGION"; +NSString * const kGTLRCompute_SnapshotSettingsStorageLocationSettings_Policy_SpecificLocations = @"SPECIFIC_LOCATIONS"; +NSString * const kGTLRCompute_SnapshotSettingsStorageLocationSettings_Policy_StorageLocationPolicyUnspecified = @"STORAGE_LOCATION_POLICY_UNSPECIFIED"; + // GTLRCompute_SourceInstanceProperties.keyRevocationActionType NSString * const kGTLRCompute_SourceInstanceProperties_KeyRevocationActionType_KeyRevocationActionTypeUnspecified = @"KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED"; NSString * const kGTLRCompute_SourceInstanceProperties_KeyRevocationActionType_None = @"NONE"; @@ -5473,6 +5501,7 @@ NSString * const kGTLRCompute_Subnetwork_Purpose_GlobalManagedProxy = @"GLOBAL_MANAGED_PROXY"; NSString * const kGTLRCompute_Subnetwork_Purpose_InternalHttpsLoadBalancer = @"INTERNAL_HTTPS_LOAD_BALANCER"; NSString * const kGTLRCompute_Subnetwork_Purpose_Private = @"PRIVATE"; +NSString * const kGTLRCompute_Subnetwork_Purpose_PrivateNat = @"PRIVATE_NAT"; NSString * const kGTLRCompute_Subnetwork_Purpose_PrivateRfc1918 = @"PRIVATE_RFC_1918"; NSString * const kGTLRCompute_Subnetwork_Purpose_PrivateServiceConnect = @"PRIVATE_SERVICE_CONNECT"; NSString * const kGTLRCompute_Subnetwork_Purpose_RegionalManagedProxy = @"REGIONAL_MANAGED_PROXY"; @@ -6220,6 +6249,16 @@ NSString * const kGTLRCompute_TCPHealthCheck_ProxyHeader_None = @"NONE"; NSString * const kGTLRCompute_TCPHealthCheck_ProxyHeader_ProxyV1 = @"PROXY_V1"; +// GTLRCompute_UpcomingMaintenance.maintenanceStatus +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceStatus_Ongoing = @"ONGOING"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceStatus_Pending = @"PENDING"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceStatus_Unknown = @"UNKNOWN"; + +// GTLRCompute_UpcomingMaintenance.type +NSString * const kGTLRCompute_UpcomingMaintenance_Type_Scheduled = @"SCHEDULED"; +NSString * const kGTLRCompute_UpcomingMaintenance_Type_UnknownType = @"UNKNOWN_TYPE"; +NSString * const kGTLRCompute_UpcomingMaintenance_Type_Unscheduled = @"UNSCHEDULED"; + // GTLRCompute_UrlMapList_Warning.code NSString * const kGTLRCompute_UrlMapList_Warning_Code_CleanupFailed = @"CLEANUP_FAILED"; NSString * const kGTLRCompute_UrlMapList_Warning_Code_DeprecatedResourceUsed = @"DEPRECATED_RESOURCE_USED"; @@ -6323,6 +6362,7 @@ NSString * const kGTLRCompute_UsableSubnetwork_Purpose_GlobalManagedProxy = @"GLOBAL_MANAGED_PROXY"; NSString * const kGTLRCompute_UsableSubnetwork_Purpose_InternalHttpsLoadBalancer = @"INTERNAL_HTTPS_LOAD_BALANCER"; NSString * const kGTLRCompute_UsableSubnetwork_Purpose_Private = @"PRIVATE"; +NSString * const kGTLRCompute_UsableSubnetwork_Purpose_PrivateNat = @"PRIVATE_NAT"; NSString * const kGTLRCompute_UsableSubnetwork_Purpose_PrivateRfc1918 = @"PRIVATE_RFC_1918"; NSString * const kGTLRCompute_UsableSubnetwork_Purpose_PrivateServiceConnect = @"PRIVATE_SERVICE_CONNECT"; NSString * const kGTLRCompute_UsableSubnetwork_Purpose_RegionalManagedProxy = @"REGIONAL_MANAGED_PROXY"; @@ -16918,9 +16958,9 @@ @implementation GTLRCompute_ProjectsSetDefaultNetworkTierRequest // @implementation GTLRCompute_PublicAdvertisedPrefix -@dynamic creationTimestamp, descriptionProperty, dnsVerificationIp, fingerprint, - identifier, ipCidrRange, kind, name, publicDelegatedPrefixs, selfLink, - sharedSecret, status; +@dynamic byoipApiVersion, creationTimestamp, descriptionProperty, + dnsVerificationIp, fingerprint, identifier, ipCidrRange, kind, name, + pdpScope, publicDelegatedPrefixs, selfLink, sharedSecret, status; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -17006,8 +17046,8 @@ @implementation GTLRCompute_PublicAdvertisedPrefixPublicDelegatedPrefix // @implementation GTLRCompute_PublicDelegatedPrefix -@dynamic creationTimestamp, descriptionProperty, fingerprint, identifier, - ipCidrRange, isLiveMigration, kind, name, parentPrefix, +@dynamic byoipApiVersion, creationTimestamp, descriptionProperty, fingerprint, + identifier, ipCidrRange, isLiveMigration, kind, name, parentPrefix, publicDelegatedSubPrefixs, region, selfLink, status; + (NSDictionary *)propertyToJSONKeyMap { @@ -18702,7 +18742,7 @@ @implementation GTLRCompute_ResourcePolicyWeeklyCycleDayOfWeek // @implementation GTLRCompute_ResourceStatus -@dynamic physicalHost; +@dynamic physicalHost, upcomingMaintenance; @end @@ -19092,7 +19132,7 @@ @implementation GTLRCompute_RouterNat logConfig, maxPortsPerVm, minPortsPerVm, name, natIpAllocateOption, natIps, rules, sourceSubnetworkIpRangesToNat, subnetworks, tcpEstablishedIdleTimeoutSec, tcpTimeWaitTimeoutSec, - tcpTransitoryIdleTimeoutSec, udpIdleTimeoutSec; + tcpTransitoryIdleTimeoutSec, type, udpIdleTimeoutSec; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -19139,12 +19179,15 @@ @implementation GTLRCompute_RouterNatRule // @implementation GTLRCompute_RouterNatRuleAction -@dynamic sourceNatActiveIps, sourceNatDrainIps; +@dynamic sourceNatActiveIps, sourceNatActiveRanges, sourceNatDrainIps, + sourceNatDrainRanges; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"sourceNatActiveIps" : [NSString class], - @"sourceNatDrainIps" : [NSString class] + @"sourceNatActiveRanges" : [NSString class], + @"sourceNatDrainIps" : [NSString class], + @"sourceNatDrainRanges" : [NSString class] }; return map; } @@ -19669,7 +19712,15 @@ @implementation GTLRCompute_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefe // @implementation GTLRCompute_SecurityPolicyAdvancedOptionsConfig -@dynamic jsonCustomConfig, jsonParsing, logLevel; +@dynamic jsonCustomConfig, jsonParsing, logLevel, userIpRequestHeaders; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"userIpRequestHeaders" : [NSString class] + }; + return map; +} + @end @@ -20397,9 +20448,10 @@ @implementation GTLRCompute_SignedUrlKey @implementation GTLRCompute_Snapshot @dynamic architecture, autoCreated, chainName, creationSizeBytes, creationTimestamp, descriptionProperty, diskSizeGb, downloadBytes, - identifier, kind, labelFingerprint, labels, licenseCodes, licenses, - locationHint, name, satisfiesPzs, selfLink, snapshotEncryptionKey, - snapshotType, sourceDisk, sourceDiskEncryptionKey, sourceDiskId, + guestOsFeatures, identifier, kind, labelFingerprint, labels, + licenseCodes, licenses, locationHint, name, satisfiesPzs, selfLink, + snapshotEncryptionKey, snapshotType, sourceDisk, + sourceDiskEncryptionKey, sourceDiskForRecoveryCheckpoint, sourceDiskId, sourceSnapshotSchedulePolicy, sourceSnapshotSchedulePolicyId, status, storageBytes, storageBytesStatus, storageLocations; @@ -20413,6 +20465,7 @@ @implementation GTLRCompute_Snapshot + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"guestOsFeatures" : [GTLRCompute_GuestOsFeature class], @"licenseCodes" : [NSNumber class], @"licenses" : [NSString class], @"storageLocations" : [NSString class] @@ -20487,6 +20540,50 @@ @implementation GTLRCompute_SnapshotList_Warning_Data_Item @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_SnapshotSettings +// + +@implementation GTLRCompute_SnapshotSettings +@dynamic storageLocation; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_SnapshotSettingsStorageLocationSettings +// + +@implementation GTLRCompute_SnapshotSettingsStorageLocationSettings +@dynamic locations, policy; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_SnapshotSettingsStorageLocationSettings_Locations +// + +@implementation GTLRCompute_SnapshotSettingsStorageLocationSettings_Locations + ++ (Class)classForAdditionalProperties { + return [GTLRCompute_SnapshotSettingsStorageLocationSettingsStorageLocationPreference class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_SnapshotSettingsStorageLocationSettingsStorageLocationPreference +// + +@implementation GTLRCompute_SnapshotSettingsStorageLocationSettingsStorageLocationPreference +@dynamic name; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_SourceDiskEncryptionKey @@ -22961,6 +23058,17 @@ @implementation GTLRCompute_Uint128 @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_UpcomingMaintenance +// + +@implementation GTLRCompute_UpcomingMaintenance +@dynamic canReschedule, latestWindowStartTime, maintenanceStatus, type, + windowEndTime, windowStartTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_UrlMap diff --git a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m index ba7d211b4..6fca61669 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m @@ -10813,6 +10813,29 @@ + (instancetype)queryWithObject:(GTLRCompute_UsageExportLocation *)object @end +@implementation GTLRComputeQuery_PublicAdvertisedPrefixesAnnounce + +@dynamic project, publicAdvertisedPrefix, requestId; + ++ (instancetype)queryWithProject:(NSString *)project + publicAdvertisedPrefix:(NSString *)publicAdvertisedPrefix { + NSArray *pathParams = @[ + @"project", @"publicAdvertisedPrefix" + ]; + NSString *pathURITemplate = @"projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce"; + GTLRComputeQuery_PublicAdvertisedPrefixesAnnounce *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.project = project; + query.publicAdvertisedPrefix = publicAdvertisedPrefix; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.publicAdvertisedPrefixes.announce"; + return query; +} + +@end + @implementation GTLRComputeQuery_PublicAdvertisedPrefixesDelete @dynamic project, publicAdvertisedPrefix, requestId; @@ -10936,6 +10959,29 @@ + (instancetype)queryWithObject:(GTLRCompute_PublicAdvertisedPrefix *)object @end +@implementation GTLRComputeQuery_PublicAdvertisedPrefixesWithdraw + +@dynamic project, publicAdvertisedPrefix, requestId; + ++ (instancetype)queryWithProject:(NSString *)project + publicAdvertisedPrefix:(NSString *)publicAdvertisedPrefix { + NSArray *pathParams = @[ + @"project", @"publicAdvertisedPrefix" + ]; + NSString *pathURITemplate = @"projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw"; + GTLRComputeQuery_PublicAdvertisedPrefixesWithdraw *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.project = project; + query.publicAdvertisedPrefix = publicAdvertisedPrefix; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.publicAdvertisedPrefixes.withdraw"; + return query; +} + +@end + @implementation GTLRComputeQuery_PublicDelegatedPrefixesAggregatedList @dynamic filter, includeAllScopes, maxResults, orderBy, pageToken, project, @@ -10956,6 +11002,31 @@ + (instancetype)queryWithProject:(NSString *)project { @end +@implementation GTLRComputeQuery_PublicDelegatedPrefixesAnnounce + +@dynamic project, publicDelegatedPrefix, region, requestId; + ++ (instancetype)queryWithProject:(NSString *)project + region:(NSString *)region + publicDelegatedPrefix:(NSString *)publicDelegatedPrefix { + NSArray *pathParams = @[ + @"project", @"publicDelegatedPrefix", @"region" + ]; + NSString *pathURITemplate = @"projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce"; + GTLRComputeQuery_PublicDelegatedPrefixesAnnounce *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.project = project; + query.region = region; + query.publicDelegatedPrefix = publicDelegatedPrefix; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.publicDelegatedPrefixes.announce"; + return query; +} + +@end + @implementation GTLRComputeQuery_PublicDelegatedPrefixesDelete @dynamic project, publicDelegatedPrefix, region, requestId; @@ -11094,6 +11165,31 @@ + (instancetype)queryWithObject:(GTLRCompute_PublicDelegatedPrefix *)object @end +@implementation GTLRComputeQuery_PublicDelegatedPrefixesWithdraw + +@dynamic project, publicDelegatedPrefix, region, requestId; + ++ (instancetype)queryWithProject:(NSString *)project + region:(NSString *)region + publicDelegatedPrefix:(NSString *)publicDelegatedPrefix { + NSArray *pathParams = @[ + @"project", @"publicDelegatedPrefix", @"region" + ]; + NSString *pathURITemplate = @"projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw"; + GTLRComputeQuery_PublicDelegatedPrefixesWithdraw *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.project = project; + query.region = region; + query.publicDelegatedPrefix = publicDelegatedPrefix; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.publicDelegatedPrefixes.withdraw"; + return query; +} + +@end + @implementation GTLRComputeQuery_RegionAutoscalersDelete @dynamic autoscaler, project, region, requestId; @@ -17088,6 +17184,52 @@ + (instancetype)queryWithProject:(NSString *)project @end +@implementation GTLRComputeQuery_SnapshotSettingsGet + +@dynamic project; + ++ (instancetype)queryWithProject:(NSString *)project { + NSArray *pathParams = @[ @"project" ]; + NSString *pathURITemplate = @"projects/{project}/global/snapshotSettings"; + GTLRComputeQuery_SnapshotSettingsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.project = project; + query.expectedObjectClass = [GTLRCompute_SnapshotSettings class]; + query.loggingName = @"compute.snapshotSettings.get"; + return query; +} + +@end + +@implementation GTLRComputeQuery_SnapshotSettingsPatch + +@dynamic project, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRCompute_SnapshotSettings *)object + project:(NSString *)project { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"project" ]; + NSString *pathURITemplate = @"projects/{project}/global/snapshotSettings"; + GTLRComputeQuery_SnapshotSettingsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.snapshotSettings.patch"; + return query; +} + +@end + @implementation GTLRComputeQuery_SnapshotsGet @dynamic project, snapshot; diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h index 9fb5f45b8..e795bf53b 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h @@ -703,6 +703,9 @@ @class GTLRCompute_Snapshot_Labels; @class GTLRCompute_SnapshotList_Warning; @class GTLRCompute_SnapshotList_Warning_Data_Item; +@class GTLRCompute_SnapshotSettingsStorageLocationSettings; +@class GTLRCompute_SnapshotSettingsStorageLocationSettings_Locations; +@class GTLRCompute_SnapshotSettingsStorageLocationSettingsStorageLocationPreference; @class GTLRCompute_SourceDiskEncryptionKey; @class GTLRCompute_SourceInstanceParams; @class GTLRCompute_SourceInstanceProperties; @@ -815,6 +818,7 @@ @class GTLRCompute_TCPHealthCheck; @class GTLRCompute_TestFailure; @class GTLRCompute_Uint128; +@class GTLRCompute_UpcomingMaintenance; @class GTLRCompute_UrlMap; @class GTLRCompute_UrlMapList_Warning; @class GTLRCompute_UrlMapList_Warning_Data_Item; @@ -22082,9 +22086,60 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ProjectsSetDefaultNetworkTierReq */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ProjectsSetDefaultNetworkTierRequest_NetworkTier_StandardOverridesFixedStandard; +// ---------------------------------------------------------------------------- +// GTLRCompute_PublicAdvertisedPrefix.byoipApiVersion + +/** + * This public advertised prefix can be used to create both regional and global + * public delegated prefixes. It usually takes 4 weeks to create or delete a + * public delegated prefix. The BGP status cannot be changed. + * + * Value: "V1" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefix_ByoipApiVersion_V1; +/** + * This public advertised prefix can only be used to create regional public + * delegated prefixes. Public delegated prefix creation and deletion takes + * minutes and the BGP status can be modified. + * + * Value: "V2" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefix_ByoipApiVersion_V2; + +// ---------------------------------------------------------------------------- +// GTLRCompute_PublicAdvertisedPrefix.pdpScope + +/** + * The public delegated prefix is global only. The provisioning will take ~4 + * weeks. + * + * Value: "GLOBAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefix_PdpScope_Global; +/** + * The public delegated prefixes is BYOIP V1 legacy prefix. This is output only + * value and no longer supported in BYOIP V2. + * + * Value: "GLOBAL_AND_REGIONAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefix_PdpScope_GlobalAndRegional; +/** + * The public delegated prefix is regional only. The provisioning will take a + * few minutes. + * + * Value: "REGIONAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefix_PdpScope_Regional; + // ---------------------------------------------------------------------------- // GTLRCompute_PublicAdvertisedPrefix.status +/** + * The prefix is announced to Internet. + * + * Value: "ANNOUNCED_TO_INTERNET" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefix_Status_AnnouncedToInternet; /** * RPKI validation is complete. * @@ -22115,6 +22170,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefix_Status_Pr * Value: "PTR_CONFIGURED" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefix_Status_PtrConfigured; +/** + * The prefix is currently withdrawn but ready to be announced. + * + * Value: "READY_TO_ANNOUNCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefix_Status_ReadyToAnnounce; /** * Reverse DNS lookup failed. * @@ -22312,6 +22373,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warni */ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_Unreachable; +// ---------------------------------------------------------------------------- +// GTLRCompute_PublicDelegatedPrefix.byoipApiVersion + +/** + * This public delegated prefix usually takes 4 weeks to delete, and the BGP + * status cannot be changed. Announce and Withdraw APIs can not be used on this + * prefix. + * + * Value: "V1" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefix_ByoipApiVersion_V1; +/** + * This public delegated prefix takes minutes to delete. Announce and Withdraw + * APIs can be used on this prefix to change the BGP status. + * + * Value: "V2" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefix_ByoipApiVersion_V2; + // ---------------------------------------------------------------------------- // GTLRCompute_PublicDelegatedPrefix.status @@ -22321,6 +22401,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warni * Value: "ANNOUNCED" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefix_Status_Announced; +/** + * The prefix is announced within Google network. + * + * Value: "ANNOUNCED_TO_GOOGLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefix_Status_AnnouncedToGoogle; +/** + * The prefix is announced to Internet and within Google. + * + * Value: "ANNOUNCED_TO_INTERNET" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefix_Status_AnnouncedToInternet; /** * The public delegated prefix is being deprovsioned. * @@ -26831,6 +26923,22 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_RouterNat_SourceSubnetworkIpRang */ FOUNDATION_EXTERN NSString * const kGTLRCompute_RouterNat_SourceSubnetworkIpRangesToNat_ListOfSubnetworks; +// ---------------------------------------------------------------------------- +// GTLRCompute_RouterNat.type + +/** + * NAT used for private IP translation. + * + * Value: "PRIVATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_RouterNat_Type_Private; +/** + * NAT used for public IP translation. This is the default. + * + * Value: "PUBLIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_RouterNat_Type_Public; + // ---------------------------------------------------------------------------- // GTLRCompute_RouterNatLogConfig.filter @@ -27695,6 +27803,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyAdaptiveProtection FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyAdvancedOptionsConfig_JsonParsing_Disabled; /** Value: "STANDARD" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyAdvancedOptionsConfig_JsonParsing_Standard; +/** Value: "STANDARD_WITH_GRAPHQL" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyAdvancedOptionsConfig_JsonParsing_StandardWithGraphql; // ---------------------------------------------------------------------------- // GTLRCompute_SecurityPolicyAdvancedOptionsConfig.logLevel @@ -28938,6 +29048,33 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SnapshotList_Warning_Code_Undecl */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SnapshotList_Warning_Code_Unreachable; +// ---------------------------------------------------------------------------- +// GTLRCompute_SnapshotSettingsStorageLocationSettings.policy + +/** + * Store snapshot in the same region as with the originating disk. No + * additional parameters are needed. + * + * Value: "LOCAL_REGION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SnapshotSettingsStorageLocationSettings_Policy_LocalRegion; +/** + * Store snapshot to the nearest multi region GCS bucket, relative to the + * originating disk. No additional parameters are needed. + * + * Value: "NEAREST_MULTI_REGION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SnapshotSettingsStorageLocationSettings_Policy_NearestMultiRegion; +/** + * Store snapshot in the specific locations, as specified by the user. The list + * of regions to store must be defined under the `locations` field. + * + * Value: "SPECIFIC_LOCATIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SnapshotSettingsStorageLocationSettings_Policy_SpecificLocations; +/** Value: "STORAGE_LOCATION_POLICY_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SnapshotSettingsStorageLocationSettings_Policy_StorageLocationPolicyUnspecified; + // ---------------------------------------------------------------------------- // GTLRCompute_SourceInstanceProperties.keyRevocationActionType @@ -30522,6 +30659,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Subnetwork_Purpose_InternalHttps * Value: "PRIVATE" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Subnetwork_Purpose_Private; +/** + * Subnetwork used as source range for Private NAT Gateways. + * + * Value: "PRIVATE_NAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Subnetwork_Purpose_PrivateNat; /** * Regular user created or automatically created subnet. * @@ -34890,6 +35033,51 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TCPHealthCheck_ProxyHeader_None; /** Value: "PROXY_V1" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TCPHealthCheck_ProxyHeader_ProxyV1; +// ---------------------------------------------------------------------------- +// GTLRCompute_UpcomingMaintenance.maintenanceStatus + +/** + * There is ongoing maintenance on this VM. + * + * Value: "ONGOING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceStatus_Ongoing; +/** + * There is pending maintenance. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceStatus_Pending; +/** + * Unknown maintenance status. Do not use this value. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceStatus_Unknown; + +// ---------------------------------------------------------------------------- +// GTLRCompute_UpcomingMaintenance.type + +/** + * Scheduled maintenance (e.g. maintenance after uptime guarantee is complete). + * + * Value: "SCHEDULED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_Type_Scheduled; +/** + * No type specified. Do not use this value. + * + * Value: "UNKNOWN_TYPE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_Type_UnknownType; +/** + * Unscheduled maintenance (e.g. emergency maintenance during uptime + * guarantee). + * + * Value: "UNSCHEDULED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_Type_Unscheduled; + // ---------------------------------------------------------------------------- // GTLRCompute_UrlMapList_Warning.code @@ -35506,6 +35694,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_UsableSubnetwork_Purpose_Interna * Value: "PRIVATE" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_UsableSubnetwork_Purpose_Private; +/** + * Subnetwork used as source range for Private NAT Gateways. + * + * Value: "PRIVATE_NAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UsableSubnetwork_Purpose_PrivateNat; /** * Regular user created or automatically created subnet. * @@ -48795,13 +48989,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, strong, nullable) NSNumber *allowPscGlobalAccess; /** - * This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - - * By internal TCP/UDP load balancers, backend service-based network load - * balancers, and internal and external protocol forwarding. Set this field to - * true to allow packets addressed to any port or packets lacking destination - * port information (for example, UDP fragments after the first fragment) to be - * forwarded to the backends configured with this forwarding rule. The ports, - * port_range, and allPorts fields are mutually exclusive. + * The ports, portRange, and allPorts fields are mutually exclusive. Only + * packets addressed to ports in the specified range will be forwarded to the + * backends configured with this forwarding rule. The allPorts field has the + * following limitations: - It requires that the forwarding rule IPProtocol be + * TCP, UDP, SCTP, or L3_DEFAULT. - It's applicable only to the following + * products: internal passthrough Network Load Balancers, backend service-based + * external passthrough Network Load Balancers, and internal and external + * protocol forwarding. - Set this field to true to allow packets addressed to + * any port or packets lacking destination port information (for example, UDP + * fragments after the first fragment) to be forwarded to the backends + * configured with this forwarding rule. The L3_DEFAULT protocol requires + * allPorts be set to true. * * Uses NSNumber of boolValue. */ @@ -49048,35 +49247,38 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, strong, nullable) NSNumber *noAutomateDnsZone; /** - * This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - - * By backend service-based network load balancers, target pool-based network - * load balancers, internal proxy load balancers, external proxy load - * balancers, Traffic Director, external protocol forwarding, and Classic VPN. - * Some products have restrictions on what ports can be used. See port - * specifications for details. Only packets addressed to ports in the specified - * range will be forwarded to the backends configured with this forwarding - * rule. The ports, port_range, and allPorts fields are mutually exclusive. For - * external forwarding rules, two or more forwarding rules cannot use the same - * [IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. For - * internal forwarding rules within the same VPC network, two or more + * The ports, portRange, and allPorts fields are mutually exclusive. Only + * packets addressed to ports in the specified range will be forwarded to the + * backends configured with this forwarding rule. The portRange field has the + * following limitations: - It requires that the forwarding rule IPProtocol be + * TCP, UDP, or SCTP, and - It's applicable only to the following products: + * external passthrough Network Load Balancers, internal and external proxy + * Network Load Balancers, internal and external Application Load Balancers, + * external protocol forwarding, and Classic VPN. - Some products have + * restrictions on what ports can be used. See port specifications for details. + * For external forwarding rules, two or more forwarding rules cannot use the + * same [IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. + * For internal forwarding rules within the same VPC network, two or more * forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and * cannot have overlapping portRanges. \@pattern: \\\\d+(?:-\\\\d+)? */ @property(nonatomic, copy, nullable) NSString *portRange; /** - * This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - - * By internal TCP/UDP load balancers, backend service-based network load - * balancers, and internal protocol forwarding. You can specify a list of up to - * five ports by number, separated by commas. The ports can be contiguous or - * discontiguous. Only packets addressed to these ports will be forwarded to - * the backends configured with this forwarding rule. For external forwarding - * rules, two or more forwarding rules cannot use the same [IPAddress, - * IPProtocol] pair, and cannot share any values defined in ports. For internal - * forwarding rules within the same VPC network, two or more forwarding rules - * cannot use the same [IPAddress, IPProtocol] pair, and cannot share any - * values defined in ports. The ports, port_range, and allPorts fields are - * mutually exclusive. \@pattern: \\\\d+(?:-\\\\d+)? + * The ports, portRange, and allPorts fields are mutually exclusive. Only + * packets addressed to ports in the specified range will be forwarded to the + * backends configured with this forwarding rule. The ports field has the + * following limitations: - It requires that the forwarding rule IPProtocol be + * TCP, UDP, or SCTP, and - It's applicable only to the following products: + * internal passthrough Network Load Balancers, backend service-based external + * passthrough Network Load Balancers, and internal protocol forwarding. - You + * can specify a list of up to five ports by number, separated by commas. The + * ports can be contiguous or discontiguous. For external forwarding rules, two + * or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair if + * they share at least one port number. For internal forwarding rules within + * the same VPC network, two or more forwarding rules cannot use the same + * [IPAddress, IPProtocol] pair if they share at least one port number. + * \@pattern: \\\\d+(?:-\\\\d+)? */ @property(nonatomic, strong, nullable) NSArray *ports; @@ -71359,6 +71561,22 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_PublicAdvertisedPrefix : GTLRObject +/** + * [Output Only] The version of BYOIP API. + * + * Likely values: + * @arg @c kGTLRCompute_PublicAdvertisedPrefix_ByoipApiVersion_V1 This public + * advertised prefix can be used to create both regional and global + * public delegated prefixes. It usually takes 4 weeks to create or + * delete a public delegated prefix. The BGP status cannot be changed. + * (Value: "V1") + * @arg @c kGTLRCompute_PublicAdvertisedPrefix_ByoipApiVersion_V2 This public + * advertised prefix can only be used to create regional public delegated + * prefixes. Public delegated prefix creation and deletion takes minutes + * and the BGP status can be modified. (Value: "V2") + */ +@property(nonatomic, copy, nullable) NSString *byoipApiVersion; + /** [Output Only] Creation timestamp in RFC3339 text format. */ @property(nonatomic, copy, nullable) NSString *creationTimestamp; @@ -71419,6 +71637,29 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Specifies how child public delegated prefix will be scoped. It could be one + * of following values: - `REGIONAL`: The public delegated prefix is regional + * only. The provisioning will take a few minutes. - `GLOBAL`: The public + * delegated prefix is global only. The provisioning will take ~4 weeks. - + * `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is BYOIP + * V1 legacy prefix. This is output only value and no longer supported in BYOIP + * V2. + * + * Likely values: + * @arg @c kGTLRCompute_PublicAdvertisedPrefix_PdpScope_Global The public + * delegated prefix is global only. The provisioning will take ~4 weeks. + * (Value: "GLOBAL") + * @arg @c kGTLRCompute_PublicAdvertisedPrefix_PdpScope_GlobalAndRegional The + * public delegated prefixes is BYOIP V1 legacy prefix. This is output + * only value and no longer supported in BYOIP V2. (Value: + * "GLOBAL_AND_REGIONAL") + * @arg @c kGTLRCompute_PublicAdvertisedPrefix_PdpScope_Regional The public + * delegated prefix is regional only. The provisioning will take a few + * minutes. (Value: "REGIONAL") + */ +@property(nonatomic, copy, nullable) NSString *pdpScope; + /** * [Output Only] The list of public delegated prefixes that exist for this * public advertised prefix. @@ -71443,6 +71684,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed. * * Likely values: + * @arg @c kGTLRCompute_PublicAdvertisedPrefix_Status_AnnouncedToInternet The + * prefix is announced to Internet. (Value: "ANNOUNCED_TO_INTERNET") * @arg @c kGTLRCompute_PublicAdvertisedPrefix_Status_Initial RPKI validation * is complete. (Value: "INITIAL") * @arg @c kGTLRCompute_PublicAdvertisedPrefix_Status_PrefixConfigurationComplete @@ -71455,6 +71698,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * The prefix is being removed. (Value: "PREFIX_REMOVAL_IN_PROGRESS") * @arg @c kGTLRCompute_PublicAdvertisedPrefix_Status_PtrConfigured User has * configured the PTR. (Value: "PTR_CONFIGURED") + * @arg @c kGTLRCompute_PublicAdvertisedPrefix_Status_ReadyToAnnounce The + * prefix is currently withdrawn but ready to be announced. (Value: + * "READY_TO_ANNOUNCE") * @arg @c kGTLRCompute_PublicAdvertisedPrefix_Status_ReverseDnsLookupFailed * Reverse DNS lookup failed. (Value: "REVERSE_DNS_LOOKUP_FAILED") * @arg @c kGTLRCompute_PublicAdvertisedPrefix_Status_Validated Reverse DNS @@ -71689,6 +71935,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_PublicDelegatedPrefix : GTLRObject +/** + * [Output Only] The version of BYOIP API. + * + * Likely values: + * @arg @c kGTLRCompute_PublicDelegatedPrefix_ByoipApiVersion_V1 This public + * delegated prefix usually takes 4 weeks to delete, and the BGP status + * cannot be changed. Announce and Withdraw APIs can not be used on this + * prefix. (Value: "V1") + * @arg @c kGTLRCompute_PublicDelegatedPrefix_ByoipApiVersion_V2 This public + * delegated prefix takes minutes to delete. Announce and Withdraw APIs + * can be used on this prefix to change the BGP status. (Value: "V2") + */ +@property(nonatomic, copy, nullable) NSString *byoipApiVersion; + /** [Output Only] Creation timestamp in RFC3339 text format. */ @property(nonatomic, copy, nullable) NSString *creationTimestamp; @@ -71787,6 +72047,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Likely values: * @arg @c kGTLRCompute_PublicDelegatedPrefix_Status_Announced The public * delegated prefix is active. (Value: "ANNOUNCED") + * @arg @c kGTLRCompute_PublicDelegatedPrefix_Status_AnnouncedToGoogle The + * prefix is announced within Google network. (Value: + * "ANNOUNCED_TO_GOOGLE") + * @arg @c kGTLRCompute_PublicDelegatedPrefix_Status_AnnouncedToInternet The + * prefix is announced to Internet and within Google. (Value: + * "ANNOUNCED_TO_INTERNET") * @arg @c kGTLRCompute_PublicDelegatedPrefix_Status_Deleting The public * delegated prefix is being deprovsioned. (Value: "DELETING") * @arg @c kGTLRCompute_PublicDelegatedPrefix_Status_Initializing The public @@ -76412,6 +76678,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** [Output Only] An opaque ID of the host on which the VM is running. */ @property(nonatomic, copy, nullable) NSString *physicalHost; +@property(nonatomic, strong, nullable) GTLRCompute_UpcomingMaintenance *upcomingMaintenance; + @end @@ -77999,6 +78267,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSNumber *tcpTransitoryIdleTimeoutSec; +/** + * Indicates whether this NAT is used for public or private IP translation. If + * unspecified, it defaults to PUBLIC. + * + * Likely values: + * @arg @c kGTLRCompute_RouterNat_Type_Private NAT used for private IP + * translation. (Value: "PRIVATE") + * @arg @c kGTLRCompute_RouterNat_Type_Public NAT used for public IP + * translation. This is the default. (Value: "PUBLIC") + */ +@property(nonatomic, copy, nullable) NSString *type; + /** * Timeout (in seconds) for UDP connections. Defaults to 30s if not set. * @@ -78092,6 +78372,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSArray *sourceNatActiveIps; +/** + * A list of URLs of the subnetworks used as source ranges for this NAT Rule. + * These subnetworks must have purpose set to PRIVATE_NAT. This field is used + * for private NAT. + */ +@property(nonatomic, strong, nullable) NSArray *sourceNatActiveRanges; + /** * A list of URLs of the IP resources to be drained. These IPs must be valid * static external IPs that have been assigned to the NAT. These IPs should be @@ -78100,6 +78387,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSArray *sourceNatDrainIps; +/** + * A list of URLs of subnetworks representing source ranges to be drained. This + * is only supported on patch/update, and these subnetworks must have + * previously been used as active ranges in this NAT Rule. This field is used + * for private NAT. + */ +@property(nonatomic, strong, nullable) NSArray *sourceNatDrainRanges; + @end @@ -79573,6 +79868,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Value "DISABLED" * @arg @c kGTLRCompute_SecurityPolicyAdvancedOptionsConfig_JsonParsing_Standard * Value "STANDARD" + * @arg @c kGTLRCompute_SecurityPolicyAdvancedOptionsConfig_JsonParsing_StandardWithGraphql + * Value "STANDARD_WITH_GRAPHQL" */ @property(nonatomic, copy, nullable) NSString *jsonParsing; @@ -79587,6 +79884,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *logLevel; +/** + * An optional list of case-insensitive request header names to use for + * resolving the callers client IP address. + */ +@property(nonatomic, strong, nullable) NSArray *userIpRequestHeaders; + @end @@ -81630,6 +81933,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSNumber *downloadBytes; +/** + * [Output Only] A list of features to enable on the guest operating system. + * Applicable only for bootable images. Read Enabling guest operating system + * features to see a list of available options. + */ +@property(nonatomic, strong, nullable) NSArray *guestOsFeatures; + /** * [Output Only] The unique identifier for the resource. This identifier is * defined by the server. @@ -81739,6 +82049,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) GTLRCompute_CustomerEncryptionKey *sourceDiskEncryptionKey; +/** + * The source disk whose recovery checkpoint will be used to create this + * snapshot. + */ +@property(nonatomic, copy, nullable) NSString *sourceDiskForRecoveryCheckpoint; + /** * [Output Only] The ID value of the disk used to create this snapshot. This * value may be used to determine whether the snapshot was taken from the @@ -81999,6 +82315,79 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_SnapshotSettings + */ +@interface GTLRCompute_SnapshotSettings : GTLRObject + +/** + * Policy of which storage location is going to be resolved, and additional + * data that particularizes how the policy is going to be carried out. + */ +@property(nonatomic, strong, nullable) GTLRCompute_SnapshotSettingsStorageLocationSettings *storageLocation; + +@end + + +/** + * GTLRCompute_SnapshotSettingsStorageLocationSettings + */ +@interface GTLRCompute_SnapshotSettingsStorageLocationSettings : GTLRObject + +/** + * When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the + * locations listed in this field. Keys are GCS bucket locations. + */ +@property(nonatomic, strong, nullable) GTLRCompute_SnapshotSettingsStorageLocationSettings_Locations *locations; + +/** + * The chosen location policy. + * + * Likely values: + * @arg @c kGTLRCompute_SnapshotSettingsStorageLocationSettings_Policy_LocalRegion + * Store snapshot in the same region as with the originating disk. No + * additional parameters are needed. (Value: "LOCAL_REGION") + * @arg @c kGTLRCompute_SnapshotSettingsStorageLocationSettings_Policy_NearestMultiRegion + * Store snapshot to the nearest multi region GCS bucket, relative to the + * originating disk. No additional parameters are needed. (Value: + * "NEAREST_MULTI_REGION") + * @arg @c kGTLRCompute_SnapshotSettingsStorageLocationSettings_Policy_SpecificLocations + * Store snapshot in the specific locations, as specified by the user. + * The list of regions to store must be defined under the `locations` + * field. (Value: "SPECIFIC_LOCATIONS") + * @arg @c kGTLRCompute_SnapshotSettingsStorageLocationSettings_Policy_StorageLocationPolicyUnspecified + * Value "STORAGE_LOCATION_POLICY_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *policy; + +@end + + +/** + * When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the + * locations listed in this field. Keys are GCS bucket locations. + * + * @note This class is documented as having more properties of + * GTLRCompute_SnapshotSettingsStorageLocationSettingsStorageLocationPreference. + * 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_SnapshotSettingsStorageLocationSettings_Locations : GTLRObject +@end + + +/** + * A structure for specifying storage locations. + */ +@interface GTLRCompute_SnapshotSettingsStorageLocationSettingsStorageLocationPreference : GTLRObject + +/** Name of the location. It should be one of the GCS buckets. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * GTLRCompute_SourceDiskEncryptionKey */ @@ -84133,6 +84522,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * "INTERNAL_HTTPS_LOAD_BALANCER") * @arg @c kGTLRCompute_Subnetwork_Purpose_Private Regular user created or * automatically created subnet. (Value: "PRIVATE") + * @arg @c kGTLRCompute_Subnetwork_Purpose_PrivateNat Subnetwork used as + * source range for Private NAT Gateways. (Value: "PRIVATE_NAT") * @arg @c kGTLRCompute_Subnetwork_Purpose_PrivateRfc1918 Regular user * created or automatically created subnet. (Value: "PRIVATE_RFC_1918") * @arg @c kGTLRCompute_Subnetwork_Purpose_PrivateServiceConnect Subnetworks @@ -89671,6 +90062,67 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Upcoming Maintenance notification information. + */ +@interface GTLRCompute_UpcomingMaintenance : GTLRObject + +/** + * Indicates if the maintenance can be customer triggered. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *canReschedule; + +/** + * The latest time for the planned maintenance window to start. This timestamp + * value is in RFC3339 text format. + */ +@property(nonatomic, copy, nullable) NSString *latestWindowStartTime; + +/** + * maintenanceStatus + * + * Likely values: + * @arg @c kGTLRCompute_UpcomingMaintenance_MaintenanceStatus_Ongoing There + * is ongoing maintenance on this VM. (Value: "ONGOING") + * @arg @c kGTLRCompute_UpcomingMaintenance_MaintenanceStatus_Pending There + * is pending maintenance. (Value: "PENDING") + * @arg @c kGTLRCompute_UpcomingMaintenance_MaintenanceStatus_Unknown Unknown + * maintenance status. Do not use this value. (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *maintenanceStatus; + +/** + * Defines the type of maintenance. + * + * Likely values: + * @arg @c kGTLRCompute_UpcomingMaintenance_Type_Scheduled Scheduled + * maintenance (e.g. maintenance after uptime guarantee is complete). + * (Value: "SCHEDULED") + * @arg @c kGTLRCompute_UpcomingMaintenance_Type_UnknownType No type + * specified. Do not use this value. (Value: "UNKNOWN_TYPE") + * @arg @c kGTLRCompute_UpcomingMaintenance_Type_Unscheduled Unscheduled + * maintenance (e.g. emergency maintenance during uptime guarantee). + * (Value: "UNSCHEDULED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** + * The time by which the maintenance disruption will be completed. This + * timestamp value is in RFC3339 text format. + */ +@property(nonatomic, copy, nullable) NSString *windowEndTime; + +/** + * The current start time of the maintenance window. This timestamp value is in + * RFC3339 text format. + */ +@property(nonatomic, copy, nullable) NSString *windowStartTime; + +@end + + /** * Represents a URL Map resource. Compute Engine has two URL Map resources: * * [Global](/compute/docs/reference/rest/v1/urlMaps) * @@ -90594,6 +91046,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * "INTERNAL_HTTPS_LOAD_BALANCER") * @arg @c kGTLRCompute_UsableSubnetwork_Purpose_Private Regular user created * or automatically created subnet. (Value: "PRIVATE") + * @arg @c kGTLRCompute_UsableSubnetwork_Purpose_PrivateNat Subnetwork used + * as source range for Private NAT Gateways. (Value: "PRIVATE_NAT") * @arg @c kGTLRCompute_UsableSubnetwork_Purpose_PrivateRfc1918 Regular user * created or automatically created subnet. (Value: "PRIVATE_RFC_1918") * @arg @c kGTLRCompute_UsableSubnetwork_Purpose_PrivateServiceConnect diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h index 844e3cc6d..31564c1be 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h @@ -23429,6 +23429,54 @@ GTLR_DEPRECATED @end +/** + * Announces the specified PublicAdvertisedPrefix + * + * Method: compute.publicAdvertisedPrefixes.announce + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_PublicAdvertisedPrefixesAnnounce : GTLRComputeQuery + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * The name of the public advertised prefix. It should comply with RFC1035. + */ +@property(nonatomic, copy, nullable) NSString *publicAdvertisedPrefix; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Announces the specified PublicAdvertisedPrefix + * + * @param project Project ID for this request. + * @param publicAdvertisedPrefix The name of the public advertised prefix. It + * should comply with RFC1035. + * + * @return GTLRComputeQuery_PublicAdvertisedPrefixesAnnounce + */ ++ (instancetype)queryWithProject:(NSString *)project + publicAdvertisedPrefix:(NSString *)publicAdvertisedPrefix; + +@end + /** * Deletes the specified PublicAdvertisedPrefix * @@ -23710,6 +23758,54 @@ GTLR_DEPRECATED @end +/** + * Withdraws the specified PublicAdvertisedPrefix + * + * Method: compute.publicAdvertisedPrefixes.withdraw + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_PublicAdvertisedPrefixesWithdraw : GTLRComputeQuery + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * The name of the public advertised prefix. It should comply with RFC1035. + */ +@property(nonatomic, copy, nullable) NSString *publicAdvertisedPrefix; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Withdraws the specified PublicAdvertisedPrefix + * + * @param project Project ID for this request. + * @param publicAdvertisedPrefix The name of the public advertised prefix. It + * should comply with RFC1035. + * + * @return GTLRComputeQuery_PublicAdvertisedPrefixesWithdraw + */ ++ (instancetype)queryWithProject:(NSString *)project + publicAdvertisedPrefix:(NSString *)publicAdvertisedPrefix; + +@end + /** * Lists all PublicDelegatedPrefix resources owned by the specific project * across all scopes. @@ -23824,6 +23920,61 @@ GTLR_DEPRECATED @end +/** + * Announces the specified PublicDelegatedPrefix in the given region. + * + * Method: compute.publicDelegatedPrefixes.announce + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_PublicDelegatedPrefixesAnnounce : GTLRComputeQuery + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** The name of the public delegated prefix. It should comply with RFC1035. */ +@property(nonatomic, copy, nullable) NSString *publicDelegatedPrefix; + +/** + * The name of the region where the public delegated prefix is located. It + * should comply with RFC1035. + */ +@property(nonatomic, copy, nullable) NSString *region; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Announces the specified PublicDelegatedPrefix in the given region. + * + * @param project Project ID for this request. + * @param region The name of the region where the public delegated prefix is + * located. It should comply with RFC1035. + * @param publicDelegatedPrefix The name of the public delegated prefix. It + * should comply with RFC1035. + * + * @return GTLRComputeQuery_PublicDelegatedPrefixesAnnounce + */ ++ (instancetype)queryWithProject:(NSString *)project + region:(NSString *)region + publicDelegatedPrefix:(NSString *)publicDelegatedPrefix; + +@end + /** * Deletes the specified PublicDelegatedPrefix in the given region. * @@ -24130,6 +24281,61 @@ GTLR_DEPRECATED @end +/** + * Withdraws the specified PublicDelegatedPrefix in the given region. + * + * Method: compute.publicDelegatedPrefixes.withdraw + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_PublicDelegatedPrefixesWithdraw : GTLRComputeQuery + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** The name of the public delegated prefix. It should comply with RFC1035. */ +@property(nonatomic, copy, nullable) NSString *publicDelegatedPrefix; + +/** + * The name of the region where the public delegated prefix is located. It + * should comply with RFC1035. + */ +@property(nonatomic, copy, nullable) NSString *region; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Withdraws the specified PublicDelegatedPrefix in the given region. + * + * @param project Project ID for this request. + * @param region The name of the region where the public delegated prefix is + * located. It should comply with RFC1035. + * @param publicDelegatedPrefix The name of the public delegated prefix. It + * should comply with RFC1035. + * + * @return GTLRComputeQuery_PublicDelegatedPrefixesWithdraw + */ ++ (instancetype)queryWithProject:(NSString *)project + region:(NSString *)region + publicDelegatedPrefix:(NSString *)publicDelegatedPrefix; + +@end + /** * Deletes the specified autoscaler. * @@ -37276,6 +37482,83 @@ GTLR_DEPRECATED @end +/** + * Get snapshot settings. + * + * Method: compute.snapshotSettings.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + * @c kGTLRAuthScopeComputeReadonly + */ +@interface GTLRComputeQuery_SnapshotSettingsGet : GTLRComputeQuery + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * Fetches a @c GTLRCompute_SnapshotSettings. + * + * Get snapshot settings. + * + * @param project Project ID for this request. + * + * @return GTLRComputeQuery_SnapshotSettingsGet + */ ++ (instancetype)queryWithProject:(NSString *)project; + +@end + +/** + * Patch snapshot settings. + * + * Method: compute.snapshotSettings.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_SnapshotSettingsPatch : 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; + +/** + * update_mask indicates fields to be updated as part of this request. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Patch snapshot settings. + * + * @param object The @c GTLRCompute_SnapshotSettings to include in the query. + * @param project Project ID for this request. + * + * @return GTLRComputeQuery_SnapshotSettingsPatch + */ ++ (instancetype)queryWithObject:(GTLRCompute_SnapshotSettings *)object + project:(NSString *)project; + +@end + /** * Returns the specified Snapshot resource. * diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m index 159ffc2f2..c03313cdf 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m @@ -58,6 +58,11 @@ NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_WriteDisposition_WriteDispositionUnspecified = @"WRITE_DISPOSITION_UNSPECIFIED"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_WriteDisposition_WriteTruncate = @"WRITE_TRUNCATE"; +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource.bucketObjectType +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource_BucketObjectType_Audio = @"AUDIO"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource_BucketObjectType_BucketObjectTypeUnspecified = @"BUCKET_OBJECT_TYPE_UNSPECIFIED"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource_BucketObjectType_Transcript = @"TRANSCRIPT"; + // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig.medium NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig_Medium_Chat = @"CHAT"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig_Medium_MediumUnspecified = @"MEDIUM_UNSPECIFIED"; @@ -128,6 +133,11 @@ NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_WriteDisposition_WriteDispositionUnspecified = @"WRITE_DISPOSITION_UNSPECIFIED"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_WriteDisposition_WriteTruncate = @"WRITE_TRUNCATE"; +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource.bucketObjectType +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource_BucketObjectType_Audio = @"AUDIO"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource_BucketObjectType_BucketObjectTypeUnspecified = @"BUCKET_OBJECT_TYPE_UNSPECIFIED"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource_BucketObjectType_Transcript = @"TRANSCRIPT"; + // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig.medium NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig_Medium_Chat = @"CHAT"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig_Medium_MediumUnspecified = @"MEDIUM_UNSPECIFIED"; @@ -337,7 +347,15 @@ + (Class)classForAdditionalProperties { @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata @dynamic completedAnalysesCount, createTime, endTime, failedAnalysesCount, - request, totalRequestedAnalysesCount; + partialErrors, request, totalRequestedAnalysesCount; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"partialErrors" : [GTLRContactcenterinsights_GoogleRpcStatus class] + }; + return map; +} + @end @@ -361,6 +379,43 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata +@dynamic createTime, endTime, partialErrors, request; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"partialErrors" : [GTLRContactcenterinsights_GoogleRpcStatus class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest +@dynamic filter, force, maxDeleteCount, parent; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CallAnnotation @@ -827,7 +882,8 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest -@dynamic conversationConfig, gcsSource, parent, transcriptObjectConfig; +@dynamic conversationConfig, gcsSource, parent, redactionConfig, speechConfig, + transcriptObjectConfig; @end @@ -837,7 +893,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig -@dynamic agentId; +@dynamic agentChannel, agentId, customerChannel; @end @@ -847,7 +903,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource -@dynamic bucketUri; +@dynamic bucketObjectType, bucketUri; @end @@ -1322,7 +1378,15 @@ + (Class)classForAdditionalProperties { @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata @dynamic completedAnalysesCount, createTime, endTime, failedAnalysesCount, - request, totalRequestedAnalysesCount; + partialErrors, request, totalRequestedAnalysesCount; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"partialErrors" : [GTLRContactcenterinsights_GoogleRpcStatus class] + }; + return map; +} + @end @@ -1346,6 +1410,43 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Bulk @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata +@dynamic createTime, endTime, partialErrors, request; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"partialErrors" : [GTLRContactcenterinsights_GoogleRpcStatus class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest +@dynamic filter, force, maxDeleteCount, parent; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse @@ -1928,7 +2029,8 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Inge // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequest -@dynamic conversationConfig, gcsSource, parent, transcriptObjectConfig; +@dynamic conversationConfig, gcsSource, parent, redactionConfig, speechConfig, + transcriptObjectConfig; @end @@ -1938,7 +2040,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Inge // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig -@dynamic agentId; +@dynamic agentChannel, agentId, customerChannel; @end @@ -1948,7 +2050,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Inge // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource -@dynamic bucketUri; +@dynamic bucketObjectType, bucketUri; @end diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m index 47308675b..512d19dd6 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m @@ -137,6 +137,33 @@ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcen @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsBulkDelete + +@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_ProjectsLocationsConversationsBulkDelete *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.conversations.bulkDelete"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsCalculateStats @dynamic filter, location; diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h index 391c4905a..133bd8238 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h @@ -25,6 +25,7 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData_Metadata; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CallAnnotation; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Conversation; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Conversation_DialogflowIntents; @@ -96,6 +97,7 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ArticleSuggestionData; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ArticleSuggestionData_Metadata; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CalculateStatsResponse_CustomHighlighterMatches; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CalculateStatsResponse_IssueMatches; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CalculateStatsResponse_IssueMatchesStats; @@ -190,7 +192,7 @@ NS_ASSUME_NONNULL_BEGIN // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig.summarizationModel /** - * The Insights baseline model. + * The CCAI baseline model. * * Value: "BASELINE_MODEL" */ @@ -427,6 +429,28 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_WriteDisposition_WriteTruncate; +// ---------------------------------------------------------------------------- +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource.bucketObjectType + +/** + * The object is an audio file. + * + * Value: "AUDIO" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource_BucketObjectType_Audio; +/** + * The object type is unspecified and will default to TRANSCRIPT. + * + * Value: "BUCKET_OBJECT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource_BucketObjectType_BucketObjectTypeUnspecified; +/** + * The object is a transcript. + * + * Value: "TRANSCRIPT" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource_BucketObjectType_Transcript; + // ---------------------------------------------------------------------------- // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig.medium @@ -538,7 +562,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig.summarizationModel /** - * The Insights baseline model. + * The CCAI baseline model. * * Value: "BASELINE_MODEL" */ @@ -775,6 +799,28 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_WriteDisposition_WriteTruncate; +// ---------------------------------------------------------------------------- +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource.bucketObjectType + +/** + * The object is an audio file. + * + * Value: "AUDIO" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource_BucketObjectType_Audio; +/** + * The object type is unspecified and will default to TRANSCRIPT. + * + * Value: "BUCKET_OBJECT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource_BucketObjectType_BucketObjectTypeUnspecified; +/** + * The object is a transcript. + * + * Value: "TRANSCRIPT" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource_BucketObjectType_Transcript; + // ---------------------------------------------------------------------------- // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig.medium @@ -1200,7 +1246,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * * Likely values: * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModel - * The Insights baseline model. (Value: "BASELINE_MODEL") + * The CCAI baseline model. (Value: "BASELINE_MODEL") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig_SummarizationModel_SummarizationModelUnspecified * Unspecified summarization model. (Value: * "SUMMARIZATION_MODEL_UNSPECIFIED") @@ -1329,6 +1375,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @property(nonatomic, strong, nullable) NSNumber *failedAnalysesCount; +/** + * Output only. Partial errors during bulk analyze operation that might cause + * the operation output to be incomplete. + */ +@property(nonatomic, strong, nullable) NSArray *partialErrors; + /** The original request for bulk analyze. */ @property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest *request; @@ -1392,6 +1444,69 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @end +/** + * The metadata for a bulk delete conversations operation. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata : GTLRObject + +/** The time the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Partial errors during bulk delete conversations operation that might cause + * the operation output to be incomplete. + */ +@property(nonatomic, strong, nullable) NSArray *partialErrors; + +/** The original request for bulk delete. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest *request; + +@end + + +/** + * The request to delete conversations in bulk. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest : GTLRObject + +/** Filter used to select the subset of conversations to delete. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * 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. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *force; + +/** + * Maximum number of conversations to delete. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxDeleteCount; + +/** + * Required. The parent resource to delete conversations from. Format: + * projects/{project}/locations/{location} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +@end + + +/** + * The response for a bulk delete conversations operation. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse : GTLRObject +@end + + /** * A piece of metadata that applies to a window of a call. */ @@ -1601,7 +1716,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact /** - * The conversation source, which is a combination of transcript and audio. + * The conversation source, which is a combination of transcript, audio, and + * metadata. */ @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource : GTLRObject @@ -2421,6 +2537,18 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact /** Required. The parent resource for new conversations. */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. DLP settings for transcript redaction. Optional, will default to + * the config specified in Settings. + */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1RedactionConfig *redactionConfig; + +/** + * Optional. Default Speech-to-Text configuration. Optional, will default to + * the config specified in Settings. + */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SpeechConfig *speechConfig; + /** Configuration for when `source` contains conversation transcripts. */ @property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig *transcriptObjectConfig; @@ -2432,12 +2560,30 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig : GTLRObject +/** + * Optional. For audio conversations, this field indicates which of the + * channels, 1 or 2, contains the agent. Note that this must be set for audio + * conversations to be properly displayed and analyzed. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *agentChannel; + /** * An opaque, user-specified string representing the human agent who handled * the conversations. */ @property(nonatomic, copy, nullable) NSString *agentId; +/** + * Optional. For audio conversations, this field indicates which of the + * channels, 1 or 2, contains the customer. Note that this must be set for + * audio conversations to be properly displayed and analyzed. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *customerChannel; + @end @@ -2446,6 +2592,20 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource : GTLRObject +/** + * Optional. Specifies the type of the objects in `bucket_uri`. + * + * Likely values: + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource_BucketObjectType_Audio + * The object is an audio file. (Value: "AUDIO") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource_BucketObjectType_BucketObjectTypeUnspecified + * The object type is unspecified and will default to TRANSCRIPT. (Value: + * "BUCKET_OBJECT_TYPE_UNSPECIFIED") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource_BucketObjectType_Transcript + * The object is a transcript. (Value: "TRANSCRIPT") + */ +@property(nonatomic, copy, nullable) NSString *bucketObjectType; + /** Required. The Cloud Storage bucket containing source objects. */ @property(nonatomic, copy, nullable) NSString *bucketUri; @@ -3306,7 +3466,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * * Likely values: * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModel - * The Insights baseline model. (Value: "BASELINE_MODEL") + * The CCAI baseline model. (Value: "BASELINE_MODEL") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig_SummarizationModel_SummarizationModelUnspecified * Unspecified summarization model. (Value: * "SUMMARIZATION_MODEL_UNSPECIFIED") @@ -3435,6 +3595,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @property(nonatomic, strong, nullable) NSNumber *failedAnalysesCount; +/** + * Output only. Partial errors during bulk analyze operation that might cause + * the operation output to be incomplete. + */ +@property(nonatomic, strong, nullable) NSArray *partialErrors; + /** The original request for bulk analyze. */ @property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest *request; @@ -3498,6 +3664,69 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @end +/** + * The metadata for a bulk delete conversations operation. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata : GTLRObject + +/** The time the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Partial errors during bulk delete conversations operation that might cause + * the operation output to be incomplete. + */ +@property(nonatomic, strong, nullable) NSArray *partialErrors; + +/** The original request for bulk delete. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest *request; + +@end + + +/** + * The request to delete conversations in bulk. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest : GTLRObject + +/** Filter used to select the subset of conversations to delete. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * 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. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *force; + +/** + * Maximum number of conversations to delete. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxDeleteCount; + +/** + * Required. The parent resource to delete conversations from. Format: + * projects/{project}/locations/{location} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +@end + + +/** + * The response for a bulk delete conversations operation. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse : GTLRObject +@end + + /** * Response of querying an issue model's statistics. */ @@ -3875,7 +4104,8 @@ GTLR_DEPRECATED /** - * The conversation source, which is a combination of transcript and audio. + * The conversation source, which is a combination of transcript, audio, and + * metadata. */ @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationDataSource : GTLRObject @@ -4710,6 +4940,18 @@ GTLR_DEPRECATED /** Required. The parent resource for new conversations. */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. DLP settings for transcript redaction. Optional, will default to + * the config specified in Settings. + */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1RedactionConfig *redactionConfig; + +/** + * Optional. Default Speech-to-Text configuration. Optional, will default to + * the config specified in Settings. + */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SpeechConfig *speechConfig; + /** Configuration for when `source` contains conversation transcripts. */ @property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig *transcriptObjectConfig; @@ -4721,12 +4963,30 @@ GTLR_DEPRECATED */ @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig : GTLRObject +/** + * Optional. For audio conversations, this field indicates which of the + * channels, 1 or 2, contains the agent. Note that this must be set for audio + * conversations to be properly displayed and analyzed. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *agentChannel; + /** * An opaque, user-specified string representing the human agent who handled * the conversations. */ @property(nonatomic, copy, nullable) NSString *agentId; +/** + * Optional. For audio conversations, this field indicates which of the + * channels, 1 or 2, contains the customer. Note that this must be set for + * audio conversations to be properly displayed and analyzed. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *customerChannel; + @end @@ -4735,6 +4995,20 @@ GTLR_DEPRECATED */ @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource : GTLRObject +/** + * Optional. Specifies the type of the objects in `bucket_uri`. + * + * Likely values: + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource_BucketObjectType_Audio + * The object is an audio file. (Value: "AUDIO") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource_BucketObjectType_BucketObjectTypeUnspecified + * The object type is unspecified and will default to TRANSCRIPT. (Value: + * "BUCKET_OBJECT_TYPE_UNSPECIFIED") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource_BucketObjectType_Transcript + * The object is a transcript. (Value: "TRANSCRIPT") + */ +@property(nonatomic, copy, nullable) NSString *bucketObjectType; + /** Required. The Cloud Storage bucket containing source objects. */ @property(nonatomic, copy, nullable) NSString *bucketUri; diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h index 1ae5e7428..5813d6a49 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h @@ -229,6 +229,40 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * Deletes multiple conversations in a single request. + * + * Method: contactcenterinsights.projects.locations.conversations.bulkDelete + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsBulkDelete : GTLRContactcenterinsightsQuery + +/** + * Required. The parent resource to delete conversations from. Format: + * projects/{project}/locations/{location} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Deletes multiple conversations in a single request. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest + * to include in the query. + * @param parent Required. The parent resource to delete conversations from. + * Format: projects/{project}/locations/{location} + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsBulkDelete + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest *)object + parent:(NSString *)parent; + +@end + /** * Gets conversation statistics. * diff --git a/Sources/GeneratedServices/Container/GTLRContainerObjects.m b/Sources/GeneratedServices/Container/GTLRContainerObjects.m index 3f75e03f3..efddc2823 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerObjects.m +++ b/Sources/GeneratedServices/Container/GTLRContainerObjects.m @@ -96,6 +96,11 @@ NSString * const kGTLRContainer_DNSConfig_ClusterDnsScope_DnsScopeUnspecified = @"DNS_SCOPE_UNSPECIFIED"; NSString * const kGTLRContainer_DNSConfig_ClusterDnsScope_VpcScope = @"VPC_SCOPE"; +// GTLRContainer_EnterpriseConfig.clusterTier +NSString * const kGTLRContainer_EnterpriseConfig_ClusterTier_ClusterTierUnspecified = @"CLUSTER_TIER_UNSPECIFIED"; +NSString * const kGTLRContainer_EnterpriseConfig_ClusterTier_Enterprise = @"ENTERPRISE"; +NSString * const kGTLRContainer_EnterpriseConfig_ClusterTier_Standard = @"STANDARD"; + // GTLRContainer_Filter.eventType NSString * const kGTLRContainer_Filter_EventType_EventTypeUnspecified = @"EVENT_TYPE_UNSPECIFIED"; NSString * const kGTLRContainer_Filter_EventType_SecurityBulletinEvent = @"SECURITY_BULLETIN_EVENT"; @@ -640,11 +645,11 @@ @implementation GTLRContainer_Cluster costManagementConfig, createTime, currentMasterVersion, currentNodeCount, currentNodeVersion, databaseEncryption, defaultMaxPodsConstraint, descriptionProperty, enableK8sBetaApis, - enableKubernetesAlpha, enableTpu, endpoint, ETag, expireTime, fleet, - identifier, identityServiceConfig, initialClusterVersion, - initialNodeCount, instanceGroupUrls, ipAllocationPolicy, - labelFingerprint, legacyAbac, location, locations, loggingConfig, - loggingService, maintenancePolicy, masterAuth, + 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, @@ -920,6 +925,16 @@ @implementation GTLRContainer_Empty @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_EnterpriseConfig +// + +@implementation GTLRContainer_EnterpriseConfig +@dynamic clusterTier; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_EphemeralStorageLocalSsdConfig @@ -1760,8 +1775,8 @@ @implementation GTLRContainer_NodePool @dynamic autoscaling, bestEffortProvisioning, conditions, config, ETag, initialNodeCount, instanceGroupUrls, locations, management, maxPodsConstraint, name, networkConfig, placementPolicy, - podIpv4CidrSize, selfLink, status, statusMessage, updateInfo, - upgradeSettings, version; + podIpv4CidrSize, queuedProvisioning, selfLink, status, statusMessage, + updateInfo, upgradeSettings, version; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -1978,6 +1993,16 @@ @implementation GTLRContainer_PubSub @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_QueuedProvisioning +// + +@implementation GTLRContainer_QueuedProvisioning +@dynamic enabled; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_RangeInfo diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h index 26910e96a..34398931d 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h @@ -49,6 +49,7 @@ @class GTLRContainer_DefaultSnatStatus; @class GTLRContainer_DnsCacheConfig; @class GTLRContainer_DNSConfig; +@class GTLRContainer_EnterpriseConfig; @class GTLRContainer_EphemeralStorageLocalSsdConfig; @class GTLRContainer_FastSocket; @class GTLRContainer_Filter; @@ -123,6 +124,7 @@ @class GTLRContainer_PrivateClusterConfig; @class GTLRContainer_PrivateClusterMasterGlobalAccessConfig; @class GTLRContainer_PubSub; +@class GTLRContainer_QueuedProvisioning; @class GTLRContainer_RangeInfo; @class GTLRContainer_RecurringTimeWindow; @class GTLRContainer_ReleaseChannel; @@ -562,6 +564,28 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_DNSConfig_ClusterDnsScope_DnsS */ FOUNDATION_EXTERN NSString * const kGTLRContainer_DNSConfig_ClusterDnsScope_VpcScope; +// ---------------------------------------------------------------------------- +// GTLRContainer_EnterpriseConfig.clusterTier + +/** + * CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set. + * + * Value: "CLUSTER_TIER_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_EnterpriseConfig_ClusterTier_ClusterTierUnspecified; +/** + * ENTERPRISE indicates a GKE Enterprise cluster. + * + * Value: "ENTERPRISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_EnterpriseConfig_ClusterTier_Enterprise; +/** + * STANDARD indicates a standard GKE cluster. + * + * Value: "STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_EnterpriseConfig_ClusterTier_Standard; + // ---------------------------------------------------------------------------- // GTLRContainer_Filter.eventType @@ -2651,6 +2675,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, copy, nullable) NSString *endpoint; +/** GKE Enterprise Configuration. */ +@property(nonatomic, strong, nullable) GTLRContainer_EnterpriseConfig *enterpriseConfig; + /** * This checksum is computed by the server based on the value of cluster * fields, and may be sent on update requests to ensure the client has an @@ -3655,6 +3682,29 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * EnterpriseConfig is the cluster enterprise configuration. + */ +@interface GTLRContainer_EnterpriseConfig : GTLRObject + +/** + * Output only. [Output only] cluster_tier specifies the premium tier of the + * cluster. + * + * Likely values: + * @arg @c kGTLRContainer_EnterpriseConfig_ClusterTier_ClusterTierUnspecified + * CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set. (Value: + * "CLUSTER_TIER_UNSPECIFIED") + * @arg @c kGTLRContainer_EnterpriseConfig_ClusterTier_Enterprise ENTERPRISE + * indicates a GKE Enterprise cluster. (Value: "ENTERPRISE") + * @arg @c kGTLRContainer_EnterpriseConfig_ClusterTier_Standard STANDARD + * indicates a standard GKE cluster. (Value: "STANDARD") + */ +@property(nonatomic, copy, nullable) NSString *clusterTier; + +@end + + /** * EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral * storage using Local SSDs. @@ -5614,6 +5664,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) NSNumber *podIpv4CidrSize; +/** Specifies the configuration of queued provisioning. */ +@property(nonatomic, strong, nullable) GTLRContainer_QueuedProvisioning *queuedProvisioning; + /** [Output only] Server-defined URL for the resource. */ @property(nonatomic, copy, nullable) NSString *selfLink; @@ -6262,6 +6315,22 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * QueuedProvisioning defines the queued provisioning used by the node pool. + */ +@interface GTLRContainer_QueuedProvisioning : GTLRObject + +/** + * Denotes that this nodepool is QRM specific, meaning nodes can be only + * obtained through queuing via the Cluster Autoscaler ProvisioningRequest API. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +@end + + /** * RangeInfo contains the range name and the range utilization by this cluster. */ diff --git a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m index 8f2aa0052..e8cf49300 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m +++ b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m @@ -4,7 +4,10 @@ // API: // Container Analysis API (containeranalysis/v1) // Description: -// An implementation of the Grafeas API, which stores, and enables querying +// This API is a prerequisite for leveraging Artifact Analysis scanning +// capabilities in both Artifact Registry and with Advanced Vulnerability +// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: // https://cloud.google.com/container-analysis/api/reference/rest/ diff --git a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisQuery.m b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisQuery.m index ac34e0628..09db522ab 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisQuery.m +++ b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisQuery.m @@ -4,7 +4,10 @@ // API: // Container Analysis API (containeranalysis/v1) // Description: -// An implementation of the Grafeas API, which stores, and enables querying +// This API is a prerequisite for leveraging Artifact Analysis scanning +// capabilities in both Artifact Registry and with Advanced Vulnerability +// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: // https://cloud.google.com/container-analysis/api/reference/rest/ diff --git a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisService.m b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisService.m index 67643dbd4..e31b828e1 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisService.m +++ b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisService.m @@ -4,7 +4,10 @@ // API: // Container Analysis API (containeranalysis/v1) // Description: -// An implementation of the Grafeas API, which stores, and enables querying +// This API is a prerequisite for leveraging Artifact Analysis scanning +// capabilities in both Artifact Registry and with Advanced Vulnerability +// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: // https://cloud.google.com/container-analysis/api/reference/rest/ diff --git a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysis.h b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysis.h index be5b117fd..ac451bf74 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysis.h +++ b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysis.h @@ -4,7 +4,10 @@ // API: // Container Analysis API (containeranalysis/v1) // Description: -// An implementation of the Grafeas API, which stores, and enables querying +// This API is a prerequisite for leveraging Artifact Analysis scanning +// capabilities in both Artifact Registry and with Advanced Vulnerability +// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: // https://cloud.google.com/container-analysis/api/reference/rest/ diff --git a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h index 6b24d0c94..88d52390a 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h +++ b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h @@ -4,7 +4,10 @@ // API: // Container Analysis API (containeranalysis/v1) // Description: -// An implementation of the Grafeas API, which stores, and enables querying +// This API is a prerequisite for leveraging Artifact Analysis scanning +// capabilities in both Artifact Registry and with Advanced Vulnerability +// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: // https://cloud.google.com/container-analysis/api/reference/rest/ diff --git a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisQuery.h b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisQuery.h index b2abf2dd8..e457b19cb 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisQuery.h +++ b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisQuery.h @@ -4,7 +4,10 @@ // API: // Container Analysis API (containeranalysis/v1) // Description: -// An implementation of the Grafeas API, which stores, and enables querying +// This API is a prerequisite for leveraging Artifact Analysis scanning +// capabilities in both Artifact Registry and with Advanced Vulnerability +// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: // https://cloud.google.com/container-analysis/api/reference/rest/ diff --git a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisService.h b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisService.h index 36b468a05..d0e123db6 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisService.h +++ b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisService.h @@ -4,7 +4,10 @@ // API: // Container Analysis API (containeranalysis/v1) // Description: -// An implementation of the Grafeas API, which stores, and enables querying +// This API is a prerequisite for leveraging Artifact Analysis scanning +// capabilities in both Artifact Registry and with Advanced Vulnerability +// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: // https://cloud.google.com/container-analysis/api/reference/rest/ @@ -40,8 +43,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeContainerAnalysisCloudPlatform; /** * Service for executing Container Analysis API queries. * - * An implementation of the Grafeas API, which stores, and enables querying and - * retrieval of critical metadata about all of your software artifacts. + * This API is a prerequisite for leveraging Artifact Analysis scanning + * capabilities in both Artifact Registry and with Advanced Vulnerability + * Insights (runtime scanning) in GKE. In addition, the Container Analysis API + * is an implementation of the Grafeas API, which enables storing, querying, + * and retrieval of critical metadata about all of your software artifacts. */ @interface GTLRContainerAnalysisService : GTLRService diff --git a/Sources/GeneratedServices/Contentwarehouse/GTLRContentwarehouseObjects.m b/Sources/GeneratedServices/Contentwarehouse/GTLRContentwarehouseObjects.m index d8a6af4d4..2c2798ec2 100644 --- a/Sources/GeneratedServices/Contentwarehouse/GTLRContentwarehouseObjects.m +++ b/Sources/GeneratedServices/Contentwarehouse/GTLRContentwarehouseObjects.m @@ -642,6 +642,8 @@ NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PeoplePlaygroundAffinity = @"PEOPLE_PLAYGROUND_AFFINITY"; NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PeopleToAddBirthdayForAffinity = @"PEOPLE_TO_ADD_BIRTHDAY_FOR_AFFINITY"; NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PersonalAgentAffinity = @"PERSONAL_AGENT_AFFINITY"; +NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PersonalSuggestEmailAutocompleteScore = @"PERSONAL_SUGGEST_EMAIL_AUTOCOMPLETE_SCORE"; +NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PersonalSuggestFirstHopSocialVicinity = @"PERSONAL_SUGGEST_FIRST_HOP_SOCIAL_VICINITY"; NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PhotosAssistantSuggestionsAffinity = @"PHOTOS_ASSISTANT_SUGGESTIONS_AFFINITY"; NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PhotosFaceAffinity = @"PHOTOS_FACE_AFFINITY"; NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PhotosFaceStaleAffinity = @"PHOTOS_FACE_STALE_AFFINITY"; @@ -5368,6 +5370,7 @@ NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderEeGovernment = @"PROVIDER_EE_GOVERNMENT"; NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderEeMaaAmet = @"PROVIDER_EE_MAA_AMET"; NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderEifrig = @"PROVIDER_EIFRIG"; +NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderElectricEra = @"PROVIDER_ELECTRIC_ERA"; NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderElectrifyAmerica = @"PROVIDER_ELECTRIFY_AMERICA"; NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderElectrifyCanada = @"PROVIDER_ELECTRIFY_CANADA"; NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderEndollaBarcelona = @"PROVIDER_ENDOLLA_BARCELONA"; @@ -6397,6 +6400,7 @@ NSString * const kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_AccessPoint = @"ACCESS_POINT"; NSString * const kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_Address = @"ADDRESS"; NSString * const kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_AnchoredGeometryGeometryId = @"ANCHORED_GEOMETRY_GEOMETRY_ID"; +NSString * const kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_AssociatedEvChargingStation = @"ASSOCIATED_EV_CHARGING_STATION"; NSString * const kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_Attachment = @"ATTACHMENT"; NSString * const kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_BizbuilderReference = @"BIZBUILDER_REFERENCE"; NSString * const kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_BorderFeatureIdLeft = @"BORDER_FEATURE_ID_LEFT"; @@ -7185,6 +7189,7 @@ NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderEeGovernment = @"PROVIDER_EE_GOVERNMENT"; NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderEeMaaAmet = @"PROVIDER_EE_MAA_AMET"; NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderEifrig = @"PROVIDER_EIFRIG"; +NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderElectricEra = @"PROVIDER_ELECTRIC_ERA"; NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderElectrifyAmerica = @"PROVIDER_ELECTRIFY_AMERICA"; NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderElectrifyCanada = @"PROVIDER_ELECTRIFY_CANADA"; NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderEndollaBarcelona = @"PROVIDER_ENDOLLA_BARCELONA"; @@ -8018,6 +8023,7 @@ NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderEeGovernment = @"PROVIDER_EE_GOVERNMENT"; NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderEeMaaAmet = @"PROVIDER_EE_MAA_AMET"; NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderEifrig = @"PROVIDER_EIFRIG"; +NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderElectricEra = @"PROVIDER_ELECTRIC_ERA"; NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderElectrifyAmerica = @"PROVIDER_ELECTRIFY_AMERICA"; NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderElectrifyCanada = @"PROVIDER_ELECTRIFY_CANADA"; NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderEndollaBarcelona = @"PROVIDER_ENDOLLA_BARCELONA"; @@ -8912,6 +8918,7 @@ NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderEeGovernment = @"PROVIDER_EE_GOVERNMENT"; NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderEeMaaAmet = @"PROVIDER_EE_MAA_AMET"; NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderEifrig = @"PROVIDER_EIFRIG"; +NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderElectricEra = @"PROVIDER_ELECTRIC_ERA"; NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderElectrifyAmerica = @"PROVIDER_ELECTRIFY_AMERICA"; NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderElectrifyCanada = @"PROVIDER_ELECTRIFY_CANADA"; NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderEndollaBarcelona = @"PROVIDER_ENDOLLA_BARCELONA"; @@ -13289,6 +13296,14 @@ NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_LocationType_TypeWetland = @"TYPE_WETLAND"; NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_LocationType_TypeWoods = @"TYPE_WOODS"; +// GTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals.source +NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_Source_ArgumentSourceAssistantGroundingBox = @"ARGUMENT_SOURCE_ASSISTANT_GROUNDING_BOX"; +NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_Source_ArgumentSourceUnspecified = @"ARGUMENT_SOURCE_UNSPECIFIED"; + +// GTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals.valueSource +NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_ValueSource_ArgumentValueSourceAssistantGroundingBox = @"ARGUMENT_VALUE_SOURCE_ASSISTANT_GROUNDING_BOX"; +NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_ValueSource_ArgumentValueSourceUnspecified = @"ARGUMENT_VALUE_SOURCE_UNSPECIFIED"; + // GTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals.webrefListSource NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_WebrefListSource_AnnotationList = @"ANNOTATION_LIST"; NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_WebrefListSource_CandidateList = @"CANDIDATE_LIST"; @@ -13474,6 +13489,7 @@ NSString * const kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_ReturnCall = @"RETURN_CALL"; NSString * const kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_ReturnMissedCall = @"RETURN_MISSED_CALL"; NSString * const kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_Routine = @"ROUTINE"; +NSString * const kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_RoutineInvocation = @"ROUTINE_INVOCATION"; NSString * const kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_SearchCalendar = @"SEARCH_CALENDAR"; NSString * const kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_SearchEmail = @"SEARCH_EMAIL"; NSString * const kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_SearchGmail = @"SEARCH_GMAIL"; @@ -18108,6 +18124,21 @@ NSString * const kGTLRContentwarehouse_QualityOrbitAsteroidBeltImageIntentScores_Intents_UgcDiscussion = @"UGC_DISCUSSION"; NSString * const kGTLRContentwarehouse_QualityOrbitAsteroidBeltImageIntentScores_Intents_Unboxing = @"UNBOXING"; +// GTLRContentwarehouse_QualityOrbitOrbitImageIntent.imageIntent +NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_ImageIntent_Animal = @"ANIMAL"; +NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_ImageIntent_HatefulSymbol = @"HATEFUL_SYMBOL"; +NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_ImageIntent_Human = @"HUMAN"; +NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_ImageIntent_UnspecifiedIntent = @"UNSPECIFIED_INTENT"; + +// GTLRContentwarehouse_QualityOrbitOrbitImageIntent.missingInputs +NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_MissingInputs_ImageDocInfoInput = @"IMAGE_DOC_INFO_INPUT"; +NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_MissingInputs_ImageInput = @"IMAGE_INPUT"; +NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_MissingInputs_UnspecifiedInput = @"UNSPECIFIED_INPUT"; + +// GTLRContentwarehouse_QualityOrbitOrbitImageIntents.version +NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntents_Version_V20230925 = @"V_20230925"; +NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntents_Version_VUnspecified = @"V_UNSPECIFIED"; + // GTLRContentwarehouse_QualityPreviewChosenSnippetInfo.snippetType NSString * const kGTLRContentwarehouse_QualityPreviewChosenSnippetInfo_SnippetType_AnnotatedFull = @"ANNOTATED_FULL"; NSString * const kGTLRContentwarehouse_QualityPreviewChosenSnippetInfo_SnippetType_Full = @"FULL"; @@ -18947,6 +18978,12 @@ NSString * const kGTLRContentwarehouse_QualityVidyaVideoLanguageVideoLanguage_SpeechClass_NoSpeech = @"NO_SPEECH"; NSString * const kGTLRContentwarehouse_QualityVidyaVideoLanguageVideoLanguage_SpeechClass_Unknown = @"UNKNOWN"; +// GTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations.transcriptSource +NSString * const kGTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations_TranscriptSource_VideoTranscriptSourceExperimental = @"VIDEO_TRANSCRIPT_SOURCE_EXPERIMENTAL"; +NSString * const kGTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations_TranscriptSource_VideoTranscriptSourceS3 = @"VIDEO_TRANSCRIPT_SOURCE_S3"; +NSString * const kGTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations_TranscriptSource_VideoTranscriptSourceUnknown = @"VIDEO_TRANSCRIPT_SOURCE_UNKNOWN"; +NSString * const kGTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations_TranscriptSource_VideoTranscriptSourceYt = @"VIDEO_TRANSCRIPT_SOURCE_YT"; + // GTLRContentwarehouse_RepositoryAnnotationsGeoTopicalityScore.type NSString * const kGTLRContentwarehouse_RepositoryAnnotationsGeoTopicalityScore_Type_AnchorCount = @"ANCHOR_COUNT"; NSString * const kGTLRContentwarehouse_RepositoryAnnotationsGeoTopicalityScore_Type_AverageParentBoost = @"AVERAGE_PARENT_BOOST"; @@ -19532,11 +19569,9 @@ NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Exams = @"EXAMS"; NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Motorcycles = @"MOTORCYCLES"; NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Movies = @"MOVIES"; -NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Primeref = @"PRIMEREF"; NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Products = @"PRODUCTS"; NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Songs = @"SONGS"; NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_SportsTeam = @"SPORTS_TEAM"; -NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Symptoms = @"SYMPTOMS"; NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Unknown = @"UNKNOWN"; // GTLRContentwarehouse_RepositoryWebrefMentionRatings.mentionMatch @@ -19690,10 +19725,7 @@ NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingNameVariantSignals_Source_Wikijoins = @"WIKIJOINS"; // GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo.source -NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_BookRefPagesMiningPipeline = @"BOOK_REF_PAGES_MINING_PIPELINE"; -NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_DeprecatedOldSchema = @"DEPRECATED_OLD_SCHEMA"; -NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_Experiment = @"EXPERIMENT"; -NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_ExtractedRefpage = @"EXTRACTED_REFPAGE"; +NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_DeepLink = @"DEEP_LINK"; NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_Kg = @"KG"; NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_KgSocialProfile = @"KG_SOCIAL_PROFILE"; NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_KgTrusted = @"KG_TRUSTED"; @@ -19704,7 +19736,7 @@ NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_OysterFeature = @"OYSTER_FEATURE"; NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_ProductOffer = @"PRODUCT_OFFER"; NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_RelatedPage = @"RELATED_PAGE"; -NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_SourceProto = @"SOURCE_PROTO"; +NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_SourceUnknown = @"SOURCE_UNKNOWN"; NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_WebrefYear = @"WEBREF_YEAR"; NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_Wikijoin = @"WIKIJOIN"; @@ -20298,6 +20330,7 @@ // GTLRContentwarehouse_ResearchScienceSearchLocation.locationSource NSString * const kGTLRContentwarehouse_ResearchScienceSearchLocation_LocationSource_Metadata = @"METADATA"; +NSString * const kGTLRContentwarehouse_ResearchScienceSearchLocation_LocationSource_Name = @"NAME"; NSString * const kGTLRContentwarehouse_ResearchScienceSearchLocation_LocationSource_Unknown = @"UNKNOWN"; NSString * const kGTLRContentwarehouse_ResearchScienceSearchLocation_LocationSource_Webref = @"WEBREF"; @@ -20557,6 +20590,7 @@ NSString * const kGTLRContentwarehouse_SafesearchVideoContentSignals_VersionTag_V20220330 = @"V20220330"; NSString * const kGTLRContentwarehouse_SafesearchVideoContentSignals_VersionTag_V20220620 = @"V20220620"; NSString * const kGTLRContentwarehouse_SafesearchVideoContentSignals_VersionTag_V20230910 = @"V20230910"; +NSString * const kGTLRContentwarehouse_SafesearchVideoContentSignals_VersionTag_V20231030 = @"V20231030"; // GTLRContentwarehouse_ScienceCitation.AbstractDisplay NSString * const kGTLRContentwarehouse_ScienceCitation_AbstractDisplay_GraphicalAbstractDisplay = @"GRAPHICAL_ABSTRACT_DISPLAY"; @@ -21922,13 +21956,17 @@ NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_BurnsieAddFopPromotionSessionLevel = @"BURNSIE_ADD_FOP_PROMOTION_SESSION_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_BurnsieAddFopPromotionUserLevel = @"BURNSIE_ADD_FOP_PROMOTION_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_BuyButtonClick = @"BUY_BUTTON_CLICK"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_BuyflowAuthRecoveryClientAtSessionLevel = @"BUYFLOW_AUTH_RECOVERY_CLIENT_AT_SESSION_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_BuyNowButton = @"BUY_NOW_BUTTON"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CancelSubscriptionConfirmationDialogShownWhenEligibleForEntitlementBenefits = @"CANCEL_SUBSCRIPTION_CONFIRMATION_DIALOG_SHOWN_WHEN_ELIGIBLE_FOR_ENTITLEMENT_BENEFITS"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CancelSubscriptionConfirmationDialogShownWhenEligibleForEntitlementBenefitsEventLevelAtEventLevel = @"CANCEL_SUBSCRIPTION_CONFIRMATION_DIALOG_SHOWN_WHEN_ELIGIBLE_FOR_ENTITLEMENT_BENEFITS_EVENT_LEVEL_AT_EVENT_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentEligibleUserLevel = @"CART_ABANDONMENT_ELIGIBLE_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentItemRecommendationLowerPricedUserLevel = @"CART_ABANDONMENT_ITEM_RECOMMENDATION_LOWER_PRICED_USER_LEVEL"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentItemRecommendationPopularUserLevel = @"CART_ABANDONMENT_ITEM_RECOMMENDATION_POPULAR_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentItemRecommendationSessionLevel = @"CART_ABANDONMENT_ITEM_RECOMMENDATION_SESSION_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentItemRecommendationUserLevel = @"CART_ABANDONMENT_ITEM_RECOMMENDATION_USER_LEVEL"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentNotificationSessionLevel = @"CART_ABANDONMENT_NOTIFICATION_SESSION_LEVEL"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentNotificationUserLevel = @"CART_ABANDONMENT_NOTIFICATION_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentReminderPopularAppsSessionLevel = @"CART_ABANDONMENT_REMINDER_POPULAR_APPS_SESSION_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentReminderPopularAppsUserLevel = @"CART_ABANDONMENT_REMINDER_POPULAR_APPS_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentReminderSessionLevel = @"CART_ABANDONMENT_REMINDER_SESSION_LEVEL"; @@ -21960,12 +21998,15 @@ NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ComicSamplingPiccomaInstalledUserLevel = @"COMIC_SAMPLING_PICCOMA_INSTALLED_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CrossDeviceInstallOptionsFetchedInSession = @"CROSS_DEVICE_INSTALL_OPTIONS_FETCHED_IN_SESSION"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CrossDeviceInstallOptionsItemFieldsTriggered = @"CROSS_DEVICE_INSTALL_OPTIONS_ITEM_FIELDS_TRIGGERED"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CrossFormFactorDetailsPagenSessionLevel = @"CROSS_FORM_FACTOR_DETAILS_PAGEN_SESSION_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CrscoreEq0 = @"CRSCORE_EQ_0"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CrscoreGt0 = @"CRSCORE_GT_0"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CustomerUpdateChallengeEventLevel = @"CUSTOMER_UPDATE_CHALLENGE_EVENT_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CustomerUpdateChallengeSessionLevel = @"CUSTOMER_UPDATE_CHALLENGE_SESSION_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_DeclineMessageInSubscenterFixFlowSessionLevelV1 = @"DECLINE_MESSAGE_IN_SUBSCENTER_FIX_FLOW_SESSION_LEVEL_V1"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_DeclineMessageInSubscenterFixFlowUserLevel = @"DECLINE_MESSAGE_IN_SUBSCENTER_FIX_FLOW_USER_LEVEL"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_DeclineRecoveryBetterCtaEligibleSessionLevel = @"DECLINE_RECOVERY_BETTER_CTA_ELIGIBLE_SESSION_LEVEL"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_DeclineRecoverySuggestNextFopEligibleSessionLevel = @"DECLINE_RECOVERY_SUGGEST_NEXT_FOP_ELIGIBLE_SESSION_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_DetailsPagePromotionHoldbackUserLevel = @"DETAILS_PAGE_PROMOTION_HOLDBACK_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_DetailsPagePromotionSessionLevel = @"DETAILS_PAGE_PROMOTION_SESSION_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_DeveloperPageAtEventLevel = @"DEVELOPER_PAGE_AT_EVENT_LEVEL"; @@ -22022,6 +22063,9 @@ NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FccFirstPartyCategoricalSearchOffersUserLevel = @"FCC_FIRST_PARTY_CATEGORICAL_SEARCH_OFFERS_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FeaturedProductsLiveOpsAtSessionLevel = @"FEATURED_PRODUCTS_LIVE_OPS_AT_SESSION_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FeaturedProductsLiveOpsAtUserLevel = @"FEATURED_PRODUCTS_LIVE_OPS_AT_USER_LEVEL"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FeaturedProductsLiveOpsClientAtEventLevel = @"FEATURED_PRODUCTS_LIVE_OPS_CLIENT_AT_EVENT_LEVEL"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FeaturedProductsLiveOpsClientAtSessionLevel = @"FEATURED_PRODUCTS_LIVE_OPS_CLIENT_AT_SESSION_LEVEL"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FeaturedProductsLiveOpsClientAtUserLevel = @"FEATURED_PRODUCTS_LIVE_OPS_CLIENT_AT_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FeaturedSubscriptionsPresent = @"FEATURED_SUBSCRIPTIONS_PRESENT"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FeaturedSubscriptionsPresentUserLevel = @"FEATURED_SUBSCRIPTIONS_PRESENT_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FeaturingAhcOrFhrTriggeredSessionLevel = @"FEATURING_AHC_OR_FHR_TRIGGERED_SESSION_LEVEL"; @@ -22362,7 +22406,8 @@ NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LbTargetedAtUserLevel = @"LB_TARGETED_AT_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LeonLiveopsDealStateSyncSessionLevel = @"LEON_LIVEOPS_DEAL_STATE_SYNC_SESSION_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LeonLiveopsDealStateSyncUserLevel = @"LEON_LIVEOPS_DEAL_STATE_SYNC_USER_LEVEL"; -NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LinkBiometricsNewSetupUserLevelV35 = @"LINK_BIOMETRICS_NEW_SETUP_USER_LEVEL_V3_5"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LinkBiometricsNewSetupUserLevelBeforeSnoozeV37 = @"LINK_BIOMETRICS_NEW_SETUP_USER_LEVEL_BEFORE_SNOOZE_V3_7"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LinkBiometricsNewSetupUserLevelV36 = @"LINK_BIOMETRICS_NEW_SETUP_USER_LEVEL_V3_6"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LiveopsClusterSerpEventLevel = @"LIVEOPS_CLUSTER_SERP_EVENT_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LiveopsClusterSerpSessionLevel = @"LIVEOPS_CLUSTER_SERP_SESSION_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LiveopsClusterSerpTriggeringEventLevel = @"LIVEOPS_CLUSTER_SERP_TRIGGERING_EVENT_LEVEL"; @@ -22939,6 +22984,14 @@ NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentPreRegistrationNhK1 = @"SHOULD_SEE_NOW_CONTENT_PRE_REGISTRATION_NH_K1"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentPreRegistrationNhK2 = @"SHOULD_SEE_NOW_CONTENT_PRE_REGISTRATION_NH_K2"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentPreRegistrationNhK34 = @"SHOULD_SEE_NOW_CONTENT_PRE_REGISTRATION_NH_K3_4"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardAhGteK5 = @"SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_AH_GTE_K5"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardAhK1 = @"SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_AH_K1"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardAhK2 = @"SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_AH_K2"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardAhK34 = @"SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_AH_K3_4"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardGhGteK5 = @"SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_GH_GTE_K5"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardGhK1 = @"SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_GH_K1"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardGhK2 = @"SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_GH_K2"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardGhK34 = @"SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_GH_K3_4"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeePreregLiveOpsDp = @"SHOULD_SEE_PREREG_LIVE_OPS_DP"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeePreregLiveOpsEh = @"SHOULD_SEE_PREREG_LIVE_OPS_EH"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeReviewMoreLink = @"SHOULD_SEE_REVIEW_MORE_LINK"; @@ -22993,6 +23046,14 @@ NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentPreRegistrationGhK1 = @"SHOULD_SEE_TOP_NOW_CONTENT_PRE_REGISTRATION_GH_K1"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentPreRegistrationGhK2 = @"SHOULD_SEE_TOP_NOW_CONTENT_PRE_REGISTRATION_GH_K2"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentPreRegistrationGhK34 = @"SHOULD_SEE_TOP_NOW_CONTENT_PRE_REGISTRATION_GH_K3_4"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardAhGteK5 = @"SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_AH_GTE_K5"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardAhK1 = @"SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_AH_K1"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardAhK2 = @"SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_AH_K2"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardAhK34 = @"SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_AH_K3_4"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardGhGteK5 = @"SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_GH_GTE_K5"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardGhK1 = @"SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_GH_K1"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardGhK2 = @"SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_GH_K2"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardGhK34 = @"SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_GH_K3_4"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_SkipCheckMarkScreenForBackupFlowSessionLevel = @"SKIP_CHECK_MARK_SCREEN_FOR_BACKUP_FLOW_SESSION_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_SkipCheckMarkScreenWithBackupFlowUserLevel = @"SKIP_CHECK_MARK_SCREEN_WITH_BACKUP_FLOW_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_SmartFopAtEventLevel = @"SMART_FOP_AT_EVENT_LEVEL"; @@ -23101,6 +23162,7 @@ NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_UnackInAppSubscriptionWarningDetailPageSessionLevel = @"UNACK_IN_APP_SUBSCRIPTION_WARNING_DETAIL_PAGE_SESSION_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_UnackInAppSubscriptionWarningDetailPageUserLevel = @"UNACK_IN_APP_SUBSCRIPTION_WARNING_DETAIL_PAGE_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_UnifiedItemRecommendationLowerPricedUserLevel = @"UNIFIED_ITEM_RECOMMENDATION_LOWER_PRICED_USER_LEVEL"; +NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_UnifiedItemRecommendationPopularUserLevel = @"UNIFIED_ITEM_RECOMMENDATION_POPULAR_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_UnifiedItemRecommendationUserLevel = @"UNIFIED_ITEM_RECOMMENDATION_USER_LEVEL"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_Unknown = @"UNKNOWN"; NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_UpdateSubscriptionInstrumentPaymentDeclinedFopImpression = @"UPDATE_SUBSCRIPTION_INSTRUMENT_PAYMENT_DECLINED_FOP_IMPRESSION"; @@ -23222,6 +23284,7 @@ NSString * const kGTLRContentwarehouse_VideoAssetsVenomTransition_Objective_ObjectivePrimary720pTranscodesDone = @"OBJECTIVE_PRIMARY_720P_TRANSCODES_DONE"; NSString * const kGTLRContentwarehouse_VideoAssetsVenomTransition_Objective_ObjectivePrimary8kTranscodesDone = @"OBJECTIVE_PRIMARY_8K_TRANSCODES_DONE"; NSString * const kGTLRContentwarehouse_VideoAssetsVenomTransition_Objective_ObjectivePrimaryAssetsDone = @"OBJECTIVE_PRIMARY_ASSETS_DONE"; +NSString * const kGTLRContentwarehouse_VideoAssetsVenomTransition_Objective_ObjectivePrimaryTranscodesDone = @"OBJECTIVE_PRIMARY_TRANSCODES_DONE"; NSString * const kGTLRContentwarehouse_VideoAssetsVenomTransition_Objective_ObjectiveSamFeaturesDone = @"OBJECTIVE_SAM_FEATURES_DONE"; NSString * const kGTLRContentwarehouse_VideoAssetsVenomTransition_Objective_ObjectiveShortsReady = @"OBJECTIVE_SHORTS_READY"; NSString * const kGTLRContentwarehouse_VideoAssetsVenomTransition_Objective_ObjectiveSpeechRecognitionDone = @"OBJECTIVE_SPEECH_RECOGNITION_DONE"; @@ -28098,6 +28161,7 @@ NSString * const kGTLRContentwarehouse_YoutubeCommentsApiCommentRestrictionReason_Reason_LowQuality = @"LOW_QUALITY"; NSString * const kGTLRContentwarehouse_YoutubeCommentsApiCommentRestrictionReason_Reason_LowQualityHighRecall = @"LOW_QUALITY_HIGH_RECALL"; NSString * const kGTLRContentwarehouse_YoutubeCommentsApiCommentRestrictionReason_Reason_Malware = @"MALWARE"; +NSString * const kGTLRContentwarehouse_YoutubeCommentsApiCommentRestrictionReason_Reason_Misleading = @"MISLEADING"; NSString * const kGTLRContentwarehouse_YoutubeCommentsApiCommentRestrictionReason_Reason_OtherAbuse = @"OTHER_ABUSE"; NSString * const kGTLRContentwarehouse_YoutubeCommentsApiCommentRestrictionReason_Reason_Pedophilia = @"PEDOPHILIA"; NSString * const kGTLRContentwarehouse_YoutubeCommentsApiCommentRestrictionReason_Reason_Phishing = @"PHISHING"; @@ -28221,6 +28285,7 @@ NSString * const kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebParentTools = @"WEB_PARENT_TOOLS"; NSString * const kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebPhoneVerification = @"WEB_PHONE_VERIFICATION"; NSString * const kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebRemix = @"WEB_REMIX"; +NSString * const kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebShoppingExtension = @"WEB_SHOPPING_EXTENSION"; NSString * const kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebUnplugged = @"WEB_UNPLUGGED"; NSString * const kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebUnpluggedOnboarding = @"WEB_UNPLUGGED_ONBOARDING"; NSString * const kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebUnpluggedOps = @"WEB_UNPLUGGED_OPS"; @@ -31023,8 +31088,8 @@ @implementation GTLRContentwarehouse_AssistantApiAndroidIntentCapabilitiesAndroi @implementation GTLRContentwarehouse_AssistantApiAppCapabilities @dynamic allowlistedForMediaFulfillment, appIntegrationsSettings, disabledSystemApp, provider, routableToProviderCloud, - searchableOnDevice, searchableOnServer, supportsScreenlessInitiation, - whitelistedForAnnotation; + searchableOnDevice, searchableOnServer, supports3pPodcastPlayback, + supportsScreenlessInitiation, whitelistedForAnnotation; @end @@ -31697,9 +31762,9 @@ @implementation GTLRContentwarehouse_AssistantApiCoreTypesLocationCoordinates @implementation GTLRContentwarehouse_AssistantApiCoreTypesMessageNotification @dynamic appName, bundleId, dataUri, groupingKey, groupName, index, markAsReadActionAvailable, messageLength, messageRecipientType, - mimeType, notificationEntries, notificationIconKey, notificationKey, - opaqueToken, packageName, postTime, replyActionAvailable, sender, - senderName; + messageWordCount, mimeType, notificationEntries, notificationIconKey, + notificationKey, opaqueToken, packageName, postTime, + replyActionAvailable, sender, senderName; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -31824,6 +31889,16 @@ @implementation GTLRContentwarehouse_AssistantApiCrossDeviceExecutionCapability @end +// ---------------------------------------------------------------------------- +// +// GTLRContentwarehouse_AssistantApiDataValidateCapabilities +// + +@implementation GTLRContentwarehouse_AssistantApiDataValidateCapabilities +@dynamic fallbackToTetheredDevice; +@end + + // ---------------------------------------------------------------------------- // // GTLRContentwarehouse_AssistantApiDate @@ -31863,8 +31938,9 @@ @implementation GTLRContentwarehouse_AssistantApiDeviceCapabilities @dynamic androidIntentCapabilities, assistantCapability, audioInput, audioOutput, bluetoothCapabilities, callCapabilities, camera, carUxRestrictions, cast, communicationUiCapabilities, - contactLookupCapabilities, deviceId, deviceUxMode, hasVoiceTelephony, - jwnCapabilities, lensPerceptionCapabilities, location, loggingOnlyData, + contactLookupCapabilities, dataValidateCapabilities, deviceId, + deviceUxMode, hasVoiceTelephony, jwnCapabilities, + lensPerceptionCapabilities, location, loggingOnlyData, messageCapabilities, movement, notificationCapabilities, notificationOutputRestrictions, outputRestrictions, popOnLockscreenCapability, safetyRestrictions, screen, @@ -34841,15 +34917,15 @@ @implementation GTLRContentwarehouse_AssistantPrefulfillmentRankerPrefulfillment generatedByLegacyAquaDomain, groundabilityScore, groundingProviderFeatures, hasAnswerGroup, inQueryMaxEffectiveArgSpanLength, intentName, intentNameAuisScore, - intentNameAuisScoreExp, intentNamePauis, intentType, isFeasible, - isFullyGrounded, isHighConfidencePodcastIntent, isMediaControlIntent, - isNspIntent, isPlayGenericMusic, isPodcastGenericIntent, - isPodcastIntent, isSageDisabledIntent, isSageInNageIntent, - isSageIntent, isScoreBasedIntent, isTvmIntent, isValidSmarthomeIntent, - isVideoIntent, kscorerRank, laaFeatures, maskCandidateLevelFeatures, - maxHgrScoreAcrossBindingSets, nspRank, numAlternativeHypothesis, - numConstraints, numConstraintsSatisfied, numGroundableArgs, - numGroundedArgs, numVariables, numVariablesGrounded, + intentNameAuisScoreExp, intentNamePauis, intentType, isDummyIntent, + isFeasible, isFullyGrounded, isHighConfidencePodcastIntent, + isMediaControlIntent, isNspIntent, isPlayGenericMusic, + isPodcastGenericIntent, isPodcastIntent, isSageDisabledIntent, + isSageInNageIntent, isSageIntent, isScoreBasedIntent, isTvmIntent, + isValidSmarthomeIntent, isVideoIntent, kscorerRank, laaFeatures, + maskCandidateLevelFeatures, maxHgrScoreAcrossBindingSets, nspRank, + numAlternativeHypothesis, numConstraints, numConstraintsSatisfied, + numGroundableArgs, numGroundedArgs, numVariables, numVariablesGrounded, parsingScoreMse8BucketId, phase, platinumSource, pq2tVsAssistantIbstCosine, pq2tVsIbstCosine, predictedIntentConfidence, rankerName, searchDispatch, smarthomeIntentMetadata, subIntentType, @@ -38646,26 +38722,26 @@ @implementation GTLRContentwarehouse_GeostoreFeaturePropertyIdProto // @implementation GTLRContentwarehouse_GeostoreFeatureProto -@dynamic accessPoint, address, anchoredGeometry, attachment, attribute, - bestLocale, border, bound, building, businessChain, center, child, - covering, dataSource, displayData, disputedArea, doodle, elevation, - elevationModel, entrance, establishment, exemptRegulatedArea, - futureGeometry, futureGeometryFor, geometry3d, geometryPrecisionMeters, - geopolitical, geopoliticalGeometry, htmlText, identifier, - inferredGeometry, interiorCovering, internal, intersection, - intersectionGroup, kgProperty, knowledgeGraphReference, laneMarker, - level, locale, logicalBorder, metadata, name, operations, originalId, - parent, parking, point, political, polygon, polygonForDisplay, - polyline, pose, preferredViewport, propertyValueStatus, rank, - rankDetails, rawGconceptInstanceContainer, regulatedArea, - relatedBorder, relatedEntrance, relatedFeature, relatedTerminalPoint, - relatedTimezone, restrictionGroup, roadMonitor, route, schoolDistrict, - segment, segmentPath, sign, skiBoundary, skiLift, skiTrail, - socialReference, sourceInfo, status, storefrontGeometry, - storefrontGeometryModel, syntheticGeometry, temporaryData, - threeDimModel, tollCluster, track, transitLine, transitLineVariant, - transitStation, type, verticalOrdering, visualizationArea, - waterRemovedPolygon, website; +@dynamic accessPoint, address, anchoredGeometry, associatedEvChargingStation, + attachment, attribute, bestLocale, border, bound, building, + businessChain, center, child, covering, dataSource, displayData, + disputedArea, doodle, elevation, elevationModel, entrance, + establishment, exemptRegulatedArea, futureGeometry, futureGeometryFor, + geometry3d, geometryPrecisionMeters, geopolitical, + geopoliticalGeometry, htmlText, identifier, inferredGeometry, + interiorCovering, internal, intersection, intersectionGroup, + kgProperty, knowledgeGraphReference, laneMarker, level, locale, + logicalBorder, metadata, name, operations, originalId, parent, parking, + point, political, polygon, polygonForDisplay, polyline, pose, + preferredViewport, propertyValueStatus, rank, rankDetails, + rawGconceptInstanceContainer, regulatedArea, relatedBorder, + relatedEntrance, relatedFeature, relatedTerminalPoint, relatedTimezone, + restrictionGroup, roadMonitor, route, schoolDistrict, segment, + segmentPath, sign, skiBoundary, skiLift, skiTrail, socialReference, + sourceInfo, status, storefrontGeometry, storefrontGeometryModel, + syntheticGeometry, temporaryData, threeDimModel, tollCluster, track, + transitLine, transitLineVariant, transitStation, type, + verticalOrdering, visualizationArea, waterRemovedPolygon, website; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -38675,6 +38751,7 @@ @implementation GTLRContentwarehouse_GeostoreFeatureProto NSDictionary *map = @{ @"accessPoint" : [GTLRContentwarehouse_GeostoreAccessPointProto class], @"address" : [GTLRContentwarehouse_GeostoreAddressProto class], + @"associatedEvChargingStation" : [GTLRContentwarehouse_GeostoreFeatureIdProto class], @"attachment" : [GTLRContentwarehouse_GeostoreAttachmentsAttachmentProto class], @"attribute" : [GTLRContentwarehouse_GeostoreAttributeProto class], @"child" : [GTLRContentwarehouse_GeostoreFeatureIdProto class], @@ -44801,7 +44878,7 @@ @implementation GTLRContentwarehouse_ImageData lineartDetectorVersion, linkinfoType, multibangKgEntities, nearDupFeatures, nearDupFeaturesSmall, nearDupFeaturesSmallVersion, nearDupFeaturesVersion, nimaAva, nimaVq, noIndexReason, numberFaces, - ocrGoodoc, ocrTaser, ocrTextboxes, onPageAlternateUrl, + ocrGoodoc, ocrTaser, ocrTextboxes, onPageAlternateUrl, orbitIntents, packedFullFaceInfo, personAttributes, personDetectionSignals, photoDetectorScore, photoDetectorVersion, pornFlagData, precomputedRestricts, rankInNeardupCluster, restrictStrings, @@ -46601,7 +46678,7 @@ @implementation GTLRContentwarehouse_IndexingDocjoinerDataVersion // @implementation GTLRContentwarehouse_IndexingDocjoinerDataVersionVersionInfo -@dynamic humanReadableVersion, timestampMicros; +@dynamic considerationTimestampMicros, humanReadableVersion, timestampMicros; @end @@ -47804,8 +47881,9 @@ @implementation GTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals qrefInterpretationIndex, rawQueryText, relatedEntity, relatednessSignals, resolvedFromContext, resolvedFromPronoun, responseMeaningSignals, resultSupport, saftSignals, shoppingIds, - supportTransferRules, supportTransferSignals, ungroundedValueType, - webrefEntitiesIndex, webrefListSource; + source, supportTransferRules, supportTransferSignals, + ungroundedValueType, valueSource, webrefEntitiesIndex, + webrefListSource; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -49154,7 +49232,15 @@ @implementation GTLRContentwarehouse_KnowledgeAnswersValueType inputCompositionConfig, measurementType, normalizedStringType, numberType, opaqueType, plexityRequirement, polarQuestionType, semanticType, stateOfAffairsType, stringType, timezoneType, - trackingNumberType; + trackingNumberType, viewSpecificNumberTypes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"viewSpecificNumberTypes" : [GTLRContentwarehouse_KnowledgeAnswersNumberType class] + }; + return map; +} + @end @@ -55253,14 +55339,15 @@ @implementation GTLRContentwarehouse_QualityNsrNsrData nsrdataFromFallbackPatternKey, nsrEpoch, nsrOverrideBid, nsrVariance, pnav, pnavClicks, priorAdjustedNsr, secondarySiteChunk, shoppingScore, siteAutopilotScore, siteChunk, siteChunkSource, siteLinkIn, - siteLinkOut, sitePr, siteQualityStddev, smallPersonalSite, - spambrainLavcScore, spambrainLavcScores, tofu, ugcScore, url, - versionedData, videoScore, vlq, vlqNsr, ymylNewsV2Score; + siteLinkOut, sitePr, siteQualityStddev, siteQualityStddevs, + smallPersonalSite, spambrainLavcScore, spambrainLavcScores, tofu, + ugcScore, url, versionedData, videoScore, vlq, vlqNsr, ymylNewsV2Score; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"clutterScores" : [GTLRContentwarehouse_QualityNsrVersionedFloatSignal class], @"priorAdjustedNsr" : [GTLRContentwarehouse_QualityNsrVersionedFloatSignal class], + @"siteQualityStddevs" : [GTLRContentwarehouse_QualityNsrVersionedFloatSignal class], @"spambrainLavcScores" : [GTLRContentwarehouse_QualityNsrVersionedFloatSignal class], @"versionedData" : [GTLRContentwarehouse_QualityNsrNSRVersionedData class] }; @@ -55438,6 +55525,42 @@ @implementation GTLRContentwarehouse_QualityOrbitAsteroidBeltImageIntentScores @end +// ---------------------------------------------------------------------------- +// +// GTLRContentwarehouse_QualityOrbitOrbitImageIntent +// + +@implementation GTLRContentwarehouse_QualityOrbitOrbitImageIntent +@dynamic imageIntent, missingInputs, score, trigger; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"missingInputs" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContentwarehouse_QualityOrbitOrbitImageIntents +// + +@implementation GTLRContentwarehouse_QualityOrbitOrbitImageIntents +@dynamic intents, isPartial, version; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"intents" : [GTLRContentwarehouse_QualityOrbitOrbitImageIntent class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContentwarehouse_QualityPreviewChosenSnippetInfo @@ -56534,7 +56657,7 @@ @implementation GTLRContentwarehouse_QualityWebanswersTranscriptAnnotations @implementation GTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations @dynamic amarnaDocid, asrRepair, lang, punctuatedTranscript, saftDocument, - saftSentenceBoundary, timingInfo, webrefEntities; + saftSentenceBoundary, timingInfo, transcriptSource, webrefEntities; @end @@ -57893,9 +58016,9 @@ @implementation GTLRContentwarehouse_RepositoryWebrefMention compoundMention, confidenceScore, debugInfo, detailedMentionScores, end, endTokenIndex, evalInfo, interpretationNumber, isImplicit, lexicalAnnotation, lowConfidence, matchingText, nameMetadata, - nonLocationalScore, perMentionLightweightToken, - personalizationContextOutputs, priorProbability, referenceScore, - resolutionScore, stuff, subsegmentIndex, trustedNameConfidence; + perMentionLightweightToken, personalizationContextOutputs, + priorProbability, referenceScore, resolutionScore, stuff, + subsegmentIndex, trustedNameConfidence; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -58278,27 +58401,7 @@ @implementation GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlMatchingMet // @implementation GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo -@dynamic deprecatedOldSchema, newSchema, originalUrl, source; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfoNewSchema -// - -@implementation GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfoNewSchema -@dynamic sourceProperty; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfoOldSchema -// - -@implementation GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfoOldSchema -@dynamic isOfficial; +@dynamic originalUrl, source; @end @@ -59438,13 +59541,13 @@ @implementation GTLRContentwarehouse_ResearchScienceSearchReconciledMetadata hasCroissantFormat, hasTableSummaries, identifier, identifierFromSource, imageUrl, indexInCluster, isAccessibleForFree, isBasedOn, isInferred, keyword, languageCode, license, - licenseDeprecated, measurementTechnique, mentionedUrls, metadataType, - name, numberOfDatasetsAtSourceUrl, numberOfScholarCitations, - publication, relatedArticleUrl, replica, sameAs, scholarlyArticle, - scholarQuery, sourceOrganization, sourceUrl, sourceUrlDocjoinInfo, - spatialCoverage, topSalientTermLabel, url, variable, - versionClusterInfo, versionEmbeddingFieldsHash, versionEmbeddingVector, - versionsSimhash; + licenseDeprecated, locationReconciledForName, measurementTechnique, + mentionedUrls, metadataType, name, numberOfDatasetsAtSourceUrl, + numberOfScholarCitations, publication, relatedArticleUrl, replica, + sameAs, scholarlyArticle, scholarQuery, sourceOrganization, sourceUrl, + sourceUrlDocjoinInfo, spatialCoverage, topSalientTermLabel, url, + variable, versionClusterInfo, versionEmbeddingFieldsHash, + versionEmbeddingVector, versionsSimhash; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Contentwarehouse/Public/GoogleAPIClientForREST/GTLRContentwarehouseObjects.h b/Sources/GeneratedServices/Contentwarehouse/Public/GoogleAPIClientForREST/GTLRContentwarehouseObjects.h index 31540ae7d..547800ab0 100644 --- a/Sources/GeneratedServices/Contentwarehouse/Public/GoogleAPIClientForREST/GTLRContentwarehouseObjects.h +++ b/Sources/GeneratedServices/Contentwarehouse/Public/GoogleAPIClientForREST/GTLRContentwarehouseObjects.h @@ -277,6 +277,7 @@ @class GTLRContentwarehouse_AssistantApiCoreTypesWebProviderInfo; @class GTLRContentwarehouse_AssistantApiCoreTypesWebProviderInfoThirdPartyCustomNluInfo; @class GTLRContentwarehouse_AssistantApiCrossDeviceExecutionCapability; +@class GTLRContentwarehouse_AssistantApiDataValidateCapabilities; @class GTLRContentwarehouse_AssistantApiDate; @class GTLRContentwarehouse_AssistantApiDateTime; @class GTLRContentwarehouse_AssistantApiDateTimeRange; @@ -1887,6 +1888,8 @@ @class GTLRContentwarehouse_QualityOrbitAsteroidBeltDocumentIntentScores; @class GTLRContentwarehouse_QualityOrbitAsteroidBeltDocumentIntentScores_ImageIntentScores; @class GTLRContentwarehouse_QualityOrbitAsteroidBeltImageIntentScores; +@class GTLRContentwarehouse_QualityOrbitOrbitImageIntent; +@class GTLRContentwarehouse_QualityOrbitOrbitImageIntents; @class GTLRContentwarehouse_QualityPreviewChosenSnippetInfo; @class GTLRContentwarehouse_QualityPreviewChosenSnippetInfoTidbitInfo; @class GTLRContentwarehouse_QualityPreviewRanklabSnippet; @@ -2082,8 +2085,6 @@ @class GTLRContentwarehouse_RepositoryWebrefPreprocessingOriginalNamesOriginalName; @class GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlMatchingMetadata; @class GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo; -@class GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfoNewSchema; -@class GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfoOldSchema; @class GTLRContentwarehouse_RepositoryWebrefProcessorCounter; @class GTLRContentwarehouse_RepositoryWebrefProcessorTiming; @class GTLRContentwarehouse_RepositoryWebrefProductMetadata; @@ -5108,6 +5109,10 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMer FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PeopleToAddBirthdayForAffinity; /** Value: "PERSONAL_AGENT_AFFINITY" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PersonalAgentAffinity; +/** Value: "PERSONAL_SUGGEST_EMAIL_AUTOCOMPLETE_SCORE" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PersonalSuggestEmailAutocompleteScore; +/** Value: "PERSONAL_SUGGEST_FIRST_HOP_SOCIAL_VICINITY" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PersonalSuggestFirstHopSocialVicinity; /** Value: "PHOTOS_ASSISTANT_SUGGESTIONS_AFFINITY" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PhotosAssistantSuggestionsAffinity; /** Value: "PHOTOS_FACE_AFFINITY" */ @@ -23908,6 +23913,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderEeMaaAmet; /** Value: "PROVIDER_EIFRIG" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderEifrig; +/** + * Note: Next available value is 0x1272. + * + * Value: "PROVIDER_ELECTRIC_ERA" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderElectricEra; /** Value: "PROVIDER_ELECTRIFY_AMERICA" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderElectrifyAmerica; /** Value: "PROVIDER_ELECTRIFY_CANADA" */ @@ -25012,11 +25023,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderPlPublicMunicipality; /** Value: "PROVIDER_PL_PUBLIC_MUNICIPALITY_BIELSKO_BIALA" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderPlPublicMunicipalityBielskoBiala; -/** - * Note: Next available value is 0x1271. - * - * Value: "PROVIDER_PLUGO" - */ +/** Value: "PROVIDER_PLUGO" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderPlugo; /** Value: "PROVIDER_PODPOINT" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderPodpoint; @@ -26500,6 +26507,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreFeatureProperty FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_Address; /** Value: "ANCHORED_GEOMETRY_GEOMETRY_ID" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_AnchoredGeometryGeometryId; +/** Value: "ASSOCIATED_EV_CHARGING_STATION" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_AssociatedEvChargingStation; /** Value: "ATTACHMENT" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_Attachment; /** Value: "BIZBUILDER_REFERENCE" */ @@ -29528,6 +29537,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreInternalSourceS FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderEeMaaAmet; /** Value: "PROVIDER_EIFRIG" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderEifrig; +/** + * Note: Next available value is 0x1272. + * + * Value: "PROVIDER_ELECTRIC_ERA" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderElectricEra; /** Value: "PROVIDER_ELECTRIFY_AMERICA" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderElectrifyAmerica; /** Value: "PROVIDER_ELECTRIFY_CANADA" */ @@ -30632,11 +30647,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreInternalSourceS FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderPlPublicMunicipality; /** Value: "PROVIDER_PL_PUBLIC_MUNICIPALITY_BIELSKO_BIALA" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderPlPublicMunicipalityBielskoBiala; -/** - * Note: Next available value is 0x1271. - * - * Value: "PROVIDER_PLUGO" - */ +/** Value: "PROVIDER_PLUGO" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderPlugo; /** Value: "PROVIDER_PODPOINT" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderPodpoint; @@ -32007,6 +32018,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGCon FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderEeMaaAmet; /** Value: "PROVIDER_EIFRIG" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderEifrig; +/** + * Note: Next available value is 0x1272. + * + * Value: "PROVIDER_ELECTRIC_ERA" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderElectricEra; /** Value: "PROVIDER_ELECTRIFY_AMERICA" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderElectrifyAmerica; /** Value: "PROVIDER_ELECTRIFY_CANADA" */ @@ -33111,11 +33128,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGCon FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderPlPublicMunicipality; /** Value: "PROVIDER_PL_PUBLIC_MUNICIPALITY_BIELSKO_BIALA" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderPlPublicMunicipalityBielskoBiala; -/** - * Note: Next available value is 0x1271. - * - * Value: "PROVIDER_PLUGO" - */ +/** Value: "PROVIDER_PLUGO" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderPlugo; /** Value: "PROVIDER_PODPOINT" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderPodpoint; @@ -34488,6 +34501,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderEeMaaAmet; /** Value: "PROVIDER_EIFRIG" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderEifrig; +/** + * Note: Next available value is 0x1272. + * + * Value: "PROVIDER_ELECTRIC_ERA" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderElectricEra; /** Value: "PROVIDER_ELECTRIFY_AMERICA" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderElectrifyAmerica; /** Value: "PROVIDER_ELECTRIFY_CANADA" */ @@ -35592,11 +35611,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderPlPublicMunicipality; /** Value: "PROVIDER_PL_PUBLIC_MUNICIPALITY_BIELSKO_BIALA" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderPlPublicMunicipalityBielskoBiala; -/** - * Note: Next available value is 0x1271. - * - * Value: "PROVIDER_PLUGO" - */ +/** Value: "PROVIDER_PLUGO" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderPlugo; /** Value: "PROVIDER_PODPOINT" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderPodpoint; @@ -51641,6 +51656,32 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQ /** Value: "TYPE_WOODS" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_LocationType_TypeWoods; +// ---------------------------------------------------------------------------- +// GTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals.source + +/** + * go/assistant-grounding. See details on when this happens at + * go/grounding-operation-configs#default-value + * + * Value: "ARGUMENT_SOURCE_ASSISTANT_GROUNDING_BOX" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_Source_ArgumentSourceAssistantGroundingBox; +/** Value: "ARGUMENT_SOURCE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_Source_ArgumentSourceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals.valueSource + +/** + * go/assistant-grounding. See details on when this happens at + * go/grounding-operation-configs#default-value + * + * Value: "ARGUMENT_VALUE_SOURCE_ASSISTANT_GROUNDING_BOX" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_ValueSource_ArgumentValueSourceAssistantGroundingBox; +/** Value: "ARGUMENT_VALUE_SOURCE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_ValueSource_ArgumentValueSourceUnspecified; + // ---------------------------------------------------------------------------- // GTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals.webrefListSource @@ -52255,6 +52296,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_KnowledgeAnswersSensiti FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_ReturnMissedCall; /** Value: "ROUTINE" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_Routine; +/** Value: "ROUTINE_INVOCATION" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_RoutineInvocation; /** Value: "SEARCH_CALENDAR" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_SearchCalendar; /** Value: "SEARCH_EMAIL" */ @@ -68536,21 +68579,25 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_ /** Value: "MODES_POI" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_ModesPoi; /** Value: "MORRIS_DRIVING_SCREEN_AR" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenAr; +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenAr GTLR_DEPRECATED; /** Value: "MORRIS_DRIVING_SCREEN_BT" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenBt; +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenBt GTLR_DEPRECATED; /** Value: "MORRIS_DRIVING_SCREEN_OOBE_ALL_PERMISSIONS" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenOobeAllPermissions; +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenOobeAllPermissions GTLR_DEPRECATED; /** Value: "MORRIS_DRIVING_SCREEN_OOBE_AR_PERMISSION" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenOobeArPermission; +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenOobeArPermission GTLR_DEPRECATED; /** Value: "MORRIS_DRIVING_SCREEN_OOBE_BT_PERMISSION" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenOobeBtPermission; +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenOobeBtPermission GTLR_DEPRECATED; /** Value: "MORRIS_DRIVING_SCREEN_OOBE_NA_PERMISSION" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenOobeNaPermission; -/** Value: "MORRIS_DRIVING_SCREEN_OOBE_NEW_USER" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenOobeNewUser; +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenOobeNaPermission GTLR_DEPRECATED; +/** + * Driving Screen and Micro were both turned down. + * + * Value: "MORRIS_DRIVING_SCREEN_OOBE_NEW_USER" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenOobeNewUser GTLR_DEPRECATED; /** Value: "MORRIS_MICRO" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisMicro; +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisMicro GTLR_DEPRECATED; /** * Notification to ask users to complete the Morris OOBE and use Morris in * their next drive. @@ -70993,6 +71040,48 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityOrbitAsteroidBel /** Value: "UNBOXING" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityOrbitAsteroidBeltImageIntentScores_Intents_Unboxing; +// ---------------------------------------------------------------------------- +// GTLRContentwarehouse_QualityOrbitOrbitImageIntent.imageIntent + +/** Value: "ANIMAL" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_ImageIntent_Animal; +/** + * go/sensitive-symbols-orbit-model + * + * Value: "HATEFUL_SYMBOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_ImageIntent_HatefulSymbol; +/** + * go/human-animal-models + * + * Value: "HUMAN" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_ImageIntent_Human; +/** Value: "UNSPECIFIED_INTENT" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_ImageIntent_UnspecifiedIntent; + +// ---------------------------------------------------------------------------- +// GTLRContentwarehouse_QualityOrbitOrbitImageIntent.missingInputs + +/** Value: "IMAGE_DOC_INFO_INPUT" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_MissingInputs_ImageDocInfoInput; +/** Value: "IMAGE_INPUT" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_MissingInputs_ImageInput; +/** Value: "UNSPECIFIED_INPUT" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_MissingInputs_UnspecifiedInput; + +// ---------------------------------------------------------------------------- +// GTLRContentwarehouse_QualityOrbitOrbitImageIntents.version + +/** + * Initial version. + * + * Value: "V_20230925" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntents_Version_V20230925; +/** Value: "V_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityOrbitOrbitImageIntents_Version_VUnspecified; + // ---------------------------------------------------------------------------- // GTLRContentwarehouse_QualityPreviewChosenSnippetInfo.snippetType @@ -74349,6 +74438,26 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityVidyaVideoLangua */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityVidyaVideoLanguageVideoLanguage_SpeechClass_Unknown; +// ---------------------------------------------------------------------------- +// GTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations.transcriptSource + +/** Value: "VIDEO_TRANSCRIPT_SOURCE_EXPERIMENTAL" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations_TranscriptSource_VideoTranscriptSourceExperimental; +/** + * ContentBasedVideoMetadata.s3_asr + * + * Value: "VIDEO_TRANSCRIPT_SOURCE_S3" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations_TranscriptSource_VideoTranscriptSourceS3; +/** Value: "VIDEO_TRANSCRIPT_SOURCE_UNKNOWN" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations_TranscriptSource_VideoTranscriptSourceUnknown; +/** + * ContentBasedVideoMetadata.transcript_asr + * + * Value: "VIDEO_TRANSCRIPT_SOURCE_YT" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations_TranscriptSource_VideoTranscriptSourceYt; + // ---------------------------------------------------------------------------- // GTLRContentwarehouse_RepositoryAnnotationsGeoTopicalityScore.type @@ -76832,16 +76941,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMet FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Motorcycles; /** Value: "MOVIES" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Movies; -/** Value: "PRIMEREF" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Primeref; /** Value: "PRODUCTS" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Products; /** Value: "SONGS" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Songs; /** Value: "SPORTS_TEAM" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_SportsTeam; -/** Value: "SYMPTOMS" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Symptoms; /** Value: "UNKNOWN" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Unknown; @@ -77191,17 +77296,11 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreproc // GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo.source /** - * Pages mined by book reference pages mining pipeline. + * Extracted from deep link triples (media entities). * - * Value: "BOOK_REF_PAGES_MINING_PIPELINE" + * Value: "DEEP_LINK" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_BookRefPagesMiningPipeline GTLR_DEPRECATED; -/** Value: "DEPRECATED_OLD_SCHEMA" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_DeprecatedOldSchema GTLR_DEPRECATED; -/** Value: "EXPERIMENT" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_Experiment; -/** Value: "EXTRACTED_REFPAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_ExtractedRefpage GTLR_DEPRECATED; +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_DeepLink; /** Value: "KG" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_Kg; /** @@ -77241,7 +77340,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreproc /** Value: "OYSTER_FEATURE" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_OysterFeature; /** Value: "PRODUCT_OFFER" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_ProductOffer GTLR_DEPRECATED; +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_ProductOffer; /** * The URL of a webpage related to this entity. The page should contain * information about this entity, but this entity does not need to be central @@ -77252,14 +77351,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreproc * Value: "RELATED_PAGE" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_RelatedPage; -/** - * A fake reference page based on a text extracted from the source proto. For - * example, product clusters get such refpages based on the descriptions pulled - * from their source protos (catalog offers). - * - * Value: "SOURCE_PROTO" - */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_SourceProto; +/** Value: "SOURCE_UNKNOWN" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_SourceUnknown; /** * Wikipedia URLs for webref year topic. * @@ -80090,15 +80183,21 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_ResearchScienceSearchLi // GTLRContentwarehouse_ResearchScienceSearchLocation.locationSource /** - * When the locationthe is specified in the raw metadata + * The location mid is retrieved from the spatial fields in metadata. * * Value: "METADATA" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_ResearchScienceSearchLocation_LocationSource_Metadata; +/** + * The location mid is retrieved from the dataset name. + * + * Value: "NAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_ResearchScienceSearchLocation_LocationSource_Name; /** Value: "UNKNOWN" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_ResearchScienceSearchLocation_LocationSource_Unknown; /** - * When the locationthe is not specified in the raw metadata + * The location mid is retrieved from WebRef. * * Value: "WEBREF" */ @@ -81081,6 +81180,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_SafesearchVideoContentS FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_SafesearchVideoContentSignals_VersionTag_V20220620; /** Value: "V20230910" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_SafesearchVideoContentSignals_VersionTag_V20230910; +/** Value: "V20231030" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_SafesearchVideoContentSignals_VersionTag_V20231030; // ---------------------------------------------------------------------------- // GTLRContentwarehouse_ScienceCitation.AbstractDisplay @@ -83481,12 +83582,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_StorageGraphBfgTriplePr */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_StorageGraphBfgTripleProvenance_AccessRequired_ContractualAudibleData; /** - * In order to test BBC metadata before serving code populates them to the - * public + * This ACL was used to evaluating UMP GetMedia API changes for the BBC + * exclusive provider metadata launch. The evaluation was done and we don't + * cover BBC provider metadata with this ACL anymore in production. * * Value: "CONTRACTUAL_BBC_PROVIDER_METADATA" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_StorageGraphBfgTripleProvenance_AccessRequired_ContractualBbcProviderMetadata; +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_StorageGraphBfgTripleProvenance_AccessRequired_ContractualBbcProviderMetadata GTLR_DEPRECATED; /** * Data fit for display on the Carbon Index frontend to trusted testers, with * proper attribution and controls. YOU MUST CONTACT area120-carbonindex-eng\@ @@ -86917,6 +87019,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTru FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_BurnsieAddFopPromotionUserLevel; /** Value: "BUY_BUTTON_CLICK" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_BuyButtonClick; +/** + * Client-side session-level test code for buyflow auth recovery. + * + * Value: "BUYFLOW_AUTH_RECOVERY_CLIENT_AT_SESSION_LEVEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_BuyflowAuthRecoveryClientAtSessionLevel; /** Value: "BUY_NOW_BUTTON" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_BuyNowButton; /** @@ -86943,6 +87051,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTru * Value: "CART_ABANDONMENT_ITEM_RECOMMENDATION_LOWER_PRICED_USER_LEVEL" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentItemRecommendationLowerPricedUserLevel; +/** + * User level test code for SKU Recommendation in Cart Abandonment, + * specifically for most popular candidates. + * + * Value: "CART_ABANDONMENT_ITEM_RECOMMENDATION_POPULAR_USER_LEVEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentItemRecommendationPopularUserLevel; /** * Session-level test code for SKU Recommendation in Cart Abandonment. * @@ -86956,6 +87071,20 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTru * Value: "CART_ABANDONMENT_ITEM_RECOMMENDATION_USER_LEVEL" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentItemRecommendationUserLevel; +/** + * Session-level test code for generating cart abandonment notification + * candidates. + * + * Value: "CART_ABANDONMENT_NOTIFICATION_SESSION_LEVEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentNotificationSessionLevel; +/** + * User-level test code for generating cart abandonment notification + * candidates. Add new user-level TestCode here. + * + * Value: "CART_ABANDONMENT_NOTIFICATION_USER_LEVEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentNotificationUserLevel; /** Value: "CART_ABANDONMENT_REMINDER_POPULAR_APPS_SESSION_LEVEL" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CartAbandonmentReminderPopularAppsSessionLevel; /** Value: "CART_ABANDONMENT_REMINDER_POPULAR_APPS_USER_LEVEL" */ @@ -87113,6 +87242,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTru FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CrossDeviceInstallOptionsFetchedInSession; /** Value: "CROSS_DEVICE_INSTALL_OPTIONS_ITEM_FIELDS_TRIGGERED" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CrossDeviceInstallOptionsItemFieldsTriggered; +/** + * Test codes for form factor details page. See go/play-xff-dp-serving. + * + * Value: "CROSS_FORM_FACTOR_DETAILS_PAGEN_SESSION_LEVEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_CrossFormFactorDetailsPagenSessionLevel; /** * useful always * @@ -87150,6 +87285,18 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTru * Value: "DECLINE_MESSAGE_IN_SUBSCENTER_FIX_FLOW_USER_LEVEL" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_DeclineMessageInSubscenterFixFlowUserLevel; +/** + * Session-level test code for better decline recovery cta eligibility. + * + * Value: "DECLINE_RECOVERY_BETTER_CTA_ELIGIBLE_SESSION_LEVEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_DeclineRecoveryBetterCtaEligibleSessionLevel; +/** + * Session-level test code for next ranked FOP suggestion eligibility. + * + * Value: "DECLINE_RECOVERY_SUGGEST_NEXT_FOP_ELIGIBLE_SESSION_LEVEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_DeclineRecoverySuggestNextFopEligibleSessionLevel; /** * User level test code for Details Page Global Holdback. * @@ -87415,6 +87562,24 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTru * Value: "FEATURED_PRODUCTS_LIVE_OPS_AT_USER_LEVEL" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FeaturedProductsLiveOpsAtUserLevel; +/** + * Client-side event level test code for Featured Products LiveOps. + * + * Value: "FEATURED_PRODUCTS_LIVE_OPS_CLIENT_AT_EVENT_LEVEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FeaturedProductsLiveOpsClientAtEventLevel; +/** + * Client-side session level test code for Featured Products LiveOps. + * + * Value: "FEATURED_PRODUCTS_LIVE_OPS_CLIENT_AT_SESSION_LEVEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FeaturedProductsLiveOpsClientAtSessionLevel; +/** + * Client-side User level test code for Featured Products LiveOps. + * + * Value: "FEATURED_PRODUCTS_LIVE_OPS_CLIENT_AT_USER_LEVEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FeaturedProductsLiveOpsClientAtUserLevel; /** Value: "FEATURED_SUBSCRIPTIONS_PRESENT" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_FeaturedSubscriptionsPresent; /** Value: "FEATURED_SUBSCRIPTIONS_PRESENT_USER_LEVEL" */ @@ -88758,13 +88923,19 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTru FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LeonLiveopsDealStateSyncSessionLevel; /** Value: "LEON_LIVEOPS_DEAL_STATE_SYNC_USER_LEVEL" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LeonLiveopsDealStateSyncUserLevel; +/** + * User level test code for link biometrics before snooze. + * + * Value: "LINK_BIOMETRICS_NEW_SETUP_USER_LEVEL_BEFORE_SNOOZE_V3_7" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LinkBiometricsNewSetupUserLevelBeforeSnoozeV37; /** * User level test code for link biometrics with impression cap and foped user * setup after traffic rebalancing. * - * Value: "LINK_BIOMETRICS_NEW_SETUP_USER_LEVEL_V3_5" + * Value: "LINK_BIOMETRICS_NEW_SETUP_USER_LEVEL_V3_6" */ -FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LinkBiometricsNewSetupUserLevelV35; +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LinkBiometricsNewSetupUserLevelV36; /** Value: "LIVEOPS_CLUSTER_SERP_EVENT_LEVEL" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_LiveopsClusterSerpEventLevel; /** Value: "LIVEOPS_CLUSTER_SERP_SESSION_LEVEL" */ @@ -90505,8 +90676,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTru */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_SaveForLaterCartAbandonmentScreenSessionLevel; /** - * User level test code for Save For Later cart abandonment screen. Add new - * user-level TestCode here. + * User level test code for Save For Later cart abandonment screen. * * Value: "SAVE_FOR_LATER_CART_ABANDONMENT_SCREEN_USER_LEVEL" */ @@ -91025,6 +91195,30 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTru FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentPreRegistrationNhK2; /** Value: "SHOULD_SEE_NOW_CONTENT_PRE_REGISTRATION_NH_K3_4" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentPreRegistrationNhK34; +/** Value: "SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_AH_GTE_K5" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardAhGteK5; +/** + * Weekly Reward Now! content on Apps Home. + * + * Value: "SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_AH_K1" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardAhK1; +/** Value: "SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_AH_K2" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardAhK2; +/** Value: "SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_AH_K3_4" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardAhK34; +/** Value: "SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_GH_GTE_K5" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardGhGteK5; +/** + * Weekly Reward Now! content on Games Home. + * + * Value: "SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_GH_K1" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardGhK1; +/** Value: "SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_GH_K2" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardGhK2; +/** Value: "SHOULD_SEE_NOW_CONTENT_WEEKLY_REWARD_GH_K3_4" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeNowContentWeeklyRewardGhK34; /** Value: "SHOULD_SEE_PREREG_LIVE_OPS_DP" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeePreregLiveOpsDp; /** Value: "SHOULD_SEE_PREREG_LIVE_OPS_EH" */ @@ -91178,6 +91372,30 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTru FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentPreRegistrationGhK2; /** Value: "SHOULD_SEE_TOP_NOW_CONTENT_PRE_REGISTRATION_GH_K3_4" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentPreRegistrationGhK34; +/** Value: "SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_AH_GTE_K5" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardAhGteK5; +/** + * Weekly Reward Now! content on Top of Apps Home. + * + * Value: "SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_AH_K1" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardAhK1; +/** Value: "SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_AH_K2" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardAhK2; +/** Value: "SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_AH_K3_4" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardAhK34; +/** Value: "SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_GH_GTE_K5" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardGhGteK5; +/** + * Weekly Reward Now! content on Top of Games Home. + * + * Value: "SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_GH_K1" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardGhK1; +/** Value: "SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_GH_K2" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardGhK2; +/** Value: "SHOULD_SEE_TOP_NOW_CONTENT_WEEKLY_REWARD_GH_K3_4" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_ShouldSeeTopNowContentWeeklyRewardGhK34; /** * Session level test code for skip check mark screen for backup flow. * @@ -91751,6 +91969,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTru FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_UnackInAppSubscriptionWarningDetailPageUserLevel; /** Value: "UNIFIED_ITEM_RECOMMENDATION_LOWER_PRICED_USER_LEVEL" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_UnifiedItemRecommendationLowerPricedUserLevel; +/** Value: "UNIFIED_ITEM_RECOMMENDATION_POPULAR_USER_LEVEL" */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VendingConsumerProtoTrustedGenomeAnnotation_TestCode_UnifiedItemRecommendationPopularUserLevel; /** * User level test code for unified SKU Recommendations. Used when user is * eligible for any SKU Recommendation, currently either cart-abandonment or @@ -92317,6 +92537,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VideoAssetsVenomTransit * Value: "OBJECTIVE_PRIMARY_ASSETS_DONE" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VideoAssetsVenomTransition_Objective_ObjectivePrimaryAssetsDone; +/** + * Subset of OBJECTIVE_PRIMARY_ASSETS_DONE including transcode assets only. + * + * Value: "OBJECTIVE_PRIMARY_TRANSCODES_DONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_VideoAssetsVenomTransition_Objective_ObjectivePrimaryTranscodesDone; /** * The set of features that Smart Auto Midrolls depends on for generating * midroll ad breaks. @@ -105975,6 +106201,15 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_YoutubeCommentsApiComme * Value: "MALWARE" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_YoutubeCommentsApiCommentRestrictionReason_Reason_Malware; +/** + * Policy to cover specific types of misinformation that actuates real world + * harm in ways that are not purely digital. 1) Misleading content related to + * civic and democratic processes, 2) Misleading health or medical content, 3) + * Deceptively manipulated media. + * + * Value: "MISLEADING" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_YoutubeCommentsApiCommentRestrictionReason_Reason_Misleading; /** * TnS specific reasons. generic abuse that isn't enumerated here. * @@ -106521,7 +106756,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_YoutubeCommentsClusteri */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebEffectMaker; /** - * (go/wexit-phone-verify). + * go/yt-shopping-chrome-extension * * Value: "WEB_EMBEDDED_PLAYER" */ @@ -106613,6 +106848,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_YoutubeCommentsClusteri * Value: "WEB_REMIX" */ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebRemix; +/** + * (go/wexit-phone-verify). YouTube Shopping Extension Client + * + * Value: "WEB_SHOPPING_EXTENSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebShoppingExtension; /** * Unplugged web clients. Sign-in, member experience (Polymer app). * @@ -110410,6 +110651,10 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_YoutubeDistillerModelSc * Value "PEOPLE_TO_ADD_BIRTHDAY_FOR_AFFINITY" * @arg @c kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PersonalAgentAffinity * Value "PERSONAL_AGENT_AFFINITY" + * @arg @c kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PersonalSuggestEmailAutocompleteScore + * Value "PERSONAL_SUGGEST_EMAIL_AUTOCOMPLETE_SCORE" + * @arg @c kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PersonalSuggestFirstHopSocialVicinity + * Value "PERSONAL_SUGGEST_FIRST_HOP_SOCIAL_VICINITY" * @arg @c kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PhotosAssistantSuggestionsAffinity * Value "PHOTOS_ASSISTANT_SUGGESTIONS_AFFINITY" * @arg @c kGTLRContentwarehouse_AppsPeopleOzExternalMergedpeopleapiAffinity_AffinityType_PhotosFaceAffinity @@ -116463,6 +116708,14 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *searchableOnServer; +/** + * Indicates whether the provider supports playback of 3P(externally hosted) + * podcasts. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *supports3pPodcastPlayback; + /** * This provider has an app that supports starting new media playback when * there is no screen (e.g. by integrating with the Bisto SDK). @@ -119189,7 +119442,7 @@ GTLR_DEPRECATED /** * LINT.IfChange(ungoverned_message_notification) This proto captures the * contents of a messaging app notification that is typically part of a - * conversation thread. Next Id: 20 + * conversation thread. Next Id: 21 */ @interface GTLRContentwarehouse_AssistantApiCoreTypesMessageNotification : GTLRObject @@ -119251,6 +119504,13 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *messageRecipientType; +/** + * Word count of the message + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *messageWordCount; + /** Mime type of the data_uri. e.g. 'audio/wav', 'video/mp4', 'image/png'. */ @property(nonatomic, copy, nullable) NSString *mimeType; @@ -120148,6 +120408,23 @@ GTLR_DEPRECATED @end +/** + * GTLRContentwarehouse_AssistantApiDataValidateCapabilities + */ +@interface GTLRContentwarehouse_AssistantApiDataValidateCapabilities : GTLRObject + +/** + * If true, data.VALIDATE should be routed to the tethered device (if present) + * if the tethered device supports data.VALIDATE and the primary device does + * not. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fallbackToTetheredDevice; + +@end + + /** * A Gregorian calendar date. */ @@ -120219,7 +120496,7 @@ GTLR_DEPRECATED * differ from the device's. An example would be ANDROID_ALLO running on Pixel. * Allo does not support AudioInput while the Pixel does. In this case, * audio_input will be set to false for Assistant Allo requests while it might - * be set to true for OPA_NEXUS requests. Next ID: 36 + * be set to true for OPA_NEXUS requests. Next ID: 37 */ @interface GTLRContentwarehouse_AssistantApiDeviceCapabilities : GTLRObject @@ -120271,6 +120548,7 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) GTLRContentwarehouse_AssistantApiCommunicationUiCapabilities *communicationUiCapabilities; @property(nonatomic, strong, nullable) GTLRContentwarehouse_AssistantApiContactLookupCapabilities *contactLookupCapabilities; +@property(nonatomic, strong, nullable) GTLRContentwarehouse_AssistantApiDataValidateCapabilities *dataValidateCapabilities; /** * This is the same device id that is specified in the conversation protocol @@ -130766,7 +131044,7 @@ GTLR_DEPRECATED /** * Signals to be used by the Prefulfillment Ranker. Derived from the * ParsingSignals and GroundingSignals carried by the FunctionCall. - * LINT.IfChange Next ID: 68 + * LINT.IfChange Next ID: 69 */ @interface GTLRContentwarehouse_AssistantPrefulfillmentRankerPrefulfillmentSignals : GTLRObject @@ -130955,6 +131233,13 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *intentType; +/** + * isDummyIntent + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isDummyIntent; + /** * Feasibility of fulfilling the binding set. Eg: For PlayMedia, this is * equivalent to playability. More details: go/hgr-feasibility-feature. @@ -142750,6 +143035,8 @@ GTLR_DEPRECATED * Estonian Land Board (Value: "PROVIDER_EE_MAA_AMET") * @arg @c kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderEifrig * Value "PROVIDER_EIFRIG" + * @arg @c kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderElectricEra + * Note: Next available value is 0x1272. (Value: "PROVIDER_ELECTRIC_ERA") * @arg @c kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderElectrifyAmerica * Value "PROVIDER_ELECTRIFY_AMERICA" * @arg @c kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderElectrifyCanada @@ -143676,7 +143963,7 @@ GTLR_DEPRECATED * @arg @c kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderPlPublicMunicipalityBielskoBiala * Value "PROVIDER_PL_PUBLIC_MUNICIPALITY_BIELSKO_BIALA" * @arg @c kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderPlugo - * Note: Next available value is 0x1271. (Value: "PROVIDER_PLUGO") + * Value "PROVIDER_PLUGO" * @arg @c kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderPodpoint * Value "PROVIDER_PODPOINT" * @arg @c kGTLRContentwarehouse_GeostoreDataSourceProto_Provider_ProviderPolaris @@ -145298,7 +145585,22 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *closeReason; -/** RESERVED */ +/** + * The earliest known date of this feature's "end" (e.g. an establishment's + * permanent closure), if the actual date is unknown; i.e. the best known upper + * bound of the day end_date would represent. end_as_of_date must be in local + * (civil) time and of PRECISION_DAY. For example, given an establishment: * + * Without any end_as_of_date, the permanent closure definitely isn't now and + * isn't known to start at any point in the future. * With an end_as_of_date of + * 2023-04-05 but without any end_date, the permanent closure definitely starts + * at latest 2023-04-05 but may start before 2023-04-05. * With an + * end_as_of_date of 2023-04-05 and an end_date of 2023 (at just + * PRECISION_YEAR), the permanent closure definitely starts at earliest + * 2023-01-01 (i.e. the first day of 2023) and at latest 2023-04-05, but may + * start at any day between 2023-01-01 and 2023-04-05. IMPORTANT: Generally for + * Geo Schema-internal use only. If you believe you need to use this field + * directly, please go/contact-geo-schema. + */ @property(nonatomic, strong, nullable) GTLRContentwarehouse_GeostoreDateTimeProto *endAsOfDate; @property(nonatomic, strong, nullable) GTLRContentwarehouse_GeostoreDateTimeProto *endDate; @@ -145684,6 +145986,8 @@ GTLR_DEPRECATED * Value "ADDRESS" * @arg @c kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_AnchoredGeometryGeometryId * Value "ANCHORED_GEOMETRY_GEOMETRY_ID" + * @arg @c kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_AssociatedEvChargingStation + * Value "ASSOCIATED_EV_CHARGING_STATION" * @arg @c kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_Attachment * Value "ATTACHMENT" * @arg @c kGTLRContentwarehouse_GeostoreFeaturePropertyIdProto_FieldType_BizbuilderReference @@ -146172,6 +146476,8 @@ GTLR_DEPRECATED /** Represents information about the feature’s anchored geometry. */ @property(nonatomic, strong, nullable) GTLRContentwarehouse_GeostoreAnchoredGeometryProto *anchoredGeometry; +@property(nonatomic, strong, nullable) NSArray *associatedEvChargingStation; + /** * The collection of attachments for this feature. Documentation: * http://go/geo-attachments @@ -148546,6 +148852,8 @@ GTLR_DEPRECATED * Estonian Land Board (Value: "PROVIDER_EE_MAA_AMET") * @arg @c kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderEifrig * Value "PROVIDER_EIFRIG" + * @arg @c kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderElectricEra + * Note: Next available value is 0x1272. (Value: "PROVIDER_ELECTRIC_ERA") * @arg @c kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderElectrifyAmerica * Value "PROVIDER_ELECTRIFY_AMERICA" * @arg @c kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderElectrifyCanada @@ -149472,7 +149780,7 @@ GTLR_DEPRECATED * @arg @c kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderPlPublicMunicipalityBielskoBiala * Value "PROVIDER_PL_PUBLIC_MUNICIPALITY_BIELSKO_BIALA" * @arg @c kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderPlugo - * Note: Next available value is 0x1271. (Value: "PROVIDER_PLUGO") + * Value "PROVIDER_PLUGO" * @arg @c kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderPodpoint * Value "PROVIDER_PODPOINT" * @arg @c kGTLRContentwarehouse_GeostoreInternalSourceSummaryProto_Provider_ProviderPolaris @@ -151055,6 +151363,8 @@ GTLR_DEPRECATED * Estonian Land Board (Value: "PROVIDER_EE_MAA_AMET") * @arg @c kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderEifrig * Value "PROVIDER_EIFRIG" + * @arg @c kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderElectricEra + * Note: Next available value is 0x1272. (Value: "PROVIDER_ELECTRIC_ERA") * @arg @c kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderElectrifyAmerica * Value "PROVIDER_ELECTRIFY_AMERICA" * @arg @c kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderElectrifyCanada @@ -151981,7 +152291,7 @@ GTLR_DEPRECATED * @arg @c kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderPlPublicMunicipalityBielskoBiala * Value "PROVIDER_PL_PUBLIC_MUNICIPALITY_BIELSKO_BIALA" * @arg @c kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderPlugo - * Note: Next available value is 0x1271. (Value: "PROVIDER_PLUGO") + * Value "PROVIDER_PLUGO" * @arg @c kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderPodpoint * Value "PROVIDER_PODPOINT" * @arg @c kGTLRContentwarehouse_GeostoreOntologyRawGConceptInstanceProto_Provider_ProviderPolaris @@ -153898,6 +154208,8 @@ GTLR_DEPRECATED * Estonian Land Board (Value: "PROVIDER_EE_MAA_AMET") * @arg @c kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderEifrig * Value "PROVIDER_EIFRIG" + * @arg @c kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderElectricEra + * Note: Next available value is 0x1272. (Value: "PROVIDER_ELECTRIC_ERA") * @arg @c kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderElectrifyAmerica * Value "PROVIDER_ELECTRIFY_AMERICA" * @arg @c kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderElectrifyCanada @@ -154824,7 +155136,7 @@ GTLR_DEPRECATED * @arg @c kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderPlPublicMunicipalityBielskoBiala * Value "PROVIDER_PL_PUBLIC_MUNICIPALITY_BIELSKO_BIALA" * @arg @c kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderPlugo - * Note: Next available value is 0x1271. (Value: "PROVIDER_PLUGO") + * Value "PROVIDER_PLUGO" * @arg @c kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderPodpoint * Value "PROVIDER_PODPOINT" * @arg @c kGTLRContentwarehouse_GeostoreProvenanceProto_Provider_ProviderPolaris @@ -171212,7 +171524,7 @@ GTLR_DEPRECATED /** * This defines the per-doc data which is extracted from thumbnails and * propagated over to indexing. It contains all information that can be used - * for restricts. Next tag id: 131 + * for restricts. Next tag id: 132 */ @interface GTLRContentwarehouse_ImageData : GTLRObject @@ -171720,6 +172032,9 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *onPageAlternateUrl; +/** Orbit intents. More details on go/orbit-in-image-indexing. */ +@property(nonatomic, strong, nullable) GTLRContentwarehouse_QualityOrbitOrbitImageIntents *orbitIntents; + /** * Encodes face number and largest face frac into a small package for storage * in mustang. This is calculated directly from FaceDetectionResult. @@ -177908,10 +178223,21 @@ GTLR_DEPRECATED */ @interface GTLRContentwarehouse_IndexingDocjoinerDataVersionVersionInfo : GTLRObject +/** + * Sometimes, a piece of data may not exist for a document (and we don't want + * to delete it), so timestamp_micros won't exist. However, + * consideration_timestamp_micros will be set to indicate we tried to update + * that piece of data for tracking purposes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *considerationTimestampMicros; + @property(nonatomic, copy, nullable) NSString *humanReadableVersion; /** - * timestampMicros + * The timestamp when a piece of data is updated (or deleted if the data + * doesn't exist in the update). * * Uses NSNumber of longLongValue. */ @@ -182890,7 +183216,7 @@ GTLR_DEPRECATED /** * A message representing the signals associated with an argument. NEXT ID TO - * USE: 60 For + * USE: 62 For * //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto in * the "ThenChange", fields under Argument.signals in the serving proto are * stored directly under Argument on the logging side. For example, see @@ -184209,6 +184535,19 @@ GTLR_DEPRECATED /** Equivalent shopping ids for the argument. */ @property(nonatomic, strong, nullable) GTLRContentwarehouse_KnowledgeAnswersIntentQueryShoppingIds *shoppingIds; +/** + * What added this argument. + * + * Likely values: + * @arg @c kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_Source_ArgumentSourceAssistantGroundingBox + * go/assistant-grounding. See details on when this happens at + * go/grounding-operation-configs#default-value (Value: + * "ARGUMENT_SOURCE_ASSISTANT_GROUNDING_BOX") + * @arg @c kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_Source_ArgumentSourceUnspecified + * Value "ARGUMENT_SOURCE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *source; + /** go/stbr supportthis is an */ @property(nonatomic, strong, nullable) NSArray *supportTransferRules; @@ -184221,6 +184560,19 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRContentwarehouse_KnowledgeAnswersValueType *ungroundedValueType; +/** + * What added the argument value. + * + * Likely values: + * @arg @c kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_ValueSource_ArgumentValueSourceAssistantGroundingBox + * go/assistant-grounding. See details on when this happens at + * go/grounding-operation-configs#default-value (Value: + * "ARGUMENT_VALUE_SOURCE_ASSISTANT_GROUNDING_BOX") + * @arg @c kGTLRContentwarehouse_KnowledgeAnswersIntentQueryArgumentSignals_ValueSource_ArgumentValueSourceUnspecified + * Value "ARGUMENT_VALUE_SOURCE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *valueSource; + /** * Webref entity index for this argument, necessary for interpreting the * relationship structure, and the list to index into. Specifically we need @@ -184970,14 +185322,11 @@ GTLR_DEPRECATED @interface GTLRContentwarehouse_KnowledgeAnswersIntentQueryGroundingSignals : GTLRObject /** - * True if the argument was added during grounding. This signal is intended to - * be used with ArgumentSignals. Note that the added argument's value must be a - * FunctionCall that only contains resolutions, i.e. grounding cannot - * add/modify/delete any ungrounded values. + * addedByGrounding * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *addedByGrounding; +@property(nonatomic, strong, nullable) NSNumber *addedByGrounding GTLR_DEPRECATED; /** * Score indicating how grounded the intent is, populated by the Grounding Box, @@ -187103,6 +187452,8 @@ GTLR_DEPRECATED * Value "RETURN_MISSED_CALL" * @arg @c kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_Routine * Value "ROUTINE" + * @arg @c kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_RoutineInvocation + * Value "ROUTINE_INVOCATION" * @arg @c kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_SearchCalendar * Value "SEARCH_CALENDAR" * @arg @c kGTLRContentwarehouse_KnowledgeAnswersSensitivityMyActivityPolicy_MyActivityRedactedAction_SearchEmail @@ -187403,8 +187754,17 @@ GTLR_DEPRECATED * example, having both entity_type and string_type present in a ValueType * field of a Slot means that the Slot can take _either_ an an EntityType _or_ * StringType as a value, and nothing else. It may be helpful to think of this - * proto as being called something like AllAllowedValueTypes. Next tag id: 25 - * LINT.IfChange + * proto as being called something like AllAllowedValueTypes. To enforce a + * component-specific contract (go/contract-based-conformance) for allowed + * type(s), we add a repeated field view_specific_${x} for the type ${x}. For + * example, if we want a slot that can hold any type by default, but can only + * hold an integer when checking against the P2_LWA contract, then the + * following should be added to MeaningCatalog: slot { name: + * "integer_only_slot" type { // The default view has no sub_type or other + * options. number_type {} // The P2_LWA view specifies INTEGER sub_type. + * view_specific_number_types { sub_type: INTEGER component_specific_contracts: + * P2_LWA } } } See go/view-based-options-for-valuetype for more information. + * Next tag id: 26 LINT.IfChange */ @interface GTLRContentwarehouse_KnowledgeAnswersValueType : GTLRObject @@ -187477,6 +187837,18 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) GTLRContentwarehouse_KnowledgeAnswersTimeZoneType *timezoneType; @property(nonatomic, strong, nullable) GTLRContentwarehouse_KnowledgeAnswersTrackingNumberType *trackingNumberType; +/** + * LINT.IfChange Contract-specific typing + * (go/view-based-options-for-valuetype). NOTE: To facilitate writing macros + * for view-specific filtering, all view-specific fields should be named with + * the format "view_specific_${singular_field}s" -- e.g., for the singular + * field |number_type|, the view-specific repeated field is + * |view_specific_number_types|. LINT.ThenChange( + * //depot/google3/nlp/meaning/remodel/meaning_remodeling_utils.cc:ViewSpecificTypes, + * //depot/google3/nlp/meaning/analyzer/checks/component_specific_contracts_checks.cc:ViewSpecificTypes) + */ +@property(nonatomic, strong, nullable) NSArray *viewSpecificNumberTypes; + @end @@ -211933,7 +212305,8 @@ GTLR_DEPRECATED * @arg @c kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenOobeNaPermission * Value "MORRIS_DRIVING_SCREEN_OOBE_NA_PERMISSION" * @arg @c kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisDrivingScreenOobeNewUser - * Value "MORRIS_DRIVING_SCREEN_OOBE_NEW_USER" + * Driving Screen and Micro were both turned down. (Value: + * "MORRIS_DRIVING_SCREEN_OOBE_NEW_USER") * @arg @c kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisMicro * Value "MORRIS_MICRO" * @arg @c kGTLRContentwarehouse_QualityActionsReminder_AsyncInteractionType_MorrisOobe @@ -214864,7 +215237,7 @@ GTLR_DEPRECATED /** * NOTE: When adding a new field to be propagated to Raffia check if - * NsrPatternSignalSpec needs to be updated. Next ID: 55 + * NsrPatternSignalSpec needs to be updated. Next ID: 56 */ @interface GTLRContentwarehouse_QualityNsrNsrData : GTLRObject @@ -215144,7 +215517,9 @@ GTLR_DEPRECATED * * Uses NSNumber of floatValue. */ -@property(nonatomic, strong, nullable) NSNumber *siteQualityStddev; +@property(nonatomic, strong, nullable) NSNumber *siteQualityStddev GTLR_DEPRECATED; + +@property(nonatomic, strong, nullable) NSArray *siteQualityStddevs; /** * Score of small personal site promotion go/promoting-personal-blogs-v1 @@ -215633,6 +216008,76 @@ GTLR_DEPRECATED @end +/** + * Stores information for a single image-only orbit intent. See + * go/orbit-for-images-v2 for more details. + */ +@interface GTLRContentwarehouse_QualityOrbitOrbitImageIntent : GTLRObject + +/** + * Intent of this proto instance. + * + * Likely values: + * @arg @c kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_ImageIntent_Animal + * Value "ANIMAL" + * @arg @c kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_ImageIntent_HatefulSymbol + * go/sensitive-symbols-orbit-model (Value: "HATEFUL_SYMBOL") + * @arg @c kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_ImageIntent_Human + * go/human-animal-models (Value: "HUMAN") + * @arg @c kGTLRContentwarehouse_QualityOrbitOrbitImageIntent_ImageIntent_UnspecifiedIntent + * Value "UNSPECIFIED_INTENT" + */ +@property(nonatomic, copy, nullable) NSString *imageIntent; + +@property(nonatomic, strong, nullable) NSArray *missingInputs; + +/** + * Score of the intent. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +/** + * Whether the intent triggered with the default threshold or not. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *trigger; + +@end + + +/** + * Image-only orbit intents (See: go/orbit-for-images-v2) + */ +@interface GTLRContentwarehouse_QualityOrbitOrbitImageIntents : GTLRObject + +/** Intents with non-trivial scores. */ +@property(nonatomic, strong, nullable) NSArray *intents; + +/** + * Used to control merging behavior: partial protos will always be merged with + * current, while full protos will completely replace older versions. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isPartial; + +/** + * Represents the version. Filled in Amarna (main version controller). + * + * Likely values: + * @arg @c kGTLRContentwarehouse_QualityOrbitOrbitImageIntents_Version_V20230925 + * Initial version. (Value: "V_20230925") + * @arg @c kGTLRContentwarehouse_QualityOrbitOrbitImageIntents_Version_VUnspecified + * Value "V_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + /** * Information for chosen snippet. Next ID: 8 */ @@ -220817,6 +221262,22 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRContentwarehouse_QualityWebanswersVideoYouTubeCaptionTimingInfoAnnotations *timingInfo; +/** + * transcriptSource + * + * Likely values: + * @arg @c kGTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations_TranscriptSource_VideoTranscriptSourceExperimental + * Value "VIDEO_TRANSCRIPT_SOURCE_EXPERIMENTAL" + * @arg @c kGTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations_TranscriptSource_VideoTranscriptSourceS3 + * ContentBasedVideoMetadata.s3_asr (Value: "VIDEO_TRANSCRIPT_SOURCE_S3") + * @arg @c kGTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations_TranscriptSource_VideoTranscriptSourceUnknown + * Value "VIDEO_TRANSCRIPT_SOURCE_UNKNOWN" + * @arg @c kGTLRContentwarehouse_QualityWebanswersVideoTranscriptAnnotations_TranscriptSource_VideoTranscriptSourceYt + * ContentBasedVideoMetadata.transcript_asr (Value: + * "VIDEO_TRANSCRIPT_SOURCE_YT") + */ +@property(nonatomic, copy, nullable) NSString *transcriptSource; + @property(nonatomic, strong, nullable) GTLRContentwarehouse_RepositoryWebrefWebrefEntities *webrefEntities; @end @@ -225272,16 +225733,12 @@ GTLR_DEPRECATED * Value "MOTORCYCLES" * @arg @c kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Movies * Value "MOVIES" - * @arg @c kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Primeref - * Value "PRIMEREF" * @arg @c kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Products * Value "PRODUCTS" * @arg @c kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Songs * Value "SONGS" * @arg @c kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_SportsTeam * Value "SPORTS_TEAM" - * @arg @c kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Symptoms - * Value "SYMPTOMS" * @arg @c kGTLRContentwarehouse_RepositoryWebrefMdvcMetadataPerVertical_VerticalName_Unknown * Value "UNKNOWN" */ @@ -225427,14 +225884,6 @@ GTLR_DEPRECATED /** Metadata attached to the name. */ @property(nonatomic, strong, nullable) GTLRContentwarehouse_RepositoryWebrefConceptNameMetadata *nameMetadata; -/** - * Whether the mention is a non-locational reference to a geographical entity. - * Ranges from 0 (locational) to 1 (non-locational). - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *nonLocationalScore; - /** Provides concised access to all matched MatchedLightweightToken. */ @property(nonatomic, strong, nullable) GTLRContentwarehouse_RepositoryWebrefLightweightTokensPerMentionLightweightToken *perMentionLightweightToken; @@ -226677,23 +227126,15 @@ GTLR_DEPRECATED */ @interface GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo : GTLRObject -@property(nonatomic, strong, nullable) GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfoOldSchema *deprecatedOldSchema GTLR_DEPRECATED; -@property(nonatomic, strong, nullable) GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfoNewSchema *newSchema NS_RETURNS_NOT_RETAINED; @property(nonatomic, copy, nullable) NSString *originalUrl; /** * source * * Likely values: - * @arg @c kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_BookRefPagesMiningPipeline - * Pages mined by book reference pages mining pipeline. (Value: - * "BOOK_REF_PAGES_MINING_PIPELINE") - * @arg @c kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_DeprecatedOldSchema - * Value "DEPRECATED_OLD_SCHEMA" - * @arg @c kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_Experiment - * Value "EXPERIMENT" - * @arg @c kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_ExtractedRefpage - * Value "EXTRACTED_REFPAGE" + * @arg @c kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_DeepLink + * Extracted from deep link triples (media entities). (Value: + * "DEEP_LINK") * @arg @c kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_Kg * Value "KG" * @arg @c kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_KgSocialProfile @@ -226724,11 +227165,8 @@ GTLR_DEPRECATED * central to it. Examples would be news stories in which this entity * figures. RELATED_PAGE are provided by clients and MINED_RELATED_PAGE * are mined programmatically (go/related-pages). (Value: "RELATED_PAGE") - * @arg @c kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_SourceProto - * A fake reference page based on a text extracted from the source proto. - * For example, product clusters get such refpages based on the - * descriptions pulled from their source protos (catalog offers). (Value: - * "SOURCE_PROTO") + * @arg @c kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_SourceUnknown + * Value "SOURCE_UNKNOWN" * @arg @c kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_WebrefYear * Wikipedia URLs for webref year topic. (Value: "WEBREF_YEAR") * @arg @c kGTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfo_Source_Wikijoin @@ -226739,31 +227177,6 @@ GTLR_DEPRECATED @end -/** - * Source information for the new reference url Freebase schema. - */ -@interface GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfoNewSchema : GTLRObject - -@property(nonatomic, copy, nullable) NSString *sourceProperty; - -@end - - -/** - * Source information for the old reference url Freebase schema. - */ -@interface GTLRContentwarehouse_RepositoryWebrefPreprocessingUrlSourceInfoOldSchema : GTLRObject - -/** - * isOfficial - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *isOfficial; - -@end - - /** * A single processor counter stored as a pair of the counter name and the * value. @@ -230937,13 +231350,14 @@ GTLR_DEPRECATED * * Likely values: * @arg @c kGTLRContentwarehouse_ResearchScienceSearchLocation_LocationSource_Metadata - * When the locationthe is specified in the raw metadata (Value: - * "METADATA") + * The location mid is retrieved from the spatial fields in metadata. + * (Value: "METADATA") + * @arg @c kGTLRContentwarehouse_ResearchScienceSearchLocation_LocationSource_Name + * The location mid is retrieved from the dataset name. (Value: "NAME") * @arg @c kGTLRContentwarehouse_ResearchScienceSearchLocation_LocationSource_Unknown * Value "UNKNOWN" * @arg @c kGTLRContentwarehouse_ResearchScienceSearchLocation_LocationSource_Webref - * When the locationthe is not specified in the raw metadata (Value: - * "WEBREF") + * The location mid is retrieved from WebRef. (Value: "WEBREF") */ @property(nonatomic, copy, nullable) NSString *locationSource; @@ -231028,7 +231442,7 @@ GTLR_DEPRECATED /** * A proto for storing inferred and reconciled metadata for Science Search. - * Next available tag: 73 + * Next available tag: 74 */ @interface GTLRContentwarehouse_ResearchScienceSearchReconciledMetadata : GTLRObject @@ -231237,6 +231651,14 @@ GTLR_DEPRECATED /** License for the dataset. DEPRECATED */ @property(nonatomic, strong, nullable) NSArray *licenseDeprecated; +/** + * Indicates if the location has been reconciled for the dataset name. This is + * used by LocationExtender to avoid re-annotating the dataset name. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *locationReconciledForName; + /** * A technique or technology used in a Dataset corresponding to the method used * for measuring the corresponding variable(s) (described using @@ -232295,6 +232717,8 @@ GTLR_DEPRECATED * Value "V20220620" * @arg @c kGTLRContentwarehouse_SafesearchVideoContentSignals_VersionTag_V20230910 * Value "V20230910" + * @arg @c kGTLRContentwarehouse_SafesearchVideoContentSignals_VersionTag_V20231030 + * Value "V20231030" */ @property(nonatomic, copy, nullable) NSString *versionTag; @@ -239640,8 +240064,10 @@ GTLR_DEPRECATED * MUST CONTACT kg-legal\@ before reading or writing this data. (Value: * "CONTRACTUAL_AUDIBLE_DATA") * @arg @c kGTLRContentwarehouse_StorageGraphBfgTripleProvenance_AccessRequired_ContractualBbcProviderMetadata - * In order to test BBC metadata before serving code populates them to - * the public (Value: "CONTRACTUAL_BBC_PROVIDER_METADATA") + * This ACL was used to evaluating UMP GetMedia API changes for the BBC + * exclusive provider metadata launch. The evaluation was done and we + * don't cover BBC provider metadata with this ACL anymore in production. + * (Value: "CONTRACTUAL_BBC_PROVIDER_METADATA") * @arg @c kGTLRContentwarehouse_StorageGraphBfgTripleProvenance_AccessRequired_ContractualCarbonIndexApp * Data fit for display on the Carbon Index frontend to trusted testers, * with proper attribution and controls. YOU MUST CONTACT @@ -245030,6 +245456,9 @@ GTLR_DEPRECATED * Drives "is_fully_processed" in VAPI. Limited to UGC and Reels. Also * used to atomically publish all latency-sensitive transcodes after an * edit. (Value: "OBJECTIVE_PRIMARY_ASSETS_DONE") + * @arg @c kGTLRContentwarehouse_VideoAssetsVenomTransition_Objective_ObjectivePrimaryTranscodesDone + * Subset of OBJECTIVE_PRIMARY_ASSETS_DONE including transcode assets + * only. (Value: "OBJECTIVE_PRIMARY_TRANSCODES_DONE") * @arg @c kGTLRContentwarehouse_VideoAssetsVenomTransition_Objective_ObjectiveSamFeaturesDone * The set of features that Smart Auto Midrolls depends on for generating * midroll ad breaks. (Value: "OBJECTIVE_SAM_FEATURES_DONE") @@ -263979,6 +264408,12 @@ GTLR_DEPRECATED * MALWARE includes viruses, worms, trojans, adware and even potentially * unwanted software which may not necessarily be harmful. (Value: * "MALWARE") + * @arg @c kGTLRContentwarehouse_YoutubeCommentsApiCommentRestrictionReason_Reason_Misleading + * Policy to cover specific types of misinformation that actuates real + * world harm in ways that are not purely digital. 1) Misleading content + * related to civic and democratic processes, 2) Misleading health or + * medical content, 3) Deceptively manipulated media. (Value: + * "MISLEADING") * @arg @c kGTLRContentwarehouse_YoutubeCommentsApiCommentRestrictionReason_Reason_OtherAbuse * TnS specific reasons. generic abuse that isn't enumerated here. * (Value: "OTHER_ABUSE") @@ -264063,7 +264498,7 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) GTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_AutomodScores *automodScores; /** The blarney stone score. */ -@property(nonatomic, strong, nullable) GTLRContentwarehouse_YoutubeDistillerBlarneyStoneScores *blarneyStoneScore; +@property(nonatomic, strong, nullable) GTLRContentwarehouse_YoutubeDistillerBlarneyStoneScores *blarneyStoneScore GTLR_DEPRECATED; /** * The channel this channel discussion comment belongs to. Note that this will @@ -264330,7 +264765,7 @@ GTLR_DEPRECATED * @arg @c kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebEffectMaker * YouTube Effect Maker web app. (Value: "WEB_EFFECT_MAKER") * @arg @c kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebEmbeddedPlayer - * (go/wexit-phone-verify). (Value: "WEB_EMBEDDED_PLAYER") + * go/yt-shopping-chrome-extension (Value: "WEB_EMBEDDED_PLAYER") * @arg @c kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebExperiments * Value "WEB_EXPERIMENTS" * @arg @c kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebGaming @@ -264371,6 +264806,9 @@ GTLR_DEPRECATED * YouTube Phone Verification web app (Value: "WEB_PHONE_VERIFICATION") * @arg @c kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebRemix * YouTube Music web app. (Value: "WEB_REMIX") + * @arg @c kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebShoppingExtension + * (go/wexit-phone-verify). YouTube Shopping Extension Client (Value: + * "WEB_SHOPPING_EXTENSION") * @arg @c kGTLRContentwarehouse_YoutubeCommentsClusteringMiniStanza_CreationDevice_WebUnplugged * Unplugged web clients. Sign-in, member experience (Polymer app). * (Value: "WEB_UNPLUGGED") @@ -264420,7 +264858,7 @@ GTLR_DEPRECATED * * Uses NSNumber of doubleValue. */ -@property(nonatomic, strong, nullable) NSNumber *fds; +@property(nonatomic, strong, nullable) NSNumber *fds GTLR_DEPRECATED; /** * Indicator for whether there is creator heart on this comment. @@ -264573,9 +265011,10 @@ GTLR_DEPRECATED /** * The language code stored in the KV pair ranking:post_language. This should * usually be the same as language_code but is not guaranteed to be identical. - * The KV pair is needed because ranking can't consume user_content. + * The KV pair is needed because SBE ranking can't consume user_content. Still + * populated, but deprecated. */ -@property(nonatomic, copy, nullable) NSString *rankingPostLanguage; +@property(nonatomic, copy, nullable) NSString *rankingPostLanguage GTLR_DEPRECATED; /** A textual content for the context. */ @property(nonatomic, strong, nullable) GTLRContentwarehouse_SocialCommonSegments *segments; @@ -264650,7 +265089,7 @@ GTLR_DEPRECATED * Predicted probability of the comment being flagged based on the text. For * testing the new annotation process only. */ -@property(nonatomic, strong, nullable) GTLRContentwarehouse_YoutubeCommentsRankingYouTubeCommentTextQualityAnnotation *textQualityScores2; +@property(nonatomic, strong, nullable) GTLRContentwarehouse_YoutubeCommentsRankingYouTubeCommentTextQualityAnnotation *textQualityScores2 GTLR_DEPRECATED; /** The video this comment belongs to. */ @property(nonatomic, copy, nullable) NSString *videoId; @@ -264663,7 +265102,7 @@ GTLR_DEPRECATED * * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSArray *videoTimestamps; +@property(nonatomic, strong, nullable) NSArray *videoTimestamps GTLR_DEPRECATED; /** * Word entropy of the comment. diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h index af69eb27d..a7eedb4e0 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h @@ -1087,17 +1087,18 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Deidentify_FileTyp /** * Automatically generate profiles for all tables, even if the table type is - * not yet fully supported for analysis. These unsupported profiles will be - * generated with errors to indicate their partial support. When support is - * added, they will automatically be profiled during the next scheduled run. + * not yet fully supported for analysis. Profiles for unsupported tables will + * be generated with errors to indicate their partial support. When full + * support is added, the tables will automatically be profiled during the next + * scheduled run. * * Value: "BIG_QUERY_COLLECTION_ALL_TYPES" */ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BigQueryCollectionAllTypes; /** * Only those types fully supported will be profiled. Will expand automatically - * as new support is added. Unsupported table types will not have a profile - * generated. + * as Cloud DLP adds support for new table types. Unsupported table types will + * not have partial profiles generated. * * Value: "BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES" */ @@ -1113,13 +1114,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryBigQueryC // GTLRDLP_GooglePrivacyDlpV2DiscoveryConfig.status /** - * The Discovery config is paused temporarily. + * The discovery config is paused temporarily. * * Value: "PAUSED" */ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryConfig_Status_Paused; /** - * The Discovery config is currently active. + * The discovery config is currently active. * * Value: "RUNNING" */ @@ -2648,7 +2649,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * Target used to match against for Discovery with BigQuery tables + * Target used to match against for discovery with BigQuery tables */ @interface GTLRDLP_GooglePrivacyDlpV2BigQueryDiscoveryTarget : GTLRObject @@ -2669,7 +2670,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2Disabled *disabled; /** - * Required. The tables the Discovery cadence applies to. The first target with + * Required. The tables the discovery cadence applies to. The first target with * a matching filter will be the one to apply to a table. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DiscoveryBigQueryFilter *filter; @@ -2857,11 +2858,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * The types of bigquery tables supported by Cloud DLP. + * The types of BigQuery tables supported by Cloud DLP. */ @interface GTLRDLP_GooglePrivacyDlpV2BigQueryTableTypes : GTLRObject -/** A set of bigquery table types. */ +/** A set of BigQuery table types. */ @property(nonatomic, strong, nullable) NSArray *types; @end @@ -3457,7 +3458,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** The name of the profile. */ @property(nonatomic, copy, nullable) NSString *name; -/** Other types found within this column. List will be un-ordered. */ +/** Other types found within this column. List will be unordered. */ @property(nonatomic, strong, nullable) NSArray *otherMatches; /** @@ -3498,7 +3499,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal */ @property(nonatomic, copy, nullable) NSString *state; -/** The resource name to the table data profile. */ +/** The resource name of the table data profile. */ @property(nonatomic, copy, nullable) NSString *tableDataProfile; /** The resource name of the table this column is within. */ @@ -3720,7 +3721,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @interface GTLRDLP_GooglePrivacyDlpV2CreateDiscoveryConfigRequest : GTLRObject /** - * The config id can contain uppercase and lowercase letters, numbers, and + * The config ID can contain uppercase and lowercase letters, numbers, and * hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-_]+`. * The maximum length is 100 characters. Can be empty to allow the system to * generate one. @@ -4084,9 +4085,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** * Sensitivity for this CustomInfoType. If this CustomInfoType extends an - * existing InfoType, the sensitivity here will take precedent over that of the - * original InfoType. If unset for a CustomInfoType, it will default to HIGH. - * This only applies to data profiling. + * existing InfoType, the sensitivity here will take precedence over that of + * the original InfoType. If unset for a CustomInfoType, it will default to + * HIGH. This only applies to data profiling. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2SensitivityScore *sensitivityScore; @@ -4120,8 +4121,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * The schema of data to be saved to the BigQuery when the `DataProfileAction` - * is enabled. + * The schema of data to be saved to the BigQuery table when the + * `DataProfileAction` is enabled. */ @interface GTLRDLP_GooglePrivacyDlpV2DataProfileBigQueryRowSchema : GTLRObject @@ -4139,8 +4140,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal */ @interface GTLRDLP_GooglePrivacyDlpV2DataProfileConfigSnapshot : GTLRObject -/** A copy of the configuration used to generate this profile. */ -@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DataProfileJobConfig *dataProfileJob; +/** + * A copy of the configuration used to generate this profile. This is + * deprecated and will be replaced by DiscoveryConfig. DataProfileJobConfig + * will still be written here for Discovery in BigQuery for backwards + * compatibility, but will not be updated with new fields, while + * DiscoveryConfig will. + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DataProfileJobConfig *dataProfileJob GTLR_DEPRECATED; /** * A copy of the inspection config used to generate this profile. This is a @@ -4173,7 +4180,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal * specified, it will be copied to that region and used instead. If no global * or region-specific template is provided for a region with data, that * region's data will not be scanned. For more information, see - * https://cloud.google.com/dlp/docs/data-profiles#data_residency. + * https://cloud.google.com/dlp/docs/data-profiles#data-residency. */ @property(nonatomic, strong, nullable) NSArray *inspectTemplates; @@ -4801,16 +4808,18 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * Do nothing. + * Do not profile the tables. */ @interface GTLRDLP_GooglePrivacyDlpV2Disabled : GTLRObject @end /** - * Requirements that must be true before a table is scanned in Discovery for + * Requirements that must be true before a table is scanned in discovery for * the first time. There is an AND relationship between the top-level - * attributes. + * attributes. Additionally, minimum conditions with an OR relationship that + * must be met before Cloud DLP scans a table can be set (like a minimum row + * count or a minimum table age). */ @interface GTLRDLP_GooglePrivacyDlpV2DiscoveryBigQueryConditions : GTLRObject @@ -4824,26 +4833,27 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2OrConditions *orConditions; /** - * Restrict Discovery to categories of table types. + * Restrict discovery to categories of table types. * * Likely values: * @arg @c kGTLRDLP_GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BigQueryCollectionAllTypes * Automatically generate profiles for all tables, even if the table type - * is not yet fully supported for analysis. These unsupported profiles - * will be generated with errors to indicate their partial support. When - * support is added, they will automatically be profiled during the next - * scheduled run. (Value: "BIG_QUERY_COLLECTION_ALL_TYPES") + * is not yet fully supported for analysis. Profiles for unsupported + * tables will be generated with errors to indicate their partial + * support. When full support is added, the tables will automatically be + * profiled during the next scheduled run. (Value: + * "BIG_QUERY_COLLECTION_ALL_TYPES") * @arg @c kGTLRDLP_GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BigQueryCollectionOnlySupportedTypes * Only those types fully supported will be profiled. Will expand - * automatically as new support is added. Unsupported table types will - * not have a profile generated. (Value: - * "BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES") + * automatically as Cloud DLP adds support for new table types. + * Unsupported table types will not have partial profiles generated. + * (Value: "BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES") * @arg @c kGTLRDLP_GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BigQueryCollectionUnspecified * Unused. (Value: "BIG_QUERY_COLLECTION_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *typeCollection; -/** Restrict Discovery to specific table types. */ +/** Restrict discovery to specific table types. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2BigQueryTableTypes *types; @end @@ -4852,9 +4862,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** * Determines what tables will have profiles generated within an organization * or project. Includes the ability to filter by regular expression patterns on - * project ID, dataset ID, and table ID. Also lets you set minimum conditions - * that must be met before Cloud DLP scans a table (like a minimum row count or - * a minimum table age). + * project ID, dataset ID, and table ID. */ @interface GTLRDLP_GooglePrivacyDlpV2DiscoveryBigQueryFilter : GTLRObject @@ -4878,8 +4886,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * Configuration for Discovery to scan resources for profile generation. Only - * one Discovery configuration may exist per organization, folder, or project. + * Configuration for discovery to scan resources for profile generation. Only + * one discovery configuration may exist per organization, folder, or project. * The generated data profiles are retained according to the [data retention * policy] (https://cloud.google.com/dlp/docs/data-profiles#retention). */ @@ -4912,7 +4920,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal * specified, it will be copied to that region and used instead. If no global * or region-specific template is provided for a region with data, that * region's data will not be scanned. For more information, see - * https://cloud.google.com/dlp/docs/data-profiles#data_residency. + * https://cloud.google.com/dlp/docs/data-profiles#data-residency. */ @property(nonatomic, strong, nullable) NSArray *inspectTemplates; @@ -4934,9 +4942,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal * * Likely values: * @arg @c kGTLRDLP_GooglePrivacyDlpV2DiscoveryConfig_Status_Paused The - * Discovery config is paused temporarily. (Value: "PAUSED") + * discovery config is paused temporarily. (Value: "PAUSED") * @arg @c kGTLRDLP_GooglePrivacyDlpV2DiscoveryConfig_Status_Running The - * Discovery config is currently active. (Value: "RUNNING") + * discovery config is currently active. (Value: "RUNNING") * @arg @c kGTLRDLP_GooglePrivacyDlpV2DiscoveryConfig_Status_StatusUnspecified * Unused (Value: "STATUS_UNSPECIFIED") */ @@ -5003,7 +5011,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * The location to begin a Discovery scan. Denotes an organization ID or folder + * The location to begin a discovery scan. Denotes an organization ID or folder * ID within an organization. */ @interface GTLRDLP_GooglePrivacyDlpV2DiscoveryStartingLocation : GTLRObject @@ -6308,11 +6316,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal * InfoType values returned by ListInfoTypes or listed at * https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or * CustomInfoTypes are specified in a request, the system may automatically - * choose what detectors to run. By default this may be all types, but may - * change over time as detectors are updated. If you need precise control and - * predictability as to what detectors are run you should specify specific - * InfoTypes listed in the reference, otherwise a default list will be used, - * which may change over time. + * choose a default list of detectors to run, which may change over time. If + * you need precise control and predictability as to what detectors are run you + * should specify specific InfoTypes listed in the reference, otherwise a + * default list will be used, which may change over time. */ @property(nonatomic, strong, nullable) NSArray *infoTypes; @@ -7126,7 +7133,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @property(nonatomic, strong, nullable) NSArray *deidentifyTemplates; /** - * If the next page is available then the next page token to be used in + * If the next page is available then the next page token to be used in the * following ListDeidentifyTemplates request. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; @@ -7153,8 +7160,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @property(nonatomic, strong, nullable) NSArray *discoveryConfigs; /** - * If the next page is available then the next page token to be used in - * following ListDiscoveryConfigs request. + * If the next page is available then this value is the next page token to be + * used in the following ListDiscoveryConfigs request. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; @@ -7215,7 +7222,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @property(nonatomic, strong, nullable) NSArray *inspectTemplates; /** - * If the next page is available then the next page token to be used in + * If the next page is available then the next page token to be used in the * following ListInspectTemplates request. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; @@ -7242,8 +7249,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @property(nonatomic, strong, nullable) NSArray *jobTriggers; /** - * If the next page is available then the next page token to be used in - * following ListJobTriggers request. + * If the next page is available then this value is the next page token to be + * used in the following ListJobTriggers request. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; @@ -7261,7 +7268,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @interface GTLRDLP_GooglePrivacyDlpV2ListStoredInfoTypesResponse : GTLRCollectionObject /** - * If the next page is available then the next page token to be used in + * If the next page is available then the next page token to be used in the * following ListStoredInfoTypes request. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; @@ -8220,7 +8227,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * De-id options. + * De-identification options. */ @interface GTLRDLP_GooglePrivacyDlpV2RequestedDeidentifyOptions : GTLRObject @@ -9397,7 +9404,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal */ @interface GTLRDLP_GooglePrivacyDlpV2UpdateDiscoveryConfigRequest : GTLRObject -/** New DiscoveryConfig value. */ +/** Required. New DiscoveryConfig value. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DiscoveryConfig *discoveryConfig; /** diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPQuery.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPQuery.h index e6387076e..7e634e9d7 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPQuery.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPQuery.h @@ -301,8 +301,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name * asc,update_time, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the template was created. - `update_time`: * corresponds to the time the template was last updated. - `name`: corresponds @@ -312,13 +312,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Size of the page, can be limited by the server. If zero server returns a - * page of max size 100. + * Size of the page. This value can be limited by the server. If zero server + * returns a page of max size 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * `ListDeidentifyTemplates`. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -554,8 +554,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name * asc,update_time, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the template was created. - `update_time`: * corresponds to the time the template was last updated. - `name`: corresponds @@ -565,13 +565,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Size of the page, can be limited by the server. If zero server returns a - * page of max size 100. + * Size of the page. This value can be limited by the server. If zero server + * returns a page of max size 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * `ListInspectTemplates`. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -807,8 +807,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name * asc,update_time, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the template was created. - `update_time`: * corresponds to the time the template was last updated. - `name`: corresponds @@ -818,13 +818,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Size of the page, can be limited by the server. If zero server returns a - * page of max size 100. + * Size of the page. This value can be limited by the server. If zero server + * returns a page of max size 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * `ListDeidentifyTemplates`. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -916,7 +916,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @end /** - * Creates a config for Discovery to scan and profile storage. + * Creates a config for discovery to scan and profile storage. * * Method: dlp.organizations.locations.discoveryConfigs.create * @@ -937,7 +937,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Fetches a @c GTLRDLP_GooglePrivacyDlpV2DiscoveryConfig. * - * Creates a config for Discovery to scan and profile storage. + * Creates a config for discovery to scan and profile storage. * * @param object The @c GTLRDLP_GooglePrivacyDlpV2CreateDiscoveryConfigRequest * to include in the query. @@ -955,7 +955,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @end /** - * Deletes a Discovery configuration. + * Deletes a discovery configuration. * * Method: dlp.organizations.locations.discoveryConfigs.delete * @@ -973,7 +973,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Fetches a @c GTLRDLP_GoogleProtobufEmpty. * - * Deletes a Discovery configuration. + * Deletes a discovery configuration. * * @param name Required. Resource name of the project and the config, for * example `projects/dlp-test-project/discoveryConfigs/53234423`. @@ -985,7 +985,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @end /** - * Gets a Discovery configuration. + * Gets a discovery configuration. * * Method: dlp.organizations.locations.discoveryConfigs.get * @@ -1003,7 +1003,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Fetches a @c GTLRDLP_GooglePrivacyDlpV2DiscoveryConfig. * - * Gets a Discovery configuration. + * Gets a discovery configuration. * * @param name Required. Resource name of the project and the configuration, * for example `projects/dlp-test-project/discoveryConfigs/53234423`. @@ -1015,7 +1015,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @end /** - * Lists Discovery configurations. + * Lists discovery configurations. * * Method: dlp.organizations.locations.discoveryConfigs.list * @@ -1026,8 +1026,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of config fields to order by, followed by `asc` or - * `desc` postfix. This list is case-insensitive, default sorting order is - * ascending, redundant space characters are insignificant. Example: `name + * `desc` postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name * asc,update_time, create_time desc` Supported fields are: - `last_run_time`: * corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds * to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's @@ -1035,11 +1035,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; */ @property(nonatomic, copy, nullable) NSString *orderBy; -/** Size of the page, can be limited by a server. */ +/** Size of the page. This value can be limited by a server. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * ListDiscoveryConfigs. `order_by` field must not change for subsequent calls. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -1056,7 +1056,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Fetches a @c GTLRDLP_GooglePrivacyDlpV2ListDiscoveryConfigsResponse. * - * Lists Discovery configurations. + * Lists discovery configurations. * * @param parent Required. Parent resource name. The format of this value is as * follows: `projects/`PROJECT_ID`/locations/`LOCATION_ID The following @@ -1075,7 +1075,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @end /** - * Updates a Discovery configuration. + * Updates a discovery configuration. * * Method: dlp.organizations.locations.discoveryConfigs.patch * @@ -1093,7 +1093,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Fetches a @c GTLRDLP_GooglePrivacyDlpV2DiscoveryConfig. * - * Updates a Discovery configuration. + * Updates a discovery configuration. * * @param object The @c GTLRDLP_GooglePrivacyDlpV2UpdateDiscoveryConfigRequest * to include in the query. @@ -1145,12 +1145,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name asc, end_time - * asc, create_time desc` Supported fields are: - `create_time`: corresponds to - * the time the job was created. - `end_time`: corresponds to the time the job - * ended. - `name`: corresponds to the job's name. - `state`: corresponds to - * `state` + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name asc, + * end_time asc, create_time desc` Supported fields are: - `create_time`: + * corresponds to the time the job was created. - `end_time`: corresponds to + * the time the job ended. - `name`: corresponds to the job's name. - `state`: + * corresponds to `state` */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -1359,8 +1359,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name * asc,update_time, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the template was created. - `update_time`: * corresponds to the time the template was last updated. - `name`: corresponds @@ -1370,13 +1370,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Size of the page, can be limited by the server. If zero server returns a - * page of max size 100. + * Size of the page. This value can be limited by the server. If zero server + * returns a page of max size 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * `ListInspectTemplates`. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -1616,8 +1616,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of triggeredJob fields to order by, followed by `asc` - * or `desc` postfix. This list is case-insensitive, default sorting order is - * ascending, redundant space characters are insignificant. Example: `name + * or `desc` postfix. This list is case insensitive. The default sorting order + * is ascending. Redundant space characters are insignificant. Example: `name * asc,update_time, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the JobTrigger was created. - `update_time`: * corresponds to the time the JobTrigger was last updated. - `last_run_time`: @@ -1627,11 +1627,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; */ @property(nonatomic, copy, nullable) NSString *orderBy; -/** Size of the page, can be limited by a server. */ +/** Size of the page. This value can be limited by a server. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * ListJobTriggers. `order_by` field must not change for subsequent calls. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -1867,8 +1867,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name asc, + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name asc, * display_name, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the most recent version of the resource was created. * - `state`: corresponds to the state of the resource. - `name`: corresponds @@ -1877,13 +1877,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Size of the page, can be limited by the server. If zero server returns a - * page of max size 100. + * Size of the page. This value can be limited by the server. If zero server + * returns a page of max size 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * `ListStoredInfoTypes`. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -2112,8 +2112,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name asc, + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name asc, * display_name, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the most recent version of the resource was created. * - `state`: corresponds to the state of the resource. - `name`: corresponds @@ -2122,13 +2122,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Size of the page, can be limited by the server. If zero server returns a - * page of max size 100. + * Size of the page. This value can be limited by the server. If zero server + * returns a page of max size 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * `ListStoredInfoTypes`. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -2530,8 +2530,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name * asc,update_time, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the template was created. - `update_time`: * corresponds to the time the template was last updated. - `name`: corresponds @@ -2541,13 +2541,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Size of the page, can be limited by the server. If zero server returns a - * page of max size 100. + * Size of the page. This value can be limited by the server. If zero server + * returns a page of max size 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * `ListDeidentifyTemplates`. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -2831,12 +2831,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name asc, end_time - * asc, create_time desc` Supported fields are: - `create_time`: corresponds to - * the time the job was created. - `end_time`: corresponds to the time the job - * ended. - `name`: corresponds to the job's name. - `state`: corresponds to - * `state` + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name asc, + * end_time asc, create_time desc` Supported fields are: - `create_time`: + * corresponds to the time the job was created. - `end_time`: corresponds to + * the time the job ended. - `name`: corresponds to the job's name. - `state`: + * corresponds to `state` */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -3103,8 +3103,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name * asc,update_time, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the template was created. - `update_time`: * corresponds to the time the template was last updated. - `name`: corresponds @@ -3114,13 +3114,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Size of the page, can be limited by the server. If zero server returns a - * page of max size 100. + * Size of the page. This value can be limited by the server. If zero server + * returns a page of max size 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * `ListInspectTemplates`. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -3395,8 +3395,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of triggeredJob fields to order by, followed by `asc` - * or `desc` postfix. This list is case-insensitive, default sorting order is - * ascending, redundant space characters are insignificant. Example: `name + * or `desc` postfix. This list is case insensitive. The default sorting order + * is ascending. Redundant space characters are insignificant. Example: `name * asc,update_time, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the JobTrigger was created. - `update_time`: * corresponds to the time the JobTrigger was last updated. - `last_run_time`: @@ -3406,11 +3406,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; */ @property(nonatomic, copy, nullable) NSString *orderBy; -/** Size of the page, can be limited by a server. */ +/** Size of the page. This value can be limited by a server. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * ListJobTriggers. `order_by` field must not change for subsequent calls. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -3819,8 +3819,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name * asc,update_time, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the template was created. - `update_time`: * corresponds to the time the template was last updated. - `name`: corresponds @@ -3830,13 +3830,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Size of the page, can be limited by the server. If zero server returns a - * page of max size 100. + * Size of the page. This value can be limited by the server. If zero server + * returns a page of max size 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * `ListDeidentifyTemplates`. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -3928,7 +3928,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @end /** - * Creates a config for Discovery to scan and profile storage. + * Creates a config for discovery to scan and profile storage. * * Method: dlp.projects.locations.discoveryConfigs.create * @@ -3949,7 +3949,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Fetches a @c GTLRDLP_GooglePrivacyDlpV2DiscoveryConfig. * - * Creates a config for Discovery to scan and profile storage. + * Creates a config for discovery to scan and profile storage. * * @param object The @c GTLRDLP_GooglePrivacyDlpV2CreateDiscoveryConfigRequest * to include in the query. @@ -3967,7 +3967,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @end /** - * Deletes a Discovery configuration. + * Deletes a discovery configuration. * * Method: dlp.projects.locations.discoveryConfigs.delete * @@ -3985,7 +3985,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Fetches a @c GTLRDLP_GoogleProtobufEmpty. * - * Deletes a Discovery configuration. + * Deletes a discovery configuration. * * @param name Required. Resource name of the project and the config, for * example `projects/dlp-test-project/discoveryConfigs/53234423`. @@ -3997,7 +3997,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @end /** - * Gets a Discovery configuration. + * Gets a discovery configuration. * * Method: dlp.projects.locations.discoveryConfigs.get * @@ -4015,7 +4015,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Fetches a @c GTLRDLP_GooglePrivacyDlpV2DiscoveryConfig. * - * Gets a Discovery configuration. + * Gets a discovery configuration. * * @param name Required. Resource name of the project and the configuration, * for example `projects/dlp-test-project/discoveryConfigs/53234423`. @@ -4027,7 +4027,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @end /** - * Lists Discovery configurations. + * Lists discovery configurations. * * Method: dlp.projects.locations.discoveryConfigs.list * @@ -4038,8 +4038,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of config fields to order by, followed by `asc` or - * `desc` postfix. This list is case-insensitive, default sorting order is - * ascending, redundant space characters are insignificant. Example: `name + * `desc` postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name * asc,update_time, create_time desc` Supported fields are: - `last_run_time`: * corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds * to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's @@ -4047,11 +4047,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; */ @property(nonatomic, copy, nullable) NSString *orderBy; -/** Size of the page, can be limited by a server. */ +/** Size of the page. This value can be limited by a server. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * ListDiscoveryConfigs. `order_by` field must not change for subsequent calls. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -4068,7 +4068,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Fetches a @c GTLRDLP_GooglePrivacyDlpV2ListDiscoveryConfigsResponse. * - * Lists Discovery configurations. + * Lists discovery configurations. * * @param parent Required. Parent resource name. The format of this value is as * follows: `projects/`PROJECT_ID`/locations/`LOCATION_ID The following @@ -4087,7 +4087,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @end /** - * Updates a Discovery configuration. + * Updates a discovery configuration. * * Method: dlp.projects.locations.discoveryConfigs.patch * @@ -4105,7 +4105,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Fetches a @c GTLRDLP_GooglePrivacyDlpV2DiscoveryConfig. * - * Updates a Discovery configuration. + * Updates a discovery configuration. * * @param object The @c GTLRDLP_GooglePrivacyDlpV2UpdateDiscoveryConfigRequest * to include in the query. @@ -4378,12 +4378,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name asc, end_time - * asc, create_time desc` Supported fields are: - `create_time`: corresponds to - * the time the job was created. - `end_time`: corresponds to the time the job - * ended. - `name`: corresponds to the job's name. - `state`: corresponds to - * `state` + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name asc, + * end_time asc, create_time desc` Supported fields are: - `create_time`: + * corresponds to the time the job was created. - `end_time`: corresponds to + * the time the job ended. - `name`: corresponds to the job's name. - `state`: + * corresponds to `state` */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -4650,8 +4650,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name * asc,update_time, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the template was created. - `update_time`: * corresponds to the time the template was last updated. - `name`: corresponds @@ -4661,13 +4661,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Size of the page, can be limited by the server. If zero server returns a - * page of max size 100. + * Size of the page. This value can be limited by the server. If zero server + * returns a page of max size 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * `ListInspectTemplates`. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -4980,8 +4980,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of triggeredJob fields to order by, followed by `asc` - * or `desc` postfix. This list is case-insensitive, default sorting order is - * ascending, redundant space characters are insignificant. Example: `name + * or `desc` postfix. This list is case insensitive. The default sorting order + * is ascending. Redundant space characters are insignificant. Example: `name * asc,update_time, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the JobTrigger was created. - `update_time`: * corresponds to the time the JobTrigger was last updated. - `last_run_time`: @@ -4991,11 +4991,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; */ @property(nonatomic, copy, nullable) NSString *orderBy; -/** Size of the page, can be limited by a server. */ +/** Size of the page. This value can be limited by a server. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * ListJobTriggers. `order_by` field must not change for subsequent calls. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -5231,8 +5231,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name asc, + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name asc, * display_name, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the most recent version of the resource was created. * - `state`: corresponds to the state of the resource. - `name`: corresponds @@ -5241,13 +5241,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Size of the page, can be limited by the server. If zero server returns a - * page of max size 100. + * Size of the page. This value can be limited by the server. If zero server + * returns a page of max size 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * `ListStoredInfoTypes`. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -5476,8 +5476,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; /** * Comma separated list of fields to order by, followed by `asc` or `desc` - * postfix. This list is case-insensitive, default sorting order is ascending, - * redundant space characters are insignificant. Example: `name asc, + * postfix. This list is case insensitive. The default sorting order is + * ascending. Redundant space characters are insignificant. Example: `name asc, * display_name, create_time desc` Supported fields are: - `create_time`: * corresponds to the time the most recent version of the resource was created. * - `state`: corresponds to the state of the resource. - `name`: corresponds @@ -5486,13 +5486,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Size of the page, can be limited by the server. If zero server returns a - * page of max size 100. + * Size of the page. This value can be limited by the server. If zero server + * returns a page of max size 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token to continue retrieval. Comes from previous call to + * Page token to continue retrieval. Comes from the previous call to * `ListStoredInfoTypes`. */ @property(nonatomic, copy, nullable) NSString *pageToken; diff --git a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m index 5db467782..52efd8235 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m +++ b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m @@ -13,6 +13,11 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRDatabaseMigrationService_AlloyDbSettings.databaseVersion +NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_DatabaseVersionUnspecified = @"DATABASE_VERSION_UNSPECIFIED"; +NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres14 = @"POSTGRES_14"; +NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres15 = @"POSTGRES_15"; + // GTLRDatabaseMigrationService_AuditLogConfig.logType NSString * const kGTLRDatabaseMigrationService_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; NSString * const kGTLRDatabaseMigrationService_AuditLogConfig_LogType_DataRead = @"DATA_READ"; @@ -45,6 +50,15 @@ NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql56 = @"MYSQL_5_6"; NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql57 = @"MYSQL_5_7"; NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql80 = @"MYSQL_8_0"; +NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8018 = @"MYSQL_8_0_18"; +NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8026 = @"MYSQL_8_0_26"; +NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8027 = @"MYSQL_8_0_27"; +NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8028 = @"MYSQL_8_0_28"; +NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8030 = @"MYSQL_8_0_30"; +NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8031 = @"MYSQL_8_0_31"; +NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8032 = @"MYSQL_8_0_32"; +NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8033 = @"MYSQL_8_0_33"; +NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8034 = @"MYSQL_8_0_34"; NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres10 = @"POSTGRES_10"; NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres11 = @"POSTGRES_11"; NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres12 = @"POSTGRES_12"; @@ -395,8 +409,8 @@ @implementation GTLRDatabaseMigrationService_AlloyDbConnectionProfile // @implementation GTLRDatabaseMigrationService_AlloyDbSettings -@dynamic encryptionConfig, initialUser, labels, primaryInstanceSettings, - vpcNetwork; +@dynamic databaseVersion, encryptionConfig, initialUser, labels, + primaryInstanceSettings, vpcNetwork; @end @@ -862,6 +876,15 @@ @implementation GTLRDatabaseMigrationService_DataCacheConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_DemoteDestinationRequest +// + +@implementation GTLRDatabaseMigrationService_DemoteDestinationRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRDatabaseMigrationService_DescribeConversionWorkspaceRevisionsResponse @@ -1694,8 +1717,9 @@ @implementation GTLRDatabaseMigrationService_Position // @implementation GTLRDatabaseMigrationService_PostgreSqlConnectionProfile -@dynamic cloudSqlId, host, networkArchitecture, password, passwordSet, port, - privateServiceConnectConnectivity, ssl, staticIpConnectivity, username; +@dynamic alloydbClusterId, cloudSqlId, host, networkArchitecture, password, + passwordSet, port, privateServiceConnectConnectivity, ssl, + staticIpConnectivity, username; @end diff --git a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceQuery.m b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceQuery.m index 2614dc552..db5b684ad 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceQuery.m +++ b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceQuery.m @@ -819,6 +819,33 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsDemoteDestination + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDatabaseMigrationService_DemoteDestinationRequest *)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}:demoteDestination"; + GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsDemoteDestination *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDatabaseMigrationService_Operation class]; + query.loggingName = @"datamigration.projects.locations.migrationJobs.demoteDestination"; + return query; +} + +@end + @implementation GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsGenerateSshScript @dynamic migrationJob; diff --git a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h index d369924bf..49f8c7345 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h @@ -150,6 +150,28 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRDatabaseMigrationService_AlloyDbSettings.databaseVersion + +/** + * This is an unknown database version. + * + * Value: "DATABASE_VERSION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_DatabaseVersionUnspecified; +/** + * The database version is Postgres 14. + * + * Value: "POSTGRES_14" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres14; +/** + * The database version is Postgres 15. + * + * Value: "POSTGRES_15" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres15; + // ---------------------------------------------------------------------------- // GTLRDatabaseMigrationService_AuditLogConfig.logType @@ -301,6 +323,60 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSetting * Value: "MYSQL_8_0" */ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql80; +/** + * The database major version is MySQL 8.0 and the minor version is 18. + * + * Value: "MYSQL_8_0_18" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8018; +/** + * The database major version is MySQL 8.0 and the minor version is 26. + * + * Value: "MYSQL_8_0_26" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8026; +/** + * The database major version is MySQL 8.0 and the minor version is 27. + * + * Value: "MYSQL_8_0_27" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8027; +/** + * The database major version is MySQL 8.0 and the minor version is 28. + * + * Value: "MYSQL_8_0_28" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8028; +/** + * The database major version is MySQL 8.0 and the minor version is 30. + * + * Value: "MYSQL_8_0_30" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8030; +/** + * The database major version is MySQL 8.0 and the minor version is 31. + * + * Value: "MYSQL_8_0_31" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8031; +/** + * The database major version is MySQL 8.0 and the minor version is 32. + * + * Value: "MYSQL_8_0_32" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8032; +/** + * The database major version is MySQL 8.0 and the minor version is 33. + * + * Value: "MYSQL_8_0_33" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8033; +/** + * The database major version is MySQL 8.0 and the minor version is 34. + * + * Value: "MYSQL_8_0_34" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8034; /** * PostgreSQL 10. * @@ -2061,6 +2137,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @interface GTLRDatabaseMigrationService_AlloyDbSettings : GTLRObject +/** + * Optional. The database engine major version. This is an optional field. If a + * database version is not supplied at cluster creation time, then a default + * database version will be used. + * + * Likely values: + * @arg @c kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_DatabaseVersionUnspecified + * This is an unknown database version. (Value: + * "DATABASE_VERSION_UNSPECIFIED") + * @arg @c kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres14 + * The database version is Postgres 14. (Value: "POSTGRES_14") + * @arg @c kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres15 + * The database version is Postgres 15. (Value: "POSTGRES_15") + */ +@property(nonatomic, copy, nullable) NSString *databaseVersion; + /** * Optional. The encryption config can be specified to encrypt the data disks * and other persistent data resources of a cluster with a customer-managed @@ -2505,6 +2597,33 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter * MySQL 5.7. (Value: "MYSQL_5_7") * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql80 * MySQL 8.0. (Value: "MYSQL_8_0") + * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8018 + * The database major version is MySQL 8.0 and the minor version is 18. + * (Value: "MYSQL_8_0_18") + * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8026 + * The database major version is MySQL 8.0 and the minor version is 26. + * (Value: "MYSQL_8_0_26") + * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8027 + * The database major version is MySQL 8.0 and the minor version is 27. + * (Value: "MYSQL_8_0_27") + * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8028 + * The database major version is MySQL 8.0 and the minor version is 28. + * (Value: "MYSQL_8_0_28") + * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8030 + * The database major version is MySQL 8.0 and the minor version is 30. + * (Value: "MYSQL_8_0_30") + * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8031 + * The database major version is MySQL 8.0 and the minor version is 31. + * (Value: "MYSQL_8_0_31") + * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8032 + * The database major version is MySQL 8.0 and the minor version is 32. + * (Value: "MYSQL_8_0_32") + * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8033 + * The database major version is MySQL 8.0 and the minor version is 33. + * (Value: "MYSQL_8_0_33") + * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8034 + * The database major version is MySQL 8.0 and the minor version is 34. + * (Value: "MYSQL_8_0_34") * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres10 * PostgreSQL 10. (Value: "POSTGRES_10") * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres11 @@ -3389,6 +3508,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter @end +/** + * Request message for 'DemoteDestination' request. + */ +@interface GTLRDatabaseMigrationService_DemoteDestinationRequest : GTLRObject +@end + + /** * Response message for 'DescribeConversionWorkspaceRevisions' request. */ @@ -5498,6 +5624,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @interface GTLRDatabaseMigrationService_PostgreSqlConnectionProfile : GTLRObject +/** + * Optional. If the destination is an AlloyDB database, use this field to + * provide the AlloyDB cluster ID. + */ +@property(nonatomic, copy, nullable) NSString *alloydbClusterId; + /** * If the source is a Cloud SQL database, use this field to provide the Cloud * SQL instance ID of the source. diff --git a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h index 03297181d..64a953d94 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h @@ -1612,6 +1612,39 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationServiceViewDatabaseEnti @end +/** + * Demotes the destination database to become a read replica of the source. + * This is applicable for the following migrations: 1. MySQL to Cloud SQL (for + * MySQL) 2. PostgreSQL to Cloud SQL (for PostgreSQL) 3. PostgreSQL to AlloyDB. + * + * Method: datamigration.projects.locations.migrationJobs.demoteDestination + * + * Authorization scope(s): + * @c kGTLRAuthScopeDatabaseMigrationServiceCloudPlatform + */ +@interface GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsDemoteDestination : GTLRDatabaseMigrationServiceQuery + +/** Name of the migration job resource to demote its destination. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDatabaseMigrationService_Operation. + * + * Demotes the destination database to become a read replica of the source. + * This is applicable for the following migrations: 1. MySQL to Cloud SQL (for + * MySQL) 2. PostgreSQL to Cloud SQL (for PostgreSQL) 3. PostgreSQL to AlloyDB. + * + * @param object The @c GTLRDatabaseMigrationService_DemoteDestinationRequest + * to include in the query. + * @param name Name of the migration job resource to demote its destination. + * + * @return GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsDemoteDestination + */ ++ (instancetype)queryWithObject:(GTLRDatabaseMigrationService_DemoteDestinationRequest *)object + name:(NSString *)name; + +@end + /** * Generate a SSH configuration script to configure the reverse SSH * connectivity. diff --git a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h index 32191fc92..7bcad86f4 100644 --- a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h +++ b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h @@ -3965,11 +3965,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution @property(nonatomic, copy, nullable) NSString *replaceJobId; /** - * The job's requested state. `UpdateJob` may be used to switch between the - * `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting - * requested_state. `UpdateJob` may also be used to directly set a job's - * requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably - * terminating the job if it has not already reached a terminal state. + * The job's requested state. Applies to `UpdateJob` requests. Set + * `requested_state` with `UpdateJob` requests to switch between the states + * `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING`. You can also use `UpdateJob` + * requests to change a job's state from `JOB_STATE_RUNNING` to + * `JOB_STATE_CANCELLED`, `JOB_STATE_DONE`, or `JOB_STATE_DRAINED`. These + * states irrevocably terminate the job if it hasn't already reached a terminal + * state. This field has no effect on `CreateJob` requests. * * Likely values: * @arg @c kGTLRDataflow_Job_RequestedState_JobStateCancelled diff --git a/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m b/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m index 4e604a8d5..32c3bf713 100644 --- a/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m +++ b/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m @@ -313,6 +313,16 @@ @implementation GTLRDataform_DirectoryEntry @end +// ---------------------------------------------------------------------------- +// +// GTLRDataform_DirectorySearchResult +// + +@implementation GTLRDataform_DirectorySearchResult +@dynamic path; +@end + + // ---------------------------------------------------------------------------- // // GTLRDataform_Empty @@ -425,6 +435,16 @@ @implementation GTLRDataform_FileOperation @end +// ---------------------------------------------------------------------------- +// +// GTLRDataform_FileSearchResult +// + +@implementation GTLRDataform_FileSearchResult +@dynamic path; +@end + + // ---------------------------------------------------------------------------- // // GTLRDataform_GitRemoteSettings @@ -1122,6 +1142,38 @@ @implementation GTLRDataform_ScheduledReleaseRecord @end +// ---------------------------------------------------------------------------- +// +// GTLRDataform_SearchFilesResponse +// + +@implementation GTLRDataform_SearchFilesResponse +@dynamic nextPageToken, searchResults; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"searchResults" : [GTLRDataform_SearchResult class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"searchResults"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDataform_SearchResult +// + +@implementation GTLRDataform_SearchResult +@dynamic directory, file; +@end + + // ---------------------------------------------------------------------------- // // GTLRDataform_SetIamPolicyRequest @@ -1255,8 +1307,8 @@ @implementation GTLRDataform_WorkflowConfig // @implementation GTLRDataform_WorkflowInvocation -@dynamic compilationResult, invocationConfig, invocationTiming, name, state, - workflowConfig; +@dynamic compilationResult, invocationConfig, invocationTiming, name, + resolvedCompilationResult, state, workflowConfig; @end diff --git a/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m b/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m index b6db4de1a..1cf8a2ae3 100644 --- a/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m +++ b/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m @@ -1350,6 +1350,25 @@ + (instancetype)queryWithObject:(GTLRDataform_ResetWorkspaceChangesRequest *)obj @end +@implementation GTLRDataformQuery_ProjectsLocationsRepositoriesWorkspacesSearchFiles + +@dynamic filter, pageSize, pageToken, workspace; + ++ (instancetype)queryWithWorkspace:(NSString *)workspace { + NSArray *pathParams = @[ @"workspace" ]; + NSString *pathURITemplate = @"v1beta1/{+workspace}:searchFiles"; + GTLRDataformQuery_ProjectsLocationsRepositoriesWorkspacesSearchFiles *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.workspace = workspace; + query.expectedObjectClass = [GTLRDataform_SearchFilesResponse class]; + query.loggingName = @"dataform.projects.locations.repositories.workspaces.searchFiles"; + return query; +} + +@end + @implementation GTLRDataformQuery_ProjectsLocationsRepositoriesWorkspacesSetIamPolicy @dynamic resource; diff --git a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h index 3c8284508..d41482f7a 100644 --- a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h +++ b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h @@ -31,8 +31,10 @@ @class GTLRDataform_Declaration; @class GTLRDataform_DeleteFile; @class GTLRDataform_DirectoryEntry; +@class GTLRDataform_DirectorySearchResult; @class GTLRDataform_Expr; @class GTLRDataform_FileOperation; +@class GTLRDataform_FileSearchResult; @class GTLRDataform_GitRemoteSettings; @class GTLRDataform_IncrementalTableConfig; @class GTLRDataform_Interval; @@ -51,6 +53,7 @@ @class GTLRDataform_Repository_Labels; @class GTLRDataform_ScheduledExecutionRecord; @class GTLRDataform_ScheduledReleaseRecord; +@class GTLRDataform_SearchResult; @class GTLRDataform_SshAuthenticationConfig; @class GTLRDataform_Status; @class GTLRDataform_Status_Details_Item; @@ -771,6 +774,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ @end +/** + * Client-facing representation of a directory entry in search results. + */ +@interface GTLRDataform_DirectorySearchResult : GTLRObject + +/** File system path relative to the workspace root. */ +@property(nonatomic, copy, nullable) NSString *path; + +@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 @@ -929,6 +943,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ @end +/** + * Client-facing representation of a file entry in search results. + */ +@interface GTLRDataform_FileSearchResult : GTLRObject + +/** File system path relative to the workspace root. */ +@property(nonatomic, copy, nullable) NSString *path; + +@end + + /** * Controls Git remote configuration for a repository. */ @@ -2129,6 +2154,47 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ @end +/** + * Client-facing representation of a file search response. + * + * @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 GTLRDataform_SearchFilesResponse : GTLRCollectionObject + +/** + * Optional. 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 matched results. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *searchResults; + +@end + + +/** + * Client-facing representation of a search result entry. + */ +@interface GTLRDataform_SearchResult : GTLRObject + +/** Details when search result is a directory. */ +@property(nonatomic, strong, nullable) GTLRDataform_DirectorySearchResult *directory; + +/** Details when search result is a file. */ +@property(nonatomic, strong, nullable) GTLRDataform_FileSearchResult *file; + +@end + + /** * Request message for `SetIamPolicy` method. */ @@ -2349,6 +2415,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ /** Output only. The workflow invocation's name. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. The resolved compilation result that was used to create this + * invocation. Will be in the format `projects/ * /locations/ * /repositories/ + * * /compilationResults/ *`. + */ +@property(nonatomic, copy, nullable) NSString *resolvedCompilationResult; + /** * Output only. This workflow invocation's current state. * diff --git a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h index db289202b..e7c23e324 100644 --- a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h +++ b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h @@ -2190,6 +2190,57 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Finds the contents of a given Workspace directory by filter. + * + * Method: dataform.projects.locations.repositories.workspaces.searchFiles + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataformCloudPlatform + */ +@interface GTLRDataformQuery_ProjectsLocationsRepositoriesWorkspacesSearchFiles : GTLRDataformQuery + +/** + * Optional. Optional filter for the returned list in go/filtering format. + * Filtering is only currently supported on the `path` field. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Maximum number of search results to return. The server may return + * fewer items than requested. If unspecified, the server will pick an + * appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. Page token received from a previous `SearchFilesRequest` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `SearchFilesRequest` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The workspace's name. */ +@property(nonatomic, copy, nullable) NSString *workspace; + +/** + * Fetches a @c GTLRDataform_SearchFilesResponse. + * + * Finds the contents of a given Workspace directory by filter. + * + * @param workspace Required. The workspace's name. + * + * @return GTLRDataformQuery_ProjectsLocationsRepositoriesWorkspacesSearchFiles + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithWorkspace:(NSString *)workspace; + +@end + /** * Sets the access control policy on the specified resource. Replaces any * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and diff --git a/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m b/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m index c300ec655..d7900b145 100644 --- a/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m +++ b/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m @@ -50,6 +50,11 @@ NSString * const kGTLRDataproc_ClusterStatus_Substate_Unhealthy = @"UNHEALTHY"; NSString * const kGTLRDataproc_ClusterStatus_Substate_Unspecified = @"UNSPECIFIED"; +// GTLRDataproc_DiagnoseClusterRequest.tarballAccess +NSString * const kGTLRDataproc_DiagnoseClusterRequest_TarballAccess_GoogleCloudSupport = @"GOOGLE_CLOUD_SUPPORT"; +NSString * const kGTLRDataproc_DiagnoseClusterRequest_TarballAccess_GoogleDataprocDiagnose = @"GOOGLE_DATAPROC_DIAGNOSE"; +NSString * const kGTLRDataproc_DiagnoseClusterRequest_TarballAccess_TarballAccessUnspecified = @"TARBALL_ACCESS_UNSPECIFIED"; + // GTLRDataproc_GceClusterConfig.privateIpv6GoogleAccess NSString * const kGTLRDataproc_GceClusterConfig_PrivateIpv6GoogleAccess_Bidirectional = @"BIDIRECTIONAL"; NSString * const kGTLRDataproc_GceClusterConfig_PrivateIpv6GoogleAccess_InheritFromSubnetwork = @"INHERIT_FROM_SUBNETWORK"; @@ -122,6 +127,7 @@ NSString * const kGTLRDataproc_NodeGroupOperationMetadata_OperationType_Create = @"CREATE"; NSString * const kGTLRDataproc_NodeGroupOperationMetadata_OperationType_Delete = @"DELETE"; NSString * const kGTLRDataproc_NodeGroupOperationMetadata_OperationType_NodeGroupOperationTypeUnspecified = @"NODE_GROUP_OPERATION_TYPE_UNSPECIFIED"; +NSString * const kGTLRDataproc_NodeGroupOperationMetadata_OperationType_Repair = @"REPAIR"; NSString * const kGTLRDataproc_NodeGroupOperationMetadata_OperationType_Resize = @"RESIZE"; NSString * const kGTLRDataproc_NodeGroupOperationMetadata_OperationType_Update = @"UPDATE"; @@ -609,8 +615,8 @@ @implementation GTLRDataproc_ConfidentialInstanceConfig // @implementation GTLRDataproc_DiagnoseClusterRequest -@dynamic diagnosisInterval, job, jobs, tarballGcsDir, yarnApplicationId, - yarnApplicationIds; +@dynamic diagnosisInterval, job, jobs, tarballAccess, tarballGcsDir, + yarnApplicationId, yarnApplicationIds; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -668,7 +674,7 @@ @implementation GTLRDataproc_Empty // @implementation GTLRDataproc_EncryptionConfig -@dynamic gcePdKmsKeyName; +@dynamic gcePdKmsKeyName, kmsKey; @end @@ -923,6 +929,16 @@ @implementation GTLRDataproc_GkeNodePoolTarget @end +// ---------------------------------------------------------------------------- +// +// GTLRDataproc_GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig +// + +@implementation GTLRDataproc_GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig +@dynamic kmsKey; +@end + + // ---------------------------------------------------------------------------- // // GTLRDataproc_HadoopJob @@ -1419,11 +1435,12 @@ + (NSString *)collectionItemsKey { // @implementation GTLRDataproc_ListJobsResponse -@dynamic jobs, nextPageToken; +@dynamic jobs, nextPageToken, unreachable; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"jobs" : [GTLRDataproc_Job class] + @"jobs" : [GTLRDataproc_Job class], + @"unreachable" : [NSString class] }; return map; } @@ -1507,11 +1524,12 @@ + (NSString *)collectionItemsKey { // @implementation GTLRDataproc_ListWorkflowTemplatesResponse -@dynamic nextPageToken, templates; +@dynamic nextPageToken, templates, unreachable; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"templates" : [GTLRDataproc_WorkflowTemplate class] + @"templates" : [GTLRDataproc_WorkflowTemplate class], + @"unreachable" : [NSString class] }; return map; } @@ -2729,7 +2747,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDataproc_UsageMetrics -@dynamic milliDcuSeconds, shuffleStorageGbSeconds; +@dynamic acceleratorType, milliAcceleratorSeconds, milliDcuSeconds, + shuffleStorageGbSeconds; @end @@ -2739,8 +2758,8 @@ @implementation GTLRDataproc_UsageMetrics // @implementation GTLRDataproc_UsageSnapshot -@dynamic milliDcu, milliDcuPremium, shuffleStorageGb, shuffleStorageGbPremium, - snapshotTime; +@dynamic acceleratorType, milliAccelerator, milliDcu, milliDcuPremium, + shuffleStorageGb, shuffleStorageGbPremium, snapshotTime; @end @@ -2845,8 +2864,8 @@ @implementation GTLRDataproc_WorkflowNode // @implementation GTLRDataproc_WorkflowTemplate -@dynamic createTime, dagTimeout, identifier, jobs, labels, name, parameters, - placement, updateTime, version; +@dynamic createTime, dagTimeout, encryptionConfig, identifier, jobs, labels, + name, parameters, placement, updateTime, version; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; diff --git a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h index 431771fcb..0e256e45f 100644 --- a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h +++ b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h @@ -58,6 +58,7 @@ @class GTLRDataproc_GkeNodePoolAutoscalingConfig; @class GTLRDataproc_GkeNodePoolConfig; @class GTLRDataproc_GkeNodePoolTarget; +@class GTLRDataproc_GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig; @class GTLRDataproc_HadoopJob; @class GTLRDataproc_HadoopJob_Properties; @class GTLRDataproc_HiveJob; @@ -369,6 +370,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_ClusterStatus_Substate_Unhealth */ FOUNDATION_EXTERN NSString * const kGTLRDataproc_ClusterStatus_Substate_Unspecified; +// ---------------------------------------------------------------------------- +// GTLRDataproc_DiagnoseClusterRequest.tarballAccess + +/** + * Google Cloud Support group has read access to the diagnostic tarball + * + * Value: "GOOGLE_CLOUD_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_DiagnoseClusterRequest_TarballAccess_GoogleCloudSupport; +/** + * Google Cloud Dataproc Diagnose service account has read access to the + * diagnostic tarball + * + * Value: "GOOGLE_DATAPROC_DIAGNOSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_DiagnoseClusterRequest_TarballAccess_GoogleDataprocDiagnose; +/** + * Tarball Access unspecified. Falls back to default access of the bucket + * + * Value: "TARBALL_ACCESS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_DiagnoseClusterRequest_TarballAccess_TarballAccessUnspecified; + // ---------------------------------------------------------------------------- // GTLRDataproc_GceClusterConfig.privateIpv6GoogleAccess @@ -756,6 +780,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_NodeGroupOperationMetadata_Oper * Value: "NODE_GROUP_OPERATION_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRDataproc_NodeGroupOperationMetadata_OperationType_NodeGroupOperationTypeUnspecified; +/** + * Repair node group operation type. + * + * Value: "REPAIR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_NodeGroupOperationMetadata_OperationType_Repair; /** * Resize node group operation type. * @@ -2140,6 +2170,23 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted */ @property(nonatomic, strong, nullable) NSArray *jobs; +/** + * Optional. (Optional) The access type to the diagnostic tarball. If not + * specified, falls back to default access of the bucket + * + * Likely values: + * @arg @c kGTLRDataproc_DiagnoseClusterRequest_TarballAccess_GoogleCloudSupport + * Google Cloud Support group has read access to the diagnostic tarball + * (Value: "GOOGLE_CLOUD_SUPPORT") + * @arg @c kGTLRDataproc_DiagnoseClusterRequest_TarballAccess_GoogleDataprocDiagnose + * Google Cloud Dataproc Diagnose service account has read access to the + * diagnostic tarball (Value: "GOOGLE_DATAPROC_DIAGNOSE") + * @arg @c kGTLRDataproc_DiagnoseClusterRequest_TarballAccess_TarballAccessUnspecified + * Tarball Access unspecified. Falls back to default access of the bucket + * (Value: "TARBALL_ACCESS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *tarballAccess; + /** * Optional. (Optional) The output Cloud Storage directory for the diagnostic * tarball. If not specified, a task-specific directory in the cluster's @@ -2263,6 +2310,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted */ @property(nonatomic, copy, nullable) NSString *gcePdKmsKeyName; +/** + * Optional. The Cloud KMS key name to use for encrypting customer core content + * in spanner and cluster PD disk for all instances in the cluster. + */ +@property(nonatomic, copy, nullable) NSString *kmsKey; + @end @@ -2882,6 +2935,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted @end +/** + * Encryption settings for the encrypting customer core content. NEXT ID: 2 + */ +@interface GTLRDataproc_GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig : GTLRObject + +/** + * Optional. The Cloud KMS key name to use for encrypting customer core + * content. + */ +@property(nonatomic, copy, nullable) NSString *kmsKey; + +@end + + /** * A Dataproc job for running Apache Hadoop MapReduce * (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) @@ -4076,6 +4143,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted */ @property(nonatomic, copy, nullable) NSString *nextPageToken; +/** + * Output only. List of jobs that could not be included in the response. + * Attempting to get one of these resources may indicate why it was not + * included in the list response. + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + @end @@ -4182,6 +4256,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted */ @property(nonatomic, strong, nullable) NSArray *templates; +/** + * Output only. List of workflow templates that could not be included in the + * response. Attempting to get one of these resources may indicate why it was + * not included in the list response. + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + @end @@ -4481,6 +4562,8 @@ GTLR_DEPRECATED * @arg @c kGTLRDataproc_NodeGroupOperationMetadata_OperationType_NodeGroupOperationTypeUnspecified * Node group operation type is unknown. (Value: * "NODE_GROUP_OPERATION_TYPE_UNSPECIFIED") + * @arg @c kGTLRDataproc_NodeGroupOperationMetadata_OperationType_Repair + * Repair node group operation type. (Value: "REPAIR") * @arg @c kGTLRDataproc_NodeGroupOperationMetadata_OperationType_Resize * Resize node group operation type. (Value: "RESIZE") * @arg @c kGTLRDataproc_NodeGroupOperationMetadata_OperationType_Update @@ -6498,6 +6581,17 @@ GTLR_DEPRECATED */ @interface GTLRDataproc_UsageMetrics : GTLRObject +/** Optional. Accelerator type being used, if any */ +@property(nonatomic, copy, nullable) NSString *acceleratorType; + +/** + * Optional. Accelerator usage in (milliAccelerator x seconds) (see Dataproc + * Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *milliAcceleratorSeconds; + /** * Optional. DCU (Dataproc Compute Units) usage in (milliDCU x seconds) (see * Dataproc Serverless pricing @@ -6524,6 +6618,17 @@ GTLR_DEPRECATED */ @interface GTLRDataproc_UsageSnapshot : GTLRObject +/** Optional. Accelerator type being used, if any */ +@property(nonatomic, copy, nullable) NSString *acceleratorType; + +/** + * Optional. Milli (one-thousandth) accelerator. (see Dataproc Serverless + * pricing (https://cloud.google.com/dataproc-serverless/pricing)) + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *milliAccelerator; + /** * Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc * Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). @@ -6776,6 +6881,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRDuration *dagTimeout; +/** Optional. Encryption settings for the encrypting customer core content. */ +@property(nonatomic, strong, nullable) GTLRDataproc_GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig *encryptionConfig; + /** * identifier * diff --git a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m index 21625831a..f29f5367e 100644 --- a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m +++ b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m @@ -303,6 +303,16 @@ @implementation GTLRDataprocMetastore_DatabaseDump @end +// ---------------------------------------------------------------------------- +// +// GTLRDataprocMetastore_DataCatalogConfig +// + +@implementation GTLRDataprocMetastore_DataCatalogConfig +@dynamic enabled; +@end + + // ---------------------------------------------------------------------------- // // GTLRDataprocMetastore_Empty @@ -697,6 +707,16 @@ @implementation GTLRDataprocMetastore_MetadataImport @end +// ---------------------------------------------------------------------------- +// +// GTLRDataprocMetastore_MetadataIntegration +// + +@implementation GTLRDataprocMetastore_MetadataIntegration +@dynamic dataCatalogConfig; +@end + + // ---------------------------------------------------------------------------- // // GTLRDataprocMetastore_MetadataManagementActivity @@ -869,7 +889,7 @@ @implementation GTLRDataprocMetastore_QueryMetadataResponse // @implementation GTLRDataprocMetastore_Restore -@dynamic backup, details, endTime, startTime, state, type; +@dynamic backup, backupLocation, details, endTime, startTime, state, type; @end @@ -911,9 +931,9 @@ @implementation GTLRDataprocMetastore_Secret @implementation GTLRDataprocMetastore_Service @dynamic artifactGcsUri, createTime, databaseType, encryptionConfig, endpointUri, hiveMetastoreConfig, labels, maintenanceWindow, - metadataManagementActivity, name, network, networkConfig, port, - releaseChannel, scalingConfig, state, stateMessage, telemetryConfig, - tier, uid, updateTime; + metadataIntegration, metadataManagementActivity, name, network, + networkConfig, port, releaseChannel, scalingConfig, state, + stateMessage, telemetryConfig, tier, uid, updateTime; @end diff --git a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h index 7a437973c..7a654f431 100644 --- a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h +++ b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h @@ -24,6 +24,7 @@ @class GTLRDataprocMetastore_Binding; @class GTLRDataprocMetastore_Consumer; @class GTLRDataprocMetastore_DatabaseDump; +@class GTLRDataprocMetastore_DataCatalogConfig; @class GTLRDataprocMetastore_EncryptionConfig; @class GTLRDataprocMetastore_ErrorDetails_Details; @class GTLRDataprocMetastore_Expr; @@ -41,6 +42,7 @@ @class GTLRDataprocMetastore_MaintenanceWindow; @class GTLRDataprocMetastore_MetadataExport; @class GTLRDataprocMetastore_MetadataImport; +@class GTLRDataprocMetastore_MetadataIntegration; @class GTLRDataprocMetastore_MetadataManagementActivity; @class GTLRDataprocMetastore_MultiRegionMetadata; @class GTLRDataprocMetastore_NetworkConfig; @@ -1048,6 +1050,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor @end +/** + * Specifies how metastore metadata should be integrated with the Data Catalog + * service. + */ +@interface GTLRDataprocMetastore_DataCatalogConfig : GTLRObject + +/** + * Optional. Defines whether the metastore metadata should be synced to Data + * Catalog. The default value is to disable syncing metastore metadata to Data + * Catalog. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +@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 @@ -1823,6 +1843,18 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor @end +/** + * Specifies how metastore metadata should be integrated with external + * services. + */ +@interface GTLRDataprocMetastore_MetadataIntegration : GTLRObject + +/** Optional. The integration config for the Data Catalog service. */ +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_DataCatalogConfig *dataCatalogConfig; + +@end + + /** * The metadata management activities of the metastore service. */ @@ -2137,6 +2169,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor */ @property(nonatomic, copy, nullable) NSString *backup; +/** + * Optional. A Cloud Storage URI specifying where the backup artifacts are + * stored, in the format gs:///. + */ +@property(nonatomic, copy, nullable) NSString *backupLocation; + /** * Output only. The restore details containing the revision of the service to * be restored to, in format of JSON. @@ -2331,6 +2369,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor */ @property(nonatomic, strong, nullable) GTLRDataprocMetastore_MaintenanceWindow *maintenanceWindow; +/** + * Optional. The setting that defines how metastore metadata should be + * integrated with external services and systems. + */ +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_MetadataIntegration *metadataIntegration; + /** * Output only. The metadata management activities of the metastore service. */ diff --git a/Sources/GeneratedServices/Datastream/GTLRDatastreamQuery.m b/Sources/GeneratedServices/Datastream/GTLRDatastreamQuery.m index 313905cae..8ffaf5700 100644 --- a/Sources/GeneratedServices/Datastream/GTLRDatastreamQuery.m +++ b/Sources/GeneratedServices/Datastream/GTLRDatastreamQuery.m @@ -666,17 +666,7 @@ + (instancetype)queryWithObject:(GTLRDatastream_StopBackfillJobRequest *)object @implementation GTLRDatastreamQuery_ProjectsLocationsStreamsPatch -@dynamic cdcStrategySpecificStartPositionMysqlLogPositionLogFile, - cdcStrategySpecificStartPositionMysqlLogPositionLogPosition, force, - name, requestId, updateMask, validateOnly; - -+ (NSDictionary *)parameterNameMap { - NSDictionary *map = @{ - @"cdcStrategySpecificStartPositionMysqlLogPositionLogFile" : @"cdcStrategy.specificStartPosition.mysqlLogPosition.logFile", - @"cdcStrategySpecificStartPositionMysqlLogPositionLogPosition" : @"cdcStrategy.specificStartPosition.mysqlLogPosition.logPosition" - }; - return map; -} +@dynamic force, name, requestId, updateMask, validateOnly; + (instancetype)queryWithObject:(GTLRDatastream_Stream *)object name:(NSString *)name { diff --git a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamQuery.h b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamQuery.h index 06d99f3a4..9fc94dfb5 100644 --- a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamQuery.h +++ b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamQuery.h @@ -1276,14 +1276,6 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRDatastreamQuery_ProjectsLocationsStreamsPatch : GTLRDatastreamQuery -/** Required. The binary log file name. */ -@property(nonatomic, copy, nullable) NSString *cdcStrategySpecificStartPositionMysqlLogPositionLogFile; - -/** - * Optional. The position within the binary log file. Default is head of file. - */ -@property(nonatomic, assign) NSInteger cdcStrategySpecificStartPositionMysqlLogPositionLogPosition; - /** Optional. Update the stream without validating it. */ @property(nonatomic, assign) BOOL force; diff --git a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m index 8363b6202..ba1ef5ab1 100644 --- a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m +++ b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m @@ -14,6 +14,11 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback.rating +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback_Rating_RatingUnspecified = @"RATING_UNSPECIFIED"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback_Rating_ThumbsDown = @"THUMBS_DOWN"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback_Rating_ThumbsUp = @"THUMBS_UP"; + // GTLRDialogflow_GoogleCloudDialogflowCxV3beta1ContinuousTestResult.result NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3beta1ContinuousTestResult_Result_AggregatedTestResultUnspecified = @"AGGREGATED_TEST_RESULT_UNSPECIFIED"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3beta1ContinuousTestResult_Result_Failed = @"FAILED"; @@ -700,11 +705,12 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3AdvancedSettingsLoggingS // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Agent -@dynamic advancedSettings, avatarUri, defaultLanguageCode, descriptionProperty, - displayName, enableSpellCorrection, enableStackdriverLogging, - genAppBuilderSettings, gitIntegrationSettings, locked, name, - securitySettings, speechToTextSettings, startFlow, - supportedLanguageCodes, textToSpeechSettings, timeZone; +@dynamic advancedSettings, answerFeedbackSettings, avatarUri, + defaultLanguageCode, descriptionProperty, displayName, + enableSpellCorrection, enableStackdriverLogging, genAppBuilderSettings, + gitIntegrationSettings, locked, name, securitySettings, + speechToTextSettings, startFlow, supportedLanguageCodes, + textToSpeechSettings, timeZone; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -720,6 +726,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Agent @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings +@dynamic enableAnswerFeedback; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings @@ -776,6 +792,34 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3AgentValidationResult @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback +@dynamic customRating, rating, ratingReason; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason +@dynamic feedback, reasonLabels; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"reasonLabels" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3AudioInput @@ -786,6 +830,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3AudioInput @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3BargeInConfig +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3BargeInConfig +@dynamic noBargeInDuration, totalDuration; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest @@ -898,6 +952,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1AudioInput @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3beta1BargeInConfig +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1BargeInConfig +@dynamic noBargeInDuration, totalDuration; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata @@ -1549,8 +1613,8 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1InlineDestination // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1InputAudioConfig -@dynamic audioEncoding, enableWordInfo, model, modelVariant, phraseHints, - sampleRateHertz, singleUtterance; +@dynamic audioEncoding, bargeInConfig, enableWordInfo, model, modelVariant, + phraseHints, sampleRateHertz, singleUtterance; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2342,6 +2406,53 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1WebhookServiceDirec @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpec +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpec +@dynamic conditionBoostSpecs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"conditionBoostSpecs" : [GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec +@dynamic boost, condition; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpecs +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpecs +@dynamic dataStores, spec; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dataStores" : [NSString class], + @"spec" : [GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpec class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3CalculateCoverageResponse @@ -2979,6 +3090,24 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3ExportTestCasesResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3FilterSpecs +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3FilterSpecs +@dynamic dataStores, filter; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dataStores" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3Flow @@ -3422,8 +3551,8 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSource // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig -@dynamic audioEncoding, enableWordInfo, model, modelVariant, phraseHints, - sampleRateHertz, singleUtterance; +@dynamic audioEncoding, bargeInConfig, enableWordInfo, model, modelVariant, + phraseHints, sampleRateHertz, singleUtterance; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4133,7 +4262,7 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3QueryInput @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3QueryParameters @dynamic analyzeQueryTextSentiment, channel, currentPage, disableWebhook, endUserMetadata, flowVersions, geoLocation, parameters, payload, - sessionEntityTypes, sessionTtl, timeZone, webhookHeaders; + searchConfig, sessionEntityTypes, sessionTtl, timeZone, webhookHeaders; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4208,10 +4337,11 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3QueryResult -@dynamic advancedSettings, currentPage, diagnosticInfo, dtmf, intent, - intentDetectionConfidence, languageCode, match, parameters, - responseMessages, sentimentAnalysisResult, text, transcript, - triggerEvent, triggerIntent, webhookPayloads, webhookStatuses; +@dynamic advancedSettings, allowAnswerFeedback, currentPage, diagnosticInfo, + dtmf, intent, intentDetectionConfidence, languageCode, match, + parameters, responseMessages, sentimentAnalysisResult, text, + transcript, triggerEvent, triggerIntent, webhookPayloads, + webhookStatuses; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4607,6 +4737,25 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3SafetySettingsPhrase @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3SearchConfig +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3SearchConfig +@dynamic boostSpecs, filterSpecs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"boostSpecs" : [GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpecs class], + @"filterSpecs" : [GTLRDialogflow_GoogleCloudDialogflowCxV3FilterSpecs class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3SecuritySettings @@ -4728,6 +4877,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3StopExperimentRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest +@dynamic answerFeedback, responseId, updateMask; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3SynthesizeSpeechConfig diff --git a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowQuery.m b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowQuery.m index 01e33027f..9545f24e5 100644 --- a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowQuery.m +++ b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowQuery.m @@ -1972,6 +1972,33 @@ + (instancetype)queryWithObject:(GTLRDialogflow_GoogleCloudDialogflowCxV3MatchIn @end +@implementation GTLRDialogflowQuery_ProjectsLocationsAgentsSessionsSubmitAnswerFeedback + +@dynamic session; + ++ (instancetype)queryWithObject:(GTLRDialogflow_GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest *)object + session:(NSString *)session { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"session" ]; + NSString *pathURITemplate = @"v3/{+session}:submitAnswerFeedback"; + GTLRDialogflowQuery_ProjectsLocationsAgentsSessionsSubmitAnswerFeedback *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.session = session; + query.expectedObjectClass = [GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback class]; + query.loggingName = @"dialogflow.projects.locations.agents.sessions.submitAnswerFeedback"; + return query; +} + +@end + @implementation GTLRDialogflowQuery_ProjectsLocationsAgentsTestCasesBatchDelete @dynamic parent; diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h index 6363f6911..1658af20f 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h @@ -19,14 +19,19 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3Agent; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3AgentGitIntegrationSettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason; @class GTLRDialogflow_GoogleCloudDialogflowCxV3AudioInput; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3BargeInConfig; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1AdvancedSettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1AudioInput; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1BargeInConfig; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1ContinuousTestResult; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1ConversationTurn; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput; @@ -105,6 +110,9 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1WebhookResponse_Payload; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpec; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpecs; @class GTLRDialogflow_GoogleCloudDialogflowCxV3Changelog; @class GTLRDialogflow_GoogleCloudDialogflowCxV3ContinuousTestResult; @class GTLRDialogflow_GoogleCloudDialogflowCxV3ConversationTurn; @@ -133,6 +141,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3ExperimentResultMetric; @class GTLRDialogflow_GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics; @class GTLRDialogflow_GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3FilterSpecs; @class GTLRDialogflow_GoogleCloudDialogflowCxV3Flow; @class GTLRDialogflow_GoogleCloudDialogflowCxV3FlowImportStrategy; @class GTLRDialogflow_GoogleCloudDialogflowCxV3FlowValidationResult; @@ -202,6 +211,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3RolloutState; @class GTLRDialogflow_GoogleCloudDialogflowCxV3SafetySettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3SafetySettingsPhrase; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3SearchConfig; @class GTLRDialogflow_GoogleCloudDialogflowCxV3SecuritySettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings; @@ -424,6 +434,28 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback.rating + +/** + * Rating not specified. + * + * Value: "RATING_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback_Rating_RatingUnspecified; +/** + * Thumbs down feedback from user. + * + * Value: "THUMBS_DOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback_Rating_ThumbsDown; +/** + * Thumbs up feedback from user. + * + * Value: "THUMBS_UP" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback_Rating_ThumbsUp; + // ---------------------------------------------------------------------------- // GTLRDialogflow_GoogleCloudDialogflowCxV3beta1ContinuousTestResult.result @@ -3807,6 +3839,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3AdvancedSettings *advancedSettings; +/** Optional. Answer feedback collection settings. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings *answerFeedbackSettings; + /** * The URI of the agent's avatar. Avatars are used throughout the Dialogflow * console and in the self-hosted [Web @@ -3912,6 +3947,23 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Settings for answer feedback collection. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings : GTLRObject + +/** + * Optional. If enabled, end users will be able to provide answer feedback to + * Dialogflow responses. Feature works only if interaction logging is enabled + * in the Dialogflow agent. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableAnswerFeedback; + +@end + + /** * Settings for Gen App Builder. */ @@ -3980,6 +4032,61 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Stores information about feedback provided by users about a response. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback : GTLRObject + +/** + * Optional. Custom rating from the user about the provided answer, with + * maximum length of 1024 characters. For example, client could use a + * customized JSON object to indicate the rating. + */ +@property(nonatomic, copy, nullable) NSString *customRating; + +/** + * Optional. Rating from user for the specific Dialogflow response. + * + * Likely values: + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback_Rating_RatingUnspecified + * Rating not specified. (Value: "RATING_UNSPECIFIED") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback_Rating_ThumbsDown + * Thumbs down feedback from user. (Value: "THUMBS_DOWN") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback_Rating_ThumbsUp + * Thumbs up feedback from user. (Value: "THUMBS_UP") + */ +@property(nonatomic, copy, nullable) NSString *rating; + +/** + * Optional. In case of thumbs down rating provided, users can optionally + * provide context about the rating. + */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason *ratingReason; + +@end + + +/** + * Stores extra information about why users provided thumbs down rating. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason : GTLRObject + +/** + * Optional. Additional feedback about the rating. This field can be populated + * without choosing a predefined `reason`. + */ +@property(nonatomic, copy, nullable) NSString *feedback; + +/** + * Optional. Custom reason labels for thumbs down rating provided by the user. + * The maximum number of labels allowed is 10 and the maximum length of a + * single label is 128 characters. + */ +@property(nonatomic, strong, nullable) NSArray *reasonLabels; + +@end + + /** * Represents the natural speech audio to be processed. */ @@ -4006,6 +4113,41 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Configuration of the barge-in behavior. Barge-in instructs the API to return + * a detected utterance at a proper time while the client is playing back the + * response audio from a previous request. When the client sees the utterance, + * it should stop the playback and immediately get ready for receiving the + * responses for the current request. The barge-in handling requires the client + * to start streaming audio input as soon as it starts playing back the audio + * from the previous response. The playback is modeled into two phases: * No + * barge-in phase: which goes first and during which speech detection should + * not be carried out. * Barge-in phase: which follows the no barge-in phase + * and during which the API starts speech detection and may inform the client + * that an utterance has been detected. Note that no-speech event is not + * expected in this phase. The client provides this configuration in terms of + * the durations of those two phases. The durations are measured in terms of + * the audio length fromt the the start of the input audio. The flow goes like + * below: --> Time without speech detection | utterance only | utterance or + * no-speech event | | +-------------+ | +------------+ | +---------------+ + * ----------+ no barge-in +-|-+ barge-in +-|-+ normal period +----------- + * +-------------+ | +------------+ | +---------------+ No-speech event is a + * response with END_OF_UTTERANCE without any transcript following up. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3BargeInConfig : GTLRObject + +/** + * Duration that is not eligible for barge-in at the beginning of the input + * audio. + */ +@property(nonatomic, strong, nullable) GTLRDuration *noBargeInDuration; + +/** Total duration for the playback at the beginning of the input audio. */ +@property(nonatomic, strong, nullable) GTLRDuration *totalDuration; + +@end + + /** * The request message for TestCases.BatchDeleteTestCases. */ @@ -4176,6 +4318,41 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Configuration of the barge-in behavior. Barge-in instructs the API to return + * a detected utterance at a proper time while the client is playing back the + * response audio from a previous request. When the client sees the utterance, + * it should stop the playback and immediately get ready for receiving the + * responses for the current request. The barge-in handling requires the client + * to start streaming audio input as soon as it starts playing back the audio + * from the previous response. The playback is modeled into two phases: * No + * barge-in phase: which goes first and during which speech detection should + * not be carried out. * Barge-in phase: which follows the no barge-in phase + * and during which the API starts speech detection and may inform the client + * that an utterance has been detected. Note that no-speech event is not + * expected in this phase. The client provides this configuration in terms of + * the durations of those two phases. The durations are measured in terms of + * the audio length fromt the the start of the input audio. The flow goes like + * below: --> Time without speech detection | utterance only | utterance or + * no-speech event | | +-------------+ | +------------+ | +---------------+ + * ----------+ no barge-in +-|-+ barge-in +-|-+ normal period +----------- + * +-------------+ | +------------+ | +---------------+ No-speech event is a + * response with END_OF_UTTERANCE without any transcript following up. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3beta1BargeInConfig : GTLRObject + +/** + * Duration that is not eligible for barge-in at the beginning of the input + * audio. + */ +@property(nonatomic, strong, nullable) GTLRDuration *noBargeInDuration; + +/** Total duration for the playback at the beginning of the input audio. */ +@property(nonatomic, strong, nullable) GTLRDuration *totalDuration; + +@end + + /** * Metadata returned for the TestCases.BatchRunTestCases long running * operation. @@ -5216,6 +5393,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, copy, nullable) NSString *audioEncoding; +/** Configuration of barge-in behavior during the streaming of input audio. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3beta1BargeInConfig *bargeInConfig; + /** * Optional. If `true`, Dialogflow returns SpeechWordInfo in * StreamingRecognitionResult with information about the recognized speech @@ -6981,6 +7161,78 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Boost specification to boost certain documents. A copy of + * google.cloud.discoveryengine.v1main.BoostSpec, field documentation is + * available at + * https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpec : GTLRObject + +/** + * Optional. Condition boost specifications. If a document matches multiple + * conditions in the specifictions, boost scores from these specifications are + * all applied and combined in a non-linear way. Maximum number of + * specifications is 20. + */ +@property(nonatomic, strong, nullable) NSArray *conditionBoostSpecs; + +@end + + +/** + * Boost applies to documents which match a condition. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec : GTLRObject + +/** + * Optional. Strength of the condition boost, which should be in [-1, 1]. + * Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the + * document a big promotion. However, it does not necessarily mean that the + * boosted document will be the top result at all times, nor that other + * documents will be excluded. Results could still be shown even when none of + * them matches the condition. And results that are significantly more relevant + * to the search query can still trump your heavily favored but irrelevant + * documents. Setting to -1.0 gives the document a big demotion. However, + * results that are deeply relevant might still be shown. The document will + * have an upstream battle to get a fairly high ranking, but it is not blocked + * out completely. Setting to 0.0 means no boost applied. The boosting + * condition is ignored. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *boost; + +/** + * Optional. An expression which specifies a boost condition. The syntax and + * supported fields are the same as a filter expression. Examples: * To boost + * documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * + * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue")) + */ +@property(nonatomic, copy, nullable) NSString *condition; + +@end + + +/** + * Boost specifications for data stores. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3BoostSpecs : GTLRObject + +/** + * Optional. Data Stores where the boosting configuration is applied. The full + * names of the referenced data stores. Formats: + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` + * `projects/{project}/locations/{location}/dataStores/{data_store} + */ +@property(nonatomic, strong, nullable) NSArray *dataStores; + +/** Optional. A list of boosting specifications. */ +@property(nonatomic, strong, nullable) NSArray *spec; + +@end + + /** * The response message for TestCases.CalculateCoverage. */ @@ -8372,6 +8624,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Filter specifications for data stores. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3FilterSpecs : GTLRObject + +/** + * Optional. Data Stores where the boosting configuration is applied. The full + * names of the referenced data stores. Formats: + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` + * `projects/{project}/locations/{location}/dataStores/{data_store} + */ +@property(nonatomic, strong, nullable) NSArray *dataStores; + +/** + * Optional. The filter expression to be applied. Expression syntax is + * documented at + * https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax + */ +@property(nonatomic, copy, nullable) NSString *filter; + +@end + + /** * Flows represents the conversation flows when you build your chatbot agent. A * flow consists of many pages connected by the transition routes. @@ -9263,6 +9538,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, copy, nullable) NSString *audioEncoding; +/** Configuration of barge-in behavior during the streaming of input audio. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3BargeInConfig *bargeInConfig; + /** * Optional. If `true`, Dialogflow returns SpeechWordInfo in * StreamingRecognitionResult with information about the recognized speech @@ -10734,6 +11012,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3QueryParameters_Payload *payload; +/** Optional. Search configuration for UCS search queries. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3SearchConfig *searchConfig; + /** * Additional session entity types to replace or extend developer entity types * with. The entity synonyms apply to all languages and persist for the session @@ -10859,6 +11140,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3AdvancedSettings *advancedSettings; +/** + * Indicates whether the Thumbs up/Thumbs down rating controls are need to be + * shown for the response in the Dialogflow Messenger widget. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowAnswerFeedback; + /** * The current Page. Some, not all fields are filled in this message, including * but not limited to `name` and `display_name`. @@ -11604,6 +11893,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Search configuration for UCS search queries. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3SearchConfig : GTLRObject + +/** Optional. Boosting configuration for the datastores. */ +@property(nonatomic, strong, nullable) NSArray *boostSpecs; + +/** Optional. Filter configuration for the datastores. */ +@property(nonatomic, strong, nullable) NSArray *filterSpecs; + +@end + + /** * Represents the settings related to security issues, such as data redaction * and data retention. It may take hours for updates on the settings to @@ -11940,6 +12243,31 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * The request to set the feedback for a bot answer. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest : GTLRObject + +/** Required. Feedback provided for a bot answer. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback *answerFeedback; + +/** + * Required. ID of the response to update its feedback. This is the same as + * DetectIntentResponse.response_id. + */ +@property(nonatomic, copy, nullable) NSString *responseId; + +/** + * Optional. The mask to control which fields to update. If the mask is not + * present, all fields will be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + /** * Configuration of how speech should be synthesized. */ diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h index 7d265d0d2..42ed9ee99 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h @@ -3894,6 +3894,39 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflowViewTestCaseViewUnspecified; @end +/** + * Updates the feedback received from the user for a single turn of the bot + * response. + * + * Method: dialogflow.projects.locations.agents.sessions.submitAnswerFeedback + * + * Authorization scope(s): + * @c kGTLRAuthScopeDialogflow + * @c kGTLRAuthScopeDialogflowCloudPlatform + */ +@interface GTLRDialogflowQuery_ProjectsLocationsAgentsSessionsSubmitAnswerFeedback : GTLRDialogflowQuery + +/** Required. The name of the session the feedback was sent to. */ +@property(nonatomic, copy, nullable) NSString *session; + +/** + * Fetches a @c GTLRDialogflow_GoogleCloudDialogflowCxV3AnswerFeedback. + * + * Updates the feedback received from the user for a single turn of the bot + * response. + * + * @param object The @c + * GTLRDialogflow_GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest to + * include in the query. + * @param session Required. The name of the session the feedback was sent to. + * + * @return GTLRDialogflowQuery_ProjectsLocationsAgentsSessionsSubmitAnswerFeedback + */ ++ (instancetype)queryWithObject:(GTLRDialogflow_GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest *)object + session:(NSString *)session; + +@end + /** * Batch deletes test cases. * diff --git a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m index a7e824616..ef68542e3 100644 --- a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m +++ b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m @@ -1808,7 +1808,27 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDirectory_UserEmail -@dynamic address, customType, primary, type; +@dynamic address, customType, primary, publicKeyEncryptionCertificates, type; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"publicKeyEncryptionCertificates" : @"public_key_encryption_certificates" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDirectory_UserEmail_PublicKeyEncryptionCertificates +// + +@implementation GTLRDirectory_UserEmail_PublicKeyEncryptionCertificates +@dynamic certificate, isDefault, state; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"isDefault" : @"is_default" }; +} + @end diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h index 4470644f7..ffd5de025 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h @@ -67,6 +67,7 @@ @class GTLRDirectory_User; @class GTLRDirectory_User_CustomSchemas; @class GTLRDirectory_UserCustomProperties; +@class GTLRDirectory_UserEmail_PublicKeyEncryptionCertificates; @class GTLRDirectory_UserName; @class GTLRDirectory_VerificationCode; @@ -4275,7 +4276,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** * The list of the user's email addresses. The maximum allowed data size for - * this field is 10KB. + * this field is 10KB. This excludes `publicKeyEncryptionCertificates`. * * Can be any valid JSON type. */ @@ -4702,6 +4703,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us */ @property(nonatomic, strong, nullable) NSNumber *primary; +/** + * Public Key Encryption Certificates. Current limit: 1 per email address, and + * 5 per user. + */ +@property(nonatomic, strong, nullable) GTLRDirectory_UserEmail_PublicKeyEncryptionCertificates *publicKeyEncryptionCertificates; + /** * Each entry can have a type which indicates standard types of that entry. For * example email could be of home, work etc. In addition to the standard type, @@ -4713,6 +4720,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us @end +/** + * Public Key Encryption Certificates. Current limit: 1 per email address, and + * 5 per user. + */ +@interface GTLRDirectory_UserEmail_PublicKeyEncryptionCertificates : GTLRObject + +/** + * X.509 encryption certificate in `PEM` format. Must only be an end-entity + * (leaf) certificate. + */ +@property(nonatomic, copy, nullable) NSString *certificate; + +/** + * Whether this is the default certificate for the given email address. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isDefault; + +/** + * Denotes the certificate's state in its lifecycle. Possible values are + * `not_yet_validated`, `valid`, `invalid`, `expired`, and `revoked`. + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * JSON template for an externalId entry. */ diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m index 235c3e8e7..804970b0f 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m @@ -13,6 +13,59 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore.contentConfig +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_ContentConfigUnspecified = @"CONTENT_CONFIG_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_ContentRequired = @"CONTENT_REQUIRED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_NoContent = @"NO_CONTENT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_PublicWebsite = @"PUBLIC_WEBSITE"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore.industryVertical +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_Generic = @"GENERIC"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_IndustryVerticalUnspecified = @"INDUSTRY_VERTICAL_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_Media = @"MEDIA"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore.solutionTypes +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_SolutionTypes_SolutionTypeChat = @"SOLUTION_TYPE_CHAT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_SolutionTypes_SolutionTypeRecommendation = @"SOLUTION_TYPE_RECOMMENDATION"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_SolutionTypes_SolutionTypeSearch = @"SOLUTION_TYPE_SEARCH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_SolutionTypes_SolutionTypeUnspecified = @"SOLUTION_TYPE_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine.industryVertical +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_Generic = @"GENERIC"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_IndustryVerticalUnspecified = @"INDUSTRY_VERTICAL_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_Media = @"MEDIA"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine.solutionType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeChat = @"SOLUTION_TYPE_CHAT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeRecommendation = @"SOLUTION_TYPE_RECOMMENDATION"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeSearch = @"SOLUTION_TYPE_SEARCH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeUnspecified = @"SOLUTION_TYPE_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig.trainingState +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_Paused = @"PAUSED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_Training = @"TRAINING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_TrainingStateUnspecified = @"TRAINING_STATE_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata.dataState +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataError = @"DATA_ERROR"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataOk = @"DATA_OK"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataStateUnspecified = @"DATA_STATE_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata.servingState +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Active = @"ACTIVE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Inactive = @"INACTIVE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_ServingStateUnspecified = @"SERVING_STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Tuned = @"TUNED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig.searchAddOns +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchAddOns_SearchAddOnLlm = @"SEARCH_ADD_ON_LLM"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchAddOns_SearchAddOnUnspecified = @"SEARCH_ADD_ON_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig.searchTier +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierEnterprise = @"SEARCH_TIER_ENTERPRISE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierStandard = @"SEARCH_TIER_STANDARD"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierUnspecified = @"SEARCH_TIER_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig.completableOption NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_CompletableOption_CompletableDisabled = @"COMPLETABLE_DISABLED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_CompletableOption_CompletableEnabled = @"COMPLETABLE_ENABLED"; @@ -228,6 +281,26 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingSourceLocat @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata +@dynamic createTime, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata @@ -238,6 +311,45 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateSchem @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore +@dynamic contentConfig, createTime, defaultSchemaId, displayName, + industryVertical, name, solutionTypes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"solutionTypes" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata +@dynamic createTime, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata @@ -248,6 +360,125 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSchem @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine +@dynamic chatEngineConfig, chatEngineMetadata, commonConfig, createTime, + dataStoreIds, displayName, industryVertical, + mediaRecommendationEngineConfig, name, recommendationMetadata, + searchEngineConfig, similarDocumentsConfig, solutionType, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dataStoreIds" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig +@dynamic agentCreationConfig, dialogflowAgentToLink; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig +@dynamic business, defaultLanguageCode, timeZone; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata +@dynamic dialogflowAgent; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineCommonConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineCommonConfig +@dynamic companyName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig +@dynamic optimizationObjective, optimizationObjectiveConfig, trainingState, + type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig +@dynamic targetField, targetFieldValueFloat; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata +@dynamic dataState, lastTuneTime, servingState, tuningOperation; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig +@dynamic searchAddOns, searchTier; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"searchAddOns" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig @@ -512,6 +743,25 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteF @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata +@dynamic engine; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTuneEngineResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTuneEngineResponse +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata @@ -1241,9 +1491,9 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchInfo // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest -@dynamic boostSpec, branch, contentSearchSpec, embeddingSpec, facetSpecs, - filter, imageQuery, offset, orderBy, pageSize, pageToken, params, - query, queryExpansionSpec, rankingExpression, safeSearch, +@dynamic boostSpec, branch, canonicalFilter, contentSearchSpec, embeddingSpec, + facetSpecs, filter, imageQuery, offset, orderBy, pageSize, pageToken, + params, query, queryExpansionSpec, rankingExpression, safeSearch, spellCorrectionSpec, userInfo, userLabels, userPseudoId; + (NSDictionary *)arrayPropertyToClassMap { diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m index 638ddd6ad..929d14851 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m @@ -16,6 +16,44 @@ @implementation GTLRDiscoveryEngineQuery @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataConnectorOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataConnectorOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleLongrunningOperation class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataConnector.operations.get"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataConnectorOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta/{+name}/operations"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataConnectorOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleLongrunningListOperationsResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataConnector.operations.list"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreate @dynamic documentId, parent; diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h index ef98569e4..eabfcee32 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h @@ -22,6 +22,15 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingImportErrorContext; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingServiceContext; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingSourceLocation; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineCommonConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo; @@ -111,6 +120,247 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore.contentConfig + +/** + * Default value. + * + * Value: "CONTENT_CONFIG_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_ContentConfigUnspecified; +/** + * Only contains documents with Document.content. + * + * Value: "CONTENT_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_ContentRequired; +/** + * Only contains documents without any Document.content. + * + * Value: "NO_CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_NoContent; +/** + * The data store is used for public website search. + * + * Value: "PUBLIC_WEBSITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_PublicWebsite; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore.industryVertical + +/** + * The generic vertical for documents that are not specific to any industry + * vertical. + * + * Value: "GENERIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_Generic; +/** + * Value used when unset. + * + * Value: "INDUSTRY_VERTICAL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_IndustryVerticalUnspecified; +/** + * The media industry vertical. + * + * Value: "MEDIA" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_Media; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore.solutionTypes + +/** + * Used for use cases related to the Generative AI agent. + * + * Value: "SOLUTION_TYPE_CHAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_SolutionTypes_SolutionTypeChat; +/** + * Used for Recommendations AI. + * + * Value: "SOLUTION_TYPE_RECOMMENDATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_SolutionTypes_SolutionTypeRecommendation; +/** + * Used for Discovery Search. + * + * Value: "SOLUTION_TYPE_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_SolutionTypes_SolutionTypeSearch; +/** + * Default value. + * + * Value: "SOLUTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_SolutionTypes_SolutionTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine.industryVertical + +/** + * The generic vertical for documents that are not specific to any industry + * vertical. + * + * Value: "GENERIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_Generic; +/** + * Value used when unset. + * + * Value: "INDUSTRY_VERTICAL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_IndustryVerticalUnspecified; +/** + * The media industry vertical. + * + * Value: "MEDIA" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_Media; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine.solutionType + +/** + * Used for use cases related to the Generative AI agent. + * + * Value: "SOLUTION_TYPE_CHAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeChat; +/** + * Used for Recommendations AI. + * + * Value: "SOLUTION_TYPE_RECOMMENDATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeRecommendation; +/** + * Used for Discovery Search. + * + * Value: "SOLUTION_TYPE_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeSearch; +/** + * Default value. + * + * Value: "SOLUTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig.trainingState + +/** + * The engine training is paused. + * + * Value: "PAUSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_Paused; +/** + * The engine is training. + * + * Value: "TRAINING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_Training; +/** + * Unspecified training state. + * + * Value: "TRAINING_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_TrainingStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata.dataState + +/** + * The engine does not have sufficient training data. Error messages can be + * queried via Stackdriver. + * + * Value: "DATA_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataError; +/** + * The engine has sufficient training data. + * + * Value: "DATA_OK" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataOk; +/** + * Unspecified default value, should never be explicitly set. + * + * Value: "DATA_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata.servingState + +/** + * The engine is serving and can be queried. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Active; +/** + * The engine is not serving. + * + * Value: "INACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Inactive; +/** + * Unspecified serving state. + * + * Value: "SERVING_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_ServingStateUnspecified; +/** + * The engine is trained on tuned hyperparameters and can be queried. + * + * Value: "TUNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Tuned; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig.searchAddOns + +/** + * Large language model add-on. + * + * Value: "SEARCH_ADD_ON_LLM" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchAddOns_SearchAddOnLlm; +/** + * Default value when the enum is unspecified. This is invalid to use. + * + * Value: "SEARCH_ADD_ON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchAddOns_SearchAddOnUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig.searchTier + +/** + * Enterprise tier. + * + * Value: "SEARCH_TIER_ENTERPRISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierEnterprise; +/** + * Standard tier. + * + * Value: "SEARCH_TIER_STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierStandard; +/** + * Default value when the enum is unspecified. This is invalid to use. + * + * Value: "SEARCH_TIER_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig.completableOption @@ -766,6 +1016,44 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Metadata related to the progress of the DataStoreService.CreateDataStore + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Metadata related to the progress of the EngineService.CreateEngine + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Metadata for Create Schema LRO. */ @@ -783,6 +1071,116 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * DataStore captures global settings and configs at the DataStore level. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore : GTLRObject + +/** + * Immutable. The content config of the data store. If this field is unset, the + * server behavior defaults to ContentConfig.NO_CONTENT. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_ContentConfigUnspecified + * Default value. (Value: "CONTENT_CONFIG_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_ContentRequired + * Only contains documents with Document.content. (Value: + * "CONTENT_REQUIRED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_NoContent + * Only contains documents without any Document.content. (Value: + * "NO_CONTENT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_PublicWebsite + * The data store is used for public website search. (Value: + * "PUBLIC_WEBSITE") + */ +@property(nonatomic, copy, nullable) NSString *contentConfig; + +/** Output only. Timestamp the DataStore was created at. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. The id of the default Schema asscociated to this data store. + */ +@property(nonatomic, copy, nullable) NSString *defaultSchemaId; + +/** + * Required. The data store display name. This field must be a UTF-8 encoded + * string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT + * error is returned. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Immutable. The industry vertical that the data store registers. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_Generic + * The generic vertical for documents that are not specific to any + * industry vertical. (Value: "GENERIC") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_IndustryVerticalUnspecified + * Value used when unset. (Value: "INDUSTRY_VERTICAL_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_Media + * The media industry vertical. (Value: "MEDIA") + */ +@property(nonatomic, copy, nullable) NSString *industryVertical; + +/** + * Immutable. 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. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The solutions that the data store enrolls. Available solutions for each + * industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and + * `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is + * automatically enrolled. Other solutions cannot be enrolled. + */ +@property(nonatomic, strong, nullable) NSArray *solutionTypes; + +@end + + +/** + * Metadata related to the progress of the DataStoreService.DeleteDataStore + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Metadata related to the progress of the EngineService.DeleteEngine + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Metadata for DeleteSchema LRO. */ @@ -800,6 +1198,373 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Metadata that describes the training and serving parameters of an Engine. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine : GTLRObject + +/** + * Configurations for the Chat Engine. Only applicable if solution_type is + * SOLUTION_TYPE_CHAT. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig *chatEngineConfig; + +/** + * Output only. Additional information of the Chat Engine. Only applicable if + * solution_type is SOLUTION_TYPE_CHAT. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata *chatEngineMetadata; + +/** Common config spec that specifies the metadata of the engine. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineCommonConfig *commonConfig; + +/** Output only. Timestamp the Recommendation Engine was created at. */ +@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 intializations. + */ +@property(nonatomic, strong, nullable) NSArray *dataStoreIds; + +/** + * Required. The display name of the engine. Should be human readable. UTF-8 + * encoded string with limit of 1024 characters. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * The industry vertical that the engine registers. The restriction of the + * Engine industry vertical is based on DataStore: If unspecified, default to + * `GENERIC`. Vertical on Engine has to match vertical of the DataStore liniked + * to the engine. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_Generic + * The generic vertical for documents that are not specific to any + * industry vertical. (Value: "GENERIC") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_IndustryVerticalUnspecified + * Value used when unset. (Value: "INDUSTRY_VERTICAL_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_Media + * The media industry vertical. (Value: "MEDIA") + */ +@property(nonatomic, copy, nullable) NSString *industryVertical; + +/** + * Configurations for the Media Engine. Only applicable on the data stores with + * solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA + * vertical. + */ +@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: + * `projects/{project_number}/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. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. Additional information of a recommendation engine. Only + * applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata *recommendationMetadata; + +/** + * Configurations for the Search Engine. Only applicable if solution_type is + * SOLUTION_TYPE_SEARCH. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig *searchEngineConfig; + +/** Additional config specs for a `similar-items` engine. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig *similarDocumentsConfig; + +/** + * Required. The solutions of the engine. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeChat + * Used for use cases related to the Generative AI agent. (Value: + * "SOLUTION_TYPE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeRecommendation + * Used for Recommendations AI. (Value: "SOLUTION_TYPE_RECOMMENDATION") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeSearch + * Used for Discovery Search. (Value: "SOLUTION_TYPE_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeUnspecified + * Default value. (Value: "SOLUTION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *solutionType; + +/** Output only. Timestamp the Recommendation Engine was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Configurations for a Chat Engine. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig : GTLRObject + +/** + * The configurationt generate the Dialogflow agent that is associated to this + * Engine. Note that these configurations are one-time consumed by and passed + * to Dialogflow service. It means they cannot be retrieved using + * EngineService.GetEngine or EngineService.ListEngines API after engine + * creation. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig *agentCreationConfig; + +/** + * The resource name of an exist Dialogflow agent to link to this Chat Engine. + * Customers can either provide `agent_creation_config` to create agent or + * provide an agent name that links the agent with the Chat engine. Format: + * `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are + * one-time consumed by and passed to Dialogflow service. It means they cannot + * be retrieved using EngineService.GetEngine or EngineService.ListEngines API + * after engine creation. Please use chat_engine_metadata.dialogflow_agent for + * actual agent association after Engine is created. + */ +@property(nonatomic, copy, nullable) NSString *dialogflowAgentToLink; + +@end + + +/** + * Configurations for generating a Dialogflow agent. Note that these + * configurations are one-time consumed by and passed to Dialogflow service. It + * means they cannot be retrieved using EngineService.GetEngine or + * EngineService.ListEngines API after engine creation. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig : GTLRObject + +/** + * Name of the company, organization or other entity that the agent represents. + * Used for knowledge connector LLM prompt and for knowledge search. + */ +@property(nonatomic, copy, nullable) NSString *business; + +/** + * Required. The default language of the agent as a language tag. See [Language + * Support](https://cloud.google.com/dialogflow/docs/reference/language) for a + * list of the currently supported language codes. + */ +@property(nonatomic, copy, nullable) NSString *defaultLanguageCode; + +/** + * Required. The time zone of the agent from the [time zone + * database](https://www.iana.org/time-zones), e.g., America/New_York, + * Europe/Paris. + */ +@property(nonatomic, copy, nullable) NSString *timeZone; + +@end + + +/** + * Additional information of a Chat Engine. Fields in this message are output + * only. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata : GTLRObject + +/** + * The resource name of a Dialogflow agent, that this Chat Engine refers to. + * Format: `projects//locations//agents/`. + */ +@property(nonatomic, copy, nullable) NSString *dialogflowAgent; + +@end + + +/** + * Common configurations for an Engine. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineCommonConfig : GTLRObject + +/** + * The name of the company, business or entity that is associated with the + * engine. Setting this may help improve LLM related features. + */ +@property(nonatomic, copy, nullable) NSString *companyName; + +@end + + +/** + * Additional config specs for a Media Recommendation engine. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig : GTLRObject + +/** + * The optimization objective e.g. `cvr`. This field together with + * optimization_objective describe engine metadata to use to control engine + * training and serving. Currently supported values: `ctr`, `cvr`. If not + * specified, we choose default based on engine type. Default depends on type + * of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => + * `ctr` + */ +@property(nonatomic, copy, nullable) NSString *optimizationObjective; + +/** + * Name and value of the custom threshold for cvr optimization_objective. For + * target_field `watch-time`, target_field_value must be an integer value + * indicating the media progress time in seconds between (0, 86400] (excludes + * 0, includes 86400) (e.g., 90). For target_field `watch-percentage`, the + * target_field_value must be a valid float value between (0, 1.0] (excludes 0, + * includes 1.0) (e.g., 0.5). + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig *optimizationObjectiveConfig; + +/** + * The training state that the engine is in (e.g. `TRAINING` or `PAUSED`). + * Since part of the cost of running the service is frequency of training - + * this can be used to determine when to train engine in order to control cost. + * If not specified: the default value for `CreateEngine` method is `TRAINING`. + * The default value for `UpdateEngine` method is to keep the state the same as + * before. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_Paused + * The engine training is paused. (Value: "PAUSED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_Training + * The engine is training. (Value: "TRAINING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_TrainingStateUnspecified + * Unspecified training state. (Value: "TRAINING_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *trainingState; + +/** + * Required. The type of engine e.g. `recommended-for-you`. This field together + * with optimization_objective describe engine metadata to use to control + * engine training and serving. Currently supported values: + * `recommended-for-you`, `others-you-may-like`, `more-like-this`, + * `most-popular-items`. + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * Custom threshold for `cvr` optimization_objective. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig : GTLRObject + +/** + * Required. The name of the field to target. Currently supported values: + * `watch-percentage`, `watch-time`. + */ +@property(nonatomic, copy, nullable) NSString *targetField; + +/** + * Required. The threshold to be applied to the target (e.g., 0.5). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *targetFieldValueFloat; + +@end + + +/** + * Additional information of a recommendation engine. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata : GTLRObject + +/** + * Output only. The state of data requirements for this engine: `DATA_OK` and + * `DATA_ERROR`. Engine cannot be trained if the data is in `DATA_ERROR` state. + * Engine can have `DATA_ERROR` state even if serving state is `ACTIVE`: + * engines were trained successfully before, but cannot be refreshed because + * the underlying engine no longer has sufficient data for training. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataError + * The engine does not have sufficient training data. Error messages can + * be queried via Stackdriver. (Value: "DATA_ERROR") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataOk + * The engine has sufficient training data. (Value: "DATA_OK") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataStateUnspecified + * Unspecified default value, should never be explicitly set. (Value: + * "DATA_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *dataState; + +/** + * Output only. The timestamp when the latest successful tune finished. Only + * applicable on Media Recommendation engines. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastTuneTime; + +/** + * Output only. The serving state of the engine: `ACTIVE`, `NOT_ACTIVE`. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Active + * The engine is serving and can be queried. (Value: "ACTIVE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Inactive + * The engine is not serving. (Value: "INACTIVE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_ServingStateUnspecified + * Unspecified serving state. (Value: "SERVING_STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Tuned + * The engine is trained on tuned hyperparameters and can be queried. + * (Value: "TUNED") + */ +@property(nonatomic, copy, nullable) NSString *servingState; + +/** + * Output only. The latest tune operation id associated with the engine. Only + * applicable on Media Recommendation engines. If present, this operation id + * can be used to determine if there is an ongoing tune for this engine. To + * check the operation status, send the GetOperation request with this + * operation id in the engine resource format. If no tuning has happened for + * this engine, the string is empty. + */ +@property(nonatomic, copy, nullable) NSString *tuningOperation; + +@end + + +/** + * Configurations for a Search Engine. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig : GTLRObject + +/** The add-on that this search engine enables. */ +@property(nonatomic, strong, nullable) NSArray *searchAddOns; + +/** + * The search feature tier of this engine. Different tiers might have different + * pricing. To learn more, please check the pricing documentation. Defaults to + * SearchTier.SEARCH_TIER_STANDARD if not specified. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierEnterprise + * Enterprise tier. (Value: "SEARCH_TIER_ENTERPRISE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierStandard + * Standard tier. (Value: "SEARCH_TIER_STANDARD") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierUnspecified + * Default value when the enum is unspecified. This is invalid to use. + * (Value: "SEARCH_TIER_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *searchTier; + +@end + + +/** + * Additional config specs for a `similar-items` engine. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig : GTLRObject +@end + + /** * Configurations for fields of a schema. For example, configuring a field is * indexable, or searchable. @@ -1493,6 +2258,27 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Metadata associated with a tune operation. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata : GTLRObject + +/** + * Required. The resource name of the engine that this tune applies to. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` + */ +@property(nonatomic, copy, nullable) NSString *engine; + +@end + + +/** + * Response associated with a tune operation. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTuneEngineResponse : GTLRObject +@end + + /** * Metadata for UpdateSchema LRO. */ @@ -2970,6 +3756,18 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *branch; +/** + * The default filter that is applied when a user performs a search without + * checking any filters on the search page. The filter applied to every search + * request when quality improvement such as query expansion is needed. In the + * case a query does not have a sufficient amount of results this filter will + * be used to determine whether or not to enable the query expansion flow. The + * original filter will still be used for the query expanded search. This field + * is strongly recommended to achieve high search quality. For more information + * about filter syntax, see SearchRequest.filter. + */ +@property(nonatomic, copy, nullable) NSString *canonicalFilter; + /** A specification for configuring the behavior of content search. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec *contentSearchSpec; @@ -3049,9 +3847,11 @@ GTLR_DEPRECATED * Additional search parameters. For public website search only, supported * values are: * `user_country_code`: string. Default empty. If set to * non-empty, results are restricted or boosted based on the location provided. + * Example: user_country_code: "au" For available codes see [Country + * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) * * `search_type`: double. Default empty. Enables non-webpage searching * depending on the value. The only valid non-default value is 1, which enables - * image searching. + * image searching. Example: search_type: 1 */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_Params *params; @@ -3134,9 +3934,11 @@ GTLR_DEPRECATED * Additional search parameters. For public website search only, supported * values are: * `user_country_code`: string. Default empty. If set to * non-empty, results are restricted or boosted based on the location provided. + * Example: user_country_code: "au" For available codes see [Country + * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) * * `search_type`: double. Default empty. Enables non-webpage searching * depending on the value. The only valid non-default value is 1, which enables - * image searching. + * image searching. Example: search_type: 1 * * @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/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h index fd5cdf185..e0e483e22 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h @@ -33,6 +33,77 @@ 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: discoveryengine.projects.locations.collections.dataConnector.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataConnectorOperationsGet : GTLRDiscoveryEngineQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_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 GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataConnectorOperationsGet + */ ++ (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: discoveryengine.projects.locations.collections.dataConnector.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataConnectorOperationsList : GTLRDiscoveryEngineQuery + +/** 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 GTLRDiscoveryEngine_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 GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataConnectorOperationsList + * + * @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 + /** * Creates a Document. * @@ -1155,10 +1226,15 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsRecommend : GTLRDiscoveryEngineQuery /** - * Required. Full resource name of the format: `projects/ * - * /locations/global/collections/ * /dataStores/ * /servingConfigs/ *` Before - * you can request recommendations from your model, you must create at least - * one serving config for it. + * Required. Full resource name of a ServingConfig: `projects/ * + * /locations/global/collections/ * /engines/ * /servingConfigs/ *`, or + * `projects/ * /locations/global/collections/ * /dataStores/ * + * /servingConfigs/ *` One default serving config is created along with your + * recommendation engine creation. The engine ID will be used as the ID of the + * default serving config. For example, for Engine `projects/ * + * /locations/global/collections/ * /engines/my-engine`, you can use `projects/ + * * /locations/global/collections/ * + * /engines/my-engine/servingConfigs/my-engine` for your Recommend requests. */ @property(nonatomic, copy, nullable) NSString *servingConfig; @@ -1171,10 +1247,15 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaRecommendRequest to * include in the query. - * @param servingConfig Required. Full resource name of the format: `projects/ - * * /locations/global/collections/ * /dataStores/ * /servingConfigs/ *` - * Before you can request recommendations from your model, you must create at - * least one serving config for it. + * @param servingConfig Required. Full resource name of a ServingConfig: + * `projects/ * /locations/global/collections/ * /engines/ * /servingConfigs/ + * *`, or `projects/ * /locations/global/collections/ * /dataStores/ * + * /servingConfigs/ *` One default serving config is created along with your + * recommendation engine creation. The engine ID will be used as the ID of + * the default serving config. For example, for Engine `projects/ * + * /locations/global/collections/ * /engines/my-engine`, you can use + * `projects/ * /locations/global/collections/ * + * /engines/my-engine/servingConfigs/my-engine` for your Recommend requests. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsRecommend */ @@ -1195,7 +1276,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Search serving config, such as `projects/ - * * + * * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * * /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set of models * used to make the search. @@ -1213,6 +1295,8 @@ NS_ASSUME_NONNULL_BEGIN * include in the query. * @param servingConfig Required. The resource name of the Search serving * config, such as `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * * /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set of * models used to make the search. @@ -1580,10 +1664,15 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsRecommend : GTLRDiscoveryEngineQuery /** - * Required. Full resource name of the format: `projects/ * - * /locations/global/collections/ * /dataStores/ * /servingConfigs/ *` Before - * you can request recommendations from your model, you must create at least - * one serving config for it. + * Required. Full resource name of a ServingConfig: `projects/ * + * /locations/global/collections/ * /engines/ * /servingConfigs/ *`, or + * `projects/ * /locations/global/collections/ * /dataStores/ * + * /servingConfigs/ *` One default serving config is created along with your + * recommendation engine creation. The engine ID will be used as the ID of the + * default serving config. For example, for Engine `projects/ * + * /locations/global/collections/ * /engines/my-engine`, you can use `projects/ + * * /locations/global/collections/ * + * /engines/my-engine/servingConfigs/my-engine` for your Recommend requests. */ @property(nonatomic, copy, nullable) NSString *servingConfig; @@ -1596,10 +1685,15 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaRecommendRequest to * include in the query. - * @param servingConfig Required. Full resource name of the format: `projects/ - * * /locations/global/collections/ * /dataStores/ * /servingConfigs/ *` - * Before you can request recommendations from your model, you must create at - * least one serving config for it. + * @param servingConfig Required. Full resource name of a ServingConfig: + * `projects/ * /locations/global/collections/ * /engines/ * /servingConfigs/ + * *`, or `projects/ * /locations/global/collections/ * /dataStores/ * + * /servingConfigs/ *` One default serving config is created along with your + * recommendation engine creation. The engine ID will be used as the ID of + * the default serving config. For example, for Engine `projects/ * + * /locations/global/collections/ * /engines/my-engine`, you can use + * `projects/ * /locations/global/collections/ * + * /engines/my-engine/servingConfigs/my-engine` for your Recommend requests. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsRecommend */ @@ -1620,7 +1714,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Search serving config, such as `projects/ - * * + * * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * * /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set of models * used to make the search. @@ -1638,6 +1733,8 @@ NS_ASSUME_NONNULL_BEGIN * include in the query. * @param servingConfig Required. The resource name of the Search serving * config, such as `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * * /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set of * models used to make the search. @@ -2771,10 +2868,15 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsRecommend : GTLRDiscoveryEngineQuery /** - * Required. Full resource name of the format: `projects/ * - * /locations/global/collections/ * /dataStores/ * /servingConfigs/ *` Before - * you can request recommendations from your model, you must create at least - * one serving config for it. + * Required. Full resource name of a ServingConfig: `projects/ * + * /locations/global/collections/ * /engines/ * /servingConfigs/ *`, or + * `projects/ * /locations/global/collections/ * /dataStores/ * + * /servingConfigs/ *` One default serving config is created along with your + * recommendation engine creation. The engine ID will be used as the ID of the + * default serving config. For example, for Engine `projects/ * + * /locations/global/collections/ * /engines/my-engine`, you can use `projects/ + * * /locations/global/collections/ * + * /engines/my-engine/servingConfigs/my-engine` for your Recommend requests. */ @property(nonatomic, copy, nullable) NSString *servingConfig; @@ -2787,10 +2889,15 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaRecommendRequest to * include in the query. - * @param servingConfig Required. Full resource name of the format: `projects/ - * * /locations/global/collections/ * /dataStores/ * /servingConfigs/ *` - * Before you can request recommendations from your model, you must create at - * least one serving config for it. + * @param servingConfig Required. Full resource name of a ServingConfig: + * `projects/ * /locations/global/collections/ * /engines/ * /servingConfigs/ + * *`, or `projects/ * /locations/global/collections/ * /dataStores/ * + * /servingConfigs/ *` One default serving config is created along with your + * recommendation engine creation. The engine ID will be used as the ID of + * the default serving config. For example, for Engine `projects/ * + * /locations/global/collections/ * /engines/my-engine`, you can use + * `projects/ * /locations/global/collections/ * + * /engines/my-engine/servingConfigs/my-engine` for your Recommend requests. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsRecommend */ @@ -2811,7 +2918,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Search serving config, such as `projects/ - * * + * * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * * /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set of models * used to make the search. @@ -2829,6 +2937,8 @@ NS_ASSUME_NONNULL_BEGIN * include in the query. * @param servingConfig Required. The resource name of the Search serving * config, such as `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * * /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set of * models used to make the search. diff --git a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m index c4459f229..cd67c8956 100644 --- a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m +++ b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m @@ -60,13 +60,13 @@ NSString * const kGTLRDisplayVideo_ActiveViewVideoViewabilityMetricConfig_MinimumVolume_VideoVolumePercentUnspecified = @"VIDEO_VOLUME_PERCENT_UNSPECIFIED"; // GTLRDisplayVideo_AdGroup.adGroupFormat -NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatAction = @"AD_GROUP_FORMAT_ACTION"; 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_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"; NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatReach = @"AD_GROUP_FORMAT_REACH"; +NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatResponsive = @"AD_GROUP_FORMAT_RESPONSIVE"; NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatUnspecified = @"AD_GROUP_FORMAT_UNSPECIFIED"; NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatVideoDiscovery = @"AD_GROUP_FORMAT_VIDEO_DISCOVERY"; @@ -471,6 +471,16 @@ NSString * const kGTLRDisplayVideo_CarrierAndIspTargetingOptionDetails_Type_CarrierAndIspTypeIsp = @"CARRIER_AND_ISP_TYPE_ISP"; NSString * const kGTLRDisplayVideo_CarrierAndIspTargetingOptionDetails_Type_CarrierAndIspTypeUnspecified = @"CARRIER_AND_ISP_TYPE_UNSPECIFIED"; +// GTLRDisplayVideo_Consent.adPersonalization +NSString * const kGTLRDisplayVideo_Consent_AdPersonalization_ConsentStatusDenied = @"CONSENT_STATUS_DENIED"; +NSString * const kGTLRDisplayVideo_Consent_AdPersonalization_ConsentStatusGranted = @"CONSENT_STATUS_GRANTED"; +NSString * const kGTLRDisplayVideo_Consent_AdPersonalization_ConsentStatusUnspecified = @"CONSENT_STATUS_UNSPECIFIED"; + +// GTLRDisplayVideo_Consent.adUserData +NSString * const kGTLRDisplayVideo_Consent_AdUserData_ConsentStatusDenied = @"CONSENT_STATUS_DENIED"; +NSString * const kGTLRDisplayVideo_Consent_AdUserData_ConsentStatusGranted = @"CONSENT_STATUS_GRANTED"; +NSString * const kGTLRDisplayVideo_Consent_AdUserData_ConsentStatusUnspecified = @"CONSENT_STATUS_UNSPECIFIED"; + // GTLRDisplayVideo_ContentDurationAssignedTargetingOptionDetails.contentDuration NSString * const kGTLRDisplayVideo_ContentDurationAssignedTargetingOptionDetails_ContentDuration_ContentDuration0To1Min = @"CONTENT_DURATION_0_TO_1_MIN"; NSString * const kGTLRDisplayVideo_ContentDurationAssignedTargetingOptionDetails_ContentDuration_ContentDuration15To30Min = @"CONTENT_DURATION_15_TO_30_MIN"; @@ -606,6 +616,7 @@ NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion54 = @"SDF_VERSION_5_4"; NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion55 = @"SDF_VERSION_5_5"; NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion6 = @"SDF_VERSION_6"; +NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion7 = @"SDF_VERSION_7"; NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersionUnspecified = @"SDF_VERSION_UNSPECIFIED"; // GTLRDisplayVideo_Creative.creativeAttributes @@ -2165,6 +2176,7 @@ NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion54 = @"SDF_VERSION_5_4"; NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion55 = @"SDF_VERSION_5_5"; NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion6 = @"SDF_VERSION_6"; +NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion7 = @"SDF_VERSION_7"; NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersionUnspecified = @"SDF_VERSION_UNSPECIFIED"; // GTLRDisplayVideo_SdfDownloadTaskMetadata.version @@ -2179,6 +2191,7 @@ NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion54 = @"SDF_VERSION_5_4"; NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion55 = @"SDF_VERSION_5_5"; NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion6 = @"SDF_VERSION_6"; +NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion7 = @"SDF_VERSION_7"; NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersionUnspecified = @"SDF_VERSION_UNSPECIFIED"; // GTLRDisplayVideo_SensitiveCategoryAssignedTargetingOptionDetails.excludedSensitiveCategory @@ -3650,6 +3663,16 @@ @implementation GTLRDisplayVideo_CommonInStreamAttribute @end +// ---------------------------------------------------------------------------- +// +// GTLRDisplayVideo_Consent +// + +@implementation GTLRDisplayVideo_Consent +@dynamic adPersonalization, adUserData; +@end + + // ---------------------------------------------------------------------------- // // GTLRDisplayVideo_ContactInfo @@ -3677,7 +3700,7 @@ @implementation GTLRDisplayVideo_ContactInfo // @implementation GTLRDisplayVideo_ContactInfoList -@dynamic contactInfos; +@dynamic consent, contactInfos; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -5961,7 +5984,7 @@ @implementation GTLRDisplayVideo_MobileApp // @implementation GTLRDisplayVideo_MobileDeviceIdList -@dynamic mobileDeviceIds; +@dynamic consent, mobileDeviceIds; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h index 4dab925ac..6eb54e5b4 100644 --- a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h +++ b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h @@ -79,6 +79,7 @@ @class GTLRDisplayVideo_CombinedAudienceGroup; @class GTLRDisplayVideo_CombinedAudienceTargetingSetting; @class GTLRDisplayVideo_CommonInStreamAttribute; +@class GTLRDisplayVideo_Consent; @class GTLRDisplayVideo_ContactInfo; @class GTLRDisplayVideo_ContactInfoList; @class GTLRDisplayVideo_ContentDurationAssignedTargetingOptionDetails; @@ -519,13 +520,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ActiveViewVideoViewabilityM // ---------------------------------------------------------------------------- // GTLRDisplayVideo_AdGroup.adGroupFormat -/** - * [Responsive ads for video action campaigns] - * (https://support.google.com/displayvideo/answer/9065351). - * - * Value: "AD_GROUP_FORMAT_ACTION" - */ -FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatAction; /** * Non-skippable in-stream audio ads. * @@ -564,6 +558,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGro * Value: "AD_GROUP_FORMAT_REACH" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatReach; +/** + * Responsive ads. + * + * Value: "AD_GROUP_FORMAT_RESPONSIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatResponsive; /** * Format value is not specified or is unknown in this version. * @@ -2903,6 +2903,50 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CarrierAndIspTargetingOptio */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CarrierAndIspTargetingOptionDetails_Type_CarrierAndIspTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDisplayVideo_Consent.adPersonalization + +/** + * Consent is denied. + * + * Value: "CONSENT_STATUS_DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Consent_AdPersonalization_ConsentStatusDenied; +/** + * Consent is granted. + * + * Value: "CONSENT_STATUS_GRANTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Consent_AdPersonalization_ConsentStatusGranted; +/** + * Consent is not specified. + * + * Value: "CONSENT_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Consent_AdPersonalization_ConsentStatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDisplayVideo_Consent.adUserData + +/** + * Consent is denied. + * + * Value: "CONSENT_STATUS_DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Consent_AdUserData_ConsentStatusDenied; +/** + * Consent is granted. + * + * Value: "CONSENT_STATUS_GRANTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Consent_AdUserData_ConsentStatusGranted; +/** + * Consent is not specified. + * + * Value: "CONSENT_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Consent_AdUserData_ConsentStatusUnspecified; + // ---------------------------------------------------------------------------- // GTLRDisplayVideo_ContentDurationAssignedTargetingOptionDetails.contentDuration @@ -3662,6 +3706,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskReques * Value: "SDF_VERSION_6" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion6; +/** + * SDF version 7. Read the [v7 migration + * guide](/display-video/api/structured-data-file/v7-migration-guide) before + * migrating to this version. Currently in beta. Only available for use by a + * subset of users. + * + * Value: "SDF_VERSION_7" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion7; /** * SDF version value is not specified or is unknown in this version. * @@ -12272,6 +12325,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersio * Value: "SDF_VERSION_6" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion6; +/** + * SDF version 7. Read the [v7 migration + * guide](/display-video/api/structured-data-file/v7-migration-guide) before + * migrating to this version. Currently in beta. Only available for use by a + * subset of users. + * + * Value: "SDF_VERSION_7" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion7; /** * SDF version value is not specified or is unknown in this version. * @@ -12348,6 +12410,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Ver * Value: "SDF_VERSION_6" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion6; +/** + * SDF version 7. Read the [v7 migration + * guide](/display-video/api/structured-data-file/v7-migration-guide) before + * migrating to this version. Currently in beta. Only available for use by a + * subset of users. + * + * Value: "SDF_VERSION_7" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion7; /** * SDF version value is not specified or is unknown in this version. * @@ -13936,10 +14007,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * The format of the ads in the ad group. * * Likely values: - * @arg @c kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatAction - * [Responsive ads for video action campaigns] - * (https://support.google.com/displayvideo/answer/9065351). (Value: - * "AD_GROUP_FORMAT_ACTION") * @arg @c kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatAudio * Non-skippable in-stream audio ads. (Value: "AD_GROUP_FORMAT_AUDIO") * @arg @c kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatBumper Bumper @@ -13956,6 +14023,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * [Effective reach ad groups] * (https://support.google.com/displayvideo/answer/9173684), including * in-stream and bumper ads. (Value: "AD_GROUP_FORMAT_REACH") + * @arg @c kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatResponsive + * Responsive ads. (Value: "AD_GROUP_FORMAT_RESPONSIVE") * @arg @c kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatUnspecified * Format value is not specified or is unknown in this version. (Value: * "AD_GROUP_FORMAT_UNSPECIFIED") @@ -17845,6 +17914,40 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail @end +/** + * User consent status. + */ +@interface GTLRDisplayVideo_Consent : GTLRObject + +/** + * Represents consent for ad personalization. + * + * Likely values: + * @arg @c kGTLRDisplayVideo_Consent_AdPersonalization_ConsentStatusDenied + * Consent is denied. (Value: "CONSENT_STATUS_DENIED") + * @arg @c kGTLRDisplayVideo_Consent_AdPersonalization_ConsentStatusGranted + * Consent is granted. (Value: "CONSENT_STATUS_GRANTED") + * @arg @c kGTLRDisplayVideo_Consent_AdPersonalization_ConsentStatusUnspecified + * Consent is not specified. (Value: "CONSENT_STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *adPersonalization; + +/** + * Represents consent for ad user data. + * + * Likely values: + * @arg @c kGTLRDisplayVideo_Consent_AdUserData_ConsentStatusDenied Consent + * is denied. (Value: "CONSENT_STATUS_DENIED") + * @arg @c kGTLRDisplayVideo_Consent_AdUserData_ConsentStatusGranted Consent + * is granted. (Value: "CONSENT_STATUS_GRANTED") + * @arg @c kGTLRDisplayVideo_Consent_AdUserData_ConsentStatusUnspecified + * Consent is not specified. (Value: "CONSENT_STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *adUserData; + +@end + + /** * Contact information defining a Customer Match audience member. */ @@ -17898,6 +18001,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail */ @interface GTLRDisplayVideo_ContactInfoList : GTLRObject +/** Input only. User consent status. */ +@property(nonatomic, strong, nullable) GTLRDisplayVideo_Consent *consent; + /** * A list of ContactInfo objects defining Customer Match audience members. The * size of members after splitting the contact_infos mustn't be greater than @@ -18590,6 +18696,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * SDF version 5.5 (Value: "SDF_VERSION_5_5") * @arg @c kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion6 * SDF version 6 (Value: "SDF_VERSION_6") + * @arg @c kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion7 + * SDF version 7. Read the [v7 migration + * guide](/display-video/api/structured-data-file/v7-migration-guide) + * before migrating to this version. Currently in beta. Only available + * for use by a subset of users. (Value: "SDF_VERSION_7") * @arg @c kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersionUnspecified * SDF version value is not specified or is unknown in this version. * (Value: "SDF_VERSION_UNSPECIFIED") @@ -26111,6 +26222,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail */ @interface GTLRDisplayVideo_MobileDeviceIdList : GTLRObject +/** Input only. User consent status. */ +@property(nonatomic, strong, nullable) GTLRDisplayVideo_Consent *consent; + /** * A list of mobile device IDs defining Customer Match audience members. The * size of mobile_device_ids mustn't be greater than 500,000. @@ -27955,6 +28069,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * (Value: "SDF_VERSION_5_5") * @arg @c kGTLRDisplayVideo_SdfConfig_Version_SdfVersion6 SDF version 6 * (Value: "SDF_VERSION_6") + * @arg @c kGTLRDisplayVideo_SdfConfig_Version_SdfVersion7 SDF version 7. + * Read the [v7 migration + * guide](/display-video/api/structured-data-file/v7-migration-guide) + * before migrating to this version. Currently in beta. Only available + * for use by a subset of users. (Value: "SDF_VERSION_7") * @arg @c kGTLRDisplayVideo_SdfConfig_Version_SdfVersionUnspecified SDF * version value is not specified or is unknown in this version. (Value: * "SDF_VERSION_UNSPECIFIED") @@ -28019,6 +28138,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * version 5.5 (Value: "SDF_VERSION_5_5") * @arg @c kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion6 SDF * version 6 (Value: "SDF_VERSION_6") + * @arg @c kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion7 SDF + * version 7. Read the [v7 migration + * guide](/display-video/api/structured-data-file/v7-migration-guide) + * before migrating to this version. Currently in beta. Only available + * for use by a subset of users. (Value: "SDF_VERSION_7") * @arg @c kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersionUnspecified * SDF version value is not specified or is unknown in this version. * (Value: "SDF_VERSION_UNSPECIFIED") diff --git a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m index 4a2c9a8cc..84527b97f 100644 --- a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m +++ b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m @@ -327,7 +327,7 @@ @implementation GTLRDocument_GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMet // @implementation GTLRDocument_GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus -@dynamic documentId, gcsUri, status; +@dynamic documentId, status; @end diff --git a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h index a9f11d14f..75780e2fc 100644 --- a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h +++ b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h @@ -1743,12 +1743,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro */ @property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3DocumentId *documentId; -/** - * The gcs_uri of the auto-labeling document, which uniquely identifies a - * dataset document. - */ -@property(nonatomic, copy, nullable) NSString *gcsUri GTLR_DEPRECATED; - /** The status of the document auto-labeling. */ @property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; @@ -2313,7 +2307,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** - * The metadata proto of ResyncDataset method. + * The metadata proto of `ResyncDataset` method. */ @interface GTLRDocument_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata : GTLRObject @@ -2321,8 +2315,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro @property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata *commonMetadata; /** - * The list of dataset resync statuses. Not checked when `dataset_documents` is - * specified in ResyncRequest. + * The list of dataset resync statuses. Not checked when + * ResyncDatasetRequest.dataset_documents is specified. */ @property(nonatomic, strong, nullable) NSArray *datasetResyncStatuses; @@ -2354,7 +2348,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** * The status of resyncing the dataset with regards to the detected - * inconsistency. Empty if `validate_only` is true in the request. + * inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`. */ @property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; @@ -2389,7 +2383,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** * The status of resyncing the document with regards to the detected - * inconsistency. Empty if `validate_only` is true in the request. + * inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`. */ @property(nonatomic, strong, nullable) GTLRDocument_GoogleRpcStatus *status; @@ -5994,8 +5988,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro */ @interface GTLRDocument_GoogleCloudDocumentaiV1beta3Dataset : GTLRObject -/** Optional. Document AI Warehouse-based dataset configuration. */ -@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig *documentWarehouseConfig; +/** + * Optional. Derepcated. Warehouse-based dataset configuration is not supported + * today. + */ +@property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig *documentWarehouseConfig GTLR_DEPRECATED; /** * Optional. User-managed Cloud Storage dataset configuration. Use this diff --git a/Sources/GeneratedServices/FirebaseDynamicLinks/Public/GoogleAPIClientForREST/GTLRFirebaseDynamicLinksObjects.h b/Sources/GeneratedServices/FirebaseDynamicLinks/Public/GoogleAPIClientForREST/GTLRFirebaseDynamicLinksObjects.h index 11135f7f0..d63dcea84 100644 --- a/Sources/GeneratedServices/FirebaseDynamicLinks/Public/GoogleAPIClientForREST/GTLRFirebaseDynamicLinksObjects.h +++ b/Sources/GeneratedServices/FirebaseDynamicLinks/Public/GoogleAPIClientForREST/GTLRFirebaseDynamicLinksObjects.h @@ -968,6 +968,7 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseDynamicLinks_Suffix_Option_Ungue /** * Response for iSDK to execute strong match flow for post-install attribution. + * Information of the resolved FDL link. */ @interface GTLRFirebaseDynamicLinks_GetIosPostInstallAttributionResponse : GTLRObject diff --git a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m index 5aa7a3417..4b7ec91d7 100644 --- a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m +++ b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m @@ -958,11 +958,12 @@ @implementation GTLRFirestore_GoogleFirestoreAdminV1ListBackupsResponse // @implementation GTLRFirestore_GoogleFirestoreAdminV1ListDatabasesResponse -@dynamic databases; +@dynamic databases, unreachable; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"databases" : [GTLRFirestore_GoogleFirestoreAdminV1Database class] + @"databases" : [GTLRFirestore_GoogleFirestoreAdminV1Database class], + @"unreachable" : [NSString class] }; return map; } diff --git a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h index 78a6d7d93..5c7352c2e 100644 --- a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h +++ b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h @@ -2238,12 +2238,11 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; /** * The timestamp that corresponds to the version of the database to be - * exported. The timestamp must be rounded to the minute, in the past, and not - * older than 5 days. Please choose a reasonable timestamp based on prior - * knowledge on how long exports take as data at provided snapshot timestamp - * can expire during export. If specified, then the exported documents will - * represent a consistent view of the database at the provided time. Otherwise, - * there are no guarantees about the consistency of the exported documents. + * exported. The timestamp must be in the past, rounded to the minute and not + * older than earliestVersionTime. If specified, then the exported documents + * will represent a consistent view of the database at the provided time. + * Otherwise, there are no guarantees about the consistency of the exported + * documents. */ @property(nonatomic, strong, nullable) GTLRDateTime *snapshotTime; @@ -2781,6 +2780,18 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; /** The databases in the project. */ @property(nonatomic, strong, nullable) NSArray *databases; +/** + * In the event that data about individual databases cannot be listed they will + * be recorded here. An example entry might be: + * projects/some_project/locations/some_location This can happen if the Cloud + * Region that the Database resides in is currently unavailable. In this case + * we can't fetch all the details about the database. You may be able to get a + * more detailed error message (or possibly fetch the resource) by sending a + * 'Get' request for the resource or a 'List' request for the specific + * location. + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + @end diff --git a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m index 085b343a0..8ea82ca8b 100644 --- a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m +++ b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m @@ -17,88 +17,110 @@ NSString * const kGTLRGKEHub_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; NSString * const kGTLRGKEHub_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; +// GTLRGKEHub_BinaryAuthorizationConfig.evaluationMode +NSString * const kGTLRGKEHub_BinaryAuthorizationConfig_EvaluationMode_Disabled = @"DISABLED"; +NSString * const kGTLRGKEHub_BinaryAuthorizationConfig_EvaluationMode_EvaluationModeUnspecified = @"EVALUATION_MODE_UNSPECIFIED"; +NSString * const kGTLRGKEHub_BinaryAuthorizationConfig_EvaluationMode_PolicyBindings = @"POLICY_BINDINGS"; + +// GTLRGKEHub_ClusterUpgradeUpgradeStatus.code +NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_CodeUnspecified = @"CODE_UNSPECIFIED"; +NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Complete = @"COMPLETE"; +NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ForcedSoaking = @"FORCED_SOAKING"; +NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Ineligible = @"INELIGIBLE"; +NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Pending = @"PENDING"; +NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Soaking = @"SOAKING"; + // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.admissionWebhook NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_AdmissionWebhook_DeploymentStateUnspecified = @"DEPLOYMENT_STATE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_AdmissionWebhook_Error = @"ERROR"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_AdmissionWebhook_Installed = @"INSTALLED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_AdmissionWebhook_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_AdmissionWebhook_Pending = @"PENDING"; // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.gitSync NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_GitSync_DeploymentStateUnspecified = @"DEPLOYMENT_STATE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_GitSync_Error = @"ERROR"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_GitSync_Installed = @"INSTALLED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_GitSync_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_GitSync_Pending = @"PENDING"; // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.importer NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Importer_DeploymentStateUnspecified = @"DEPLOYMENT_STATE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Importer_Error = @"ERROR"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Importer_Installed = @"INSTALLED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Importer_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Importer_Pending = @"PENDING"; // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.monitor NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Monitor_DeploymentStateUnspecified = @"DEPLOYMENT_STATE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Monitor_Error = @"ERROR"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Monitor_Installed = @"INSTALLED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Monitor_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Monitor_Pending = @"PENDING"; // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.reconcilerManager NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_ReconcilerManager_DeploymentStateUnspecified = @"DEPLOYMENT_STATE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_ReconcilerManager_Error = @"ERROR"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_ReconcilerManager_Installed = @"INSTALLED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_ReconcilerManager_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_ReconcilerManager_Pending = @"PENDING"; // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.rootReconciler NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_RootReconciler_DeploymentStateUnspecified = @"DEPLOYMENT_STATE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_RootReconciler_Error = @"ERROR"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_RootReconciler_Installed = @"INSTALLED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_RootReconciler_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_RootReconciler_Pending = @"PENDING"; // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.syncer NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Syncer_DeploymentStateUnspecified = @"DEPLOYMENT_STATE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Syncer_Error = @"ERROR"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Syncer_Installed = @"INSTALLED"; NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Syncer_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Syncer_Pending = @"PENDING"; // GTLRGKEHub_ConfigManagementGatekeeperDeploymentState.gatekeeperAudit NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperAudit_DeploymentStateUnspecified = @"DEPLOYMENT_STATE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperAudit_Error = @"ERROR"; NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperAudit_Installed = @"INSTALLED"; NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperAudit_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperAudit_Pending = @"PENDING"; // GTLRGKEHub_ConfigManagementGatekeeperDeploymentState.gatekeeperControllerManagerState NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperControllerManagerState_DeploymentStateUnspecified = @"DEPLOYMENT_STATE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperControllerManagerState_Error = @"ERROR"; NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperControllerManagerState_Installed = @"INSTALLED"; NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperControllerManagerState_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperControllerManagerState_Pending = @"PENDING"; // GTLRGKEHub_ConfigManagementGatekeeperDeploymentState.gatekeeperMutation NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperMutation_DeploymentStateUnspecified = @"DEPLOYMENT_STATE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperMutation_Error = @"ERROR"; NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperMutation_Installed = @"INSTALLED"; NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperMutation_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperMutation_Pending = @"PENDING"; // GTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState.extension NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Extension_DeploymentStateUnspecified = @"DEPLOYMENT_STATE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Extension_Error = @"ERROR"; NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Extension_Installed = @"INSTALLED"; NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Extension_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Extension_Pending = @"PENDING"; // GTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState.hnc NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Hnc_DeploymentStateUnspecified = @"DEPLOYMENT_STATE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Hnc_Error = @"ERROR"; NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Hnc_Installed = @"INSTALLED"; NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Hnc_NotInstalled = @"NOT_INSTALLED"; - -// GTLRGKEHub_ConfigManagementMembershipSpec.management -NSString * const kGTLRGKEHub_ConfigManagementMembershipSpec_Management_ManagementAutomatic = @"MANAGEMENT_AUTOMATIC"; -NSString * const kGTLRGKEHub_ConfigManagementMembershipSpec_Management_ManagementManual = @"MANAGEMENT_MANUAL"; -NSString * const kGTLRGKEHub_ConfigManagementMembershipSpec_Management_ManagementUnspecified = @"MANAGEMENT_UNSPECIFIED"; +NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Hnc_Pending = @"PENDING"; // GTLRGKEHub_ConfigManagementOperatorState.deploymentState NSString * const kGTLRGKEHub_ConfigManagementOperatorState_DeploymentState_DeploymentStateUnspecified = @"DEPLOYMENT_STATE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ConfigManagementOperatorState_DeploymentState_Error = @"ERROR"; NSString * const kGTLRGKEHub_ConfigManagementOperatorState_DeploymentState_Installed = @"INSTALLED"; NSString * const kGTLRGKEHub_ConfigManagementOperatorState_DeploymentState_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRGKEHub_ConfigManagementOperatorState_DeploymentState_Pending = @"PENDING"; // GTLRGKEHub_ConfigManagementPolicyControllerMigration.stage NSString * const kGTLRGKEHub_ConfigManagementPolicyControllerMigration_Stage_AcmManaged = @"ACM_MANAGED"; @@ -258,6 +280,17 @@ NSString * const kGTLRGKEHub_ScopeLifecycleState_Code_Ready = @"READY"; NSString * const kGTLRGKEHub_ScopeLifecycleState_Code_Updating = @"UPDATING"; +// GTLRGKEHub_SecurityPostureConfig.mode +NSString * const kGTLRGKEHub_SecurityPostureConfig_Mode_Basic = @"BASIC"; +NSString * const kGTLRGKEHub_SecurityPostureConfig_Mode_Disabled = @"DISABLED"; +NSString * const kGTLRGKEHub_SecurityPostureConfig_Mode_ModeUnspecified = @"MODE_UNSPECIFIED"; + +// GTLRGKEHub_SecurityPostureConfig.vulnerabilityMode +NSString * const kGTLRGKEHub_SecurityPostureConfig_VulnerabilityMode_VulnerabilityBasic = @"VULNERABILITY_BASIC"; +NSString * const kGTLRGKEHub_SecurityPostureConfig_VulnerabilityMode_VulnerabilityDisabled = @"VULNERABILITY_DISABLED"; +NSString * const kGTLRGKEHub_SecurityPostureConfig_VulnerabilityMode_VulnerabilityEnterprise = @"VULNERABILITY_ENTERPRISE"; +NSString * const kGTLRGKEHub_SecurityPostureConfig_VulnerabilityMode_VulnerabilityModeUnspecified = @"VULNERABILITY_MODE_UNSPECIFIED"; + // GTLRGKEHub_ServiceMeshControlPlaneManagement.state NSString * const kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_Active = @"ACTIVE"; NSString * const kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_Degraded = @"DEGRADED"; @@ -369,6 +402,24 @@ @implementation GTLRGKEHub_Authority @end +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_BinaryAuthorizationConfig +// + +@implementation GTLRGKEHub_BinaryAuthorizationConfig +@dynamic evaluationMode, policyBindings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"policyBindings" : [GTLRGKEHub_PolicyBinding class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRGKEHub_Binding @@ -396,13 +447,197 @@ @implementation GTLRGKEHub_CancelOperationRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradeFleetSpec +// + +@implementation GTLRGKEHub_ClusterUpgradeFleetSpec +@dynamic gkeUpgradeOverrides, postConditions, upstreamFleets; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"gkeUpgradeOverrides" : [GTLRGKEHub_ClusterUpgradeGKEUpgradeOverride class], + @"upstreamFleets" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradeFleetState +// + +@implementation GTLRGKEHub_ClusterUpgradeFleetState +@dynamic downstreamFleets, gkeState, ignored; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"downstreamFleets" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradeFleetState_Ignored +// + +@implementation GTLRGKEHub_ClusterUpgradeFleetState_Ignored + ++ (Class)classForAdditionalProperties { + return [GTLRGKEHub_ClusterUpgradeIgnoredMembership class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradeGKEUpgrade +// + +@implementation GTLRGKEHub_ClusterUpgradeGKEUpgrade +@dynamic name, version; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradeGKEUpgradeFeatureCondition +// + +@implementation GTLRGKEHub_ClusterUpgradeGKEUpgradeFeatureCondition +@dynamic reason, status, type, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradeGKEUpgradeFeatureState +// + +@implementation GTLRGKEHub_ClusterUpgradeGKEUpgradeFeatureState +@dynamic conditions, upgradeState; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"conditions" : [GTLRGKEHub_ClusterUpgradeGKEUpgradeFeatureCondition class], + @"upgradeState" : [GTLRGKEHub_ClusterUpgradeGKEUpgradeState class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradeGKEUpgradeOverride +// + +@implementation GTLRGKEHub_ClusterUpgradeGKEUpgradeOverride +@dynamic postConditions, upgrade; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradeGKEUpgradeState +// + +@implementation GTLRGKEHub_ClusterUpgradeGKEUpgradeState +@dynamic stats, status, upgrade; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradeGKEUpgradeState_Stats +// + +@implementation GTLRGKEHub_ClusterUpgradeGKEUpgradeState_Stats + ++ (Class)classForAdditionalProperties { + return [NSNumber class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradeIgnoredMembership +// + +@implementation GTLRGKEHub_ClusterUpgradeIgnoredMembership +@dynamic ignoredTime, reason; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradeMembershipGKEUpgradeState +// + +@implementation GTLRGKEHub_ClusterUpgradeMembershipGKEUpgradeState +@dynamic status, upgrade; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradeMembershipState +// + +@implementation GTLRGKEHub_ClusterUpgradeMembershipState +@dynamic fleet, ignored, scopes, upgrades; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"scopes" : [NSString class], + @"upgrades" : [GTLRGKEHub_ClusterUpgradeMembershipGKEUpgradeState class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradePostConditions +// + +@implementation GTLRGKEHub_ClusterUpgradePostConditions +@dynamic soaking; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_ClusterUpgradeUpgradeStatus +// + +@implementation GTLRGKEHub_ClusterUpgradeUpgradeStatus +@dynamic code, reason, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRGKEHub_CommonFeatureSpec // @implementation GTLRGKEHub_CommonFeatureSpec -@dynamic appdevexperience, fleetobservability, multiclusteringress; +@dynamic appdevexperience, clusterupgrade, fleetobservability, + multiclusteringress; @end @@ -412,7 +647,7 @@ @implementation GTLRGKEHub_CommonFeatureSpec // @implementation GTLRGKEHub_CommonFeatureState -@dynamic appdevexperience, fleetobservability, state; +@dynamic appdevexperience, clusterupgrade, fleetobservability, state; @end @@ -422,7 +657,7 @@ @implementation GTLRGKEHub_CommonFeatureState // @implementation GTLRGKEHub_CommonFleetDefaultMemberConfigSpec -@dynamic configmanagement, policycontroller; +@dynamic configmanagement, identityservice, mesh, policycontroller; @end @@ -433,7 +668,7 @@ @implementation GTLRGKEHub_CommonFleetDefaultMemberConfigSpec @implementation GTLRGKEHub_ConfigManagementConfigSync @dynamic allowVerticalScale, enabled, git, metricsGcpServiceAccountEmail, oci, - preventDrift, sourceFormat, stopSyncing; + preventDrift, sourceFormat; @end @@ -591,8 +826,7 @@ @implementation GTLRGKEHub_ConfigManagementInstallError // @implementation GTLRGKEHub_ConfigManagementMembershipSpec -@dynamic cluster, configSync, hierarchyController, management, policyController, - version; +@dynamic cluster, configSync, hierarchyController, policyController, version; @end @@ -750,6 +984,16 @@ @implementation GTLRGKEHub_ConnectAgentResource @end +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_DefaultClusterConfig +// + +@implementation GTLRGKEHub_DefaultClusterConfig +@dynamic binaryAuthorizationConfig, securityPostureConfig; +@end + + // ---------------------------------------------------------------------------- // // GTLRGKEHub_EdgeCluster @@ -897,8 +1141,8 @@ @implementation GTLRGKEHub_FeatureState // @implementation GTLRGKEHub_Fleet -@dynamic createTime, deleteTime, displayName, labels, name, state, uid, - updateTime; +@dynamic createTime, defaultClusterConfig, deleteTime, displayName, labels, + name, state, uid, updateTime; @end @@ -1531,7 +1775,7 @@ @implementation GTLRGKEHub_MembershipFeatureSpec // @implementation GTLRGKEHub_MembershipFeatureState -@dynamic appdevexperience, configmanagement, fleetobservability, +@dynamic appdevexperience, clusterupgrade, configmanagement, fleetobservability, identityservice, policycontroller, servicemesh, state; @end @@ -1717,6 +1961,16 @@ @implementation GTLRGKEHub_Policy @end +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_PolicyBinding +// + +@implementation GTLRGKEHub_PolicyBinding +@dynamic name; +@end + + // ---------------------------------------------------------------------------- // // GTLRGKEHub_PolicyControllerBundleInstallSpec @@ -2076,6 +2330,16 @@ @implementation GTLRGKEHub_ScopeLifecycleState @end +// ---------------------------------------------------------------------------- +// +// GTLRGKEHub_SecurityPostureConfig +// + +@implementation GTLRGKEHub_SecurityPostureConfig +@dynamic mode, vulnerabilityMode; +@end + + // ---------------------------------------------------------------------------- // // GTLRGKEHub_ServiceMeshControlPlaneManagement diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h index bb0500508..fa2347cad 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h @@ -18,7 +18,22 @@ @class GTLRGKEHub_AuditConfig; @class GTLRGKEHub_AuditLogConfig; @class GTLRGKEHub_Authority; +@class GTLRGKEHub_BinaryAuthorizationConfig; @class GTLRGKEHub_Binding; +@class GTLRGKEHub_ClusterUpgradeFleetSpec; +@class GTLRGKEHub_ClusterUpgradeFleetState; +@class GTLRGKEHub_ClusterUpgradeFleetState_Ignored; +@class GTLRGKEHub_ClusterUpgradeGKEUpgrade; +@class GTLRGKEHub_ClusterUpgradeGKEUpgradeFeatureCondition; +@class GTLRGKEHub_ClusterUpgradeGKEUpgradeFeatureState; +@class GTLRGKEHub_ClusterUpgradeGKEUpgradeOverride; +@class GTLRGKEHub_ClusterUpgradeGKEUpgradeState; +@class GTLRGKEHub_ClusterUpgradeGKEUpgradeState_Stats; +@class GTLRGKEHub_ClusterUpgradeIgnoredMembership; +@class GTLRGKEHub_ClusterUpgradeMembershipGKEUpgradeState; +@class GTLRGKEHub_ClusterUpgradeMembershipState; +@class GTLRGKEHub_ClusterUpgradePostConditions; +@class GTLRGKEHub_ClusterUpgradeUpgradeStatus; @class GTLRGKEHub_CommonFeatureSpec; @class GTLRGKEHub_CommonFeatureState; @class GTLRGKEHub_CommonFleetDefaultMemberConfigSpec; @@ -48,6 +63,7 @@ @class GTLRGKEHub_ConfigManagementSyncError; @class GTLRGKEHub_ConfigManagementSyncState; @class GTLRGKEHub_ConnectAgentResource; +@class GTLRGKEHub_DefaultClusterConfig; @class GTLRGKEHub_EdgeCluster; @class GTLRGKEHub_Expr; @class GTLRGKEHub_Feature; @@ -107,6 +123,7 @@ @class GTLRGKEHub_Operation_Response; @class GTLRGKEHub_Origin; @class GTLRGKEHub_Policy; +@class GTLRGKEHub_PolicyBinding; @class GTLRGKEHub_PolicyControllerBundleInstallSpec; @class GTLRGKEHub_PolicyControllerHubConfig; @class GTLRGKEHub_PolicyControllerHubConfig_DeploymentConfigs; @@ -136,6 +153,7 @@ @class GTLRGKEHub_ScopeFeatureSpec; @class GTLRGKEHub_ScopeFeatureState; @class GTLRGKEHub_ScopeLifecycleState; +@class GTLRGKEHub_SecurityPostureConfig; @class GTLRGKEHub_ServiceMeshControlPlaneManagement; @class GTLRGKEHub_ServiceMeshDataPlaneManagement; @class GTLRGKEHub_ServiceMeshMembershipSpec; @@ -182,6 +200,81 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_AuditLogConfig_LogType_DataWrite; */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_AuditLogConfig_LogType_LogTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRGKEHub_BinaryAuthorizationConfig.evaluationMode + +/** + * Disable BinaryAuthorization + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_BinaryAuthorizationConfig_EvaluationMode_Disabled; +/** + * Default value + * + * Value: "EVALUATION_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_BinaryAuthorizationConfig_EvaluationMode_EvaluationModeUnspecified; +/** + * Use Binary Authorization with the policies specified in policy_bindings. + * + * Value: "POLICY_BINDINGS" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_BinaryAuthorizationConfig_EvaluationMode_PolicyBindings; + +// ---------------------------------------------------------------------------- +// GTLRGKEHub_ClusterUpgradeUpgradeStatus.code + +/** + * Required by https://linter.aip.dev/126/unspecified. + * + * Value: "CODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_CodeUnspecified; +/** + * The upgrade has passed all post conditions (soaking). At the scope level, + * this means all eligible clusters are in COMPLETE status. + * + * Value: "COMPLETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Complete; +/** + * A cluster will be forced to enter soaking if an upgrade doesn't finish + * within a certain limit, despite it's actual status. + * + * Value: "FORCED_SOAKING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ForcedSoaking; +/** + * The upgrade is ineligible. At the scope level, this means the upgrade is + * ineligible for all the clusters in the scope. + * + * Value: "INELIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Ineligible; +/** + * The upgrade is in progress. At the scope level, this means the upgrade is in + * progress for at least one cluster in the scope. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_InProgress; +/** + * The upgrade is pending. At the scope level, this means the upgrade is + * pending for all the clusters in the scope. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Pending; +/** + * The upgrade has finished and is soaking until the soaking time is up. At the + * scope level, this means at least one cluster is in soaking while the rest + * are either soaking or complete. + * + * Value: "SOAKING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Soaking; + // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.admissionWebhook @@ -209,6 +302,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploym * Value: "NOT_INSTALLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_AdmissionWebhook_NotInstalled; +/** + * Deployment is installing or terminating + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_AdmissionWebhook_Pending; // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.gitSync @@ -237,6 +336,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploym * Value: "NOT_INSTALLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_GitSync_NotInstalled; +/** + * Deployment is installing or terminating + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_GitSync_Pending; // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.importer @@ -265,6 +370,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploym * Value: "NOT_INSTALLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Importer_NotInstalled; +/** + * Deployment is installing or terminating + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Importer_Pending; // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.monitor @@ -293,6 +404,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploym * Value: "NOT_INSTALLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Monitor_NotInstalled; +/** + * Deployment is installing or terminating + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Monitor_Pending; // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.reconcilerManager @@ -321,6 +438,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploym * Value: "NOT_INSTALLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_ReconcilerManager_NotInstalled; +/** + * Deployment is installing or terminating + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_ReconcilerManager_Pending; // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.rootReconciler @@ -349,6 +472,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploym * Value: "NOT_INSTALLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_RootReconciler_NotInstalled; +/** + * Deployment is installing or terminating + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_RootReconciler_Pending; // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementConfigSyncDeploymentState.syncer @@ -377,6 +506,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploym * Value: "NOT_INSTALLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Syncer_NotInstalled; +/** + * Deployment is installing or terminating + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Syncer_Pending; // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementGatekeeperDeploymentState.gatekeeperAudit @@ -405,6 +540,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploym * Value: "NOT_INSTALLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperAudit_NotInstalled; +/** + * Deployment is installing or terminating + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperAudit_Pending; // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementGatekeeperDeploymentState.gatekeeperControllerManagerState @@ -433,6 +574,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploym * Value: "NOT_INSTALLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperControllerManagerState_NotInstalled; +/** + * Deployment is installing or terminating + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperControllerManagerState_Pending; // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementGatekeeperDeploymentState.gatekeeperMutation @@ -461,6 +608,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploym * Value: "NOT_INSTALLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperMutation_NotInstalled; +/** + * Deployment is installing or terminating + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperMutation_Pending; // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState.extension @@ -489,6 +642,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementHierarchyControll * Value: "NOT_INSTALLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Extension_NotInstalled; +/** + * Deployment is installing or terminating + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Extension_Pending; // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState.hnc @@ -517,28 +676,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementHierarchyControll * Value: "NOT_INSTALLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Hnc_NotInstalled; - -// ---------------------------------------------------------------------------- -// GTLRGKEHub_ConfigManagementMembershipSpec.management - -/** - * Google will manage the Feature for the cluster. - * - * Value: "MANAGEMENT_AUTOMATIC" - */ -FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementMembershipSpec_Management_ManagementAutomatic; -/** - * User will manually manage the Feature for the cluster. - * - * Value: "MANAGEMENT_MANUAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementMembershipSpec_Management_ManagementManual; /** - * Unspecified + * Deployment is installing or terminating * - * Value: "MANAGEMENT_UNSPECIFIED" + * Value: "PENDING" */ -FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementMembershipSpec_Management_ManagementUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Hnc_Pending; // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementOperatorState.deploymentState @@ -567,6 +710,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementOperatorState_Dep * Value: "NOT_INSTALLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementOperatorState_DeploymentState_NotInstalled; +/** + * Deployment is installing or terminating + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ConfigManagementOperatorState_DeploymentState_Pending; // ---------------------------------------------------------------------------- // GTLRGKEHub_ConfigManagementPolicyControllerMigration.stage @@ -1399,6 +1548,57 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ScopeLifecycleState_Code_Ready; */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ScopeLifecycleState_Code_Updating; +// ---------------------------------------------------------------------------- +// GTLRGKEHub_SecurityPostureConfig.mode + +/** + * Applies Security Posture features on the cluster. + * + * Value: "BASIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_SecurityPostureConfig_Mode_Basic; +/** + * Disables Security Posture features on the cluster. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_SecurityPostureConfig_Mode_Disabled; +/** + * Default value not specified. + * + * Value: "MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_SecurityPostureConfig_Mode_ModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRGKEHub_SecurityPostureConfig.vulnerabilityMode + +/** + * Applies basic vulnerability scanning on the cluster. + * + * Value: "VULNERABILITY_BASIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_SecurityPostureConfig_VulnerabilityMode_VulnerabilityBasic; +/** + * Disables vulnerability scanning on the cluster. + * + * Value: "VULNERABILITY_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_SecurityPostureConfig_VulnerabilityMode_VulnerabilityDisabled; +/** + * Applies the Security Posture's vulnerability on cluster Enterprise level + * features. + * + * Value: "VULNERABILITY_ENTERPRISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_SecurityPostureConfig_VulnerabilityMode_VulnerabilityEnterprise; +/** + * Default value not specified. + * + * Value: "VULNERABILITY_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_SecurityPostureConfig_VulnerabilityMode_VulnerabilityModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRGKEHub_ServiceMeshControlPlaneManagement.state @@ -1738,6 +1938,32 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; @end +/** + * BinaryAuthorizationConfig defines the fleet level configuration of binary + * authorization feature. + */ +@interface GTLRGKEHub_BinaryAuthorizationConfig : GTLRObject + +/** + * Optional. Mode of operation for binauthz policy evaluation. + * + * Likely values: + * @arg @c kGTLRGKEHub_BinaryAuthorizationConfig_EvaluationMode_Disabled + * Disable BinaryAuthorization (Value: "DISABLED") + * @arg @c kGTLRGKEHub_BinaryAuthorizationConfig_EvaluationMode_EvaluationModeUnspecified + * Default value (Value: "EVALUATION_MODE_UNSPECIFIED") + * @arg @c kGTLRGKEHub_BinaryAuthorizationConfig_EvaluationMode_PolicyBindings + * Use Binary Authorization with the policies specified in + * policy_bindings. (Value: "POLICY_BINDINGS") + */ +@property(nonatomic, copy, nullable) NSString *evaluationMode; + +/** Optional. Binauthz policies that apply to this cluster. */ +@property(nonatomic, strong, nullable) NSArray *policyBindings; + +@end + + /** * Associates `members`, or principals, with a `role`. */ @@ -1808,6 +2034,297 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; @end +/** + * **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade + * feature. + */ +@interface GTLRGKEHub_ClusterUpgradeFleetSpec : GTLRObject + +/** Allow users to override some properties of each GKE upgrade. */ +@property(nonatomic, strong, nullable) NSArray *gkeUpgradeOverrides; + +/** + * Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required. + */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradePostConditions *postConditions; + +/** + * This fleet consumes upgrades that have COMPLETE status code in the upstream + * fleets. See UpgradeStatus.Code for code definitions. The fleet name should + * be either fleet project number or id. This is defined as repeated for future + * proof reasons. Initial implementation will enforce at most one upstream + * fleet. + */ +@property(nonatomic, strong, nullable) NSArray *upstreamFleets; + +@end + + +/** + * **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature. + */ +@interface GTLRGKEHub_ClusterUpgradeFleetState : GTLRObject + +/** + * This fleets whose upstream_fleets contain the current fleet. The fleet name + * should be either fleet project number or id. + */ +@property(nonatomic, strong, nullable) NSArray *downstreamFleets; + +/** Feature state for GKE clusters. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradeGKEUpgradeFeatureState *gkeState; + +/** + * A list of memberships ignored by the feature. For example, manually upgraded + * clusters can be ignored if they are newer than the default versions of its + * release channel. The membership resource is in the format: + * `projects/{p}/locations/{l}/membership/{m}`. + */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradeFleetState_Ignored *ignored; + +@end + + +/** + * A list of memberships ignored by the feature. For example, manually upgraded + * clusters can be ignored if they are newer than the default versions of its + * release channel. The membership resource is in the format: + * `projects/{p}/locations/{l}/membership/{m}`. + * + * @note This class is documented as having more properties of + * GTLRGKEHub_ClusterUpgradeIgnoredMembership. 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 GTLRGKEHub_ClusterUpgradeFleetState_Ignored : GTLRObject +@end + + +/** + * GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. + */ +@interface GTLRGKEHub_ClusterUpgradeGKEUpgrade : GTLRObject + +/** + * Name of the upgrade, e.g., "k8s_control_plane". It should be a valid upgrade + * name. It must not exceet 99 characters. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Version of the upgrade, e.g., "1.22.1-gke.100". It should be a valid + * version. It must not exceet 99 characters. + */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + +/** + * GKEUpgradeFeatureCondition describes the condition of the feature for GKE + * clusters at a certain point of time. + */ +@interface GTLRGKEHub_ClusterUpgradeGKEUpgradeFeatureCondition : GTLRObject + +/** Reason why the feature is in this status. */ +@property(nonatomic, copy, nullable) NSString *reason; + +/** Status of the condition, one of True, False, Unknown. */ +@property(nonatomic, copy, nullable) NSString *status; + +/** Type of the condition, for example, "ready". */ +@property(nonatomic, copy, nullable) NSString *type; + +/** Last timestamp the condition was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * GKEUpgradeFeatureState contains feature states for GKE clusters in the + * scope. + */ +@interface GTLRGKEHub_ClusterUpgradeGKEUpgradeFeatureState : GTLRObject + +/** Current conditions of the feature. */ +@property(nonatomic, strong, nullable) NSArray *conditions; + +/** Upgrade state. It will eventually replace `state`. */ +@property(nonatomic, strong, nullable) NSArray *upgradeState; + +@end + + +/** + * Properties of a GKE upgrade that can be overridden by the user. For example, + * a user can skip soaking by overriding the soaking to 0. + */ +@interface GTLRGKEHub_ClusterUpgradeGKEUpgradeOverride : GTLRObject + +/** + * Required. Post conditions to override for the specified upgrade (name + + * version). Required. + */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradePostConditions *postConditions; + +/** Required. Which upgrade to override. Required. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradeGKEUpgrade *upgrade; + +@end + + +/** + * GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level. + */ +@interface GTLRGKEHub_ClusterUpgradeGKEUpgradeState : GTLRObject + +/** Number of GKE clusters in each status code. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradeGKEUpgradeState_Stats *stats; + +/** Status of the upgrade. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradeUpgradeStatus *status; + +/** Which upgrade to track the state. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradeGKEUpgrade *upgrade; + +@end + + +/** + * Number of GKE clusters in each status code. + * + * @note This class is documented as having more properties of NSNumber (Uses + * NSNumber of longLongValue.). Use @c -additionalJSONKeys and @c + * -additionalPropertyForName: to get the list of properties and then + * fetch them; or @c -additionalProperties to fetch them all at once. + */ +@interface GTLRGKEHub_ClusterUpgradeGKEUpgradeState_Stats : GTLRObject +@end + + +/** + * IgnoredMembership represents a membership ignored by the feature. A + * membership can be ignored because it was manually upgraded to a newer + * version than RC default. + */ +@interface GTLRGKEHub_ClusterUpgradeIgnoredMembership : GTLRObject + +/** Time when the membership was first set to ignored. */ +@property(nonatomic, strong, nullable) GTLRDateTime *ignoredTime; + +/** Reason why the membership is ignored. */ +@property(nonatomic, copy, nullable) NSString *reason; + +@end + + +/** + * ScopeGKEUpgradeState is a GKEUpgrade and its state per-membership. + */ +@interface GTLRGKEHub_ClusterUpgradeMembershipGKEUpgradeState : GTLRObject + +/** Status of the upgrade. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradeUpgradeStatus *status; + +/** Which upgrade to track the state. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradeGKEUpgrade *upgrade; + +@end + + +/** + * Per-membership state for this feature. + */ +@interface GTLRGKEHub_ClusterUpgradeMembershipState : GTLRObject + +/** + * Project number or id of the fleet. It is set only for Memberships that are + * part of fleet-based Rollout Sequencing. + */ +@property(nonatomic, copy, nullable) NSString *fleet; + +/** + * Whether this membership is ignored by the feature. For example, manually + * upgraded clusters can be ignored if they are newer than the default versions + * of its release channel. + */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradeIgnoredMembership *ignored; + +/** + * Fully qualified scope names that this clusters is bound to which also have + * rollout sequencing enabled. + */ +@property(nonatomic, strong, nullable) NSArray *scopes; + +/** Actual upgrade state against desired. */ +@property(nonatomic, strong, nullable) NSArray *upgrades; + +@end + + +/** + * Post conditional checks after an upgrade has been applied on all eligible + * clusters. + */ +@interface GTLRGKEHub_ClusterUpgradePostConditions : GTLRObject + +/** + * Required. Amount of time to "soak" after a rollout has been finished before + * marking it COMPLETE. Cannot exceed 30 days. Required. + */ +@property(nonatomic, strong, nullable) GTLRDuration *soaking; + +@end + + +/** + * UpgradeStatus provides status information for each upgrade. + */ +@interface GTLRGKEHub_ClusterUpgradeUpgradeStatus : GTLRObject + +/** + * Status code of the upgrade. + * + * Likely values: + * @arg @c kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_CodeUnspecified + * Required by https://linter.aip.dev/126/unspecified. (Value: + * "CODE_UNSPECIFIED") + * @arg @c kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Complete The upgrade + * has passed all post conditions (soaking). At the scope level, this + * means all eligible clusters are in COMPLETE status. (Value: + * "COMPLETE") + * @arg @c kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ForcedSoaking A + * cluster will be forced to enter soaking if an upgrade doesn't finish + * within a certain limit, despite it's actual status. (Value: + * "FORCED_SOAKING") + * @arg @c kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Ineligible The + * upgrade is ineligible. At the scope level, this means the upgrade is + * ineligible for all the clusters in the scope. (Value: "INELIGIBLE") + * @arg @c kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_InProgress The + * upgrade is in progress. At the scope level, this means the upgrade is + * in progress for at least one cluster in the scope. (Value: + * "IN_PROGRESS") + * @arg @c kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Pending The upgrade + * is pending. At the scope level, this means the upgrade is pending for + * all the clusters in the scope. (Value: "PENDING") + * @arg @c kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Soaking The upgrade + * has finished and is soaking until the soaking time is up. At the scope + * level, this means at least one cluster is in soaking while the rest + * are either soaking or complete. (Value: "SOAKING") + */ +@property(nonatomic, copy, nullable) NSString *code; + +/** Reason for this status. */ +@property(nonatomic, copy, nullable) NSString *reason; + +/** Last timestamp the status was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * CommonFeatureSpec contains Hub-wide configuration information */ @@ -1816,6 +2333,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; /** Appdevexperience specific spec. */ @property(nonatomic, strong, nullable) GTLRGKEHub_AppDevExperienceFeatureSpec *appdevexperience; +/** ClusterUpgrade (fleet-based) feature spec. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradeFleetSpec *clusterupgrade; + /** FleetObservability feature spec. */ @property(nonatomic, strong, nullable) GTLRGKEHub_FleetObservabilityFeatureSpec *fleetobservability; @@ -1833,6 +2353,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; /** Appdevexperience specific state. */ @property(nonatomic, strong, nullable) GTLRGKEHub_AppDevExperienceFeatureState *appdevexperience; +/** ClusterUpgrade fleet-level state. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradeFleetState *clusterupgrade; + /** FleetObservability feature state. */ @property(nonatomic, strong, nullable) GTLRGKEHub_FleetObservabilityFeatureState *fleetobservability; @@ -1851,6 +2374,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; /** Config Management-specific spec. */ @property(nonatomic, strong, nullable) GTLRGKEHub_ConfigManagementMembershipSpec *configmanagement; +/** Identity Service-specific spec. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_IdentityServiceMembershipSpec *identityservice; + +/** Anthos Service Mesh-specific spec */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ServiceMeshMembershipSpec *mesh; + /** Policy Controller spec. */ @property(nonatomic, strong, nullable) GTLRGKEHub_PolicyControllerMembershipSpec *policycontroller; @@ -1913,15 +2442,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; */ @property(nonatomic, copy, nullable) NSString *sourceFormat; -/** - * Set to true to stop syncing configs for a single cluster when automatic - * Feature management is enabled. Default to false. The field will be ignored - * when automatic Feature management is disabled. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *stopSyncing; - @end @@ -1944,6 +2464,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Deployment is installed (Value: "INSTALLED") * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_AdmissionWebhook_NotInstalled * Deployment is not installed (Value: "NOT_INSTALLED") + * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_AdmissionWebhook_Pending + * Deployment is installing or terminating (Value: "PENDING") */ @property(nonatomic, copy, nullable) NSString *admissionWebhook; @@ -1961,6 +2483,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Deployment is installed (Value: "INSTALLED") * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_GitSync_NotInstalled * Deployment is not installed (Value: "NOT_INSTALLED") + * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_GitSync_Pending + * Deployment is installing or terminating (Value: "PENDING") */ @property(nonatomic, copy, nullable) NSString *gitSync; @@ -1978,6 +2502,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Deployment is installed (Value: "INSTALLED") * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Importer_NotInstalled * Deployment is not installed (Value: "NOT_INSTALLED") + * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Importer_Pending + * Deployment is installing or terminating (Value: "PENDING") */ @property(nonatomic, copy, nullable) NSString *importer; @@ -1995,6 +2521,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Deployment is installed (Value: "INSTALLED") * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Monitor_NotInstalled * Deployment is not installed (Value: "NOT_INSTALLED") + * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Monitor_Pending + * Deployment is installing or terminating (Value: "PENDING") */ @property(nonatomic, copy, nullable) NSString *monitor; @@ -2012,6 +2540,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Deployment is installed (Value: "INSTALLED") * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_ReconcilerManager_NotInstalled * Deployment is not installed (Value: "NOT_INSTALLED") + * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_ReconcilerManager_Pending + * Deployment is installing or terminating (Value: "PENDING") */ @property(nonatomic, copy, nullable) NSString *reconcilerManager; @@ -2029,6 +2559,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Deployment is installed (Value: "INSTALLED") * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_RootReconciler_NotInstalled * Deployment is not installed (Value: "NOT_INSTALLED") + * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_RootReconciler_Pending + * Deployment is installing or terminating (Value: "PENDING") */ @property(nonatomic, copy, nullable) NSString *rootReconciler; @@ -2046,6 +2578,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Deployment is installed (Value: "INSTALLED") * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Syncer_NotInstalled * Deployment is not installed (Value: "NOT_INSTALLED") + * @arg @c kGTLRGKEHub_ConfigManagementConfigSyncDeploymentState_Syncer_Pending + * Deployment is installing or terminating (Value: "PENDING") */ @property(nonatomic, copy, nullable) NSString *syncer; @@ -2154,6 +2688,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Deployment is installed (Value: "INSTALLED") * @arg @c kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperAudit_NotInstalled * Deployment is not installed (Value: "NOT_INSTALLED") + * @arg @c kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperAudit_Pending + * Deployment is installing or terminating (Value: "PENDING") */ @property(nonatomic, copy, nullable) NSString *gatekeeperAudit; @@ -2171,6 +2707,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Deployment is installed (Value: "INSTALLED") * @arg @c kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperControllerManagerState_NotInstalled * Deployment is not installed (Value: "NOT_INSTALLED") + * @arg @c kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperControllerManagerState_Pending + * Deployment is installing or terminating (Value: "PENDING") */ @property(nonatomic, copy, nullable) NSString *gatekeeperControllerManagerState; @@ -2188,6 +2726,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Deployment is installed (Value: "INSTALLED") * @arg @c kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperMutation_NotInstalled * Deployment is not installed (Value: "NOT_INSTALLED") + * @arg @c kGTLRGKEHub_ConfigManagementGatekeeperDeploymentState_GatekeeperMutation_Pending + * Deployment is installing or terminating (Value: "PENDING") */ @property(nonatomic, copy, nullable) NSString *gatekeeperMutation; @@ -2307,6 +2847,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Deployment is installed (Value: "INSTALLED") * @arg @c kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Extension_NotInstalled * Deployment is not installed (Value: "NOT_INSTALLED") + * @arg @c kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Extension_Pending + * Deployment is installing or terminating (Value: "PENDING") */ @property(nonatomic, copy, nullable) NSString *extension; @@ -2324,6 +2866,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Deployment is installed (Value: "INSTALLED") * @arg @c kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Hnc_NotInstalled * Deployment is not installed (Value: "NOT_INSTALLED") + * @arg @c kGTLRGKEHub_ConfigManagementHierarchyControllerDeploymentState_Hnc_Pending + * Deployment is installing or terminating (Value: "PENDING") */ @property(nonatomic, copy, nullable) NSString *hnc; @@ -2391,21 +2935,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; /** Hierarchy Controller configuration for the cluster. */ @property(nonatomic, strong, nullable) GTLRGKEHub_ConfigManagementHierarchyControllerConfig *hierarchyController; -/** - * Enables automatic Feature management. - * - * Likely values: - * @arg @c kGTLRGKEHub_ConfigManagementMembershipSpec_Management_ManagementAutomatic - * Google will manage the Feature for the cluster. (Value: - * "MANAGEMENT_AUTOMATIC") - * @arg @c kGTLRGKEHub_ConfigManagementMembershipSpec_Management_ManagementManual - * User will manually manage the Feature for the cluster. (Value: - * "MANAGEMENT_MANUAL") - * @arg @c kGTLRGKEHub_ConfigManagementMembershipSpec_Management_ManagementUnspecified - * Unspecified (Value: "MANAGEMENT_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *management; - /** Policy Controller configuration for the cluster. */ @property(nonatomic, strong, nullable) GTLRGKEHub_ConfigManagementPolicyController *policyController; @@ -2503,6 +3032,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Deployment is installed (Value: "INSTALLED") * @arg @c kGTLRGKEHub_ConfigManagementOperatorState_DeploymentState_NotInstalled * Deployment is not installed (Value: "NOT_INSTALLED") + * @arg @c kGTLRGKEHub_ConfigManagementOperatorState_DeploymentState_Pending + * Deployment is installing or terminating (Value: "PENDING") */ @property(nonatomic, copy, nullable) NSString *deploymentState; @@ -2746,6 +3277,21 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; @end +/** + * DefaultClusterConfig describes the default cluster configurations to be + * applied to all clusters born-in-fleet. + */ +@interface GTLRGKEHub_DefaultClusterConfig : GTLRObject + +/** Optional. Enable/Disable binary authorization features for the cluster. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_BinaryAuthorizationConfig *binaryAuthorizationConfig; + +/** Enable/Disable Security Posture features for the cluster. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_SecurityPostureConfig *securityPostureConfig; + +@end + + /** * EdgeCluster contains information specific to Google Edge Clusters. */ @@ -3085,6 +3631,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; /** Output only. When the Fleet was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Optional. The default cluster configurations to apply across the fleet. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_DefaultClusterConfig *defaultClusterConfig; + /** Output only. When the Fleet was deleted. */ @property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; @@ -4259,6 +4808,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; /** Appdevexperience specific state. */ @property(nonatomic, strong, nullable) GTLRGKEHub_AppDevExperienceFeatureState *appdevexperience; +/** ClusterUpgrade state. */ +@property(nonatomic, strong, nullable) GTLRGKEHub_ClusterUpgradeMembershipState *clusterupgrade; + /** Config Management-specific state. */ @property(nonatomic, strong, nullable) GTLRGKEHub_ConfigManagementMembershipState *configmanagement; @@ -4769,6 +5321,21 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; @end +/** + * Binauthz policy that applies to this cluster. + */ +@interface GTLRGKEHub_PolicyBinding : GTLRObject + +/** + * The relative resource name of the binauthz platform policy to audit. GKE + * platform policies have the following format: + * `projects/{project_number}/platforms/gke/policies/{policy_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * BundleInstallSpec is the specification configuration for a single managed * bundle. @@ -5286,7 +5853,7 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; /** * The resource name for the rbacrolebinding - * `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` + * `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` * or * `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}` */ @@ -5548,6 +6115,46 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; @end +/** + * SecurityPostureConfig defines the flags needed to enable/disable features + * for the Security Posture API. + */ +@interface GTLRGKEHub_SecurityPostureConfig : GTLRObject + +/** + * Sets which mode to use for Security Posture features. + * + * Likely values: + * @arg @c kGTLRGKEHub_SecurityPostureConfig_Mode_Basic Applies Security + * Posture features on the cluster. (Value: "BASIC") + * @arg @c kGTLRGKEHub_SecurityPostureConfig_Mode_Disabled Disables Security + * Posture features on the cluster. (Value: "DISABLED") + * @arg @c kGTLRGKEHub_SecurityPostureConfig_Mode_ModeUnspecified Default + * value not specified. (Value: "MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *mode; + +/** + * Sets which mode to use for vulnerability scanning. + * + * Likely values: + * @arg @c kGTLRGKEHub_SecurityPostureConfig_VulnerabilityMode_VulnerabilityBasic + * Applies basic vulnerability scanning on the cluster. (Value: + * "VULNERABILITY_BASIC") + * @arg @c kGTLRGKEHub_SecurityPostureConfig_VulnerabilityMode_VulnerabilityDisabled + * Disables vulnerability scanning on the cluster. (Value: + * "VULNERABILITY_DISABLED") + * @arg @c kGTLRGKEHub_SecurityPostureConfig_VulnerabilityMode_VulnerabilityEnterprise + * Applies the Security Posture's vulnerability on cluster Enterprise + * level features. (Value: "VULNERABILITY_ENTERPRISE") + * @arg @c kGTLRGKEHub_SecurityPostureConfig_VulnerabilityMode_VulnerabilityModeUnspecified + * Default value not specified. (Value: "VULNERABILITY_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *vulnerabilityMode; + +@end + + /** * Status of control plane management. */ diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubQuery.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubQuery.h index 143a00ff0..8868383c9 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubQuery.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubQuery.h @@ -2127,7 +2127,7 @@ NS_ASSUME_NONNULL_BEGIN /** * The resource name for the rbacrolebinding - * `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` + * `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` * or * `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}` */ @@ -2147,7 +2147,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRGKEHub_RBACRoleBinding to include in the query. * @param name The resource name for the rbacrolebinding - * `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` + * `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` * or * `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}` * diff --git a/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m b/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m index c823a5910..5bb262519 100644 --- a/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m +++ b/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m @@ -1759,17 +1759,36 @@ @implementation GTLRGKEOnPrem_VmwareAdminAddonNodeConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRGKEOnPrem_VmwareAdminAuthorizationConfig +// + +@implementation GTLRGKEOnPrem_VmwareAdminAuthorizationConfig +@dynamic viewerUsers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"viewerUsers" : [GTLRGKEOnPrem_ClusterUser class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRGKEOnPrem_VmwareAdminCluster // @implementation GTLRGKEOnPrem_VmwareAdminCluster -@dynamic addonNode, annotations, antiAffinityGroups, autoRepairConfig, - bootstrapClusterMembership, controlPlaneNode, createTime, - descriptionProperty, endpoint, ETag, fleet, imageType, loadBalancer, - localName, name, networkConfig, onPremVersion, platformConfig, - preparedSecrets, reconciling, state, status, uid, updateTime, vcenter; +@dynamic addonNode, annotations, antiAffinityGroups, authorization, + autoRepairConfig, bootstrapClusterMembership, controlPlaneNode, + createTime, descriptionProperty, endpoint, ETag, fleet, imageType, + loadBalancer, localName, name, networkConfig, onPremVersion, + platformConfig, preparedSecrets, reconciling, state, status, uid, + updateTime, vcenter; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h index 53591b36c..53f1199d9 100644 --- a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h +++ b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h @@ -106,6 +106,7 @@ @class GTLRGKEOnPrem_VmwareAAGConfig; @class GTLRGKEOnPrem_VmwareAddressPool; @class GTLRGKEOnPrem_VmwareAdminAddonNodeConfig; +@class GTLRGKEOnPrem_VmwareAdminAuthorizationConfig; @class GTLRGKEOnPrem_VmwareAdminCluster; @class GTLRGKEOnPrem_VmwareAdminCluster_Annotations; @class GTLRGKEOnPrem_VmwareAdminControlPlaneNodeConfig; @@ -885,7 +886,7 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; @interface GTLRGKEOnPrem_Authorization : GTLRObject /** - * Required. For VMware and bare metal user clusters, users will be granted the + * For VMware and bare metal user clusters, users will be granted the * cluster-admin role on the cluster, which provides full administrative access * to the cluster. For bare metal admin clusters, users will be granted the * cluster-view role, which limits users to read-only access. @@ -3915,6 +3916,21 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; @end +/** + * VmwareAdminAuthorizationConfig represents configuration for admin cluster + * authorization. + */ +@interface GTLRGKEOnPrem_VmwareAdminAuthorizationConfig : GTLRObject + +/** + * For VMware admin clusters, users will be granted the cluster-viewer role on + * the cluster. + */ +@property(nonatomic, strong, nullable) NSArray *viewerUsers; + +@end + + /** * Resource that represents a VMware admin cluster. */ @@ -3937,6 +3953,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; /** The VMware admin cluster anti affinity group configuration. */ @property(nonatomic, strong, nullable) GTLRGKEOnPrem_VmwareAAGConfig *antiAffinityGroups; +/** The VMware admin cluster authorization configuration. */ +@property(nonatomic, strong, nullable) GTLRGKEOnPrem_VmwareAdminAuthorizationConfig *authorization; + /** The VMware admin cluster auto repair configuration. */ @property(nonatomic, strong, nullable) GTLRGKEOnPrem_VmwareAutoRepairConfig *autoRepairConfig; @@ -4935,8 +4954,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; @property(nonatomic, strong, nullable) GTLRGKEOnPrem_VmwareStaticIpConfig *staticIpConfig; /** - * Output only. vcenter_network specifies vCenter network name. Inherited from - * the admin cluster. + * vcenter_network specifies vCenter network name. Inherited from the admin + * cluster. */ @property(nonatomic, copy, nullable) NSString *vcenterNetwork; diff --git a/Sources/GeneratedServices/Gmail/GTLRGmailObjects.m b/Sources/GeneratedServices/Gmail/GTLRGmailObjects.m index 3da4f04f0..d577e5b83 100644 --- a/Sources/GeneratedServices/Gmail/GTLRGmailObjects.m +++ b/Sources/GeneratedServices/Gmail/GTLRGmailObjects.m @@ -582,7 +582,7 @@ + (NSString *)collectionItemsKey { // @implementation GTLRGmail_ListLabelsResponse -@dynamic labels; +@dynamic labels, productId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailObjects.h b/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailObjects.h index f5d59114e..066485ded 100644 --- a/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailObjects.h +++ b/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailObjects.h @@ -1318,6 +1318,13 @@ FOUNDATION_EXTERN NSString * const kGTLRGmail_WatchRequest_LabelFilterBehavior_I */ @property(nonatomic, strong, nullable) NSArray *labels; +/** + * productId + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *productId; + @end diff --git a/Sources/GeneratedServices/GoogleAnalyticsAdmin/GTLRGoogleAnalyticsAdminObjects.m b/Sources/GeneratedServices/GoogleAnalyticsAdmin/GTLRGoogleAnalyticsAdminObjects.m index 43cae4ffc..e20df34eb 100644 --- a/Sources/GeneratedServices/GoogleAnalyticsAdmin/GTLRGoogleAnalyticsAdminObjects.m +++ b/Sources/GeneratedServices/GoogleAnalyticsAdmin/GTLRGoogleAnalyticsAdminObjects.m @@ -518,7 +518,18 @@ @implementation GTLRGoogleAnalyticsAdmin_V1betaChangeHistoryEvent // @implementation GTLRGoogleAnalyticsAdmin_V1betaConversionEvent -@dynamic countingMethod, createTime, custom, deletable, eventName, name; +@dynamic countingMethod, createTime, custom, defaultConversionValue, deletable, + eventName, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRGoogleAnalyticsAdmin_V1betaConversionEventDefaultConversionValue +// + +@implementation GTLRGoogleAnalyticsAdmin_V1betaConversionEventDefaultConversionValue +@dynamic currencyCode, value; @end diff --git a/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminObjects.h b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminObjects.h index 0c09c7230..eb067fd0d 100644 --- a/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminObjects.h +++ b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminObjects.h @@ -46,6 +46,7 @@ @class GTLRGoogleAnalyticsAdmin_V1betaChangeHistoryChangeChangeHistoryResource; @class GTLRGoogleAnalyticsAdmin_V1betaChangeHistoryEvent; @class GTLRGoogleAnalyticsAdmin_V1betaConversionEvent; +@class GTLRGoogleAnalyticsAdmin_V1betaConversionEventDefaultConversionValue; @class GTLRGoogleAnalyticsAdmin_V1betaCustomDimension; @class GTLRGoogleAnalyticsAdmin_V1betaCustomMetric; @class GTLRGoogleAnalyticsAdmin_V1betaDataRetentionSettings; @@ -1532,6 +1533,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGoogleAnalyticsAdmin_V1betaSearchChangeH */ @property(nonatomic, strong, nullable) NSNumber *custom; +/** Optional. Defines a default value/currency for a conversion event. */ +@property(nonatomic, strong, nullable) GTLRGoogleAnalyticsAdmin_V1betaConversionEventDefaultConversionValue *defaultConversionValue; + /** * Output only. If set, this event can currently be deleted with * DeleteConversionEvent. @@ -1555,6 +1559,30 @@ FOUNDATION_EXTERN NSString * const kGTLRGoogleAnalyticsAdmin_V1betaSearchChangeH @end +/** + * Defines a default value/currency for a conversion event. Both value and + * currency must be provided. + */ +@interface GTLRGoogleAnalyticsAdmin_V1betaConversionEventDefaultConversionValue : GTLRObject + +/** + * When a conversion event for this event_name has no set currency, this + * currency will be applied as the default. Must be in ISO 4217 currency code + * format. See https://en.wikipedia.org/wiki/ISO_4217 for more. + */ +@property(nonatomic, copy, nullable) NSString *currencyCode; + +/** + * This value will be used to populate the value for all conversions of the + * specified event_name where the event "value" parameter is unset. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *value; + +@end + + /** * A definition for a CustomDimension. */ diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h index bf4a99d1e..41b73c757 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h @@ -4191,7 +4191,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @interface GTLRHangoutsChat_ListMembershipsResponse : GTLRCollectionObject /** - * List of memberships in the requested (or first) page. + * Unordered list. List of memberships in the requested (or first) page. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -4552,7 +4552,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** * The thread the message belongs to. For example usage, see [Start or reply to * a message - * thread](https://developers.google.com/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread). + * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread). */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_Thread *thread; @@ -5156,15 +5156,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** * Resource name for a Google Chat user. Format: `users/{user}`. `users/app` * can be used as an alias for the calling app bot user. For human users, - * `{user}` is the same user identifier as: - the `{person_id`} for the + * `{user}` is the same user identifier as: - the `id` for the * [Person](https://developers.google.com/people/api/rest/v1/people) in the - * People API, where the Person `resource_name` is `people/{person_id}`. For - * example, `users/123456789` in Chat API represents the same person as - * `people/123456789` in People API. - the `id` for a + * People API. For example, `users/123456789` in Chat API represents the same + * person as the `123456789` Person profile ID in People API. - the `id` for a * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users) * in the Admin SDK Directory API. - the user's email address can be used as an * alias for `{user}` in API requests. For example, if the People API Person - * `resourceName` for `user\@example.com` is `people/123456789`, you can use + * profile ID for `user\@example.com` is `123456789`, you can use * `users/user\@example.com` as an alias to reference `users/123456789`. Only * the canonical resource name (for example `users/123456789`) will be returned * from the API. diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h index 6912b7a77..69aed0429 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h @@ -31,7 +31,8 @@ NS_ASSUME_NONNULL_BEGIN // messageReplyOption /** - * Default. Starts a thread. + * Default. Starts a new thread. Using this option ignores any thread ID or + * `thread_key` that's included. * * Value: "MESSAGE_REPLY_OPTION_UNSPECIFIED" */ @@ -275,13 +276,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa /** * Required. Resource name of the user to find direct message with. Format: - * `users/{user}`, where `{user}` is either the `{person_id}` for the + * `users/{user}`, where `{user}` is either the `id` for the * [person](https://developers.google.com/people/api/rest/v1/people) from the * People API, or the `id` for the * [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users) - * in the Directory API. For example, if the People API `Person.resourceName` - * is `people/123456789`, you can find a direct message with that person by - * using `users/123456789` as the `name`. When [authenticated as a + * in the Directory API. For example, if the People API profile ID is + * `123456789`, you can find a direct message with that person by using + * `users/123456789` as the `name`. When [authenticated as a * user](https://developers.google.com/chat/api/guides/auth/users), you can use * the email as an alias for `{user}`. For example, `users/example\@gmail.com` * where `example\@gmail.com` is the email of the Google Chat user. @@ -454,11 +455,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * message between two human users, use `users/app`. Unable to add other apps * to the space. - To add a human user, use `users/{user}`, where `{user}` can * be the email address for the user. For users in the same Workspace - * organization `{user}` can also be the `{person_id}` for the person from the - * People API, or the `id` for the user in the Directory API. For example, if - * the People API Person `resourceName` for `user\@example.com` is - * `people/123456789`, you can add the user to the space by setting the - * `membership.member.name` to `users/user\@example.com` or `users/123456789`. + * organization `{user}` can also be the `id` for the person from the People + * API, or the `id` for the user in the Directory API. For example, if the + * People API Person profile ID for `user\@example.com` is `123456789`, you can + * add the user to the space by setting the `membership.member.name` to + * `users/user\@example.com` or `users/123456789`. * * Method: chat.spaces.members.create * @@ -491,11 +492,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * message between two human users, use `users/app`. Unable to add other apps * to the space. - To add a human user, use `users/{user}`, where `{user}` can * be the email address for the user. For users in the same Workspace - * organization `{user}` can also be the `{person_id}` for the person from the - * People API, or the `id` for the user in the Directory API. For example, if - * the People API Person `resourceName` for `user\@example.com` is - * `people/123456789`, you can add the user to the space by setting the - * `membership.member.name` to `users/user\@example.com` or `users/123456789`. + * organization `{user}` can also be the `id` for the person from the People + * API, or the `id` for the user in the Directory API. For example, if the + * People API Person profile ID for `user\@example.com` is `123456789`, you can + * add the user to the space by setting the `membership.member.name` to + * `users/user\@example.com` or `users/123456789`. * * @param object The @c GTLRHangoutsChat_Membership to include in the query. * @param parent Required. The resource name of the space for which to create @@ -810,7 +811,9 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * * Likely values: * @arg @c kGTLRHangoutsChatMessageReplyOptionMessageReplyOptionUnspecified - * Default. Starts a thread. (Value: "MESSAGE_REPLY_OPTION_UNSPECIFIED") + * Default. Starts a new thread. Using this option ignores any thread ID + * or `thread_key` that's included. (Value: + * "MESSAGE_REPLY_OPTION_UNSPECIFIED") * @arg @c kGTLRHangoutsChatMessageReplyOptionReplyMessageFallbackToNewThread * Creates the message as a reply to the thread specified by thread ID or * `thread_key`. If it fails, the message starts a new thread instead. @@ -840,7 +843,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Supports up to 4000 characters. To start or add to a thread, create a * message and specify a `threadKey` or the thread.name. For example usage, see * [Start or reply to a message - * thread](https://developers.google.com/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread). + * thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread). */ @property(nonatomic, copy, nullable) NSString *threadKey GTLR_DEPRECATED; @@ -1478,12 +1481,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * specify the human members to add, add memberships with the appropriate * `member.name` in the `SetUpSpaceRequest`. To add a human user, use * `users/{user}`, where `{user}` can be the email address for the user. For - * users in the same Workspace organization `{user}` can also be the - * `{person_id}` for the person from the People API, or the `id` for the user - * in the Directory API. For example, if the People API Person `resourceName` - * for `user\@example.com` is `people/123456789`, you can add the user to the - * space by setting the `membership.member.name` to `users/user\@example.com` - * or `users/123456789`. For a space or group chat, if the caller blocks or is + * users in the same Workspace organization `{user}` can also be the `id` for + * the person from the People API, or the `id` for the user in the Directory + * API. For example, if the People API Person profile ID for + * `user\@example.com` is `123456789`, you can add the user to the space by + * setting the `membership.member.name` to `users/user\@example.com` or + * `users/123456789`. For a space or group chat, if the caller blocks or is * blocked by some members, then those members aren't added to the created * space. To create a direct message (DM) between the calling user and another * human user, specify exactly one membership to represent the human user. If @@ -1520,12 +1523,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * specify the human members to add, add memberships with the appropriate * `member.name` in the `SetUpSpaceRequest`. To add a human user, use * `users/{user}`, where `{user}` can be the email address for the user. For - * users in the same Workspace organization `{user}` can also be the - * `{person_id}` for the person from the People API, or the `id` for the user - * in the Directory API. For example, if the People API Person `resourceName` - * for `user\@example.com` is `people/123456789`, you can add the user to the - * space by setting the `membership.member.name` to `users/user\@example.com` - * or `users/123456789`. For a space or group chat, if the caller blocks or is + * users in the same Workspace organization `{user}` can also be the `id` for + * the person from the People API, or the `id` for the user in the Directory + * API. For example, if the People API Person profile ID for + * `user\@example.com` is `123456789`, you can add the user to the space by + * setting the `membership.member.name` to `users/user\@example.com` or + * `users/123456789`. For a space or group chat, if the caller blocks or is * blocked by some members, then those members aren't added to the created * space. To create a direct message (DM) between the calling user and another * human user, specify exactly one membership to represent the human user. If diff --git a/Sources/GeneratedServices/Logging/GTLRLoggingObjects.m b/Sources/GeneratedServices/Logging/GTLRLoggingObjects.m index 4ff2b6a32..d53fd8436 100644 --- a/Sources/GeneratedServices/Logging/GTLRLoggingObjects.m +++ b/Sources/GeneratedServices/Logging/GTLRLoggingObjects.m @@ -31,6 +31,11 @@ NSString * const kGTLRLogging_CopyLogEntriesMetadata_State_OperationStateUnspecified = @"OPERATION_STATE_UNSPECIFIED"; NSString * const kGTLRLogging_CopyLogEntriesMetadata_State_OperationStateWaitingForPermissions = @"OPERATION_STATE_WAITING_FOR_PERMISSIONS"; +// GTLRLogging_DefaultSinkConfig.mode +NSString * const kGTLRLogging_DefaultSinkConfig_Mode_Append = @"APPEND"; +NSString * const kGTLRLogging_DefaultSinkConfig_Mode_FilterWriteModeUnspecified = @"FILTER_WRITE_MODE_UNSPECIFIED"; +NSString * const kGTLRLogging_DefaultSinkConfig_Mode_Overwrite = @"OVERWRITE"; + // GTLRLogging_IndexConfig.type NSString * const kGTLRLogging_IndexConfig_Type_IndexTypeInteger = @"INDEX_TYPE_INTEGER"; NSString * const kGTLRLogging_IndexConfig_Type_IndexTypeString = @"INDEX_TYPE_STRING"; @@ -257,6 +262,24 @@ @implementation GTLRLogging_CreateLinkRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRLogging_DefaultSinkConfig +// + +@implementation GTLRLogging_DefaultSinkConfig +@dynamic exclusions, filter, mode; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"exclusions" : [GTLRLogging_LogExclusion class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRLogging_DeleteLinkRequest @@ -589,6 +612,52 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRLogging_ListRecentQueriesResponse +// + +@implementation GTLRLogging_ListRecentQueriesResponse +@dynamic nextPageToken, recentQueries, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"recentQueries" : [GTLRLogging_RecentQuery class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"recentQueries"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLogging_ListSavedQueriesResponse +// + +@implementation GTLRLogging_ListSavedQueriesResponse +@dynamic nextPageToken, savedQueries, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"savedQueries" : [GTLRLogging_SavedQuery class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"savedQueries"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRLogging_ListSinksResponse @@ -712,10 +781,18 @@ @implementation GTLRLogging_LogBucket // @implementation GTLRLogging_LogEntry -@dynamic httpRequest, insertId, jsonPayload, labels, logName, metadata, - operation, protoPayload, receiveTimestamp, resource, severity, - sourceLocation, spanId, split, textPayload, timestamp, trace, +@dynamic errorGroups, httpRequest, insertId, jsonPayload, labels, logName, + metadata, operation, protoPayload, receiveTimestamp, resource, + severity, sourceLocation, spanId, split, textPayload, timestamp, trace, traceSampled; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"errorGroups" : [GTLRLogging_LogErrorGroup class] + }; + return map; +} + @end @@ -786,6 +863,21 @@ @implementation GTLRLogging_LogEntrySourceLocation @end +// ---------------------------------------------------------------------------- +// +// GTLRLogging_LogErrorGroup +// + +@implementation GTLRLogging_LogErrorGroup +@dynamic identifier; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRLogging_LogExclusion @@ -1047,6 +1139,44 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRLogging_OpsAnalyticsQuery +// + +@implementation GTLRLogging_OpsAnalyticsQuery +@dynamic sqlQueryText; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLogging_Query +// + +@implementation GTLRLogging_Query +@dynamic filter, summaryFieldEnd, summaryFields, summaryFieldStart; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"summaryFields" : [GTLRLogging_SummaryField class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLogging_RecentQuery +// + +@implementation GTLRLogging_RecentQuery +@dynamic lastRunTime, loggingQuery, name, opsAnalyticsQuery; +@end + + // ---------------------------------------------------------------------------- // // GTLRLogging_RequestLog @@ -1071,13 +1201,29 @@ @implementation GTLRLogging_RequestLog @end +// ---------------------------------------------------------------------------- +// +// GTLRLogging_SavedQuery +// + +@implementation GTLRLogging_SavedQuery +@dynamic createTime, descriptionProperty, displayName, loggingQuery, name, + opsAnalyticsQuery, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRLogging_Settings // @implementation GTLRLogging_Settings -@dynamic disableDefaultSink, kmsKeyName, kmsServiceAccountId, +@dynamic defaultSinkConfig, disableDefaultSink, kmsKeyName, kmsServiceAccountId, loggingServiceAccountId, name, storageLocation; @end @@ -1134,6 +1280,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRLogging_SummaryField +// + +@implementation GTLRLogging_SummaryField +@dynamic field; +@end + + // ---------------------------------------------------------------------------- // // GTLRLogging_SuppressionInfo diff --git a/Sources/GeneratedServices/Logging/GTLRLoggingQuery.m b/Sources/GeneratedServices/Logging/GTLRLoggingQuery.m index 20b94c59b..b77296726 100644 --- a/Sources/GeneratedServices/Logging/GTLRLoggingQuery.m +++ b/Sources/GeneratedServices/Logging/GTLRLoggingQuery.m @@ -681,6 +681,90 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRLoggingQuery_BillingAccountsLocationsRecentQueriesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/recentQueries"; + GTLRLoggingQuery_BillingAccountsLocationsRecentQueriesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_ListRecentQueriesResponse class]; + query.loggingName = @"logging.billingAccounts.locations.recentQueries.list"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_BillingAccountsLocationsSavedQueriesCreate + +@dynamic parent, savedQueryId; + ++ (instancetype)queryWithObject:(GTLRLogging_SavedQuery *)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}/savedQueries"; + GTLRLoggingQuery_BillingAccountsLocationsSavedQueriesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_SavedQuery class]; + query.loggingName = @"logging.billingAccounts.locations.savedQueries.create"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_BillingAccountsLocationsSavedQueriesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRLoggingQuery_BillingAccountsLocationsSavedQueriesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLogging_Empty class]; + query.loggingName = @"logging.billingAccounts.locations.savedQueries.delete"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_BillingAccountsLocationsSavedQueriesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/savedQueries"; + GTLRLoggingQuery_BillingAccountsLocationsSavedQueriesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_ListSavedQueriesResponse class]; + query.loggingName = @"logging.billingAccounts.locations.savedQueries.list"; + return query; +} + +@end + @implementation GTLRLoggingQuery_BillingAccountsLogsDelete @dynamic logName; @@ -1728,6 +1812,90 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRLoggingQuery_FoldersLocationsRecentQueriesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/recentQueries"; + GTLRLoggingQuery_FoldersLocationsRecentQueriesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_ListRecentQueriesResponse class]; + query.loggingName = @"logging.folders.locations.recentQueries.list"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_FoldersLocationsSavedQueriesCreate + +@dynamic parent, savedQueryId; + ++ (instancetype)queryWithObject:(GTLRLogging_SavedQuery *)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}/savedQueries"; + GTLRLoggingQuery_FoldersLocationsSavedQueriesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_SavedQuery class]; + query.loggingName = @"logging.folders.locations.savedQueries.create"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_FoldersLocationsSavedQueriesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRLoggingQuery_FoldersLocationsSavedQueriesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLogging_Empty class]; + query.loggingName = @"logging.folders.locations.savedQueries.delete"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_FoldersLocationsSavedQueriesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/savedQueries"; + GTLRLoggingQuery_FoldersLocationsSavedQueriesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_ListSavedQueriesResponse class]; + query.loggingName = @"logging.folders.locations.savedQueries.list"; + return query; +} + +@end + @implementation GTLRLoggingQuery_FoldersLogsDelete @dynamic logName; @@ -3155,6 +3323,90 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRLoggingQuery_OrganizationsLocationsRecentQueriesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/recentQueries"; + GTLRLoggingQuery_OrganizationsLocationsRecentQueriesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_ListRecentQueriesResponse class]; + query.loggingName = @"logging.organizations.locations.recentQueries.list"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_OrganizationsLocationsSavedQueriesCreate + +@dynamic parent, savedQueryId; + ++ (instancetype)queryWithObject:(GTLRLogging_SavedQuery *)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}/savedQueries"; + GTLRLoggingQuery_OrganizationsLocationsSavedQueriesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_SavedQuery class]; + query.loggingName = @"logging.organizations.locations.savedQueries.create"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_OrganizationsLocationsSavedQueriesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRLoggingQuery_OrganizationsLocationsSavedQueriesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLogging_Empty class]; + query.loggingName = @"logging.organizations.locations.savedQueries.delete"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_OrganizationsLocationsSavedQueriesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/savedQueries"; + GTLRLoggingQuery_OrganizationsLocationsSavedQueriesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_ListSavedQueriesResponse class]; + query.loggingName = @"logging.organizations.locations.savedQueries.list"; + return query; +} + +@end + @implementation GTLRLoggingQuery_OrganizationsLogsDelete @dynamic logName; @@ -4057,6 +4309,90 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRLoggingQuery_ProjectsLocationsRecentQueriesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/recentQueries"; + GTLRLoggingQuery_ProjectsLocationsRecentQueriesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_ListRecentQueriesResponse class]; + query.loggingName = @"logging.projects.locations.recentQueries.list"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_ProjectsLocationsSavedQueriesCreate + +@dynamic parent, savedQueryId; + ++ (instancetype)queryWithObject:(GTLRLogging_SavedQuery *)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}/savedQueries"; + GTLRLoggingQuery_ProjectsLocationsSavedQueriesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_SavedQuery class]; + query.loggingName = @"logging.projects.locations.savedQueries.create"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_ProjectsLocationsSavedQueriesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRLoggingQuery_ProjectsLocationsSavedQueriesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLogging_Empty class]; + query.loggingName = @"logging.projects.locations.savedQueries.delete"; + return query; +} + +@end + +@implementation GTLRLoggingQuery_ProjectsLocationsSavedQueriesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/savedQueries"; + GTLRLoggingQuery_ProjectsLocationsSavedQueriesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRLogging_ListSavedQueriesResponse class]; + query.loggingName = @"logging.projects.locations.savedQueries.list"; + return query; +} + +@end + @implementation GTLRLoggingQuery_ProjectsLogsDelete @dynamic logName; diff --git a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h index 80dda7127..71ec19f9c 100644 --- a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h +++ b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h @@ -21,6 +21,7 @@ @class GTLRLogging_CopyLogEntriesRequest; @class GTLRLogging_CreateBucketRequest; @class GTLRLogging_CreateLinkRequest; +@class GTLRLogging_DefaultSinkConfig; @class GTLRLogging_DeleteLinkRequest; @class GTLRLogging_Explicit; @class GTLRLogging_Exponential; @@ -39,6 +40,7 @@ @class GTLRLogging_LogEntry_ProtoPayload; @class GTLRLogging_LogEntryOperation; @class GTLRLogging_LogEntrySourceLocation; +@class GTLRLogging_LogErrorGroup; @class GTLRLogging_LogExclusion; @class GTLRLogging_LogLine; @class GTLRLogging_LogMetric; @@ -57,10 +59,15 @@ @class GTLRLogging_Operation; @class GTLRLogging_Operation_Metadata; @class GTLRLogging_Operation_Response; +@class GTLRLogging_OpsAnalyticsQuery; +@class GTLRLogging_Query; +@class GTLRLogging_RecentQuery; +@class GTLRLogging_SavedQuery; @class GTLRLogging_SourceLocation; @class GTLRLogging_SourceReference; @class GTLRLogging_Status; @class GTLRLogging_Status_Details_Item; +@class GTLRLogging_SummaryField; @class GTLRLogging_SuppressionInfo; @class GTLRLogging_UpdateBucketRequest; @class GTLRLogging_WriteLogEntriesRequest_Labels; @@ -167,6 +174,30 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_CopyLogEntriesMetadata_State_Ope */ FOUNDATION_EXTERN NSString * const kGTLRLogging_CopyLogEntriesMetadata_State_OperationStateWaitingForPermissions; +// ---------------------------------------------------------------------------- +// GTLRLogging_DefaultSinkConfig.mode + +/** + * The contents of filter will be appended to the built-in _Default sink + * filter. Using the append mode with an empty filter will keep the sink + * inclusion filter unchanged. + * + * Value: "APPEND" + */ +FOUNDATION_EXTERN NSString * const kGTLRLogging_DefaultSinkConfig_Mode_Append; +/** + * The filter's write mode is unspecified. This mode must not be used. + * + * Value: "FILTER_WRITE_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLogging_DefaultSinkConfig_Mode_FilterWriteModeUnspecified; +/** + * The contents of filter will overwrite the built-in _Default sink filter. + * + * Value: "OVERWRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRLogging_DefaultSinkConfig_Mode_Overwrite; + // ---------------------------------------------------------------------------- // GTLRLogging_IndexConfig.type @@ -1167,6 +1198,53 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @end +/** + * Describes the custom _Default sink configuration that is used to override + * the built-in _Default sink configuration in newly created resource + * containers, such as projects or folders. + */ +@interface GTLRLogging_DefaultSinkConfig : GTLRObject + +/** + * Optional. Specifies the set of exclusions to be added to the _Default sink + * in newly created resource containers. + */ +@property(nonatomic, strong, nullable) NSArray *exclusions; + +/** + * Optional. An advanced logs filter + * (https://cloud.google.com/logging/docs/view/advanced-queries). The only + * exported log entries are those that are in the resource owning the sink and + * that match the filter.For + * example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND + * severity>=ERRORCannot be empty or unset if mode == OVERWRITE. In order to + * match all logs, use the following line as the value of filter and do not use + * exclusions:logName:* + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Required. Determines the behavior to apply to the built-in _Default sink + * inclusion filter.Exclusions are always appended, as built-in _Default sinks + * have no exclusions. + * + * Likely values: + * @arg @c kGTLRLogging_DefaultSinkConfig_Mode_Append The contents of filter + * will be appended to the built-in _Default sink filter. Using the + * append mode with an empty filter will keep the sink inclusion filter + * unchanged. (Value: "APPEND") + * @arg @c kGTLRLogging_DefaultSinkConfig_Mode_FilterWriteModeUnspecified The + * filter's write mode is unspecified. This mode must not be used. + * (Value: "FILTER_WRITE_MODE_UNSPECIFIED") + * @arg @c kGTLRLogging_DefaultSinkConfig_Mode_Overwrite The contents of + * filter will overwrite the built-in _Default sink filter. (Value: + * "OVERWRITE") + */ +@property(nonatomic, copy, nullable) NSString *mode; + +@end + + /** * The parameters to DeleteLink. */ @@ -1880,6 +1958,87 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @end +/** + * The response from ListRecentQueries. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "recentQueries" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRLogging_ListRecentQueriesResponse : GTLRCollectionObject + +/** + * If there might be more results than appear in this response, then + * nextPageToken is included. To get the next set of results, call the same + * method again using the value of nextPageToken as pageToken. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * A list of recent queries. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *recentQueries; + +/** + * The unreachable resources. Each resource can be either 1) a saved query if a + * specific query is unreachable or 2) a location if a specific location is + * unreachable. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]" + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For + * example:"projects/my-project/locations/global/recentQueries/12345678" + * "projects/my-project/locations/global"If there are unreachable resources, + * the response will first return pages that contain recent queries, and then + * return pages that contain the unreachable resources. + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * The response from ListSavedQueries. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "savedQueries" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRLogging_ListSavedQueriesResponse : GTLRCollectionObject + +/** + * If there might be more results than appear in this response, then + * nextPageToken is included. To get the next set of results, call the same + * method again using the value of nextPageToken as pageToken. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * A list of saved queries. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *savedQueries; + +/** + * The unreachable resources. It can be either 1) a saved query if a specific + * query is unreachable or 2) a location if a specific location is unreachabe. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/global/savedQueries/12345678" + * "projects/my-project/locations/global" If there are unreachable resources, + * the response will first return pages that contain saved queries, and then + * return pages that contain the unreachable resources. + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * Result returned from ListSinks. * @@ -2123,6 +2282,17 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns */ @interface GTLRLogging_LogEntry : GTLRObject +/** + * Output only. The Error Reporting (https://cloud.google.com/error-reporting) + * error groups associated with this LogEntry. Error Reporting sets the values + * for this field during error group creation.For more information, see View + * error details( + * https://cloud.google.com/error-reporting/docs/viewing-errors#view_error_details)This + * field isn't available during log routing + * (https://cloud.google.com/logging/docs/routing/overview) + */ +@property(nonatomic, strong, nullable) NSArray *errorGroups; + /** * Optional. Information about the HTTP request associated with this log entry, * if applicable. @@ -2438,6 +2608,27 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @end +/** + * Contains metadata that associates the LogEntry to Error Reporting error + * groups. + */ +@interface GTLRLogging_LogErrorGroup : GTLRObject + +/** + * The id is a unique identifier for a particular error group; it is the last + * part of the error group resource name: /projects//errors/. Example: + * COShysOX0r_51QE The id is derived from key parts of the error-log content + * and is treated as Service Data. For information about how Service Data is + * handled, see Google Cloud Privacy Notice + * (https://cloud.google.com/terms/cloud-privacy-notice). + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +@end + + /** * Specifies a set of log entries that are filtered out by a sink. If your * Google Cloud resource receives a large volume of log entries, you can use @@ -3450,6 +3641,85 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @end +/** + * Describes an analytics query that can be run in the Log Analytics page of + * Google Cloud console.Preview: This is a preview feature and may be subject + * to change before final release. + */ +@interface GTLRLogging_OpsAnalyticsQuery : GTLRObject + +/** + * Required. A logs analytics SQL query, which generally follows BigQuery + * format.This is the SQL query that appears in the Log Analytics UI's query + * editor. + */ +@property(nonatomic, copy, nullable) NSString *sqlQueryText; + +@end + + +/** + * Describes a Cloud Logging query that can be run in Logs Explorer UI or via + * the logging API.In addition to the query itself, additional information may + * be stored to capture the display configuration and other UI state used in + * association with analysis of query results. + */ +@interface GTLRLogging_Query : GTLRObject + +/** + * An advanced query using the Logging Query Language + * (https://cloud.google.com/logging/docs/view/logging-query-language). The + * maximum length of the filter is 20000 characters. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Characters will be counted from the end of the string. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *summaryFieldEnd; + +/** The set of summary fields to display for this saved query. */ +@property(nonatomic, strong, nullable) NSArray *summaryFields; + +/** + * Characters will be counted from the start of the string. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *summaryFieldStart; + +@end + + +/** + * Describes a recent query executed on the Logs Explorer or Log Analytics page + * within the last ~ 30 days. + */ +@interface GTLRLogging_RecentQuery : GTLRObject + +/** The timestamp when this query was last run. */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastRunTime; + +/** Logging query that can be executed in Logs Explorer or via Logging API. */ +@property(nonatomic, strong, nullable) GTLRLogging_Query *loggingQuery; + +/** + * Output only. 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 + * system generated alphanumeric ID. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Analytics query that can be executed in Log Analytics. */ +@property(nonatomic, strong, nullable) GTLRLogging_OpsAnalyticsQuery *opsAnalyticsQuery; + +@end + + /** * Complete log information about a single HTTP request to an App Engine * application. @@ -3622,12 +3892,55 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @end +/** + * Describes a query that has been saved by a user. + */ +@interface GTLRLogging_SavedQuery : GTLRObject + +/** Output only. The timestamp when the saved query was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * A human readable description of the saved query. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** The user specified title for the SavedQuery. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Logging query that can be executed in Logs Explorer or via Logging API. */ +@property(nonatomic, strong, nullable) GTLRLogging_Query *loggingQuery; + +/** + * Output only. Resource name of the saved query.In the format: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For + * a list of supported locations, see Supported Regions + * (https://cloud.google.com/logging/docs/region-support#bucket-regions)After + * the saved query is created, the location cannot be changed.If the user + * doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Analytics query that can be executed in Log Analytics. */ +@property(nonatomic, strong, nullable) GTLRLogging_OpsAnalyticsQuery *opsAnalyticsQuery; + +/** Output only. The timestamp when the saved query was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Describes the settings associated with a project, folder, organization, * billing account, or flexible resource. */ @interface GTLRLogging_Settings : GTLRObject +/** Optional. Overrides the built-in configuration for _Default sink. */ +@property(nonatomic, strong, nullable) GTLRLogging_DefaultSinkConfig *defaultSinkConfig; + /** * Optional. If set to true, the _Default sink in newly created projects and * folders will created in a disabled state. This can be used to automatically @@ -3671,9 +3984,10 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @property(nonatomic, copy, nullable) NSString *kmsServiceAccountId; /** - * Output only. The service account for the given container. Sinks use this - * service account as their writer_identity if no custom service account is - * provided. + * Output only. The service account for the given resource container, such as + * project or folder. Log sinks use this service account as their + * writer_identity if no custom service account is provided in the request when + * calling the create sink method. */ @property(nonatomic, copy, nullable) NSString *loggingServiceAccountId; @@ -3789,6 +4103,22 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @end +/** + * A field from the LogEntry that is added to the summary line + * (https://cloud.google.com/logging/docs/view/logs-explorer-interface#add-summary-fields) + * for a query in the Logs Explorer. + */ +@interface GTLRLogging_SummaryField : GTLRObject + +/** + * The field from the LogEntry to include in the summary line, for example + * resource.type or jsonPayload.name. + */ +@property(nonatomic, copy, nullable) NSString *field; + +@end + + /** * Information about entries that were omitted from the session. */ diff --git a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h index d51a3a71e..ef9a8a7de 100644 --- a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h +++ b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h @@ -1454,6 +1454,231 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Lists the RecentQueries that were created by the user making the request. + * + * Method: logging.billingAccounts.locations.recentQueries.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead + */ +@interface GTLRLoggingQuery_BillingAccountsLocationsRecentQueriesList : GTLRLoggingQuery + +/** + * Optional. The maximum number of results to return from this request. + * Non-positive values are ignored. The presence of nextPageToken in the + * response indicates that more results might be available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. If present, then retrieve the next batch of results from the + * preceding call to this method. pageToken must be the value of nextPageToken + * from the previous response. The values of other method parameters should be + * identical to those in the previous call. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For + * example:projects/my-project/locations/us-central1Note: The location portion + * of the resource must be specified, but supplying the character - in place of + * LOCATION_ID will return all recent queries. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLogging_ListRecentQueriesResponse. + * + * Lists the RecentQueries that were created by the user making the request. + * + * @param parent Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For + * example:projects/my-project/locations/us-central1Note: The location + * portion of the resource must be specified, but supplying the character - + * in place of LOCATION_ID will return all recent queries. + * + * @return GTLRLoggingQuery_BillingAccountsLocationsRecentQueriesList + * + * @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 SavedQuery for the user making the request. + * + * Method: logging.billingAccounts.locations.savedQueries.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_BillingAccountsLocationsSavedQueriesCreate : GTLRLoggingQuery + +/** + * Required. The parent resource in which to create the saved query: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/global" + * "organizations/123456789/locations/us-central1" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. The ID to use for the saved query, which will become the final + * component of the saved query's resource name.If the saved_query_id is not + * provided, the system will generate an alphanumeric ID.The saved_query_id is + * limited to 100 characters and can include only the following characters: + * upper and lower-case alphanumeric characters, underscores, hyphens, and + * periods. First character has to be alphanumeric. + */ +@property(nonatomic, copy, nullable) NSString *savedQueryId; + +/** + * Fetches a @c GTLRLogging_SavedQuery. + * + * Creates a new SavedQuery for the user making the request. + * + * @param object The @c GTLRLogging_SavedQuery to include in the query. + * @param parent Required. The parent resource in which to create the saved + * query: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/global" + * "organizations/123456789/locations/us-central1" + * + * @return GTLRLoggingQuery_BillingAccountsLocationsSavedQueriesCreate + */ ++ (instancetype)queryWithObject:(GTLRLogging_SavedQuery *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an existing SavedQuery that was created by the user making the + * request. + * + * Method: logging.billingAccounts.locations.savedQueries.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_BillingAccountsLocationsSavedQueriesDelete : GTLRLoggingQuery + +/** + * Required. The full resource name of the saved query to delete. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For + * example: "projects/my-project/locations/global/savedQueries/my-saved-query" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLogging_Empty. + * + * Deletes an existing SavedQuery that was created by the user making the + * request. + * + * @param name Required. The full resource name of the saved query to delete. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For + * example: + * "projects/my-project/locations/global/savedQueries/my-saved-query" + * + * @return GTLRLoggingQuery_BillingAccountsLocationsSavedQueriesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists the SavedQueries that were created by the user making the request. + * + * Method: logging.billingAccounts.locations.savedQueries.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead + */ +@interface GTLRLoggingQuery_BillingAccountsLocationsSavedQueriesList : GTLRLoggingQuery + +/** + * Optional. The maximum number of results to return from this + * request.Non-positive values are ignored. The presence of nextPageToken in + * the response indicates that more results might be available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. If present, then retrieve the next batch of results from the + * preceding call to this method. pageToken must be the value of nextPageToken + * from the previous response. The values of other method parameters should be + * identical to those in the previous call. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/us-central1" Note: The locations portion of + * the resource must be specified. To get a list of all saved queries, a + * wildcard character - can be used for LOCATION_ID, for example: + * "projects/my-project/locations/-" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLogging_ListSavedQueriesResponse. + * + * Lists the SavedQueries that were created by the user making the request. + * + * @param parent Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/us-central1" Note: The locations portion of + * the resource must be specified. To get a list of all saved queries, a + * wildcard character - can be used for LOCATION_ID, for example: + * "projects/my-project/locations/-" + * + * @return GTLRLoggingQuery_BillingAccountsLocationsSavedQueriesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Deletes 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 @@ -3711,59 +3936,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 - * operation with a timestamp before the operation will be deleted. - * - * Method: logging.folders.logs.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeLoggingAdmin - * @c kGTLRAuthScopeLoggingCloudPlatform - */ -@interface GTLRLoggingQuery_FoldersLogsDelete : GTLRLoggingQuery - -/** - * Required. The resource name of the log to delete: - * projects/[PROJECT_ID]/logs/[LOG_ID] - * organizations/[ORGANIZATION_ID]/logs/[LOG_ID] - * billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] - * folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, - * "projects/my-project-id/logs/syslog", - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more - * information about log names, see LogEntry. - */ -@property(nonatomic, copy, nullable) NSString *logName; - -/** - * 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 - * operation with a timestamp before the operation will be deleted. - * - * @param logName Required. The resource name of the log to delete: - * projects/[PROJECT_ID]/logs/[LOG_ID] - * organizations/[ORGANIZATION_ID]/logs/[LOG_ID] - * billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] - * folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For - * example, "projects/my-project-id/logs/syslog", - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more - * information about log names, see LogEntry. - * - * @return GTLRLoggingQuery_FoldersLogsDelete - */ -+ (instancetype)queryWithLogName:(NSString *)logName; - -@end - -/** - * Lists the logs in projects, organizations, folders, or billing accounts. - * Only logs that have entries are listed. + * Lists the RecentQueries that were created by the user making the request. * - * Method: logging.folders.logs.list + * Method: logging.folders.locations.recentQueries.list * * Authorization scope(s): * @c kGTLRAuthScopeLoggingAdmin @@ -3771,7 +3946,7 @@ NS_ASSUME_NONNULL_BEGIN * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly * @c kGTLRAuthScopeLoggingRead */ -@interface GTLRLoggingQuery_FoldersLogsList : GTLRLoggingQuery +@interface GTLRLoggingQuery_FoldersLocationsRecentQueriesList : GTLRLoggingQuery /** * Optional. The maximum number of results to return from this request. @@ -3789,75 +3964,350 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The resource name to list logs for: projects/[PROJECT_ID] - * organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] - * folders/[FOLDER_ID] + * Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For + * example:projects/my-project/locations/us-central1Note: The location portion + * of the resource must be specified, but supplying the character - in place of + * LOCATION_ID will return all recent queries. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Optional. List of resource names to list logs for: - * projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] - * organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] - * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] - * folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To - * support legacy queries, it could also be: projects/[PROJECT_ID] - * organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] - * folders/[FOLDER_ID]The resource name in the parent field is added to this - * list. - */ -@property(nonatomic, strong, nullable) NSArray *resourceNames; - -/** - * Fetches a @c GTLRLogging_ListLogsResponse. + * Fetches a @c GTLRLogging_ListRecentQueriesResponse. * - * Lists the logs in projects, organizations, folders, or billing accounts. - * Only logs that have entries are listed. + * Lists the RecentQueries that were created by the user making the request. * - * @param parent Required. The resource name to list logs for: - * projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] - * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] + * @param parent Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For + * example:projects/my-project/locations/us-central1Note: The location + * portion of the resource must be specified, but supplying the character - + * in place of LOCATION_ID will return all recent queries. * - * @return GTLRLoggingQuery_FoldersLogsList + * @return GTLRLoggingQuery_FoldersLocationsRecentQueriesList + * + * @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 sink that exports specified log entries to a destination. The - * export begins upon ingress, unless the sink's writer_identity is not - * permitted to write to the destination. A sink can export log entries only - * from the resource owning the sink. + * Creates a new SavedQuery for the user making the request. * - * Method: logging.folders.sinks.create + * Method: logging.folders.locations.savedQueries.create * * Authorization scope(s): * @c kGTLRAuthScopeLoggingAdmin * @c kGTLRAuthScopeLoggingCloudPlatform */ -@interface GTLRLoggingQuery_FoldersSinksCreate : GTLRLoggingQuery +@interface GTLRLoggingQuery_FoldersLocationsSavedQueriesCreate : GTLRLoggingQuery /** - * Optional. A service account provided by the caller that will be used to - * write the log entries. The format must be serviceAccount:some\@email. This - * field can only be specified if you are routing logs to a destination outside - * this sink's project. If not specified, a Logging service account will - * automatically be generated. + * Required. The parent resource in which to create the saved query: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/global" + * "organizations/123456789/locations/us-central1" */ -@property(nonatomic, copy, nullable) NSString *customWriterIdentity; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Required. The resource in which to create the sink: "projects/[PROJECT_ID]" - * "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" - * "folders/[FOLDER_ID]" For examples:"projects/my-project" - * "organizations/123456789" + * Optional. The ID to use for the saved query, which will become the final + * component of the saved query's resource name.If the saved_query_id is not + * provided, the system will generate an alphanumeric ID.The saved_query_id is + * limited to 100 characters and can include only the following characters: + * upper and lower-case alphanumeric characters, underscores, hyphens, and + * periods. First character has to be alphanumeric. */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *savedQueryId; /** - * Optional. Determines the kind of IAM identity returned as writer_identity in - * the new sink. If this value is omitted or set to false, and if the sink's + * Fetches a @c GTLRLogging_SavedQuery. + * + * Creates a new SavedQuery for the user making the request. + * + * @param object The @c GTLRLogging_SavedQuery to include in the query. + * @param parent Required. The parent resource in which to create the saved + * query: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/global" + * "organizations/123456789/locations/us-central1" + * + * @return GTLRLoggingQuery_FoldersLocationsSavedQueriesCreate + */ ++ (instancetype)queryWithObject:(GTLRLogging_SavedQuery *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an existing SavedQuery that was created by the user making the + * request. + * + * Method: logging.folders.locations.savedQueries.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_FoldersLocationsSavedQueriesDelete : GTLRLoggingQuery + +/** + * Required. The full resource name of the saved query to delete. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For + * example: "projects/my-project/locations/global/savedQueries/my-saved-query" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLogging_Empty. + * + * Deletes an existing SavedQuery that was created by the user making the + * request. + * + * @param name Required. The full resource name of the saved query to delete. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For + * example: + * "projects/my-project/locations/global/savedQueries/my-saved-query" + * + * @return GTLRLoggingQuery_FoldersLocationsSavedQueriesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists the SavedQueries that were created by the user making the request. + * + * Method: logging.folders.locations.savedQueries.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead + */ +@interface GTLRLoggingQuery_FoldersLocationsSavedQueriesList : GTLRLoggingQuery + +/** + * Optional. The maximum number of results to return from this + * request.Non-positive values are ignored. The presence of nextPageToken in + * the response indicates that more results might be available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. If present, then retrieve the next batch of results from the + * preceding call to this method. pageToken must be the value of nextPageToken + * from the previous response. The values of other method parameters should be + * identical to those in the previous call. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/us-central1" Note: The locations portion of + * the resource must be specified. To get a list of all saved queries, a + * wildcard character - can be used for LOCATION_ID, for example: + * "projects/my-project/locations/-" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLogging_ListSavedQueriesResponse. + * + * Lists the SavedQueries that were created by the user making the request. + * + * @param parent Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/us-central1" Note: The locations portion of + * the resource must be specified. To get a list of all saved queries, a + * wildcard character - can be used for LOCATION_ID, for example: + * "projects/my-project/locations/-" + * + * @return GTLRLoggingQuery_FoldersLocationsSavedQueriesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Deletes 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 + * operation with a timestamp before the operation will be deleted. + * + * Method: logging.folders.logs.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_FoldersLogsDelete : GTLRLoggingQuery + +/** + * Required. The resource name of the log to delete: + * projects/[PROJECT_ID]/logs/[LOG_ID] + * organizations/[ORGANIZATION_ID]/logs/[LOG_ID] + * billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] + * folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, + * "projects/my-project-id/logs/syslog", + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more + * information about log names, see LogEntry. + */ +@property(nonatomic, copy, nullable) NSString *logName; + +/** + * 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 + * operation with a timestamp before the operation will be deleted. + * + * @param logName Required. The resource name of the log to delete: + * projects/[PROJECT_ID]/logs/[LOG_ID] + * organizations/[ORGANIZATION_ID]/logs/[LOG_ID] + * billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] + * folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For + * example, "projects/my-project-id/logs/syslog", + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more + * information about log names, see LogEntry. + * + * @return GTLRLoggingQuery_FoldersLogsDelete + */ ++ (instancetype)queryWithLogName:(NSString *)logName; + +@end + +/** + * Lists the logs in projects, organizations, folders, or billing accounts. + * Only logs that have entries are listed. + * + * Method: logging.folders.logs.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead + */ +@interface GTLRLoggingQuery_FoldersLogsList : GTLRLoggingQuery + +/** + * Optional. The maximum number of results to return from this request. + * Non-positive values are ignored. The presence of nextPageToken in the + * response indicates that more results might be available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. If present, then retrieve the next batch of results from the + * preceding call to this method. pageToken must be the value of nextPageToken + * from the previous response. The values of other method parameters should be + * identical to those in the previous call. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name to list logs for: projects/[PROJECT_ID] + * organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] + * folders/[FOLDER_ID] + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. List of resource names to list logs for: + * projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] + * organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] + * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] + * folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To + * support legacy queries, it could also be: projects/[PROJECT_ID] + * organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] + * folders/[FOLDER_ID]The resource name in the parent field is added to this + * list. + */ +@property(nonatomic, strong, nullable) NSArray *resourceNames; + +/** + * Fetches a @c GTLRLogging_ListLogsResponse. + * + * Lists the logs in projects, organizations, folders, or billing accounts. + * Only logs that have entries are listed. + * + * @param parent Required. The resource name to list logs for: + * projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] + * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] + * + * @return GTLRLoggingQuery_FoldersLogsList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Creates a sink that exports specified log entries to a destination. The + * export begins upon ingress, unless the sink's writer_identity is not + * permitted to write to the destination. A sink can export log entries only + * from the resource owning the sink. + * + * Method: logging.folders.sinks.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_FoldersSinksCreate : GTLRLoggingQuery + +/** + * Optional. A service account provided by the caller that will be used to + * write the log entries. The format must be serviceAccount:some\@email. This + * field can only be specified if you are routing logs to a destination outside + * this sink's project. If not specified, a Logging service account will + * automatically be generated. + */ +@property(nonatomic, copy, nullable) NSString *customWriterIdentity; + +/** + * Required. The resource in which to create the sink: "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" For examples:"projects/my-project" + * "organizations/123456789" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. Determines the kind of IAM identity returned as writer_identity in + * the new sink. If this value is omitted or set to false, and if the sink's * parent is a project, then the value returned as writer_identity is the same * group or service account used by Cloud Logging before the addition of writer * identities to this API. The sink's destination must be in the same project @@ -6849,39 +7299,264 @@ 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 - * operation with a timestamp before the operation will be deleted. + * Lists the RecentQueries that were created by the user making the request. * - * Method: logging.organizations.logs.delete + * Method: logging.organizations.locations.recentQueries.list * * Authorization scope(s): * @c kGTLRAuthScopeLoggingAdmin * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead */ -@interface GTLRLoggingQuery_OrganizationsLogsDelete : GTLRLoggingQuery +@interface GTLRLoggingQuery_OrganizationsLocationsRecentQueriesList : GTLRLoggingQuery /** - * Required. The resource name of the log to delete: - * projects/[PROJECT_ID]/logs/[LOG_ID] - * organizations/[ORGANIZATION_ID]/logs/[LOG_ID] - * billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] - * folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, - * "projects/my-project-id/logs/syslog", - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more - * information about log names, see LogEntry. + * Optional. The maximum number of results to return from this request. + * Non-positive values are ignored. The presence of nextPageToken in the + * response indicates that more results might be available. */ -@property(nonatomic, copy, nullable) NSString *logName; +@property(nonatomic, assign) NSInteger pageSize; /** - * 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 - * operation with a timestamp before the operation will be deleted. - * + * Optional. If present, then retrieve the next batch of results from the + * preceding call to this method. pageToken must be the value of nextPageToken + * from the previous response. The values of other method parameters should be + * identical to those in the previous call. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For + * example:projects/my-project/locations/us-central1Note: The location portion + * of the resource must be specified, but supplying the character - in place of + * LOCATION_ID will return all recent queries. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLogging_ListRecentQueriesResponse. + * + * Lists the RecentQueries that were created by the user making the request. + * + * @param parent Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For + * example:projects/my-project/locations/us-central1Note: The location + * portion of the resource must be specified, but supplying the character - + * in place of LOCATION_ID will return all recent queries. + * + * @return GTLRLoggingQuery_OrganizationsLocationsRecentQueriesList + * + * @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 SavedQuery for the user making the request. + * + * Method: logging.organizations.locations.savedQueries.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_OrganizationsLocationsSavedQueriesCreate : GTLRLoggingQuery + +/** + * Required. The parent resource in which to create the saved query: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/global" + * "organizations/123456789/locations/us-central1" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. The ID to use for the saved query, which will become the final + * component of the saved query's resource name.If the saved_query_id is not + * provided, the system will generate an alphanumeric ID.The saved_query_id is + * limited to 100 characters and can include only the following characters: + * upper and lower-case alphanumeric characters, underscores, hyphens, and + * periods. First character has to be alphanumeric. + */ +@property(nonatomic, copy, nullable) NSString *savedQueryId; + +/** + * Fetches a @c GTLRLogging_SavedQuery. + * + * Creates a new SavedQuery for the user making the request. + * + * @param object The @c GTLRLogging_SavedQuery to include in the query. + * @param parent Required. The parent resource in which to create the saved + * query: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/global" + * "organizations/123456789/locations/us-central1" + * + * @return GTLRLoggingQuery_OrganizationsLocationsSavedQueriesCreate + */ ++ (instancetype)queryWithObject:(GTLRLogging_SavedQuery *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an existing SavedQuery that was created by the user making the + * request. + * + * Method: logging.organizations.locations.savedQueries.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_OrganizationsLocationsSavedQueriesDelete : GTLRLoggingQuery + +/** + * Required. The full resource name of the saved query to delete. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For + * example: "projects/my-project/locations/global/savedQueries/my-saved-query" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLogging_Empty. + * + * Deletes an existing SavedQuery that was created by the user making the + * request. + * + * @param name Required. The full resource name of the saved query to delete. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For + * example: + * "projects/my-project/locations/global/savedQueries/my-saved-query" + * + * @return GTLRLoggingQuery_OrganizationsLocationsSavedQueriesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists the SavedQueries that were created by the user making the request. + * + * Method: logging.organizations.locations.savedQueries.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead + */ +@interface GTLRLoggingQuery_OrganizationsLocationsSavedQueriesList : GTLRLoggingQuery + +/** + * Optional. The maximum number of results to return from this + * request.Non-positive values are ignored. The presence of nextPageToken in + * the response indicates that more results might be available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. If present, then retrieve the next batch of results from the + * preceding call to this method. pageToken must be the value of nextPageToken + * from the previous response. The values of other method parameters should be + * identical to those in the previous call. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/us-central1" Note: The locations portion of + * the resource must be specified. To get a list of all saved queries, a + * wildcard character - can be used for LOCATION_ID, for example: + * "projects/my-project/locations/-" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLogging_ListSavedQueriesResponse. + * + * Lists the SavedQueries that were created by the user making the request. + * + * @param parent Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/us-central1" Note: The locations portion of + * the resource must be specified. To get a list of all saved queries, a + * wildcard character - can be used for LOCATION_ID, for example: + * "projects/my-project/locations/-" + * + * @return GTLRLoggingQuery_OrganizationsLocationsSavedQueriesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Deletes 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 + * operation with a timestamp before the operation will be deleted. + * + * Method: logging.organizations.logs.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_OrganizationsLogsDelete : GTLRLoggingQuery + +/** + * Required. The resource name of the log to delete: + * projects/[PROJECT_ID]/logs/[LOG_ID] + * organizations/[ORGANIZATION_ID]/logs/[LOG_ID] + * billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] + * folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, + * "projects/my-project-id/logs/syslog", + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more + * information about log names, see LogEntry. + */ +@property(nonatomic, copy, nullable) NSString *logName; + +/** + * 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 + * operation with a timestamp before the operation will be deleted. + * * @param logName Required. The resource name of the log to delete: * projects/[PROJECT_ID]/logs/[LOG_ID] * organizations/[ORGANIZATION_ID]/logs/[LOG_ID] @@ -8895,6 +9570,231 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Lists the RecentQueries that were created by the user making the request. + * + * Method: logging.projects.locations.recentQueries.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead + */ +@interface GTLRLoggingQuery_ProjectsLocationsRecentQueriesList : GTLRLoggingQuery + +/** + * Optional. The maximum number of results to return from this request. + * Non-positive values are ignored. The presence of nextPageToken in the + * response indicates that more results might be available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. If present, then retrieve the next batch of results from the + * preceding call to this method. pageToken must be the value of nextPageToken + * from the previous response. The values of other method parameters should be + * identical to those in the previous call. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For + * example:projects/my-project/locations/us-central1Note: The location portion + * of the resource must be specified, but supplying the character - in place of + * LOCATION_ID will return all recent queries. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLogging_ListRecentQueriesResponse. + * + * Lists the RecentQueries that were created by the user making the request. + * + * @param parent Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For + * example:projects/my-project/locations/us-central1Note: The location + * portion of the resource must be specified, but supplying the character - + * in place of LOCATION_ID will return all recent queries. + * + * @return GTLRLoggingQuery_ProjectsLocationsRecentQueriesList + * + * @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 SavedQuery for the user making the request. + * + * Method: logging.projects.locations.savedQueries.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_ProjectsLocationsSavedQueriesCreate : GTLRLoggingQuery + +/** + * Required. The parent resource in which to create the saved query: + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/global" + * "organizations/123456789/locations/us-central1" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. The ID to use for the saved query, which will become the final + * component of the saved query's resource name.If the saved_query_id is not + * provided, the system will generate an alphanumeric ID.The saved_query_id is + * limited to 100 characters and can include only the following characters: + * upper and lower-case alphanumeric characters, underscores, hyphens, and + * periods. First character has to be alphanumeric. + */ +@property(nonatomic, copy, nullable) NSString *savedQueryId; + +/** + * Fetches a @c GTLRLogging_SavedQuery. + * + * Creates a new SavedQuery for the user making the request. + * + * @param object The @c GTLRLogging_SavedQuery to include in the query. + * @param parent Required. The parent resource in which to create the saved + * query: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/global" + * "organizations/123456789/locations/us-central1" + * + * @return GTLRLoggingQuery_ProjectsLocationsSavedQueriesCreate + */ ++ (instancetype)queryWithObject:(GTLRLogging_SavedQuery *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an existing SavedQuery that was created by the user making the + * request. + * + * Method: logging.projects.locations.savedQueries.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + */ +@interface GTLRLoggingQuery_ProjectsLocationsSavedQueriesDelete : GTLRLoggingQuery + +/** + * Required. The full resource name of the saved query to delete. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For + * example: "projects/my-project/locations/global/savedQueries/my-saved-query" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLogging_Empty. + * + * Deletes an existing SavedQuery that was created by the user making the + * request. + * + * @param name Required. The full resource name of the saved query to delete. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For + * example: + * "projects/my-project/locations/global/savedQueries/my-saved-query" + * + * @return GTLRLoggingQuery_ProjectsLocationsSavedQueriesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists the SavedQueries that were created by the user making the request. + * + * Method: logging.projects.locations.savedQueries.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeLoggingAdmin + * @c kGTLRAuthScopeLoggingCloudPlatform + * @c kGTLRAuthScopeLoggingCloudPlatformReadOnly + * @c kGTLRAuthScopeLoggingRead + */ +@interface GTLRLoggingQuery_ProjectsLocationsSavedQueriesList : GTLRLoggingQuery + +/** + * Optional. The maximum number of results to return from this + * request.Non-positive values are ignored. The presence of nextPageToken in + * the response indicates that more results might be available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. If present, then retrieve the next batch of results from the + * preceding call to this method. pageToken must be the value of nextPageToken + * from the previous response. The values of other method parameters should be + * identical to those in the previous call. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/us-central1" Note: The locations portion of + * the resource must be specified. To get a list of all saved queries, a + * wildcard character - can be used for LOCATION_ID, for example: + * "projects/my-project/locations/-" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLogging_ListSavedQueriesResponse. + * + * Lists the SavedQueries that were created by the user making the request. + * + * @param parent Required. The resource to which the listed queries belong. + * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" + * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" + * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: + * "projects/my-project/locations/us-central1" Note: The locations portion of + * the resource must be specified. To get a list of all saved queries, a + * wildcard character - can be used for LOCATION_ID, for example: + * "projects/my-project/locations/-" + * + * @return GTLRLoggingQuery_ProjectsLocationsSavedQueriesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Deletes 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 diff --git a/Sources/GeneratedServices/Looker/GTLRLookerObjects.m b/Sources/GeneratedServices/Looker/GTLRLookerObjects.m new file mode 100644 index 000000000..42685a86f --- /dev/null +++ b/Sources/GeneratedServices/Looker/GTLRLookerObjects.m @@ -0,0 +1,599 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Looker (Google Cloud core) API (looker/v1) +// Documentation: +// https://cloud.google.com/looker/docs/reference/rest/ + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRLooker_AuditLogConfig.logType +NSString * const kGTLRLooker_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; +NSString * const kGTLRLooker_AuditLogConfig_LogType_DataRead = @"DATA_READ"; +NSString * const kGTLRLooker_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; +NSString * const kGTLRLooker_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; + +// GTLRLooker_CustomDomain.state +NSString * const kGTLRLooker_CustomDomain_State_Available = @"AVAILABLE"; +NSString * const kGTLRLooker_CustomDomain_State_CustomDomainStateUnspecified = @"CUSTOM_DOMAIN_STATE_UNSPECIFIED"; +NSString * const kGTLRLooker_CustomDomain_State_Modifying = @"MODIFYING"; +NSString * const kGTLRLooker_CustomDomain_State_Unavailable = @"UNAVAILABLE"; +NSString * const kGTLRLooker_CustomDomain_State_Unknown = @"UNKNOWN"; +NSString * const kGTLRLooker_CustomDomain_State_Unverified = @"UNVERIFIED"; +NSString * const kGTLRLooker_CustomDomain_State_Verified = @"VERIFIED"; + +// GTLRLooker_EncryptionConfig.kmsKeyState +NSString * const kGTLRLooker_EncryptionConfig_KmsKeyState_KmsKeyStateUnspecified = @"KMS_KEY_STATE_UNSPECIFIED"; +NSString * const kGTLRLooker_EncryptionConfig_KmsKeyState_Revoked = @"REVOKED"; +NSString * const kGTLRLooker_EncryptionConfig_KmsKeyState_Valid = @"VALID"; + +// GTLRLooker_ExportMetadata.source +NSString * const kGTLRLooker_ExportMetadata_Source_LookerCore = @"LOOKER_CORE"; +NSString * const kGTLRLooker_ExportMetadata_Source_LookerOriginal = @"LOOKER_ORIGINAL"; +NSString * const kGTLRLooker_ExportMetadata_Source_SourceUnspecified = @"SOURCE_UNSPECIFIED"; + +// GTLRLooker_Instance.platformEdition +NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreEmbedAnnual = @"LOOKER_CORE_EMBED_ANNUAL"; +NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreEnterpriseAnnual = @"LOOKER_CORE_ENTERPRISE_ANNUAL"; +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_PlatformEditionUnspecified = @"PLATFORM_EDITION_UNSPECIFIED"; + +// GTLRLooker_Instance.state +NSString * const kGTLRLooker_Instance_State_Active = @"ACTIVE"; +NSString * const kGTLRLooker_Instance_State_Creating = @"CREATING"; +NSString * const kGTLRLooker_Instance_State_Deleting = @"DELETING"; +NSString * const kGTLRLooker_Instance_State_Exporting = @"EXPORTING"; +NSString * const kGTLRLooker_Instance_State_Failed = @"FAILED"; +NSString * const kGTLRLooker_Instance_State_Importing = @"IMPORTING"; +NSString * const kGTLRLooker_Instance_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRLooker_Instance_State_Suspended = @"SUSPENDED"; +NSString * const kGTLRLooker_Instance_State_Updating = @"UPDATING"; + +// GTLRLooker_MaintenanceWindow.dayOfWeek +NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_DayOfWeekUnspecified = @"DAY_OF_WEEK_UNSPECIFIED"; +NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Friday = @"FRIDAY"; +NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Monday = @"MONDAY"; +NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Saturday = @"SATURDAY"; +NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Sunday = @"SUNDAY"; +NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Thursday = @"THURSDAY"; +NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Tuesday = @"TUESDAY"; +NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Wednesday = @"WEDNESDAY"; + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_AdminSettings +// + +@implementation GTLRLooker_AdminSettings +@dynamic allowedEmailDomains; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"allowedEmailDomains" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_AuditConfig +// + +@implementation GTLRLooker_AuditConfig +@dynamic auditLogConfigs, service; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditLogConfigs" : [GTLRLooker_AuditLogConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_AuditLogConfig +// + +@implementation GTLRLooker_AuditLogConfig +@dynamic exemptedMembers, logType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"exemptedMembers" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Binding +// + +@implementation GTLRLooker_Binding +@dynamic condition, members, role; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"members" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_CancelOperationRequest +// + +@implementation GTLRLooker_CancelOperationRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_CustomDomain +// + +@implementation GTLRLooker_CustomDomain +@dynamic domain, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Date +// + +@implementation GTLRLooker_Date +@dynamic day, month, year; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_DenyMaintenancePeriod +// + +@implementation GTLRLooker_DenyMaintenancePeriod +@dynamic endDate, startDate, time; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Empty +// + +@implementation GTLRLooker_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_EncryptionConfig +// + +@implementation GTLRLooker_EncryptionConfig +@dynamic kmsKeyName, kmsKeyNameVersion, kmsKeyState; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_ExportEncryptionConfig +// + +@implementation GTLRLooker_ExportEncryptionConfig +@dynamic kmsKeyName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_ExportInstanceRequest +// + +@implementation GTLRLooker_ExportInstanceRequest +@dynamic encryptionConfig, gcsUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_ExportMetadata +// + +@implementation GTLRLooker_ExportMetadata +@dynamic exportEncryptionKey, filePaths, lookerEncryptionKey, lookerInstance, + lookerPlatformEdition, lookerVersion, source; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"filePaths" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_ExportMetadataEncryptionKey +// + +@implementation GTLRLooker_ExportMetadataEncryptionKey +@dynamic cmek, version; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Expr +// + +@implementation GTLRLooker_Expr +@dynamic descriptionProperty, expression, location, title; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_ImportInstanceRequest +// + +@implementation GTLRLooker_ImportInstanceRequest +@dynamic gcsUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Instance +// + +@implementation GTLRLooker_Instance +@dynamic adminSettings, consumerNetwork, createTime, customDomain, + denyMaintenancePeriod, egressPublicIp, encryptionConfig, + ingressPrivateIp, ingressPublicIp, lastDenyMaintenancePeriod, + lookerUri, lookerVersion, maintenanceSchedule, maintenanceWindow, name, + oauthConfig, platformEdition, privateIpEnabled, publicIpEnabled, + reservedRange, state, updateTime, userMetadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_ListInstancesResponse +// + +@implementation GTLRLooker_ListInstancesResponse +@dynamic instances, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [GTLRLooker_Instance class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"instances"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_ListLocationsResponse +// + +@implementation GTLRLooker_ListLocationsResponse +@dynamic locations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRLooker_Location class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"locations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_ListOperationsResponse +// + +@implementation GTLRLooker_ListOperationsResponse +@dynamic nextPageToken, operations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRLooker_Operation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"operations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Location +// + +@implementation GTLRLooker_Location +@dynamic displayName, labels, locationId, metadata, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Location_Labels +// + +@implementation GTLRLooker_Location_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Location_Metadata +// + +@implementation GTLRLooker_Location_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_MaintenanceSchedule +// + +@implementation GTLRLooker_MaintenanceSchedule +@dynamic endTime, startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_MaintenanceWindow +// + +@implementation GTLRLooker_MaintenanceWindow +@dynamic dayOfWeek, startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_OAuthConfig +// + +@implementation GTLRLooker_OAuthConfig +@dynamic clientId, clientSecret; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Operation +// + +@implementation GTLRLooker_Operation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Operation_Metadata +// + +@implementation GTLRLooker_Operation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Operation_Response +// + +@implementation GTLRLooker_Operation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_OperationMetadata +// + +@implementation GTLRLooker_OperationMetadata +@dynamic apiVersion, createTime, endTime, requestedCancellation, statusMessage, + target, verb; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Policy +// + +@implementation GTLRLooker_Policy +@dynamic auditConfigs, bindings, ETag, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditConfigs" : [GTLRLooker_AuditConfig class], + @"bindings" : [GTLRLooker_Binding class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_RestartInstanceRequest +// + +@implementation GTLRLooker_RestartInstanceRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_SetIamPolicyRequest +// + +@implementation GTLRLooker_SetIamPolicyRequest +@dynamic policy, updateMask; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Status +// + +@implementation GTLRLooker_Status +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLRLooker_Status_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_Status_Details_Item +// + +@implementation GTLRLooker_Status_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_TestIamPermissionsRequest +// + +@implementation GTLRLooker_TestIamPermissionsRequest +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_TestIamPermissionsResponse +// + +@implementation GTLRLooker_TestIamPermissionsResponse +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_TimeOfDay +// + +@implementation GTLRLooker_TimeOfDay +@dynamic hours, minutes, nanos, seconds; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRLooker_UserMetadata +// + +@implementation GTLRLooker_UserMetadata +@dynamic additionalDeveloperUserCount, additionalStandardUserCount, + additionalViewerUserCount; +@end diff --git a/Sources/GeneratedServices/Looker/GTLRLookerQuery.m b/Sources/GeneratedServices/Looker/GTLRLookerQuery.m new file mode 100644 index 000000000..466e03000 --- /dev/null +++ b/Sources/GeneratedServices/Looker/GTLRLookerQuery.m @@ -0,0 +1,483 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Looker (Google Cloud core) API (looker/v1) +// Documentation: +// https://cloud.google.com/looker/docs/reference/rest/ + +#import + +@implementation GTLRLookerQuery + +@dynamic fields; + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRLookerQuery_ProjectsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLooker_Location class]; + query.loggingName = @"looker.projects.locations.get"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesBackupsGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRLookerQuery_ProjectsLocationsInstancesBackupsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRLooker_Policy class]; + query.loggingName = @"looker.projects.locations.instances.backups.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesBackupsSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRLooker_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"; + GTLRLookerQuery_ProjectsLocationsInstancesBackupsSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRLooker_Policy class]; + query.loggingName = @"looker.projects.locations.instances.backups.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesBackupsTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRLooker_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"; + GTLRLookerQuery_ProjectsLocationsInstancesBackupsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRLooker_TestIamPermissionsResponse class]; + query.loggingName = @"looker.projects.locations.instances.backups.testIamPermissions"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesCreate + +@dynamic instanceId, parent; + ++ (instancetype)queryWithObject:(GTLRLooker_Instance *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/instances"; + GTLRLookerQuery_ProjectsLocationsInstancesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRLooker_Operation class]; + query.loggingName = @"looker.projects.locations.instances.create"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesDelete + +@dynamic force, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRLookerQuery_ProjectsLocationsInstancesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLooker_Operation class]; + query.loggingName = @"looker.projects.locations.instances.delete"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesExport + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRLooker_ExportInstanceRequest *)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}:export"; + GTLRLookerQuery_ProjectsLocationsInstancesExport *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRLooker_Operation class]; + query.loggingName = @"looker.projects.locations.instances.export"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRLookerQuery_ProjectsLocationsInstancesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLooker_Instance class]; + query.loggingName = @"looker.projects.locations.instances.get"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRLookerQuery_ProjectsLocationsInstancesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRLooker_Policy class]; + query.loggingName = @"looker.projects.locations.instances.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesImport + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRLooker_ImportInstanceRequest *)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}:import"; + GTLRLookerQuery_ProjectsLocationsInstancesImport *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRLooker_Operation class]; + query.loggingName = @"looker.projects.locations.instances.import"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/instances"; + GTLRLookerQuery_ProjectsLocationsInstancesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRLooker_ListInstancesResponse class]; + query.loggingName = @"looker.projects.locations.instances.list"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRLooker_Instance *)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}"; + GTLRLookerQuery_ProjectsLocationsInstancesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRLooker_Operation class]; + query.loggingName = @"looker.projects.locations.instances.patch"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesRestart + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRLooker_RestartInstanceRequest *)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}:restart"; + GTLRLookerQuery_ProjectsLocationsInstancesRestart *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRLooker_Operation class]; + query.loggingName = @"looker.projects.locations.instances.restart"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRLooker_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"; + GTLRLookerQuery_ProjectsLocationsInstancesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRLooker_Policy class]; + query.loggingName = @"looker.projects.locations.instances.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsInstancesTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRLooker_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"; + GTLRLookerQuery_ProjectsLocationsInstancesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRLooker_TestIamPermissionsResponse class]; + query.loggingName = @"looker.projects.locations.instances.testIamPermissions"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/locations"; + GTLRLookerQuery_ProjectsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLooker_ListLocationsResponse class]; + query.loggingName = @"looker.projects.locations.list"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRLooker_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"; + GTLRLookerQuery_ProjectsLocationsOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRLooker_Empty class]; + query.loggingName = @"looker.projects.locations.operations.cancel"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRLookerQuery_ProjectsLocationsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLooker_Empty class]; + query.loggingName = @"looker.projects.locations.operations.delete"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRLookerQuery_ProjectsLocationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLooker_Operation class]; + query.loggingName = @"looker.projects.locations.operations.get"; + return query; +} + +@end + +@implementation GTLRLookerQuery_ProjectsLocationsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRLookerQuery_ProjectsLocationsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRLooker_ListOperationsResponse class]; + query.loggingName = @"looker.projects.locations.operations.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/Looker/GTLRLookerService.m b/Sources/GeneratedServices/Looker/GTLRLookerService.m new file mode 100644 index 000000000..aefe825d9 --- /dev/null +++ b/Sources/GeneratedServices/Looker/GTLRLookerService.m @@ -0,0 +1,33 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Looker (Google Cloud core) API (looker/v1) +// Documentation: +// https://cloud.google.com/looker/docs/reference/rest/ + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeLookerCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRLookerService +// + +@implementation GTLRLookerService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://looker.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLooker.h b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLooker.h new file mode 100644 index 000000000..346e59e4e --- /dev/null +++ b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLooker.h @@ -0,0 +1,11 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Looker (Google Cloud core) API (looker/v1) +// Documentation: +// https://cloud.google.com/looker/docs/reference/rest/ + +#import "GTLRLookerObjects.h" +#import "GTLRLookerQuery.h" +#import "GTLRLookerService.h" diff --git a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h new file mode 100644 index 000000000..058eef956 --- /dev/null +++ b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h @@ -0,0 +1,1496 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Looker (Google Cloud core) API (looker/v1) +// Documentation: +// https://cloud.google.com/looker/docs/reference/rest/ + +#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 GTLRLooker_AdminSettings; +@class GTLRLooker_AuditConfig; +@class GTLRLooker_AuditLogConfig; +@class GTLRLooker_Binding; +@class GTLRLooker_CustomDomain; +@class GTLRLooker_Date; +@class GTLRLooker_DenyMaintenancePeriod; +@class GTLRLooker_EncryptionConfig; +@class GTLRLooker_ExportEncryptionConfig; +@class GTLRLooker_ExportMetadataEncryptionKey; +@class GTLRLooker_Expr; +@class GTLRLooker_Instance; +@class GTLRLooker_Location; +@class GTLRLooker_Location_Labels; +@class GTLRLooker_Location_Metadata; +@class GTLRLooker_MaintenanceSchedule; +@class GTLRLooker_MaintenanceWindow; +@class GTLRLooker_OAuthConfig; +@class GTLRLooker_Operation; +@class GTLRLooker_Operation_Metadata; +@class GTLRLooker_Operation_Response; +@class GTLRLooker_Policy; +@class GTLRLooker_Status; +@class GTLRLooker_Status_Details_Item; +@class GTLRLooker_TimeOfDay; +@class GTLRLooker_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. + +// ---------------------------------------------------------------------------- +// GTLRLooker_AuditLogConfig.logType + +/** + * Admin reads. Example: CloudIAM getIamPolicy + * + * Value: "ADMIN_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_AuditLogConfig_LogType_AdminRead; +/** + * Data reads. Example: CloudSQL Users list + * + * Value: "DATA_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_AuditLogConfig_LogType_DataRead; +/** + * Data writes. Example: CloudSQL Users create + * + * Value: "DATA_WRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_AuditLogConfig_LogType_DataWrite; +/** + * Default case. Should never be this. + * + * Value: "LOG_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_AuditLogConfig_LogType_LogTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRLooker_CustomDomain.state + +/** + * ManagedCertificate is ready. + * + * Value: "AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_CustomDomain_State_Available; +/** + * Unspecified state. + * + * Value: "CUSTOM_DOMAIN_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_CustomDomain_State_CustomDomainStateUnspecified; +/** + * Calling SLM to update. + * + * Value: "MODIFYING" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_CustomDomain_State_Modifying; +/** + * ManagedCertificate is not ready. + * + * Value: "UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_CustomDomain_State_Unavailable; +/** + * Status is not known. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_CustomDomain_State_Unknown; +/** + * DNS record is not created. + * + * Value: "UNVERIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_CustomDomain_State_Unverified; +/** + * DNS record is created. + * + * Value: "VERIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_CustomDomain_State_Verified; + +// ---------------------------------------------------------------------------- +// GTLRLooker_EncryptionConfig.kmsKeyState + +/** + * CMEK status not specified. + * + * Value: "KMS_KEY_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_EncryptionConfig_KmsKeyState_KmsKeyStateUnspecified; +/** + * CMEK key is currently revoked (instance should in restricted mode). + * + * Value: "REVOKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_EncryptionConfig_KmsKeyState_Revoked; +/** + * CMEK key is currently valid. + * + * Value: "VALID" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_EncryptionConfig_KmsKeyState_Valid; + +// ---------------------------------------------------------------------------- +// GTLRLooker_ExportMetadata.source + +/** + * Source of export is Looker Core + * + * Value: "LOOKER_CORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_ExportMetadata_Source_LookerCore; +/** + * Source of export is Looker Original + * + * Value: "LOOKER_ORIGINAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_ExportMetadata_Source_LookerOriginal; +/** + * Source not specified + * + * Value: "SOURCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_ExportMetadata_Source_SourceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRLooker_Instance.platformEdition + +/** + * Subscription Embed. + * + * Value: "LOOKER_CORE_EMBED_ANNUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreEmbedAnnual; +/** + * Subscription Enterprise. + * + * Value: "LOOKER_CORE_ENTERPRISE_ANNUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreEnterpriseAnnual; +/** + * Standard. + * + * Value: "LOOKER_CORE_STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreStandard; +/** + * Subscription Standard. + * + * Value: "LOOKER_CORE_STANDARD_ANNUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreStandardAnnual; +/** + * Trial. + * + * Value: "LOOKER_CORE_TRIAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreTrial; +/** + * Platform edition is unspecified. + * + * Value: "PLATFORM_EDITION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_PlatformEditionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRLooker_Instance.state + +/** + * Instance is active and ready for use. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_State_Active; +/** + * Instance provisioning is in progress. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_State_Creating; +/** + * Instance delete is in progress. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_State_Deleting; +/** + * Instance is being exported. + * + * Value: "EXPORTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_State_Exporting; +/** + * Instance is in a failed state. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_State_Failed; +/** + * Instance is importing data. + * + * Value: "IMPORTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_State_Importing; +/** + * State is unspecified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_State_StateUnspecified; +/** + * Instance was suspended. + * + * Value: "SUSPENDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_State_Suspended; +/** + * Instance update is in progress. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_State_Updating; + +// ---------------------------------------------------------------------------- +// GTLRLooker_MaintenanceWindow.dayOfWeek + +/** + * The day of the week is unspecified. + * + * Value: "DAY_OF_WEEK_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_DayOfWeekUnspecified; +/** + * Friday + * + * Value: "FRIDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Friday; +/** + * Monday + * + * Value: "MONDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Monday; +/** + * Saturday + * + * Value: "SATURDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Saturday; +/** + * Sunday + * + * Value: "SUNDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Sunday; +/** + * Thursday + * + * Value: "THURSDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Thursday; +/** + * Tuesday + * + * Value: "TUESDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Tuesday; +/** + * Wednesday + * + * Value: "WEDNESDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Wednesday; + +/** + * Looker instance Admin settings fields. + */ +@interface GTLRLooker_AdminSettings : GTLRObject + +/** Email domain allowlist for the instance. */ +@property(nonatomic, strong, nullable) NSArray *allowedEmailDomains; + +@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 GTLRLooker_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 GTLRLooker_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 kGTLRLooker_AuditLogConfig_LogType_AdminRead Admin reads. Example: + * CloudIAM getIamPolicy (Value: "ADMIN_READ") + * @arg @c kGTLRLooker_AuditLogConfig_LogType_DataRead Data reads. Example: + * CloudSQL Users list (Value: "DATA_READ") + * @arg @c kGTLRLooker_AuditLogConfig_LogType_DataWrite Data writes. Example: + * CloudSQL Users create (Value: "DATA_WRITE") + * @arg @c kGTLRLooker_AuditLogConfig_LogType_LogTypeUnspecified Default + * case. Should never be this. (Value: "LOG_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *logType; + +@end + + +/** + * Associates `members`, or principals, with a `role`. + */ +@interface GTLRLooker_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) GTLRLooker_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`. * `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. + */ +@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`. + */ +@property(nonatomic, copy, nullable) NSString *role; + +@end + + +/** + * The request message for Operations.CancelOperation. + */ +@interface GTLRLooker_CancelOperationRequest : GTLRObject +@end + + +/** + * Custom domain information. + */ +@interface GTLRLooker_CustomDomain : GTLRObject + +/** Domain name. */ +@property(nonatomic, copy, nullable) NSString *domain; + +/** + * Domain state. + * + * Likely values: + * @arg @c kGTLRLooker_CustomDomain_State_Available ManagedCertificate is + * ready. (Value: "AVAILABLE") + * @arg @c kGTLRLooker_CustomDomain_State_CustomDomainStateUnspecified + * Unspecified state. (Value: "CUSTOM_DOMAIN_STATE_UNSPECIFIED") + * @arg @c kGTLRLooker_CustomDomain_State_Modifying Calling SLM to update. + * (Value: "MODIFYING") + * @arg @c kGTLRLooker_CustomDomain_State_Unavailable ManagedCertificate is + * not ready. (Value: "UNAVAILABLE") + * @arg @c kGTLRLooker_CustomDomain_State_Unknown Status is not known. + * (Value: "UNKNOWN") + * @arg @c kGTLRLooker_CustomDomain_State_Unverified DNS record is not + * created. (Value: "UNVERIFIED") + * @arg @c kGTLRLooker_CustomDomain_State_Verified DNS record is created. + * (Value: "VERIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * Represents a whole or partial calendar date, such as a birthday. The time of + * day and time zone are either specified elsewhere or are insignificant. The + * date is relative to the Gregorian Calendar. This can represent one of the + * following: * A full date, with non-zero year, month, and day values. * A + * month and day, with a zero year (for example, an anniversary). * A year on + * its own, with a zero month and a zero day. * A year and month, with a zero + * day (for example, a credit card expiration date). Related types: * + * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp + */ +@interface GTLRLooker_Date : GTLRObject + +/** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 + * to specify a year by itself or a year and month where the day isn't + * significant. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *day; + +/** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a + * month and day. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *month; + +/** + * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + * year. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *year; + +@end + + +/** + * Specifies the maintenance denial period. + */ +@interface GTLRLooker_DenyMaintenancePeriod : GTLRObject + +/** Required. End date of the deny maintenance period. */ +@property(nonatomic, strong, nullable) GTLRLooker_Date *endDate; + +/** Required. Start date of the deny maintenance period. */ +@property(nonatomic, strong, nullable) GTLRLooker_Date *startDate; + +/** Required. Time in UTC when the period starts and ends. */ +@property(nonatomic, strong, nullable) GTLRLooker_TimeOfDay *time; + +@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 GTLRLooker_Empty : GTLRObject +@end + + +/** + * Encryption configuration (i.e. CMEK). + */ +@interface GTLRLooker_EncryptionConfig : GTLRObject + +/** Name of the CMEK key in KMS (input parameter). */ +@property(nonatomic, copy, nullable) NSString *kmsKeyName; + +/** + * Output only. Full name and version of the CMEK key currently in use to + * encrypt Looker data. Format: + * `projects/{project}/locations/{location}/keyRings/{ring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`. + * Empty if CMEK is not configured in this instance. + */ +@property(nonatomic, copy, nullable) NSString *kmsKeyNameVersion; + +/** + * Output only. Status of the CMEK key. + * + * Likely values: + * @arg @c kGTLRLooker_EncryptionConfig_KmsKeyState_KmsKeyStateUnspecified + * CMEK status not specified. (Value: "KMS_KEY_STATE_UNSPECIFIED") + * @arg @c kGTLRLooker_EncryptionConfig_KmsKeyState_Revoked CMEK key is + * currently revoked (instance should in restricted mode). (Value: + * "REVOKED") + * @arg @c kGTLRLooker_EncryptionConfig_KmsKeyState_Valid CMEK key is + * currently valid. (Value: "VALID") + */ +@property(nonatomic, copy, nullable) NSString *kmsKeyState; + +@end + + +/** + * Configuration for Encryption - e.g. CMEK. + */ +@interface GTLRLooker_ExportEncryptionConfig : GTLRObject + +/** Required. Name of the CMEK key in KMS. */ +@property(nonatomic, copy, nullable) NSString *kmsKeyName; + +@end + + +/** + * Request options for exporting data of an Instance. + */ +@interface GTLRLooker_ExportInstanceRequest : GTLRObject + +/** + * Required. Encryption configuration (CMEK). For CMEK enabled instances it + * should be same as looker CMEK. + */ +@property(nonatomic, strong, nullable) GTLRLooker_ExportEncryptionConfig *encryptionConfig; + +/** + * The path to the folder in Google Cloud Storage where the export will be + * stored. The URI is in the form `gs://bucketName/folderName`. + */ +@property(nonatomic, copy, nullable) NSString *gcsUri; + +@end + + +/** + * ExportMetadata represents the metadata of the exported artifacts. The + * metadata.json file in export artifact can be parsed as this message + */ +@interface GTLRLooker_ExportMetadata : GTLRObject + +/** Encryption key that was used to encrypt the export artifacts. */ +@property(nonatomic, strong, nullable) GTLRLooker_ExportMetadataEncryptionKey *exportEncryptionKey; + +/** + * List of files created as part of export artifact (excluding the metadata). + * The paths are relative to the folder containing the metadata. + */ +@property(nonatomic, strong, nullable) NSArray *filePaths; + +/** + * Looker encryption key, encrypted with the provided export encryption key. + * This value will only be populated if the looker instance uses Looker managed + * encryption instead of CMEK. + */ +@property(nonatomic, copy, nullable) NSString *lookerEncryptionKey; + +/** + * Name of the exported instance. Format: + * projects/{project}/locations/{location}/instances/{instance} + */ +@property(nonatomic, copy, nullable) NSString *lookerInstance; + +/** Platform edition of the exported instance. */ +@property(nonatomic, copy, nullable) NSString *lookerPlatformEdition; + +/** Version of instance when the export was created. */ +@property(nonatomic, copy, nullable) NSString *lookerVersion; + +/** + * The source type of the migration. + * + * Likely values: + * @arg @c kGTLRLooker_ExportMetadata_Source_LookerCore Source of export is + * Looker Core (Value: "LOOKER_CORE") + * @arg @c kGTLRLooker_ExportMetadata_Source_LookerOriginal Source of export + * is Looker Original (Value: "LOOKER_ORIGINAL") + * @arg @c kGTLRLooker_ExportMetadata_Source_SourceUnspecified Source not + * specified (Value: "SOURCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *source; + +@end + + +/** + * Encryption key details for the exported artifact. + */ +@interface GTLRLooker_ExportMetadataEncryptionKey : GTLRObject + +/** Name of the CMEK. */ +@property(nonatomic, copy, nullable) NSString *cmek; + +/** Version of the CMEK. */ +@property(nonatomic, copy, nullable) NSString *version; + +@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 GTLRLooker_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 + + +/** + * Requestion options for importing looker data to an Instance + */ +@interface GTLRLooker_ImportInstanceRequest : GTLRObject + +/** + * Path to the import folder in Google Cloud Storage, in the form + * `gs://bucketName/folderName`. + */ +@property(nonatomic, copy, nullable) NSString *gcsUri; + +@end + + +/** + * A Looker instance. + */ +@interface GTLRLooker_Instance : GTLRObject + +/** Looker Instance Admin settings. */ +@property(nonatomic, strong, nullable) GTLRLooker_AdminSettings *adminSettings; + +/** + * Network name in the consumer project. Format: + * `projects/{project}/global/networks/{network}`. Note that the consumer + * network may be in a different GCP project than the consumer project that is + * hosting the Looker Instance. + */ +@property(nonatomic, copy, nullable) NSString *consumerNetwork; + +/** + * Output only. The time when the Looker instance provisioning was first + * requested. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +@property(nonatomic, strong, nullable) GTLRLooker_CustomDomain *customDomain; + +/** Maintenance denial period for this instance. */ +@property(nonatomic, strong, nullable) GTLRLooker_DenyMaintenancePeriod *denyMaintenancePeriod; + +/** Output only. Public Egress IP (IPv4). */ +@property(nonatomic, copy, nullable) NSString *egressPublicIp; + +/** + * Encryption configuration (CMEK). Only set if CMEK has been enabled on the + * instance. + */ +@property(nonatomic, strong, nullable) GTLRLooker_EncryptionConfig *encryptionConfig; + +/** Output only. Private Ingress IP (IPv4). */ +@property(nonatomic, copy, nullable) NSString *ingressPrivateIp; + +/** Output only. Public Ingress IP (IPv4). */ +@property(nonatomic, copy, nullable) NSString *ingressPublicIp; + +/** Output only. Last computed maintenance denial period for this instance. */ +@property(nonatomic, strong, nullable) GTLRLooker_DenyMaintenancePeriod *lastDenyMaintenancePeriod; + +/** + * Output only. Looker instance URI which can be used to access the Looker + * Instance UI. + */ +@property(nonatomic, copy, nullable) NSString *lookerUri; + +/** Output only. The Looker version that the instance is using. */ +@property(nonatomic, copy, nullable) NSString *lookerVersion; + +/** Maintenance schedule for this instance. */ +@property(nonatomic, strong, nullable) GTLRLooker_MaintenanceSchedule *maintenanceSchedule; + +/** Maintenance window for this instance. */ +@property(nonatomic, strong, nullable) GTLRLooker_MaintenanceWindow *maintenanceWindow; + +/** + * Output only. Format: + * `projects/{project}/locations/{location}/instances/{instance}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Looker instance OAuth login settings. */ +@property(nonatomic, strong, nullable) GTLRLooker_OAuthConfig *oauthConfig; + +/** + * Platform edition. + * + * Likely values: + * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreEmbedAnnual + * Subscription Embed. (Value: "LOOKER_CORE_EMBED_ANNUAL") + * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreEnterpriseAnnual + * Subscription Enterprise. (Value: "LOOKER_CORE_ENTERPRISE_ANNUAL") + * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreStandard Standard. + * (Value: "LOOKER_CORE_STANDARD") + * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreStandardAnnual + * Subscription Standard. (Value: "LOOKER_CORE_STANDARD_ANNUAL") + * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreTrial Trial. + * (Value: "LOOKER_CORE_TRIAL") + * @arg @c kGTLRLooker_Instance_PlatformEdition_PlatformEditionUnspecified + * Platform edition is unspecified. (Value: + * "PLATFORM_EDITION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *platformEdition; + +/** + * Whether private IP is enabled on the Looker instance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *privateIpEnabled; + +/** + * Whether public IP is enabled on the Looker instance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *publicIpEnabled; + +/** + * Name of a reserved IP address range within the Instance.consumer_network, to + * be used for private services access connection. May or may not be specified + * in a create request. + */ +@property(nonatomic, copy, nullable) NSString *reservedRange; + +/** + * Output only. The state of the instance. + * + * Likely values: + * @arg @c kGTLRLooker_Instance_State_Active Instance is active and ready for + * use. (Value: "ACTIVE") + * @arg @c kGTLRLooker_Instance_State_Creating Instance provisioning is in + * progress. (Value: "CREATING") + * @arg @c kGTLRLooker_Instance_State_Deleting Instance delete is in + * progress. (Value: "DELETING") + * @arg @c kGTLRLooker_Instance_State_Exporting Instance is being exported. + * (Value: "EXPORTING") + * @arg @c kGTLRLooker_Instance_State_Failed Instance is in a failed state. + * (Value: "FAILED") + * @arg @c kGTLRLooker_Instance_State_Importing Instance is importing data. + * (Value: "IMPORTING") + * @arg @c kGTLRLooker_Instance_State_StateUnspecified State is unspecified. + * (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRLooker_Instance_State_Suspended Instance was suspended. + * (Value: "SUSPENDED") + * @arg @c kGTLRLooker_Instance_State_Updating Instance update is in + * progress. (Value: "UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. The time when the Looker instance was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** User metadata. */ +@property(nonatomic, strong, nullable) GTLRLooker_UserMetadata *userMetadata; + +@end + + +/** + * Response from ListInstances. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "instances" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRLooker_ListInstancesResponse : GTLRCollectionObject + +/** + * The list of instances matching the request filters, up to the requested + * ListInstancesRequest.pageSize. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *instances; + +/** + * If provided, a page token that can look up the next + * ListInstancesRequest.pageSize results. If empty, the results list is + * exhausted. + */ +@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. + * + * @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 GTLRLooker_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 GTLRLooker_ListOperationsResponse : GTLRCollectionObject + +/** The standard List next-page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * A list of operations that matches the specified filter in the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *operations; + +@end + + +/** + * A resource that represents a Google Cloud location. + */ +@interface GTLRLooker_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) GTLRLooker_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) GTLRLooker_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 GTLRLooker_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 GTLRLooker_Location_Metadata : GTLRObject +@end + + +/** + * Published upcoming future maintenance schedule. + */ +@interface GTLRLooker_MaintenanceSchedule : GTLRObject + +/** The scheduled end time for the maintenance. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** The scheduled start time for the maintenance. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + +/** + * Specifies the recurring maintenance window. + */ +@interface GTLRLooker_MaintenanceWindow : GTLRObject + +/** + * Required. Day of the week for this MaintenanceWindow (in UTC). + * + * Likely values: + * @arg @c kGTLRLooker_MaintenanceWindow_DayOfWeek_DayOfWeekUnspecified The + * day of the week is unspecified. (Value: "DAY_OF_WEEK_UNSPECIFIED") + * @arg @c kGTLRLooker_MaintenanceWindow_DayOfWeek_Friday Friday (Value: + * "FRIDAY") + * @arg @c kGTLRLooker_MaintenanceWindow_DayOfWeek_Monday Monday (Value: + * "MONDAY") + * @arg @c kGTLRLooker_MaintenanceWindow_DayOfWeek_Saturday Saturday (Value: + * "SATURDAY") + * @arg @c kGTLRLooker_MaintenanceWindow_DayOfWeek_Sunday Sunday (Value: + * "SUNDAY") + * @arg @c kGTLRLooker_MaintenanceWindow_DayOfWeek_Thursday Thursday (Value: + * "THURSDAY") + * @arg @c kGTLRLooker_MaintenanceWindow_DayOfWeek_Tuesday Tuesday (Value: + * "TUESDAY") + * @arg @c kGTLRLooker_MaintenanceWindow_DayOfWeek_Wednesday Wednesday + * (Value: "WEDNESDAY") + */ +@property(nonatomic, copy, nullable) NSString *dayOfWeek; + +/** + * Required. Time in UTC when the period starts. Maintenance will be scheduled + * within 60 minutes. + */ +@property(nonatomic, strong, nullable) GTLRLooker_TimeOfDay *startTime; + +@end + + +/** + * Looker instance OAuth login settings. + */ +@interface GTLRLooker_OAuthConfig : GTLRObject + +/** + * Input only. Client ID from an external OAuth application. This is an + * input-only field, and thus will not be set in any responses. + */ +@property(nonatomic, copy, nullable) NSString *clientId; + +/** + * Input only. Client secret from an external OAuth application. This is an + * input-only field, and thus will not be set in any responses. + */ +@property(nonatomic, copy, nullable) NSString *clientSecret; + +@end + + +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLRLooker_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) GTLRLooker_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) GTLRLooker_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) GTLRLooker_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 GTLRLooker_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 GTLRLooker_Operation_Response : GTLRObject +@end + + +/** + * Represents the metadata of the long-running operation. + */ +@interface GTLRLooker_OperationMetadata : GTLRObject + +/** API version used to start the operation. */ +@property(nonatomic, copy, nullable) NSString *apiVersion; + +/** The time the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Identifies whether the user has requested cancellation of the operation. + * Operations that have successfully been cancelled have Operation.error value + * with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestedCancellation; + +/** Human-readable status of the operation, if any. */ +@property(nonatomic, copy, nullable) NSString *statusMessage; + +/** Server-defined resource path for the target of the operation. */ +@property(nonatomic, copy, nullable) NSString *target; + +/** Name of the verb executed by the operation. */ +@property(nonatomic, copy, nullable) NSString *verb; + +@end + + +/** + * An Identity and Access Management (IAM) policy, which specifies access + * controls for Google Cloud resources. A `Policy` is a collection of + * `bindings`. A `binding` binds one or more `members`, or principals, to a + * single `role`. Principals can be user accounts, service accounts, Google + * groups, and domains (such as G Suite). A `role` is a named list of + * permissions; each `role` can be an IAM predefined role or a user-created + * custom role. For some types of Google Cloud resources, a `binding` can also + * specify a `condition`, which is a logical expression that allows access to a + * resource only if the expression evaluates to `true`. A condition can add + * constraints based on attributes of the request, the resource, or both. To + * learn which resources support conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * **JSON example:** ``` { "bindings": [ { "role": + * "roles/resourcemanager.organizationAdmin", "members": [ + * "user:mike\@example.com", "group:admins\@example.com", "domain:google.com", + * "serviceAccount:my-project-id\@appspot.gserviceaccount.com" ] }, { "role": + * "roles/resourcemanager.organizationViewer", "members": [ + * "user:eve\@example.com" ], "condition": { "title": "expirable access", + * "description": "Does not grant access after Sep 2020", "expression": + * "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": + * "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - + * members: - user:mike\@example.com - group:admins\@example.com - + * domain:google.com - + * serviceAccount:my-project-id\@appspot.gserviceaccount.com role: + * roles/resourcemanager.organizationAdmin - members: - user:eve\@example.com + * role: roles/resourcemanager.organizationViewer condition: title: expirable + * access description: Does not grant access after Sep 2020 expression: + * request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= + * version: 3 ``` For a description of IAM and its features, see the [IAM + * documentation](https://cloud.google.com/iam/docs/). + */ +@interface GTLRLooker_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 + + +/** + * Request options for restarting an instance. + */ +@interface GTLRLooker_RestartInstanceRequest : GTLRObject +@end + + +/** + * Request message for `SetIamPolicy` method. + */ +@interface GTLRLooker_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) GTLRLooker_Policy *policy; + +/** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + * the fields in the mask will be modified. If no mask is provided, the + * following default mask is used: `paths: "bindings, etag"` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + +/** + * The `Status` type defines a logical error model that is suitable for + * different programming environments, including REST APIs and RPC APIs. It is + * used by [gRPC](https://github.com/grpc). Each `Status` message contains + * three pieces of data: error code, error message, and error details. You can + * find out more about this error model and how to work with it in the [API + * Design Guide](https://cloud.google.com/apis/design/errors). + */ +@interface GTLRLooker_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 + + +/** + * GTLRLooker_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 GTLRLooker_Status_Details_Item : GTLRObject +@end + + +/** + * Request message for `TestIamPermissions` method. + */ +@interface GTLRLooker_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 GTLRLooker_TestIamPermissionsResponse : GTLRObject + +/** + * A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + */ +@property(nonatomic, strong, nullable) NSArray *permissions; + +@end + + +/** + * Represents a time of day. The date and time zone are either not significant + * or are specified elsewhere. An API may choose to allow leap seconds. Related + * types are google.type.Date and `google.protobuf.Timestamp`. + */ +@interface GTLRLooker_TimeOfDay : GTLRObject + +/** + * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to + * allow the value "24:00:00" for scenarios like business closing time. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hours; + +/** + * Minutes of hour of day. Must be from 0 to 59. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minutes; + +/** + * Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nanos; + +/** + * Seconds of minutes of the time. Must normally be from 0 to 59. An API may + * allow the value 60 if it allows leap-seconds. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *seconds; + +@end + + +/** + * Metadata about users for a Looker instance. + */ +@interface GTLRLooker_UserMetadata : GTLRObject + +/** + * Optional. The number of additional developer users the instance owner has + * purchased. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *additionalDeveloperUserCount; + +/** + * Optional. The number of additional standard users the instance owner has + * purchased. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *additionalStandardUserCount; + +/** + * Optional. The number of additional viewer users the instance owner has + * purchased. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *additionalViewerUserCount; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerQuery.h b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerQuery.h new file mode 100644 index 000000000..70691aa40 --- /dev/null +++ b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerQuery.h @@ -0,0 +1,801 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Looker (Google Cloud core) API (looker/v1) +// Documentation: +// https://cloud.google.com/looker/docs/reference/rest/ + +#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 "GTLRLookerObjects.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 Looker query classes. + */ +@interface GTLRLookerQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Gets information about a location. + * + * Method: looker.projects.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsGet : GTLRLookerQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLooker_Location. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLRLookerQuery_ProjectsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * Method: looker.projects.locations.instances.backups.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesBackupsGetIamPolicy : GTLRLookerQuery + +/** + * 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 GTLRLooker_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 GTLRLookerQuery_ProjectsLocationsInstancesBackupsGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and + * `PERMISSION_DENIED` errors. + * + * Method: looker.projects.locations.instances.backups.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesBackupsSetIamPolicy : GTLRLookerQuery + +/** + * 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 GTLRLooker_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 GTLRLooker_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 GTLRLookerQuery_ProjectsLocationsInstancesBackupsSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRLooker_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: looker.projects.locations.instances.backups.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesBackupsTestIamPermissions : GTLRLookerQuery + +/** + * 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 GTLRLooker_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 GTLRLooker_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 GTLRLookerQuery_ProjectsLocationsInstancesBackupsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRLooker_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Creates a new Instance in a given project and location. + * + * Method: looker.projects.locations.instances.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesCreate : GTLRLookerQuery + +/** + * Required. The unique instance identifier. Must contain only lowercase + * letters, numbers, or hyphens, with the first character a letter and the last + * a letter or a number. 63 characters maximum. + */ +@property(nonatomic, copy, nullable) NSString *instanceId; + +/** Required. Format: `projects/{project}/locations/{location}`. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLooker_Operation. + * + * Creates a new Instance in a given project and location. + * + * @param object The @c GTLRLooker_Instance to include in the query. + * @param parent Required. Format: `projects/{project}/locations/{location}`. + * + * @return GTLRLookerQuery_ProjectsLocationsInstancesCreate + */ ++ (instancetype)queryWithObject:(GTLRLooker_Instance *)object + parent:(NSString *)parent; + +@end + +/** + * Delete instance. + * + * Method: looker.projects.locations.instances.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesDelete : GTLRLookerQuery + +/** Whether to force cascading delete. */ +@property(nonatomic, assign) BOOL force; + +/** + * Required. Format: + * `projects/{project}/locations/{location}/instances/{instance}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLooker_Operation. + * + * Delete instance. + * + * @param name Required. Format: + * `projects/{project}/locations/{location}/instances/{instance}`. + * + * @return GTLRLookerQuery_ProjectsLocationsInstancesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Export instance. + * + * Method: looker.projects.locations.instances.export + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesExport : GTLRLookerQuery + +/** + * Required. Format: + * `projects/{project}/locations/{location}/instances/{instance}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLooker_Operation. + * + * Export instance. + * + * @param object The @c GTLRLooker_ExportInstanceRequest to include in the + * query. + * @param name Required. Format: + * `projects/{project}/locations/{location}/instances/{instance}`. + * + * @return GTLRLookerQuery_ProjectsLocationsInstancesExport + */ ++ (instancetype)queryWithObject:(GTLRLooker_ExportInstanceRequest *)object + name:(NSString *)name; + +@end + +/** + * Gets details of a single Instance. + * + * Method: looker.projects.locations.instances.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesGet : GTLRLookerQuery + +/** + * Required. Format: + * `projects/{project}/locations/{location}/instances/{instance}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLooker_Instance. + * + * Gets details of a single Instance. + * + * @param name Required. Format: + * `projects/{project}/locations/{location}/instances/{instance}`. + * + * @return GTLRLookerQuery_ProjectsLocationsInstancesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * Method: looker.projects.locations.instances.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesGetIamPolicy : GTLRLookerQuery + +/** + * 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 GTLRLooker_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 GTLRLookerQuery_ProjectsLocationsInstancesGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Import instance. + * + * Method: looker.projects.locations.instances.import + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesImport : GTLRLookerQuery + +/** + * Required. Format: + * `projects/{project}/locations/{location}/instances/{instance}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLooker_Operation. + * + * Import instance. + * + * @param object The @c GTLRLooker_ImportInstanceRequest to include in the + * query. + * @param name Required. Format: + * `projects/{project}/locations/{location}/instances/{instance}`. + * + * @return GTLRLookerQuery_ProjectsLocationsInstancesImport + */ ++ (instancetype)queryWithObject:(GTLRLooker_ImportInstanceRequest *)object + name:(NSString *)name; + +@end + +/** + * Lists Instances in a given project and location. + * + * Method: looker.projects.locations.instances.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesList : GTLRLookerQuery + +/** + * The maximum number of instances to return. If unspecified at most 256 will + * be returned. The maximum possible value is 2048. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** A page token received from a previous ListInstancesRequest. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. Format: `projects/{project}/locations/{location}`. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRLooker_ListInstancesResponse. + * + * Lists Instances in a given project and location. + * + * @param parent Required. Format: `projects/{project}/locations/{location}`. + * + * @return GTLRLookerQuery_ProjectsLocationsInstancesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Update Instance. + * + * Method: looker.projects.locations.instances.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesPatch : GTLRLookerQuery + +/** + * Output only. Format: + * `projects/{project}/locations/{location}/instances/{instance}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Field mask used to specify the fields to be overwritten in the + * Instance resource by the update. The fields specified in the mask are + * relative to the resource, not the full request. A field will be overwritten + * if it is in the mask. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRLooker_Operation. + * + * Update Instance. + * + * @param object The @c GTLRLooker_Instance to include in the query. + * @param name Output only. Format: + * `projects/{project}/locations/{location}/instances/{instance}`. + * + * @return GTLRLookerQuery_ProjectsLocationsInstancesPatch + */ ++ (instancetype)queryWithObject:(GTLRLooker_Instance *)object + name:(NSString *)name; + +@end + +/** + * Restart instance. + * + * Method: looker.projects.locations.instances.restart + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesRestart : GTLRLookerQuery + +/** + * Required. Format: + * `projects/{project}/locations/{location}/instances/{instance}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLooker_Operation. + * + * Restart instance. + * + * @param object The @c GTLRLooker_RestartInstanceRequest to include in the + * query. + * @param name Required. Format: + * `projects/{project}/locations/{location}/instances/{instance}`. + * + * @return GTLRLookerQuery_ProjectsLocationsInstancesRestart + */ ++ (instancetype)queryWithObject:(GTLRLooker_RestartInstanceRequest *)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 + * `PERMISSION_DENIED` errors. + * + * Method: looker.projects.locations.instances.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesSetIamPolicy : GTLRLookerQuery + +/** + * 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 GTLRLooker_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 GTLRLooker_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 GTLRLookerQuery_ProjectsLocationsInstancesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRLooker_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: looker.projects.locations.instances.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsInstancesTestIamPermissions : GTLRLookerQuery + +/** + * 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 GTLRLooker_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 GTLRLooker_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 GTLRLookerQuery_ProjectsLocationsInstancesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRLooker_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Lists information about the supported locations for this service. + * + * Method: looker.projects.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsList : GTLRLookerQuery + +/** + * 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 GTLRLooker_ListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLRLookerQuery_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: looker.projects.locations.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsOperationsCancel : GTLRLookerQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLooker_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 GTLRLooker_CancelOperationRequest to include in the + * query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRLookerQuery_ProjectsLocationsOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRLooker_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: looker.projects.locations.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsOperationsDelete : GTLRLookerQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLooker_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 GTLRLookerQuery_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: looker.projects.locations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsOperationsGet : GTLRLookerQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRLooker_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 GTLRLookerQuery_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: looker.projects.locations.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeLookerCloudPlatform + */ +@interface GTLRLookerQuery_ProjectsLocationsOperationsList : GTLRLookerQuery + +/** 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 GTLRLooker_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 GTLRLookerQuery_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/Looker/Public/GoogleAPIClientForREST/GTLRLookerService.h b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerService.h new file mode 100644 index 000000000..bb493854f --- /dev/null +++ b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerService.h @@ -0,0 +1,69 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Looker (Google Cloud core) API (looker/v1) +// Documentation: +// https://cloud.google.com/looker/docs/reference/rest/ + +#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 kGTLRAuthScopeLookerCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRLookerService +// + +/** + * Service for executing Looker (Google Cloud core) API queries. + */ +@interface GTLRLookerService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRLookerQuery.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/ManufacturerCenter/GTLRManufacturerCenterObjects.m b/Sources/GeneratedServices/ManufacturerCenter/GTLRManufacturerCenterObjects.m index 70447591d..70da40935 100644 --- a/Sources/GeneratedServices/ManufacturerCenter/GTLRManufacturerCenterObjects.m +++ b/Sources/GeneratedServices/ManufacturerCenter/GTLRManufacturerCenterObjects.m @@ -56,8 +56,8 @@ // @implementation GTLRManufacturerCenter_Attributes -@dynamic additionalImageLink, ageGroup, brand, capacity, color, count, - descriptionProperty, disclosureDate, excludedDestination, +@dynamic additionalImageLink, ageGroup, brand, capacity, certification, color, + count, descriptionProperty, disclosureDate, excludedDestination, featureDescription, flavor, format, gender, grocery, gtin, imageLink, includedDestination, itemGroupId, material, mpn, nutrition, pattern, productDetail, productHighlight, productLine, productName, @@ -72,6 +72,7 @@ @implementation GTLRManufacturerCenter_Attributes + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"additionalImageLink" : [GTLRManufacturerCenter_Image class], + @"certification" : [GTLRManufacturerCenter_GoogleShoppingManufacturersV1ProductCertification class], @"excludedDestination" : [NSString class], @"featureDescription" : [GTLRManufacturerCenter_FeatureDescription class], @"gtin" : [NSString class], @@ -158,6 +159,16 @@ @implementation GTLRManufacturerCenter_FloatUnit @end +// ---------------------------------------------------------------------------- +// +// GTLRManufacturerCenter_GoogleShoppingManufacturersV1ProductCertification +// + +@implementation GTLRManufacturerCenter_GoogleShoppingManufacturersV1ProductCertification +@dynamic authority, code, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRManufacturerCenter_Grocery diff --git a/Sources/GeneratedServices/ManufacturerCenter/Public/GoogleAPIClientForREST/GTLRManufacturerCenterObjects.h b/Sources/GeneratedServices/ManufacturerCenter/Public/GoogleAPIClientForREST/GTLRManufacturerCenterObjects.h index 62ab298a6..f0a5a8e42 100644 --- a/Sources/GeneratedServices/ManufacturerCenter/Public/GoogleAPIClientForREST/GTLRManufacturerCenterObjects.h +++ b/Sources/GeneratedServices/ManufacturerCenter/Public/GoogleAPIClientForREST/GTLRManufacturerCenterObjects.h @@ -21,6 +21,7 @@ @class GTLRManufacturerCenter_DestinationStatus; @class GTLRManufacturerCenter_FeatureDescription; @class GTLRManufacturerCenter_FloatUnit; +@class GTLRManufacturerCenter_GoogleShoppingManufacturersV1ProductCertification; @class GTLRManufacturerCenter_Grocery; @class GTLRManufacturerCenter_Image; @class GTLRManufacturerCenter_Issue; @@ -260,6 +261,9 @@ FOUNDATION_EXTERN NSString * const kGTLRManufacturerCenter_Issue_Severity_Warnin */ @property(nonatomic, strong, nullable) GTLRManufacturerCenter_Capacity *capacity; +/** Optional. List of certifications claimed by this product. */ +@property(nonatomic, strong, nullable) NSArray *certification; + /** * The color of the product. For more information, see * https://support.google.com/manufacturers/answer/6124116#color. @@ -622,6 +626,23 @@ FOUNDATION_EXTERN NSString * const kGTLRManufacturerCenter_Issue_Severity_Warnin @end +/** + * Description of a certification. + */ +@interface GTLRManufacturerCenter_GoogleShoppingManufacturersV1ProductCertification : GTLRObject + +/** Required. Name of the certification body. */ +@property(nonatomic, copy, nullable) NSString *authority; + +/** Required. A unique code to identify the certification. */ +@property(nonatomic, copy, nullable) NSString *code; + +/** Required. Name of the certification. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * GTLRManufacturerCenter_Grocery */ diff --git a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h index dd527723e..5c382a3a2 100644 --- a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h +++ b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h @@ -513,13 +513,13 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR */ @interface GTLRMapsPlaces_GoogleMapsPlacesV1AuthorAttribution : GTLRObject -/** Output only. Name of the author of the Photo or Review. */ +/** Name of the author of the Photo or Review. */ @property(nonatomic, copy, nullable) NSString *displayName; -/** Output only. Profile photo URI of the author of the Photo or Review. */ +/** Profile photo URI of the author of the Photo or Review. */ @property(nonatomic, copy, nullable) NSString *photoUri; -/** Output only. URI of the author of the Photo or Review. */ +/** URI of the author of the Photo or Review. */ @property(nonatomic, copy, nullable) NSString *uri; @end @@ -734,25 +734,25 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR */ @interface GTLRMapsPlaces_GoogleMapsPlacesV1Photo : GTLRObject -/** Output only. This photo's authors. */ +/** This photo's authors. */ @property(nonatomic, strong, nullable) NSArray *authorAttributions; /** - * Output only. The maximum available height, in pixels. + * The maximum available height, in pixels. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *heightPx; /** - * Output only. A reference representing this place photo which may be used to + * Identifier. A reference representing this place photo which may be used to * look up this place photo again (a.k.a. the API "resource" name: * places/{place_id}/photos/{photo}). */ @property(nonatomic, copy, nullable) NSString *name; /** - * Output only. The maximum available width, in pixels. + * The maximum available width, in pixels. * * Uses NSNumber of intValue. */ @@ -767,8 +767,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR @interface GTLRMapsPlaces_GoogleMapsPlacesV1PhotoMedia : GTLRObject /** - * The resource name of a photo in the format: - * places/place_id/photos/photo_reference. + * The resource name of a photo media in the format: + * `places/place_id/photos/photo_reference/media`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -929,7 +929,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR @property(nonatomic, copy, nullable) NSString *iconBackgroundColor; /** - * A truncated URL to an v2 icon mask. User can access different icon type by + * A truncated URL to an icon mask. User can access different icon type by * appending type suffix to the end (eg, ".svg" or ".png"). */ @property(nonatomic, copy, nullable) NSString *iconMaskBaseUri; @@ -1018,13 +1018,17 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** * 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. + * 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 */ @property(nonatomic, copy, nullable) NSString *primaryType; /** * The display name of the primary type, localized to the request language if - * applicable. + * 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 */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleTypeLocalizedText *primaryTypeDisplayName; @@ -1062,7 +1066,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR */ @property(nonatomic, strong, nullable) NSNumber *restroom; -/** List of reviews about this place. */ +/** List of reviews about this place, sorted by relevance. */ @property(nonatomic, strong, nullable) NSArray *reviews; /** @@ -1150,7 +1154,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** * A set of type tags for this result. For example, "political" and "locality". - * See: + * 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 */ @property(nonatomic, strong, nullable) NSArray *types; @@ -1551,37 +1555,36 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR */ @interface GTLRMapsPlaces_GoogleMapsPlacesV1Review : GTLRObject -/** Output only. This review's author. */ +/** This review's author. */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1AuthorAttribution *authorAttribution; /** - * Output only. A reference representing this place review which may be used to - * look up this place review again (a.k.a. the API "resource" name: - * places/{place_id}/reviews/{review}). + * A reference representing this place review which may be used to look up this + * place review again (also called the API "resource" name: + * places/place_id/reviews/review). */ @property(nonatomic, copy, nullable) NSString *name; -/** Output only. The review text in its original language. */ +/** The review text in its original language. */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleTypeLocalizedText *originalText; -/** Output only. Timestamp for the review. */ +/** Timestamp for the review. */ @property(nonatomic, strong, nullable) GTLRDateTime *publishTime; /** - * Output only. A number between 1.0 and 5.0, a.k.a. the number of stars. + * A number between 1.0 and 5.0, also called the number of stars. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *rating; /** - * Output only. A string of formatted recent time, expressing the review time - * relative to the current time in a form appropriate for the language and - * country. + * A string of formatted recent time, expressing the review time relative to + * the current time in a form appropriate for the language and country. */ @property(nonatomic, copy, nullable) NSString *relativePublishTimeDescription; -/** Output only. The localized text of the review. */ +/** The localized text of the review. */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleTypeLocalizedText *text; @end @@ -1760,8 +1763,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** * Maximum number of results to return. It must be between 1 and 20, - * inclusively. If the number is unset, it falls back to the upper limit. If - * the number is set to negative or exceeds the upper limit, an + * inclusively. The default is 20. If the number is unset, it falls back to the + * upper limit. If the number is set to negative or exceeds the upper limit, an * INVALID_ARGUMENT error is returned. * * Uses NSNumber of intValue. @@ -1781,7 +1784,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR @property(nonatomic, strong, nullable) NSNumber *minRating; /** - * Used to restrict the search to places that are currently open. + * Used to restrict the search to places that are currently open. The default + * is false. * * Uses NSNumber of boolValue. */ @@ -1842,7 +1846,11 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** A circle defined by center point and radius. */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1Circle *circle; -/** A rectangle box defined by northeast and southwest corner. */ +/** + * A rectangle box defined by northeast and southwest corner. + * `rectangle.high()` must be the northeast point of the rectangle viewport. + * `rectangle.low()` must be the southwest point of the rectangle viewport. + */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleGeoTypeViewport *rectangle; @end @@ -1854,7 +1862,11 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR */ @interface GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequestLocationRestriction : GTLRObject -/** A rectangle box defined by northeast and southwest corner. */ +/** + * A rectangle box defined by northeast and southwest corner. + * `rectangle.high()` must be the northeast point of the rectangle viewport. + * `rectangle.low()` must be the southwest point of the rectangle viewport. + */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleGeoTypeViewport *rectangle; @end diff --git a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesQuery.h b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesQuery.h index 85df45a85..e75cd4812 100644 --- a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesQuery.h +++ b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesQuery.h @@ -32,7 +32,7 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Get a Place with a place id (in a name) string. + * Get place details with a place id (in a name) string. * * Method: places.places.get * @@ -52,7 +52,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. A place ID returned in a Place (with "places/" prefix), or - * equivalently the name in the same Place. Format: places/place_id. + * equivalently the name in the same Place. Format: places/ *place_id*. */ @property(nonatomic, copy, nullable) NSString *name; @@ -69,11 +69,11 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRMapsPlaces_GoogleMapsPlacesV1Place. * - * Get a Place with a place id (in a name) string. + * Get place details with a place id (in a name) string. * * @param name Required. A place ID returned in a Place (with "places/" - * prefix), or equivalently the name in the same Place. Format: - * places/place_id. + * prefix), or equivalently the name in the same Place. Format: places/ + * *place_id*. * * @return GTLRMapsPlacesQuery_PlacesGet */ @@ -121,15 +121,19 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, assign) NSInteger maxWidthPx; /** - * Required. The resource name of a photo as returned in a Place object's - * photos.name field. Format: places/place_id/photos/photo_reference. + * Required. The resource name of a photo media in the format: + * `"places/place_id/photos/photo_reference/media"`. The resource name of a + * photo as returned in a Place object's `photos.name` field comes with the + * format `"places/place_id/photos/photo_reference"`. You need to append + * `"/media"` at the end of the photo resource to get the photo media resource + * name. */ @property(nonatomic, copy, nullable) NSString *name; /** * Optional. If set, skip the default HTTP redirect behavior and render a text * format (for example, in JSON format for HTTP use case) response. If not set, - * an HTTP redirect will be issued to redirect the call to the image midea. + * an HTTP redirect will be issued to redirect the call to the image media. * This option is ignored for non-HTTP requests. */ @property(nonatomic, assign) BOOL skipHttpRedirect; @@ -139,9 +143,12 @@ NS_ASSUME_NONNULL_BEGIN * * Get a photo media with a photo reference string. * - * @param name Required. The resource name of a photo as returned in a Place - * object's photos.name field. Format: - * places/place_id/photos/photo_reference. + * @param name Required. The resource name of a photo media in the format: + * `"places/place_id/photos/photo_reference/media"`. The resource name of a + * photo as returned in a Place object's `photos.name` field comes with the + * format `"places/place_id/photos/photo_reference"`. You need to append + * `"/media"` at the end of the photo resource to get the photo media + * resource name. * * @return GTLRMapsPlacesQuery_PlacesPhotosGetMedia */ diff --git a/Sources/GeneratedServices/Monitoring/GTLRMonitoringObjects.m b/Sources/GeneratedServices/Monitoring/GTLRMonitoringObjects.m index 29d4638cc..702538829 100644 --- a/Sources/GeneratedServices/Monitoring/GTLRMonitoringObjects.m +++ b/Sources/GeneratedServices/Monitoring/GTLRMonitoringObjects.m @@ -56,6 +56,12 @@ NSString * const kGTLRMonitoring_AlertPolicy_Combiner_CombineUnspecified = @"COMBINE_UNSPECIFIED"; NSString * const kGTLRMonitoring_AlertPolicy_Combiner_Or = @"OR"; +// GTLRMonitoring_AlertPolicy.severity +NSString * const kGTLRMonitoring_AlertPolicy_Severity_Critical = @"CRITICAL"; +NSString * const kGTLRMonitoring_AlertPolicy_Severity_Error = @"ERROR"; +NSString * const kGTLRMonitoring_AlertPolicy_Severity_SeverityUnspecified = @"SEVERITY_UNSPECIFIED"; +NSString * const kGTLRMonitoring_AlertPolicy_Severity_Warning = @"WARNING"; + // GTLRMonitoring_CollectdValue.dataSourceType NSString * const kGTLRMonitoring_CollectdValue_DataSourceType_Absolute = @"ABSOLUTE"; NSString * const kGTLRMonitoring_CollectdValue_DataSourceType_Counter = @"COUNTER"; @@ -331,7 +337,7 @@ @implementation GTLRMonitoring_Aggregation @implementation GTLRMonitoring_AlertPolicy @dynamic alertStrategy, combiner, conditions, creationRecord, displayName, documentation, enabled, mutationRecord, name, notificationChannels, - userLabels, validity; + severity, userLabels, validity; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h index 3985cd92d..0ca48db13 100644 --- a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h +++ b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h @@ -478,6 +478,38 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoring_AlertPolicy_Combiner_CombineU */ FOUNDATION_EXTERN NSString * const kGTLRMonitoring_AlertPolicy_Combiner_Or; +// ---------------------------------------------------------------------------- +// GTLRMonitoring_AlertPolicy.severity + +/** + * This is the highest severity level. Use this if the problem could cause + * significant damage or downtime. + * + * Value: "CRITICAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRMonitoring_AlertPolicy_Severity_Critical; +/** + * This is the medium severity level. Use this if the problem could cause minor + * damage or downtime. + * + * Value: "ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRMonitoring_AlertPolicy_Severity_Error; +/** + * No severity is specified. This is the default value. + * + * Value: "SEVERITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRMonitoring_AlertPolicy_Severity_SeverityUnspecified; +/** + * This is the lowest severity level. Use this if the problem is not causing + * any damage or downtime, but could potentially lead to a problem in the + * future. + * + * Value: "WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRMonitoring_AlertPolicy_Severity_Warning; + // ---------------------------------------------------------------------------- // GTLRMonitoring_CollectdValue.dataSourceType @@ -2255,6 +2287,28 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoring_ValueDescriptor_ValueType_Val */ @property(nonatomic, strong, nullable) NSArray *notificationChannels; +/** + * Optional. The severity of an alert policy indicates how important alerts + * generated by that policy are. The severity level, if specified, will be + * displayed on the Incident detail page and in notifications. + * + * Likely values: + * @arg @c kGTLRMonitoring_AlertPolicy_Severity_Critical This is the highest + * severity level. Use this if the problem could cause significant damage + * or downtime. (Value: "CRITICAL") + * @arg @c kGTLRMonitoring_AlertPolicy_Severity_Error This is the medium + * severity level. Use this if the problem could cause minor damage or + * downtime. (Value: "ERROR") + * @arg @c kGTLRMonitoring_AlertPolicy_Severity_SeverityUnspecified No + * severity is specified. This is the default value. (Value: + * "SEVERITY_UNSPECIFIED") + * @arg @c kGTLRMonitoring_AlertPolicy_Severity_Warning This is the lowest + * severity level. Use this if the problem is not causing any damage or + * downtime, but could potentially lead to a problem in the future. + * (Value: "WARNING") + */ +@property(nonatomic, copy, nullable) NSString *severity; + /** * User-supplied key/value data to be used for organizing and identifying the * AlertPolicy objects.The field can contain up to 64 entries. Each key and @@ -3367,7 +3421,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoring_ValueDescriptor_ValueType_Val * series will violate the threshold. If the predicted value is found to * violate the threshold, and the violation is observed in all forecasts made * for the configured duration, then the time series is considered to be - * failing. + * failing. The forecast horizon can range from 1 hour to 60 hours. */ @property(nonatomic, strong, nullable) GTLRDuration *forecastHorizon; @@ -6760,7 +6814,8 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) GTLRMonitoring_MonitoredResource *monitoredResource; /** - * A unique resource name for this Uptime check configuration. The format is: + * Identifier. A unique resource name for this Uptime check configuration. The + * format is: * projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] * [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the * Uptime check.This field should be omitted when creating the Uptime check diff --git a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringQuery.h b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringQuery.h index 85599a748..82d0d23b3 100644 --- a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringQuery.h +++ b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringQuery.h @@ -3467,6 +3467,9 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoringViewViewUnspecified; * Creates or adds data to one or more time series. The response is empty if * all time series in the request were written. If any time series could not be * written, a corresponding failure message is included in the error response. + * This method does not support resource locations constraint of an + * organization policy + * (https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations#setting_the_organization_policy). * * Method: monitoring.projects.timeSeries.create * @@ -3490,6 +3493,9 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoringViewViewUnspecified; * Creates or adds data to one or more time series. The response is empty if * all time series in the request were written. If any time series could not be * written, a corresponding failure message is included in the error response. + * This method does not support resource locations constraint of an + * organization policy + * (https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations#setting_the_organization_policy). * * @param object The @c GTLRMonitoring_CreateTimeSeriesRequest to include in * the query. @@ -4378,7 +4384,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoringViewViewUnspecified; @interface GTLRMonitoringQuery_ProjectsUptimeCheckConfigsPatch : GTLRMonitoringQuery /** - * A unique resource name for this Uptime check configuration. The format is: + * Identifier. A unique resource name for this Uptime check configuration. The + * format is: * projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] * [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the * Uptime check.This field should be omitted when creating the Uptime check @@ -4407,8 +4414,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoringViewViewUnspecified; * * @param object The @c GTLRMonitoring_UptimeCheckConfig to include in the * query. - * @param name A unique resource name for this Uptime check configuration. The - * format is: + * @param name Identifier. A unique resource name for this Uptime check + * configuration. The format is: * projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] * [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the * Uptime check.This field should be omitted when creating the Uptime check diff --git a/Sources/GeneratedServices/MyBusinessLodging/GTLRMyBusinessLodgingObjects.m b/Sources/GeneratedServices/MyBusinessLodging/GTLRMyBusinessLodgingObjects.m index e4e8b0ac9..a931b5d98 100644 --- a/Sources/GeneratedServices/MyBusinessLodging/GTLRMyBusinessLodgingObjects.m +++ b/Sources/GeneratedServices/MyBusinessLodging/GTLRMyBusinessLodgingObjects.m @@ -1675,6 +1675,10 @@ NSString * const kGTLRMyBusinessLodging_Wellness_WeightMachineException_ExceptionUnspecified = @"EXCEPTION_UNSPECIFIED"; NSString * const kGTLRMyBusinessLodging_Wellness_WeightMachineException_UnderConstruction = @"UNDER_CONSTRUCTION"; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + // ---------------------------------------------------------------------------- // // GTLRMyBusinessLodging_Accessibility @@ -2317,3 +2321,5 @@ @implementation GTLRMyBusinessLodging_Wellness sauna, saunaException, spa, spaException, treadmill, treadmillException, weightMachine, weightMachineException; @end + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/MyBusinessLodging/Public/GoogleAPIClientForREST/GTLRMyBusinessLodgingObjects.h b/Sources/GeneratedServices/MyBusinessLodging/Public/GoogleAPIClientForREST/GTLRMyBusinessLodgingObjects.h index 290609a68..287d93c20 100644 --- a/Sources/GeneratedServices/MyBusinessLodging/Public/GoogleAPIClientForREST/GTLRMyBusinessLodgingObjects.h +++ b/Sources/GeneratedServices/MyBusinessLodging/Public/GoogleAPIClientForREST/GTLRMyBusinessLodgingObjects.h @@ -63,6 +63,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 @@ -8959,8 +8960,10 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessLodging_Wellness_WeightMachine /** - * An eco certificate awarded to the hotel. + * An eco certificate awarded to the hotel. Deprecated: this message is no + * longer populated. All certification data is now provided by BeCause. */ +GTLR_DEPRECATED @interface GTLRMyBusinessLodging_EcoCertification : GTLRObject /** @@ -9225,7 +9228,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessLodging_Wellness_WeightMachine @property(nonatomic, copy, nullable) NSString *energySavingThermostatsException; /** - * Output only. Green building design. True if BREEAM-* or LEED-* certified. + * Output only. Green building design. True if the property has been awarded a + * relevant certification. * * Uses NSNumber of boolValue. */ @@ -14494,8 +14498,12 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessLodging_Wellness_WeightMachine /** Energy efficiency practices implemented at the hotel. */ @property(nonatomic, strong, nullable) GTLRMyBusinessLodging_EnergyEfficiency *energyEfficiency; -/** Sustainability certifications the hotel has been awarded. */ -@property(nonatomic, strong, nullable) GTLRMyBusinessLodging_SustainabilityCertifications *sustainabilityCertifications; +/** + * Sustainability certifications the hotel has been awarded. Deprecated: this + * field is no longer populated. All certification data is now provided by + * BeCause. + */ +@property(nonatomic, strong, nullable) GTLRMyBusinessLodging_SustainabilityCertifications *sustainabilityCertifications GTLR_DEPRECATED; /** Sustainable sourcing practices implemented at the hotel. */ @property(nonatomic, strong, nullable) GTLRMyBusinessLodging_SustainableSourcing *sustainableSourcing; @@ -14510,8 +14518,11 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessLodging_Wellness_WeightMachine /** - * Sustainability certifications the hotel has been awarded. + * Sustainability certifications the hotel has been awarded. Deprecated: this + * message is no longer populated. All certification data is now provided by + * BeCause. */ +GTLR_DEPRECATED @interface GTLRMyBusinessLodging_SustainabilityCertifications : GTLRObject /** @@ -14559,8 +14570,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessLodging_Wellness_WeightMachine @property(nonatomic, strong, nullable) NSArray *ecoCertifications; /** - * LEED certification. Deprecated: this field is no longer populated. LEED - * certification status is now provided directly by USGBC. + * LEED certification. * * Likely values: * @arg @c kGTLRMyBusinessLodging_SustainabilityCertifications_LeedCertification_LeedCertificationUnspecified @@ -14577,11 +14587,10 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessLodging_Wellness_WeightMachine * @arg @c kGTLRMyBusinessLodging_SustainabilityCertifications_LeedCertification_NoLeedCertification * Not certified. (Value: "NO_LEED_CERTIFICATION") */ -@property(nonatomic, copy, nullable) NSString *leedCertification GTLR_DEPRECATED; +@property(nonatomic, copy, nullable) NSString *leedCertification; /** - * LEED certification exception. Deprecated: this field is no longer populated. - * LEED certification status is now provided directly by USGBC. + * LEED certification exception. * * Likely values: * @arg @c kGTLRMyBusinessLodging_SustainabilityCertifications_LeedCertificationException_DependentOnDayOfWeek @@ -14597,7 +14606,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessLodging_Wellness_WeightMachine * Amenity or service is unavailable due to ongoing work orders. (Value: * "UNDER_CONSTRUCTION") */ -@property(nonatomic, copy, nullable) NSString *leedCertificationException GTLR_DEPRECATED; +@property(nonatomic, copy, nullable) NSString *leedCertificationException; @end diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m index e2bb46380..9330abca8 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m @@ -54,6 +54,7 @@ NSString * const kGTLRNetworkManagement_DeliverInfo_Target_PscPublishedService = @"PSC_PUBLISHED_SERVICE"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_PscVpcSc = @"PSC_VPC_SC"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_ServerlessNeg = @"SERVERLESS_NEG"; +NSString * const kGTLRNetworkManagement_DeliverInfo_Target_StorageBucket = @"STORAGE_BUCKET"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_TargetUnspecified = @"TARGET_UNSPECIFIED"; // GTLRNetworkManagement_DropInfo.cause @@ -130,6 +131,7 @@ NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_NetworkFirewallPolicyRule = @"NETWORK_FIREWALL_POLICY_RULE"; NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_NetworkRegionalFirewallPolicyRule = @"NETWORK_REGIONAL_FIREWALL_POLICY_RULE"; NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_ServerlessVpcAccessManagedFirewallRule = @"SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE"; +NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_UnsupportedFirewallPolicyRule = @"UNSUPPORTED_FIREWALL_POLICY_RULE"; NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_VpcFirewallRule = @"VPC_FIREWALL_RULE"; // GTLRNetworkManagement_ForwardInfo.target diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h index b02c21d36..9a09d7c72 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h @@ -316,6 +316,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_Psc * Value: "SERVERLESS_NEG" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_ServerlessNeg; +/** + * Target is a Cloud Storage bucket. + * + * Value: "STORAGE_BUCKET" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_StorageBucket; /** * Target not specified. * @@ -561,7 +567,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteBl /** * Packet is sent to a wrong (unintended) network. Example: you trace a packet * from VM1:Network1 to VM2:Network2, however, the route configured in Network1 - * sends the packet destined for VM2's IP addresss to Network3. + * sends the packet destined for VM2's IP address to Network3. * * Value: "ROUTE_WRONG_NETWORK" */ @@ -781,6 +787,15 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallR * Value: "SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_ServerlessVpcAccessManagedFirewallRule; +/** + * Firewall policy rule containing attributes not yet supported in Connectivity + * tests. Firewall analysis is skipped if such a rule can potentially be + * matched. Please see the [list of unsupported + * configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs). + * + * Value: "UNSUPPORTED_FIREWALL_POLICY_RULE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_UnsupportedFirewallPolicyRule; /** * VPC firewall rule. For details, see [VPC firewall rules * overview](https://cloud.google.com/vpc/docs/firewalls). @@ -1964,6 +1979,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * (Value: "PSC_VPC_SC") * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_ServerlessNeg Target is * a serverless network endpoint group. (Value: "SERVERLESS_NEG") + * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_StorageBucket Target is + * a Cloud Storage bucket. (Value: "STORAGE_BUCKET") * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_TargetUnspecified Target * not specified. (Value: "TARGET_UNSPECIFIED") */ @@ -2104,7 +2121,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RouteWrongNetwork Packet is * sent to a wrong (unintended) network. Example: you trace a packet from * VM1:Network1 to VM2:Network2, however, the route configured in - * Network1 sends the packet destined for VM2's IP addresss to Network3. + * Network1 sends the packet destined for VM2's IP address to Network3. * (Value: "ROUTE_WRONG_NETWORK") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_TrafficTypeBlocked The type * of traffic is blocked and the user cannot configure a firewall rule to @@ -2453,6 +2470,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * console. For details, see [VPC connector's implicit * rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access). * (Value: "SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE") + * @arg @c kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_UnsupportedFirewallPolicyRule + * Firewall policy rule containing attributes not yet supported in + * Connectivity tests. Firewall analysis is skipped if such a rule can + * potentially be matched. Please see the [list of unsupported + * configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs). + * (Value: "UNSUPPORTED_FIREWALL_POLICY_RULE") * @arg @c kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_VpcFirewallRule * VPC firewall rule. For details, see [VPC firewall rules * overview](https://cloud.google.com/vpc/docs/firewalls). (Value: @@ -2839,8 +2862,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** Backend configuration URI. */ @property(nonatomic, copy, nullable) NSString *backendUri; -/** URI of the health check for the load balancer. */ -@property(nonatomic, copy, nullable) NSString *healthCheckUri; +/** + * URI of the health check for the load balancer. Deprecated and no longer + * populated as different load balancer backends might have different health + * checks. + */ +@property(nonatomic, copy, nullable) NSString *healthCheckUri GTLR_DEPRECATED; /** * Type of the load balancer. diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m index 7e870a4f3..b14557a56 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m @@ -212,16 +212,6 @@ @implementation GTLRNetworkconnectivity_AcceptHubSpokeResponse @end -// ---------------------------------------------------------------------------- -// -// GTLRNetworkconnectivity_AcceptSpokeRequest -// - -@implementation GTLRNetworkconnectivity_AcceptSpokeRequest -@dynamic requestId; -@end - - // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_AuditConfig @@ -1146,16 +1136,6 @@ @implementation GTLRNetworkconnectivity_RejectHubSpokeResponse @end -// ---------------------------------------------------------------------------- -// -// GTLRNetworkconnectivity_RejectSpokeRequest -// - -@implementation GTLRNetworkconnectivity_RejectSpokeRequest -@dynamic details, requestId; -@end - - // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_Route diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m index 38ff2806b..71621926a 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m @@ -1518,33 +1518,6 @@ + (instancetype)queryWithParent:(NSString *)parent { @end -@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsSpokesAccept - -@dynamic name; - -+ (instancetype)queryWithObject:(GTLRNetworkconnectivity_AcceptSpokeRequest *)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}:accept"; - GTLRNetworkconnectivityQuery_ProjectsLocationsSpokesAccept *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.name = name; - query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; - query.loggingName = @"networkconnectivity.projects.locations.spokes.accept"; - return query; -} - -@end - @implementation GTLRNetworkconnectivityQuery_ProjectsLocationsSpokesCreate @dynamic parent, requestId, spokeId; @@ -1679,33 +1652,6 @@ + (instancetype)queryWithObject:(GTLRNetworkconnectivity_Spoke *)object @end -@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsSpokesReject - -@dynamic name; - -+ (instancetype)queryWithObject:(GTLRNetworkconnectivity_RejectSpokeRequest *)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}:reject"; - GTLRNetworkconnectivityQuery_ProjectsLocationsSpokesReject *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.name = name; - query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; - query.loggingName = @"networkconnectivity.projects.locations.spokes.reject"; - return query; -} - -@end - @implementation GTLRNetworkconnectivityQuery_ProjectsLocationsSpokesSetIamPolicy @dynamic resource; diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h index 3375d1d70..a54089a1b 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h @@ -1024,29 +1024,6 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end -/** - * The request for HubService.AcceptSpoke. - */ -@interface GTLRNetworkconnectivity_AcceptSpokeRequest : GTLRObject - -/** - * Optional. A request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server knows to ignore the request - * if it has already been completed. The server guarantees that a request - * doesn't result in creation of duplicate commitments for at least 60 minutes. - * 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 to see whether the original operation was received. If - * it was, the server ignores the second request. This behavior prevents - * clients from mistakenly 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; - -@end - - /** * Specifies the audit configuration for a service. The configuration * determines which permission types are logged, and what identities, if any, @@ -2949,35 +2926,6 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end -/** - * The request for HubService.RejectSpoke. - */ -@interface GTLRNetworkconnectivity_RejectSpokeRequest : GTLRObject - -/** - * Optional. Additional information provided by the hub administrator in the - * `RejectSpoke` call. - */ -@property(nonatomic, copy, nullable) NSString *details; - -/** - * Optional. A request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server knows to ignore the request - * if it has already been completed. The server guarantees that a request - * doesn't result in creation of duplicate commitments for at least 60 minutes. - * 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 to see whether the original operation was received. If - * it was, the server ignores the second request. This behavior prevents - * clients from mistakenly 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; - -@end - - /** * A route defines a path from VM instances within a spoke to a specific * destination resource. Only VPC spokes have routes. diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h index a8ead6eff..60b7ba196 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h @@ -2846,35 +2846,6 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end -/** - * Accepts a proposal to attach a Network Connectivity Center spoke to the hub. - * - * Method: networkconnectivity.projects.locations.spokes.accept - * - * Authorization scope(s): - * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform - */ -@interface GTLRNetworkconnectivityQuery_ProjectsLocationsSpokesAccept : GTLRNetworkconnectivityQuery - -/** Required. The name of the spoke to accept. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. - * - * Accepts a proposal to attach a Network Connectivity Center spoke to the hub. - * - * @param object The @c GTLRNetworkconnectivity_AcceptSpokeRequest to include - * in the query. - * @param name Required. The name of the spoke to accept. - * - * @return GTLRNetworkconnectivityQuery_ProjectsLocationsSpokesAccept - */ -+ (instancetype)queryWithObject:(GTLRNetworkconnectivity_AcceptSpokeRequest *)object - name:(NSString *)name; - -@end - /** * Creates a Network Connectivity Center spoke. * @@ -3141,41 +3112,6 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end -/** - * Rejects a Network Connectivity Center spoke from being attached to the hub. - * If the spoke was previously in the `ACTIVE` state, it transitions to the - * `INACTIVE` state and is no longer able to connect to other spokes that are - * attached to the hub. - * - * Method: networkconnectivity.projects.locations.spokes.reject - * - * Authorization scope(s): - * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform - */ -@interface GTLRNetworkconnectivityQuery_ProjectsLocationsSpokesReject : GTLRNetworkconnectivityQuery - -/** Required. The name of the spoke to reject. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. - * - * Rejects a Network Connectivity Center spoke from being attached to the hub. - * If the spoke was previously in the `ACTIVE` state, it transitions to the - * `INACTIVE` state and is no longer able to connect to other spokes that are - * attached to the hub. - * - * @param object The @c GTLRNetworkconnectivity_RejectSpokeRequest to include - * in the query. - * @param name Required. The name of the spoke to reject. - * - * @return GTLRNetworkconnectivityQuery_ProjectsLocationsSpokesReject - */ -+ (instancetype)queryWithObject:(GTLRNetworkconnectivity_RejectSpokeRequest *)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 diff --git a/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m b/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m index 7feb88851..1c4a2d1d5 100644 --- a/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m +++ b/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m @@ -1034,7 +1034,7 @@ @implementation GTLROnDemandScanning_Location // @implementation GTLROnDemandScanning_Maintainer -@dynamic kind, name; +@dynamic email, kind, name, url; + (BOOL)isKindValidForClassRegistry { // This class has a "kind" property that doesn't appear to be usable to diff --git a/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h b/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h index 3c75e4055..6180c42d0 100644 --- a/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h +++ b/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h @@ -2276,8 +2276,10 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence */ @interface GTLROnDemandScanning_Maintainer : GTLRObject +@property(nonatomic, copy, nullable) NSString *email; @property(nonatomic, copy, nullable) NSString *kind; @property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *url; @end diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m index 6c2ac3aed..31b6332aa 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m @@ -26,6 +26,7 @@ // GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration.unit NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Day = @"DAY"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Hour = @"HOUR"; NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Month = @"MONTH"; NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_UnitUnspecified = @"UNIT_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h index 85ec17dea..69892df9a 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h @@ -129,6 +129,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * Value: "DAY" */ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Day; +/** + * Unit of an hour. It is used for testing. + * + * Value: "HOUR" + */ +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Hour; /** * Unit of a calendar month. * @@ -136,7 +142,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud */ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Month; /** - * Default value. + * Default value, reserved as an invalid or an unexpected value. * * Value: "UNIT_UNSPECIFIED" */ @@ -653,10 +659,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Likely values: * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Day * Unit of a day. (Value: "DAY") + * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Hour + * Unit of an hour. It is used for testing. (Value: "HOUR") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Month * Unit of a calendar month. (Value: "MONTH") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_UnitUnspecified - * Default value. (Value: "UNIT_UNSPECIFIED") + * Default value, reserved as an invalid or an unexpected value. (Value: + * "UNIT_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *unit; diff --git a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m index 88a678d18..614435099 100644 --- a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m +++ b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m @@ -30,6 +30,22 @@ NSString * const kGTLRPlayIntegrity_AccountDetails_AppLicensingVerdict_Unknown = @"UNKNOWN"; NSString * const kGTLRPlayIntegrity_AccountDetails_AppLicensingVerdict_Unlicensed = @"UNLICENSED"; +// GTLRPlayIntegrity_AppAccessRiskVerdict.otherApps +NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Capturing = @"CAPTURING"; +NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Controlling = @"CONTROLLING"; +NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Installed = @"INSTALLED"; +NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Unevaluated = @"UNEVALUATED"; +NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Unknown = @"UNKNOWN"; + +// GTLRPlayIntegrity_AppAccessRiskVerdict.playOrSystemApps +NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Capturing = @"CAPTURING"; +NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Controlling = @"CONTROLLING"; +NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Installed = @"INSTALLED"; +NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_NotInstalled = @"NOT_INSTALLED"; +NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Unevaluated = @"UNEVALUATED"; +NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Unknown = @"UNKNOWN"; + // GTLRPlayIntegrity_AppIntegrity.appRecognitionVerdict NSString * const kGTLRPlayIntegrity_AppIntegrity_AppRecognitionVerdict_PlayRecognized = @"PLAY_RECOGNIZED"; NSString * const kGTLRPlayIntegrity_AppIntegrity_AppRecognitionVerdict_Unevaluated = @"UNEVALUATED"; @@ -44,13 +60,14 @@ NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_MeetsWeakIntegrity = @"MEETS_WEAK_INTEGRITY"; NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_Unknown = @"UNKNOWN"; -// GTLRPlayIntegrity_UserRemediationDetails.remediation -NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Remediation_GetUnmodifiedApp = @"GET_UNMODIFIED_APP"; -NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Remediation_InstallAppFromPlay = @"INSTALL_APP_FROM_PLAY"; -NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Remediation_LockBootloader = @"LOCK_BOOTLOADER"; -NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Remediation_RestoreFactoryRom = @"RESTORE_FACTORY_ROM"; -NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Remediation_SignIntoGoogleAccount = @"SIGN_INTO_GOOGLE_ACCOUNT"; -NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Remediation_UnknownUserRemediation = @"UNKNOWN_USER_REMEDIATION"; +// GTLRPlayIntegrity_EnvironmentDetails.playProtectVerdict +NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_HighRisk = @"HIGH_RISK"; +NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_MediumRisk = @"MEDIUM_RISK"; +NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_NoData = @"NO_DATA"; +NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_NoIssues = @"NO_ISSUES"; +NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_PlayProtectVerdictUnspecified = @"PLAY_PROTECT_VERDICT_UNSPECIFIED"; +NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_PossibleRisk = @"POSSIBLE_RISK"; +NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_Unevaluated = @"UNEVALUATED"; // ---------------------------------------------------------------------------- // @@ -72,6 +89,16 @@ @implementation GTLRPlayIntegrity_AccountDetails @end +// ---------------------------------------------------------------------------- +// +// GTLRPlayIntegrity_AppAccessRiskVerdict +// + +@implementation GTLRPlayIntegrity_AppAccessRiskVerdict +@dynamic otherApps, playOrSystemApps; +@end + + // ---------------------------------------------------------------------------- // // GTLRPlayIntegrity_AppIntegrity @@ -131,19 +158,11 @@ @implementation GTLRPlayIntegrity_DeviceIntegrity // ---------------------------------------------------------------------------- // -// GTLRPlayIntegrity_GuidanceDetails +// GTLRPlayIntegrity_EnvironmentDetails // -@implementation GTLRPlayIntegrity_GuidanceDetails -@dynamic userRemediationDetails; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"userRemediationDetails" : [GTLRPlayIntegrity_UserRemediationDetails class] - }; - return map; -} - +@implementation GTLRPlayIntegrity_EnvironmentDetails +@dynamic appAccessRiskVerdict, playProtectVerdict; @end @@ -173,16 +192,6 @@ @implementation GTLRPlayIntegrity_TestingDetails // @implementation GTLRPlayIntegrity_TokenPayloadExternal -@dynamic accountDetails, appIntegrity, deviceIntegrity, guidanceDetails, +@dynamic accountDetails, appIntegrity, deviceIntegrity, environmentDetails, requestDetails, testingDetails; @end - - -// ---------------------------------------------------------------------------- -// -// GTLRPlayIntegrity_UserRemediationDetails -// - -@implementation GTLRPlayIntegrity_UserRemediationDetails -@dynamic remediation; -@end diff --git a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h index e33871224..86e6e4a87 100644 --- a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h +++ b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h @@ -19,13 +19,13 @@ @class GTLRPlayIntegrity_AccountActivity; @class GTLRPlayIntegrity_AccountDetails; +@class GTLRPlayIntegrity_AppAccessRiskVerdict; @class GTLRPlayIntegrity_AppIntegrity; @class GTLRPlayIntegrity_DeviceIntegrity; -@class GTLRPlayIntegrity_GuidanceDetails; +@class GTLRPlayIntegrity_EnvironmentDetails; @class GTLRPlayIntegrity_RequestDetails; @class GTLRPlayIntegrity_TestingDetails; @class GTLRPlayIntegrity_TokenPayloadExternal; -@class GTLRPlayIntegrity_UserRemediationDetails; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -108,6 +108,96 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AccountDetails_AppLicensin */ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AccountDetails_AppLicensingVerdict_Unlicensed; +// ---------------------------------------------------------------------------- +// GTLRPlayIntegrity_AppAccessRiskVerdict.otherApps + +/** + * Apps under this field are running that could be used to read or capture + * inputs and outputs of the requesting app, such as screen recording apps. + * + * Value: "CAPTURING" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Capturing; +/** + * Apps under this field are running that could be used to control the device + * and inputs and outputs of the requesting app, such as remote controlling + * apps. + * + * Value: "CONTROLLING" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Controlling; +/** + * One or more apps under this field are installed on the device. + * + * Value: "INSTALLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Installed; +/** + * No apps under this field are installed on the device. This is only valid for + * the other apps field. + * + * Value: "NOT_INSTALLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_NotInstalled; +/** + * App access risk was not evaluated because a requirement was missed, such as + * the device not being trusted enough. + * + * Value: "UNEVALUATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Unevaluated; +/** + * Risk type is unknown. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Unknown; + +// ---------------------------------------------------------------------------- +// GTLRPlayIntegrity_AppAccessRiskVerdict.playOrSystemApps + +/** + * Apps under this field are running that could be used to read or capture + * inputs and outputs of the requesting app, such as screen recording apps. + * + * Value: "CAPTURING" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Capturing; +/** + * Apps under this field are running that could be used to control the device + * and inputs and outputs of the requesting app, such as remote controlling + * apps. + * + * Value: "CONTROLLING" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Controlling; +/** + * One or more apps under this field are installed on the device. + * + * Value: "INSTALLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Installed; +/** + * No apps under this field are installed on the device. This is only valid for + * the other apps field. + * + * Value: "NOT_INSTALLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_NotInstalled; +/** + * App access risk was not evaluated because a requirement was missed, such as + * the device not being trusted enough. + * + * Value: "UNEVALUATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Unevaluated; +/** + * Risk type is unknown. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Unknown; + // ---------------------------------------------------------------------------- // GTLRPlayIntegrity_AppIntegrity.appRecognitionVerdict @@ -169,12 +259,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceReco */ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_MeetsVirtualIntegrity; /** - * App is running on a device that passes only weak integrity checks (is a - * physical device). + * Deprecated: this enum value will be removed. App is running on a device that + * passes only weak integrity checks (is a physical device). * * Value: "MEETS_WEAK_INTEGRITY" */ -FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_MeetsWeakIntegrity; +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_MeetsWeakIntegrity GTLR_DEPRECATED; /** * Play does not have sufficient information to evaluate device integrity * @@ -183,48 +273,51 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceReco FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_Unknown; // ---------------------------------------------------------------------------- -// GTLRPlayIntegrity_UserRemediationDetails.remediation +// GTLRPlayIntegrity_EnvironmentDetails.playProtectVerdict /** - * The app is unrecognized. The user should get an unmodified version of the - * app. + * Play Protect is on and high severity issues found. * - * Value: "GET_UNMODIFIED_APP" + * Value: "HIGH_RISK" */ -FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Remediation_GetUnmodifiedApp; +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_HighRisk; /** - * The user has no license. They should install or purchase the app on the - * Google Play Store to add it to their library. + * Play Protect is on and warnings found. * - * Value: "INSTALL_APP_FROM_PLAY" + * Value: "MEDIUM_RISK" */ -FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Remediation_InstallAppFromPlay; +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_MediumRisk; /** - * The device bootloader has been unlocked, the user should lock the - * bootloader. + * Play Protect is on but no scan has been performed yet. The device or Play + * Store app may have been reset. * - * Value: "LOCK_BOOTLOADER" + * Value: "NO_DATA" */ -FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Remediation_LockBootloader; +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_NoData; /** - * The user has installed a custom ROM, and should restore the device to a - * clean factory ROM. + * Play Protect is on and no issues found. * - * Value: "RESTORE_FACTORY_ROM" + * Value: "NO_ISSUES" */ -FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Remediation_RestoreFactoryRom; +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_NoIssues; /** - * The user has not signed into their Google account. + * Play Protect verdict has not been set. * - * Value: "SIGN_INTO_GOOGLE_ACCOUNT" + * Value: "PLAY_PROTECT_VERDICT_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Remediation_SignIntoGoogleAccount; +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_PlayProtectVerdictUnspecified; /** - * User remediation is unknown. + * Play Protect is turned off. Turn on Play Protect. * - * Value: "UNKNOWN_USER_REMEDIATION" + * Value: "POSSIBLE_RISK" */ -FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Remediation_UnknownUserRemediation; +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_PossibleRisk; +/** + * Play Protect state was not evaluated. Device may not be trusted. + * + * Value: "UNEVALUATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_Unevaluated; /** * (Restricted Access) Contains a signal helping apps differentiating between @@ -294,6 +387,71 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Rem @end +/** + * Contains signals about others apps on the device which could be used to + * access or control the requesting app. + */ +@interface GTLRPlayIntegrity_AppAccessRiskVerdict : GTLRObject + +/** + * Required. App access risk verdict related to apps that are not installed by + * Google Play, and are not preloaded on the system image by the device + * manufacturer. + * + * Likely values: + * @arg @c kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Capturing Apps + * under this field are running that could be used to read or capture + * inputs and outputs of the requesting app, such as screen recording + * apps. (Value: "CAPTURING") + * @arg @c kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Controlling Apps + * under this field are running that could be used to control the device + * and inputs and outputs of the requesting app, such as remote + * controlling apps. (Value: "CONTROLLING") + * @arg @c kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Installed One or + * more apps under this field are installed on the device. (Value: + * "INSTALLED") + * @arg @c kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_NotInstalled No + * apps under this field are installed on the device. This is only valid + * for the other apps field. (Value: "NOT_INSTALLED") + * @arg @c kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Unevaluated App + * access risk was not evaluated because a requirement was missed, such + * as the device not being trusted enough. (Value: "UNEVALUATED") + * @arg @c kGTLRPlayIntegrity_AppAccessRiskVerdict_OtherApps_Unknown Risk + * type is unknown. (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *otherApps; + +/** + * Required. App access risk verdict related to apps that are not installed by + * the Google Play Store, and are not preloaded on the system image by the + * device manufacturer. + * + * Likely values: + * @arg @c kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Capturing + * Apps under this field are running that could be used to read or + * capture inputs and outputs of the requesting app, such as screen + * recording apps. (Value: "CAPTURING") + * @arg @c kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Controlling + * Apps under this field are running that could be used to control the + * device and inputs and outputs of the requesting app, such as remote + * controlling apps. (Value: "CONTROLLING") + * @arg @c kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Installed + * One or more apps under this field are installed on the device. (Value: + * "INSTALLED") + * @arg @c kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_NotInstalled + * No apps under this field are installed on the device. This is only + * valid for the other apps field. (Value: "NOT_INSTALLED") + * @arg @c kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Unevaluated + * App access risk was not evaluated because a requirement was missed, + * such as the device not being trusted enough. (Value: "UNEVALUATED") + * @arg @c kGTLRPlayIntegrity_AppAccessRiskVerdict_PlayOrSystemApps_Unknown + * Risk type is unknown. (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *playOrSystemApps; + +@end + + /** * Contains the application integrity information. */ @@ -376,16 +534,39 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Rem /** - * Contains guidance details about the Integrity API response, providing - * additional context to the integrity verdicts. + * Contains information about the environment Play Integrity API runs in, e.g. + * Play Protect verdict. */ -@interface GTLRPlayIntegrity_GuidanceDetails : GTLRObject +@interface GTLRPlayIntegrity_EnvironmentDetails : GTLRObject + +/** The evaluation of the App Access Risk verdicts. */ +@property(nonatomic, strong, nullable) GTLRPlayIntegrity_AppAccessRiskVerdict *appAccessRiskVerdict; /** - * This shows when there is an issue with at least one of the integrity - * verdicts, which can be remedied by the user and provides additional details. + * The evaluation of Play Protect verdict. + * + * Likely values: + * @arg @c kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_HighRisk + * Play Protect is on and high severity issues found. (Value: + * "HIGH_RISK") + * @arg @c kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_MediumRisk + * Play Protect is on and warnings found. (Value: "MEDIUM_RISK") + * @arg @c kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_NoData + * Play Protect is on but no scan has been performed yet. The device or + * Play Store app may have been reset. (Value: "NO_DATA") + * @arg @c kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_NoIssues + * Play Protect is on and no issues found. (Value: "NO_ISSUES") + * @arg @c kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_PlayProtectVerdictUnspecified + * Play Protect verdict has not been set. (Value: + * "PLAY_PROTECT_VERDICT_UNSPECIFIED") + * @arg @c kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_PossibleRisk + * Play Protect is turned off. Turn on Play Protect. (Value: + * "POSSIBLE_RISK") + * @arg @c kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_Unevaluated + * Play Protect state was not evaluated. Device may not be trusted. + * (Value: "UNEVALUATED") */ -@property(nonatomic, strong, nullable) NSArray *userRemediationDetails; +@property(nonatomic, copy, nullable) NSString *playProtectVerdict; @end @@ -451,8 +632,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Rem /** Required. Details about the device integrity. */ @property(nonatomic, strong, nullable) GTLRPlayIntegrity_DeviceIntegrity *deviceIntegrity; -/** Additional guidance related to the integrity API response. */ -@property(nonatomic, strong, nullable) GTLRPlayIntegrity_GuidanceDetails *guidanceDetails; +/** Details of the environment Play Integrity API runs in. */ +@property(nonatomic, strong, nullable) GTLRPlayIntegrity_EnvironmentDetails *environmentDetails; /** Required. Details about the integrity request. */ @property(nonatomic, strong, nullable) GTLRPlayIntegrity_RequestDetails *requestDetails; @@ -465,39 +646,6 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_UserRemediationDetails_Rem @end - -/** - * Contains details of remediation guidance that the user can perform. - */ -@interface GTLRPlayIntegrity_UserRemediationDetails : GTLRObject - -/** - * Description of the user remediation action. - * - * Likely values: - * @arg @c kGTLRPlayIntegrity_UserRemediationDetails_Remediation_GetUnmodifiedApp - * The app is unrecognized. The user should get an unmodified version of - * the app. (Value: "GET_UNMODIFIED_APP") - * @arg @c kGTLRPlayIntegrity_UserRemediationDetails_Remediation_InstallAppFromPlay - * The user has no license. They should install or purchase the app on - * the Google Play Store to add it to their library. (Value: - * "INSTALL_APP_FROM_PLAY") - * @arg @c kGTLRPlayIntegrity_UserRemediationDetails_Remediation_LockBootloader - * The device bootloader has been unlocked, the user should lock the - * bootloader. (Value: "LOCK_BOOTLOADER") - * @arg @c kGTLRPlayIntegrity_UserRemediationDetails_Remediation_RestoreFactoryRom - * The user has installed a custom ROM, and should restore the device to - * a clean factory ROM. (Value: "RESTORE_FACTORY_ROM") - * @arg @c kGTLRPlayIntegrity_UserRemediationDetails_Remediation_SignIntoGoogleAccount - * The user has not signed into their Google account. (Value: - * "SIGN_INTO_GOOGLE_ACCOUNT") - * @arg @c kGTLRPlayIntegrity_UserRemediationDetails_Remediation_UnknownUserRemediation - * User remediation is unknown. (Value: "UNKNOWN_USER_REMEDIATION") - */ -@property(nonatomic, copy, nullable) NSString *remediation; - -@end - NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m b/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m index d3f425634..cde9e5a8d 100644 --- a/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m +++ b/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m @@ -379,7 +379,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRPubsub_MessageStoragePolicy -@dynamic allowedPersistenceRegions; +@dynamic allowedPersistenceRegions, enforceInTransit; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h index 8e987dc72..c6c5fbb3f 100644 --- a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h +++ b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h @@ -900,14 +900,26 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J @interface GTLRPubsub_MessageStoragePolicy : GTLRObject /** - * Optional. A list of IDs of GCP regions where messages that are published to - * the topic may be persisted in storage. Messages published by publishers - * running in non-allowed GCP regions (or running outside of GCP altogether) - * will be routed for storage in one of the allowed regions. An empty list - * means that no regions are allowed, and is not a valid configuration. + * Optional. A list of IDs of Google Cloud regions where messages that are + * published to the topic may be persisted in storage. Messages published by + * publishers running in non-allowed Google Cloud regions (or running outside + * of Google Cloud altogether) are routed for storage in one of the allowed + * regions. An empty list means that no regions are allowed, and is not a valid + * configuration. */ @property(nonatomic, strong, nullable) NSArray *allowedPersistenceRegions; +/** + * Optional. If true, `allowed_persistence_regions` is also used to enforce + * in-transit guarantees for messages. That is, Pub/Sub will fail Publish + * operations on this topic and subscribe operations on any subscription + * attached to this topic in any region that is not in + * `allowed_persistence_regions`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enforceInTransit; + @end diff --git a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubQuery.h b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubQuery.h index d20644b44..a0487a794 100644 --- a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubQuery.h +++ b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubQuery.h @@ -116,8 +116,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; /** * The ID to use for the schema, which will become the final component of the * schema's resource name. See - * https://cloud.google.com/pubsub/docs/admin#resource_names for resource name - * constraints. + * https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names for + * resource name constraints. */ @property(nonatomic, copy, nullable) NSString *schemaId; @@ -615,9 +615,9 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; * field. If the name is not provided in the request, the server will assign a * random name for this snapshot on the same project as the subscription, * conforming to the [resource name format] - * (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated - * name is populated in the returned Snapshot object. Note that for REST API - * requests, you must specify a name in the request. + * (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The + * generated name is populated in the returned Snapshot object. Note that for + * REST API requests, you must specify a name in the request. * * Method: pubsub.projects.snapshots.create * @@ -632,8 +632,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; * in the request, the server will assign a random name for this snapshot on * the same project as the subscription. Note that for REST API requests, you * must specify a name. See the [resource name - * rules](https://cloud.google.com/pubsub/docs/admin#resource_names). Format is - * `projects/{project}/snapshots/{snap}`. + * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). + * Format is `projects/{project}/snapshots/{snap}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -652,9 +652,9 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; * field. If the name is not provided in the request, the server will assign a * random name for this snapshot on the same project as the subscription, * conforming to the [resource name format] - * (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated - * name is populated in the returned Snapshot object. Note that for REST API - * requests, you must specify a name in the request. + * (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The + * generated name is populated in the returned Snapshot object. Note that for + * REST API requests, you must specify a name in the request. * * @param object The @c GTLRPubsub_CreateSnapshotRequest to include in the * query. @@ -662,8 +662,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; * not provided in the request, the server will assign a random name for this * snapshot on the same project as the subscription. Note that for REST API * requests, you must specify a name. See the [resource name - * rules](https://cloud.google.com/pubsub/docs/admin#resource_names). Format - * is `projects/{project}/snapshots/{snap}`. + * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). + * Format is `projects/{project}/snapshots/{snap}`. * * @return GTLRPubsubQuery_ProjectsSnapshotsCreate */ @@ -1027,14 +1027,14 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; /** * Creates a subscription to a given topic. See the [resource name rules] - * (https://cloud.google.com/pubsub/docs/admin#resource_names). If the + * (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). If the * subscription already exists, returns `ALREADY_EXISTS`. If the corresponding * topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the * request, the server will assign a random name for this subscription on the * same project as the topic, conforming to the [resource name format] - * (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated - * name is populated in the returned Subscription object. Note that for REST - * API requests, you must specify a name in the request. + * (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The + * generated name is populated in the returned Subscription object. Note that + * for REST API requests, you must specify a name in the request. * * Method: pubsub.projects.subscriptions.create * @@ -1058,14 +1058,14 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; * Fetches a @c GTLRPubsub_Subscription. * * Creates a subscription to a given topic. See the [resource name rules] - * (https://cloud.google.com/pubsub/docs/admin#resource_names). If the + * (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). If the * subscription already exists, returns `ALREADY_EXISTS`. If the corresponding * topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the * request, the server will assign a random name for this subscription on the * same project as the topic, conforming to the [resource name format] - * (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated - * name is populated in the returned Subscription object. Note that for REST - * API requests, you must specify a name in the request. + * (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The + * generated name is populated in the returned Subscription object. Note that + * for REST API requests, you must specify a name in the request. * * @param object The @c GTLRPubsub_Subscription to include in the query. * @param name Required. The name of the subscription. It must have the format @@ -1573,7 +1573,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; /** * Creates the given topic with the given name. See the [resource name rules] - * (https://cloud.google.com/pubsub/docs/admin#resource_names). + * (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). * * Method: pubsub.projects.topics.create * @@ -1597,7 +1597,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; * Fetches a @c GTLRPubsub_Topic. * * Creates the given topic with the given name. See the [resource name rules] - * (https://cloud.google.com/pubsub/docs/admin#resource_names). + * (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). * * @param object The @c GTLRPubsub_Topic to include in the query. * @param name Required. The name of the topic. It must have the format diff --git a/Sources/GeneratedServices/RealTimeBidding/Public/GoogleAPIClientForREST/GTLRRealTimeBiddingObjects.h b/Sources/GeneratedServices/RealTimeBidding/Public/GoogleAPIClientForREST/GTLRRealTimeBiddingObjects.h index 6e503c549..fdbfcfc55 100644 --- a/Sources/GeneratedServices/RealTimeBidding/Public/GoogleAPIClientForREST/GTLRRealTimeBiddingObjects.h +++ b/Sources/GeneratedServices/RealTimeBidding/Public/GoogleAPIClientForREST/GTLRRealTimeBiddingObjects.h @@ -2439,8 +2439,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRealTimeBidding_VideoMetadata_VastVersio /** - * Deprecated. This will be removed in October 2023. For more information, see - * the release notes: + * This has been sunset as of October 2023, and will return an error response + * if called. For more information, see the release notes: * https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api * Response for a request to get remarketing tag. */ diff --git a/Sources/GeneratedServices/RealTimeBidding/Public/GoogleAPIClientForREST/GTLRRealTimeBiddingQuery.h b/Sources/GeneratedServices/RealTimeBidding/Public/GoogleAPIClientForREST/GTLRRealTimeBiddingQuery.h index fd52a5a5b..c855426e7 100644 --- a/Sources/GeneratedServices/RealTimeBidding/Public/GoogleAPIClientForREST/GTLRRealTimeBiddingQuery.h +++ b/Sources/GeneratedServices/RealTimeBidding/Public/GoogleAPIClientForREST/GTLRRealTimeBiddingQuery.h @@ -1307,8 +1307,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRealTimeBiddingViewServingDecisionOnly; @end /** - * Deprecated. This will be removed in October 2023. For more information, see - * the release notes: + * This has been sunset as of October 2023, and will return an error response + * if called. For more information, see the release notes: * https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api * Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript * code that can be placed on a web page. When a user visits a page containing @@ -1335,8 +1335,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRealTimeBiddingViewServingDecisionOnly; /** * Fetches a @c GTLRRealTimeBidding_GetRemarketingTagResponse. * - * Deprecated. This will be removed in October 2023. For more information, see - * the release notes: + * This has been sunset as of October 2023, and will return an error response + * if called. For more information, see the release notes: * https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api * Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript * code that can be placed on a web page. When a user visits a page containing @@ -1495,8 +1495,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRealTimeBiddingViewServingDecisionOnly; @end /** - * Deprecated. This will be removed in October 2023. For more information, see - * the release notes: + * This has been sunset as of October 2023, and will return an error response + * if called. For more information, see the release notes: * https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api * Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript * code that can be placed on a web page. When a user visits a page containing @@ -1523,8 +1523,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRealTimeBiddingViewServingDecisionOnly; /** * Fetches a @c GTLRRealTimeBidding_GetRemarketingTagResponse. * - * Deprecated. This will be removed in October 2023. For more information, see - * the release notes: + * This has been sunset as of October 2023, and will return an error response + * if called. For more information, see the release notes: * https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api * Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript * code that can be placed on a web page. When a user visits a page containing diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h index ec2521122..988151c23 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h +++ b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h @@ -996,7 +996,7 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudSignals *fraudSignals; /** - * Output only. The resource name for the Assessment in the format + * Output only. Identifier. The resource name for the Assessment in the format * `projects/{project}/assessments/{assessment}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1314,7 +1314,7 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * The resource name for the FirewallPolicy in the format + * Identifier. The resource name for the FirewallPolicy in the format * `projects/{project}/firewallpolicies/{firewallpolicy}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1540,7 +1540,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Key_Labels *labels; /** - * The resource name for the Key in the format `projects/{project}/keys/{key}`. + * Identifier. The resource name for the Key in the format + * `projects/{project}/keys/{key}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1690,7 +1691,7 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @property(nonatomic, strong, nullable) NSArray *challengeMetrics; /** - * Output only. The name of the metrics, in the format + * Output only. Identifier. The name of the metrics, in the format * `projects/{project}/keys/{key}/metrics`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1783,8 +1784,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @interface GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup : GTLRObject /** - * Required. The resource name for the related account group in the format - * `projects/{project}/relatedaccountgroups/{related_account_group}`. + * Required. Identifier. The resource name for the related account group in the + * format `projects/{project}/relatedaccountgroups/{related_account_group}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1807,7 +1808,7 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @property(nonatomic, copy, nullable) NSString *hashedAccountId; /** - * Required. The resource name for this membership in the format + * Required. Identifier. The resource name for this membership in the format * `projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}`. */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseQuery.h b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseQuery.h index 0ead4150a..945fa7d78 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseQuery.h +++ b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseQuery.h @@ -264,7 +264,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRRecaptchaEnterpriseQuery_ProjectsFirewallpoliciesPatch : GTLRRecaptchaEnterpriseQuery /** - * The resource name for the FirewallPolicy in the format + * Identifier. The resource name for the FirewallPolicy in the format * `projects/{project}/firewallpolicies/{firewallpolicy}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -286,8 +286,8 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c * GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallPolicy to * include in the query. - * @param name The resource name for the FirewallPolicy in the format - * `projects/{project}/firewallpolicies/{firewallpolicy}`. + * @param name Identifier. The resource name for the FirewallPolicy in the + * format `projects/{project}/firewallpolicies/{firewallpolicy}`. * * @return GTLRRecaptchaEnterpriseQuery_ProjectsFirewallpoliciesPatch */ @@ -523,7 +523,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRRecaptchaEnterpriseQuery_ProjectsKeysPatch : GTLRRecaptchaEnterpriseQuery /** - * The resource name for the Key in the format `projects/{project}/keys/{key}`. + * Identifier. The resource name for the Key in the format + * `projects/{project}/keys/{key}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -543,7 +544,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c * GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Key to include in * the query. - * @param name The resource name for the Key in the format + * @param name Identifier. The resource name for the Key in the format * `projects/{project}/keys/{key}`. * * @return GTLRRecaptchaEnterpriseQuery_ProjectsKeysPatch diff --git a/Sources/GeneratedServices/Recommender/Public/GoogleAPIClientForREST/GTLRRecommenderQuery.h b/Sources/GeneratedServices/Recommender/Public/GoogleAPIClientForREST/GTLRRecommenderQuery.h index 238309ec3..e5b75b56e 100644 --- a/Sources/GeneratedServices/Recommender/Public/GoogleAPIClientForREST/GTLRRecommenderQuery.h +++ b/Sources/GeneratedServices/Recommender/Public/GoogleAPIClientForREST/GTLRRecommenderQuery.h @@ -117,12 +117,14 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. Filter expression to restrict the insights returned. Supported - * filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: - * * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * - * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = - * HIGH` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = - * HIGH)` (These expressions are based on the filter language described at - * https://google.aip.dev/160) + * filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * + * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = + * DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR + * severity = HIGH` * `targetResources : + * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` + * * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` + * The max allowed filter length is 500 characters. (These expressions are + * based on the filter language described at https://google.aip.dev/160) */ @property(nonatomic, copy, nullable) NSString *filter; @@ -364,12 +366,14 @@ NS_ASSUME_NONNULL_BEGIN /** * Filter expression to restrict the recommendations returned. Supported filter - * fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * - * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * - * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * - * `priority = P1 OR priority = P2` * `stateInfo.state = ACTIVE AND (priority = - * P1 OR priority = P2)` (These expressions are based on the filter language - * described at https://google.aip.dev/160) + * fields: * `state_info.state` * `recommenderSubtype` * `priority` * + * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = + * DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = + * REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : + * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` + * * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max + * allowed filter length is 500 characters. (These expressions are based on the + * filter language described at https://google.aip.dev/160) */ @property(nonatomic, copy, nullable) NSString *filter; @@ -687,12 +691,14 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. Filter expression to restrict the insights returned. Supported - * filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: - * * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * - * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = - * HIGH` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = - * HIGH)` (These expressions are based on the filter language described at - * https://google.aip.dev/160) + * filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * + * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = + * DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR + * severity = HIGH` * `targetResources : + * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` + * * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` + * The max allowed filter length is 500 characters. (These expressions are + * based on the filter language described at https://google.aip.dev/160) */ @property(nonatomic, copy, nullable) NSString *filter; @@ -840,12 +846,14 @@ NS_ASSUME_NONNULL_BEGIN /** * Filter expression to restrict the recommendations returned. Supported filter - * fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * - * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * - * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * - * `priority = P1 OR priority = P2` * `stateInfo.state = ACTIVE AND (priority = - * P1 OR priority = P2)` (These expressions are based on the filter language - * described at https://google.aip.dev/160) + * fields: * `state_info.state` * `recommenderSubtype` * `priority` * + * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = + * DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = + * REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : + * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` + * * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max + * allowed filter length is 500 characters. (These expressions are based on the + * filter language described at https://google.aip.dev/160) */ @property(nonatomic, copy, nullable) NSString *filter; @@ -1161,12 +1169,14 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. Filter expression to restrict the insights returned. Supported - * filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: - * * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * - * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = - * HIGH` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = - * HIGH)` (These expressions are based on the filter language described at - * https://google.aip.dev/160) + * filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * + * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = + * DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR + * severity = HIGH` * `targetResources : + * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` + * * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` + * The max allowed filter length is 500 characters. (These expressions are + * based on the filter language described at https://google.aip.dev/160) */ @property(nonatomic, copy, nullable) NSString *filter; @@ -1408,12 +1418,14 @@ NS_ASSUME_NONNULL_BEGIN /** * Filter expression to restrict the recommendations returned. Supported filter - * fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * - * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * - * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * - * `priority = P1 OR priority = P2` * `stateInfo.state = ACTIVE AND (priority = - * P1 OR priority = P2)` (These expressions are based on the filter language - * described at https://google.aip.dev/160) + * fields: * `state_info.state` * `recommenderSubtype` * `priority` * + * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = + * DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = + * REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : + * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` + * * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max + * allowed filter length is 500 characters. (These expressions are based on the + * filter language described at https://google.aip.dev/160) */ @property(nonatomic, copy, nullable) NSString *filter; @@ -1776,12 +1788,14 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. Filter expression to restrict the insights returned. Supported - * filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: - * * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * - * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = - * HIGH` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = - * HIGH)` (These expressions are based on the filter language described at - * https://google.aip.dev/160) + * filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * + * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = + * DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR + * severity = HIGH` * `targetResources : + * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` + * * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` + * The max allowed filter length is 500 characters. (These expressions are + * based on the filter language described at https://google.aip.dev/160) */ @property(nonatomic, copy, nullable) NSString *filter; @@ -2023,12 +2037,14 @@ NS_ASSUME_NONNULL_BEGIN /** * Filter expression to restrict the recommendations returned. Supported filter - * fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * - * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * - * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * - * `priority = P1 OR priority = P2` * `stateInfo.state = ACTIVE AND (priority = - * P1 OR priority = P2)` (These expressions are based on the filter language - * described at https://google.aip.dev/160) + * fields: * `state_info.state` * `recommenderSubtype` * `priority` * + * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = + * DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = + * REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : + * //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` + * * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max + * allowed filter length is 500 characters. (These expressions are based on the + * filter language described at https://google.aip.dev/160) */ @property(nonatomic, copy, nullable) NSString *filter; diff --git a/Sources/GeneratedServices/SA360/GTLRSA360Objects.m b/Sources/GeneratedServices/SA360/GTLRSA360Objects.m index 554a89d85..60a89aba7 100644 --- a/Sources/GeneratedServices/SA360/GTLRSA360Objects.m +++ b/Sources/GeneratedServices/SA360/GTLRSA360Objects.m @@ -52,6 +52,61 @@ NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_Unknown = @"UNKNOWN"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_Unspecified = @"UNSPECIFIED"; +// GTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage.servedAssetFieldType +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_AdImage = @"AD_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_BusinessLogo = @"BUSINESS_LOGO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_BusinessName = @"BUSINESS_NAME"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_BusinessNameInPortrait = @"BUSINESS_NAME_IN_PORTRAIT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Call = @"CALL"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Callout = @"CALLOUT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_CallToAction = @"CALL_TO_ACTION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Description = @"DESCRIPTION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Description1 = @"DESCRIPTION_1"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Description2 = @"DESCRIPTION_2"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_DescriptionInPortrait = @"DESCRIPTION_IN_PORTRAIT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline = @"HEADLINE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline1 = @"HEADLINE_1"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline2 = @"HEADLINE_2"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline3 = @"HEADLINE_3"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_HeadlineInPortrait = @"HEADLINE_IN_PORTRAIT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_LandscapeLogo = @"LANDSCAPE_LOGO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_LeadForm = @"LEAD_FORM"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Logo = @"LOGO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_LongHeadline = @"LONG_HEADLINE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_MarketingImage = @"MARKETING_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_MarketingImageInPortrait = @"MARKETING_IMAGE_IN_PORTRAIT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_MobileApp = @"MOBILE_APP"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_PortraitMarketingImage = @"PORTRAIT_MARKETING_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Price = @"PRICE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Promotion = @"PROMOTION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Sitelink = @"SITELINK"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_SquareMarketingImage = @"SQUARE_MARKETING_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_StructuredSnippet = @"STRUCTURED_SNIPPET"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Unspecified = @"UNSPECIFIED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_YouTubeVideo = @"YOU_TUBE_VIDEO"; + +// GTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset.callToAction +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_ApplyNow = @"APPLY_NOW"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_BookNow = @"BOOK_NOW"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_BuyNow = @"BUY_NOW"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_ContactUs = @"CONTACT_US"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_DonateNow = @"DONATE_NOW"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_Download = @"DOWNLOAD"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_GetQuote = @"GET_QUOTE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_LearnMore = @"LEARN_MORE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_OrderNow = @"ORDER_NOW"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_PlayNow = @"PLAY_NOW"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_SeeMore = @"SEE_MORE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_ShopNow = @"SHOP_NOW"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_SignUp = @"SIGN_UP"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_StartNow = @"START_NOW"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_Subscribe = @"SUBSCRIBE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_Unspecified = @"UNSPECIFIED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_VisitSite = @"VISIT_SITE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_WatchNow = @"WATCH_NOW"; + // GTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo.type NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_ConnectedTv = @"CONNECTED_TV"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_Desktop = @"DESKTOP"; @@ -68,6 +123,22 @@ NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo_Type_Unknown = @"UNKNOWN"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo_Type_Unspecified = @"UNSPECIFIED"; +// GTLRSA360_GoogleAdsSearchads360V0CommonImageAsset.mimeType +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_AudioMp3 = @"AUDIO_MP3"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_AudioWav = @"AUDIO_WAV"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Flash = @"FLASH"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Html5AdZip = @"HTML5_AD_ZIP"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_ImageGif = @"IMAGE_GIF"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_ImageJpeg = @"IMAGE_JPEG"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_ImagePng = @"IMAGE_PNG"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Msexcel = @"MSEXCEL"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Msword = @"MSWORD"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Pdf = @"PDF"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Rtf = @"RTF"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_TextHtml = @"TEXT_HTML"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Unspecified = @"UNSPECIFIED"; + // GTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo.matchType NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo_MatchType_Broad = @"BROAD"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo_MatchType_Exact = @"EXACT"; @@ -179,6 +250,34 @@ NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_Device_Unknown = @"UNKNOWN"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_Device_Unspecified = @"UNSPECIFIED"; +// GTLRSA360_GoogleAdsSearchads360V0CommonSegments.productChannel +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannel_Local = @"LOCAL"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannel_Online = @"ONLINE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannel_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannel_Unspecified = @"UNSPECIFIED"; + +// GTLRSA360_GoogleAdsSearchads360V0CommonSegments.productChannelExclusivity +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannelExclusivity_MultiChannel = @"MULTI_CHANNEL"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannelExclusivity_SingleChannel = @"SINGLE_CHANNEL"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannelExclusivity_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannelExclusivity_Unspecified = @"UNSPECIFIED"; + +// GTLRSA360_GoogleAdsSearchads360V0CommonSegments.productCondition +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_New = @"NEW"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Old = @"OLD"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Refurbished = @"REFURBISHED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Unspecified = @"UNSPECIFIED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Used = @"USED"; + +// GTLRSA360_GoogleAdsSearchads360V0CommonSegments.productSoldCondition +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_New = @"NEW"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Old = @"OLD"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Refurbished = @"REFURBISHED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Unspecified = @"UNSPECIFIED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Used = @"USED"; + // GTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare.location NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare_Location_AbsoluteTopOfPage = @"ABSOLUTE_TOP_OF_PAGE"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare_Location_AnywhereOnPage = @"ANYWHERE_ON_PAGE"; @@ -667,6 +766,73 @@ NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Unspecified = @"UNSPECIFIED"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_YoutubeVideo = @"YOUTUBE_VIDEO"; +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup.adStrength +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Average = @"AVERAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Excellent = @"EXCELLENT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Good = @"GOOD"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_NoAds = @"NO_ADS"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Pending = @"PENDING"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Poor = @"POOR"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Unspecified = @"UNSPECIFIED"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup.status +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Enabled = @"ENABLED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Paused = @"PAUSED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Removed = @"REMOVED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Unspecified = @"UNSPECIFIED"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset.fieldType +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_AdImage = @"AD_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_BookOnGoogle = @"BOOK_ON_GOOGLE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_BusinessLogo = @"BUSINESS_LOGO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_BusinessName = @"BUSINESS_NAME"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Call = @"CALL"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Callout = @"CALLOUT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_CallToActionSelection = @"CALL_TO_ACTION_SELECTION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Description = @"DESCRIPTION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Headline = @"HEADLINE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_HotelCallout = @"HOTEL_CALLOUT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_HotelProperty = @"HOTEL_PROPERTY"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_LandscapeLogo = @"LANDSCAPE_LOGO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_LeadForm = @"LEAD_FORM"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Logo = @"LOGO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_LongHeadline = @"LONG_HEADLINE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_MandatoryAdText = @"MANDATORY_AD_TEXT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_MarketingImage = @"MARKETING_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_MediaBundle = @"MEDIA_BUNDLE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_MobileApp = @"MOBILE_APP"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_PortraitMarketingImage = @"PORTRAIT_MARKETING_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Price = @"PRICE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Promotion = @"PROMOTION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Sitelink = @"SITELINK"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_SquareMarketingImage = @"SQUARE_MARKETING_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_StructuredSnippet = @"STRUCTURED_SNIPPET"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Unspecified = @"UNSPECIFIED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Video = @"VIDEO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_YoutubeVideo = @"YOUTUBE_VIDEO"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset.status +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Enabled = @"ENABLED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Paused = @"PAUSED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Removed = @"REMOVED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Unspecified = @"UNSPECIFIED"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter.type +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_Subdivision = @"SUBDIVISION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_UnitExcluded = @"UNIT_EXCLUDED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_UnitIncluded = @"UNIT_INCLUDED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_Unspecified = @"UNSPECIFIED"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter.vertical +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Vertical_Shopping = @"SHOPPING"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Vertical_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Vertical_Unspecified = @"UNSPECIFIED"; + // GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset.status NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset_Status_Enabled = @"ENABLED"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset_Status_Removed = @"REMOVED"; @@ -939,6 +1105,55 @@ NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting_OptimizationGoalTypes_Unknown = @"UNKNOWN"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting_OptimizationGoalTypes_Unspecified = @"UNSPECIFIED"; +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversion.assetFieldType +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_AdImage = @"AD_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_BookOnGoogle = @"BOOK_ON_GOOGLE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_BusinessLogo = @"BUSINESS_LOGO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_BusinessName = @"BUSINESS_NAME"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Call = @"CALL"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Callout = @"CALLOUT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_CallToActionSelection = @"CALL_TO_ACTION_SELECTION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Description = @"DESCRIPTION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Headline = @"HEADLINE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_HotelCallout = @"HOTEL_CALLOUT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_HotelProperty = @"HOTEL_PROPERTY"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_LandscapeLogo = @"LANDSCAPE_LOGO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_LeadForm = @"LEAD_FORM"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Logo = @"LOGO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_LongHeadline = @"LONG_HEADLINE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_MandatoryAdText = @"MANDATORY_AD_TEXT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_MarketingImage = @"MARKETING_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_MediaBundle = @"MEDIA_BUNDLE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_MobileApp = @"MOBILE_APP"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_PortraitMarketingImage = @"PORTRAIT_MARKETING_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Price = @"PRICE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Promotion = @"PROMOTION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Sitelink = @"SITELINK"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_SquareMarketingImage = @"SQUARE_MARKETING_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_StructuredSnippet = @"STRUCTURED_SNIPPET"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Unspecified = @"UNSPECIFIED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Video = @"VIDEO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_YoutubeVideo = @"YOUTUBE_VIDEO"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversion.attributionType +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AttributionType_CriterionAd = @"CRITERION_AD"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AttributionType_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AttributionType_Unspecified = @"UNSPECIFIED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AttributionType_Visit = @"VISIT"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversion.productChannel +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_ProductChannel_Local = @"LOCAL"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_ProductChannel_Online = @"ONLINE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_ProductChannel_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_ProductChannel_Unspecified = @"UNSPECIFIED"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversion.status +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_Status_Enabled = @"ENABLED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_Status_Removed = @"REMOVED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_Status_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_Status_Unspecified = @"UNSPECIFIED"; + // GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction.category NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_AddToCart = @"ADD_TO_CART"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_BeginCheckout = @"BEGIN_CHECKOUT"; @@ -1122,6 +1337,61 @@ NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Unknown = @"UNKNOWN"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Unspecified = @"UNSPECIFIED"; +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory.level +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level1 = @"LEVEL1"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level2 = @"LEVEL2"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level3 = @"LEVEL3"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level4 = @"LEVEL4"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level5 = @"LEVEL5"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Unspecified = @"UNSPECIFIED"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel.channel +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel_Channel_Local = @"LOCAL"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel_Channel_Online = @"ONLINE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel_Channel_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel_Channel_Unspecified = @"UNSPECIFIED"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition.condition +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_New = @"NEW"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_Refurbished = @"REFURBISHED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_Unspecified = @"UNSPECIFIED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_Used = @"USED"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute.index +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index0 = @"INDEX0"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index1 = @"INDEX1"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index2 = @"INDEX2"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index3 = @"INDEX3"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index4 = @"INDEX4"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Unspecified = @"UNSPECIFIED"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType.level +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level1 = @"LEVEL1"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level2 = @"LEVEL2"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level3 = @"LEVEL3"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level4 = @"LEVEL4"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level5 = @"LEVEL5"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Unspecified = @"UNSPECIFIED"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant.level +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level1 = @"LEVEL1"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level2 = @"LEVEL2"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level3 = @"LEVEL3"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level4 = @"LEVEL4"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level5 = @"LEVEL5"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Unspecified = @"UNSPECIFIED"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant.status +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Status_Active = @"ACTIVE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Status_Obsolete = @"OBSOLETE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Status_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Status_Unspecified = @"UNSPECIFIED"; + // GTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field.category NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Attribute = @"ATTRIBUTE"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Metric = @"METRIC"; @@ -1155,6 +1425,43 @@ NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_Unknown = @"UNKNOWN"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_Unspecified = @"UNSPECIFIED"; +// GTLRSA360_GoogleAdsSearchads360V0ResourcesVisit.assetFieldType +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_AdImage = @"AD_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_BookOnGoogle = @"BOOK_ON_GOOGLE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_BusinessLogo = @"BUSINESS_LOGO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_BusinessName = @"BUSINESS_NAME"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Call = @"CALL"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Callout = @"CALLOUT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_CallToActionSelection = @"CALL_TO_ACTION_SELECTION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Description = @"DESCRIPTION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Headline = @"HEADLINE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_HotelCallout = @"HOTEL_CALLOUT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_HotelProperty = @"HOTEL_PROPERTY"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_LandscapeLogo = @"LANDSCAPE_LOGO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_LeadForm = @"LEAD_FORM"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Logo = @"LOGO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_LongHeadline = @"LONG_HEADLINE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_MandatoryAdText = @"MANDATORY_AD_TEXT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_MarketingImage = @"MARKETING_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_MediaBundle = @"MEDIA_BUNDLE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_MobileApp = @"MOBILE_APP"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_PortraitMarketingImage = @"PORTRAIT_MARKETING_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Price = @"PRICE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Promotion = @"PROMOTION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Sitelink = @"SITELINK"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_SquareMarketingImage = @"SQUARE_MARKETING_IMAGE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_StructuredSnippet = @"STRUCTURED_SNIPPET"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Unspecified = @"UNSPECIFIED"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Video = @"VIDEO"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_YoutubeVideo = @"YOUTUBE_VIDEO"; + +// GTLRSA360_GoogleAdsSearchads360V0ResourcesVisit.productChannel +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_ProductChannel_Local = @"LOCAL"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_ProductChannel_Online = @"ONLINE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_ProductChannel_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_ProductChannel_Unspecified = @"UNSPECIFIED"; + // GTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request.summaryRowSetting NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request_SummaryRowSetting_NoSummaryRow = @"NO_SUMMARY_ROW"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request_SummaryRowSetting_SummaryRowOnly = @"SUMMARY_ROW_ONLY"; @@ -1192,6 +1499,26 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0CommonAssetInteractionTarget @end +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage +@dynamic asset, servedAssetFieldType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0CommonAudienceInfo +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0CommonAudienceInfo +@dynamic audience; +@end + + // ---------------------------------------------------------------------------- // // GTLRSA360_GoogleAdsSearchads360V0CommonBusinessProfileLocation @@ -1210,6 +1537,16 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0CommonBusinessProfileLocation @end +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset +@dynamic callToAction; +@end + + // ---------------------------------------------------------------------------- // // GTLRSA360_GoogleAdsSearchads360V0CommonCustomParameter @@ -1258,6 +1595,26 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0CommonImageAsset +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0CommonImageAsset +@dynamic fileSize, fullSize, mimeType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0CommonImageDimension +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0CommonImageDimension +@dynamic heightPixels, url, widthPixels; +@end + + // ---------------------------------------------------------------------------- // // GTLRSA360_GoogleAdsSearchads360V0CommonKeyword @@ -1390,7 +1747,13 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0CommonMetrics allConversionsFromStoreWebsite, allConversionsValue, allConversionsValueByConversionDate, allConversionsValuePerCost, averageCost, averageCpc, averageCpm, clicks, clientAccountConversions, - clientAccountConversionsValue, clientAccountViewThroughConversions, + clientAccountConversionsValue, + clientAccountCrossSellCostOfGoodsSoldMicros, + clientAccountCrossSellGrossProfitMicros, + clientAccountCrossSellRevenueMicros, clientAccountCrossSellUnitsSold, + clientAccountLeadCostOfGoodsSoldMicros, + clientAccountLeadGrossProfitMicros, clientAccountLeadRevenueMicros, + clientAccountLeadUnitsSold, clientAccountViewThroughConversions, contentBudgetLostImpressionShare, contentImpressionShare, contentRankLostImpressionShare, conversions, conversionsByConversionDate, conversionsFromInteractionsRate, @@ -1398,11 +1761,14 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0CommonMetrics conversionsValueByConversionDate, conversionsValuePerCost, costMicros, costPerAllConversions, costPerConversion, costPerCurrentModelAttributedConversion, crossDeviceConversions, - crossDeviceConversionsValue, ctr, historicalCreativeQualityScore, - historicalLandingPageQualityScore, historicalQualityScore, - historicalSearchPredictedCtr, impressions, interactionEventTypes, - interactionRate, interactions, invalidClickRate, invalidClicks, - mobileFriendlyClicksPercentage, searchAbsoluteTopImpressionShare, + crossDeviceConversionsValue, crossSellCostOfGoodsSoldMicros, + crossSellGrossProfitMicros, crossSellRevenueMicros, crossSellUnitsSold, + ctr, historicalCreativeQualityScore, historicalLandingPageQualityScore, + historicalQualityScore, historicalSearchPredictedCtr, impressions, + interactionEventTypes, interactionRate, interactions, invalidClickRate, + invalidClicks, leadCostOfGoodsSoldMicros, leadGrossProfitMicros, + leadRevenueMicros, leadUnitsSold, mobileFriendlyClicksPercentage, + searchAbsoluteTopImpressionShare, searchBudgetLostAbsoluteTopImpressionShare, searchBudgetLostImpressionShare, searchBudgetLostTopImpressionShare, searchClickShare, searchExactMatchImpressionShare, @@ -1511,7 +1877,24 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo @implementation GTLRSA360_GoogleAdsSearchads360V0CommonSegments @dynamic adNetworkType, assetInteractionTarget, conversionAction, conversionActionCategory, conversionActionName, date, dayOfWeek, - device, keyword, month, quarter, week, year; + device, keyword, month, productBiddingCategoryLevel1, + productBiddingCategoryLevel2, productBiddingCategoryLevel3, + productBiddingCategoryLevel4, productBiddingCategoryLevel5, + productBrand, productChannel, productChannelExclusivity, + productCondition, productCountry, productCustomAttribute0, + productCustomAttribute1, productCustomAttribute2, + productCustomAttribute3, productCustomAttribute4, productItemId, + productLanguage, productSoldBiddingCategoryLevel1, + productSoldBiddingCategoryLevel2, productSoldBiddingCategoryLevel3, + productSoldBiddingCategoryLevel4, productSoldBiddingCategoryLevel5, + productSoldBrand, productSoldCondition, productSoldCustomAttribute0, + productSoldCustomAttribute1, productSoldCustomAttribute2, + productSoldCustomAttribute3, productSoldCustomAttribute4, + productSoldItemId, productSoldTitle, productSoldTypeL1, + productSoldTypeL2, productSoldTypeL3, productSoldTypeL4, + productSoldTypeL5, productStoreId, productTitle, productTypeL1, + productTypeL2, productTypeL3, productTypeL4, productTypeL5, quarter, + week, year; @end @@ -1602,6 +1985,16 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0CommonTargetSpend @end +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0CommonTextAsset +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0CommonTextAsset +@dynamic text; +@end + + // ---------------------------------------------------------------------------- // // GTLRSA360_GoogleAdsSearchads360V0CommonTextLabel @@ -1764,6 +2157,16 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0CommonWebpageInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0CommonYoutubeVideoAsset +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0CommonYoutubeVideoAsset +@dynamic youtubeVideoId, youtubeVideoTitle; +@end + + // ---------------------------------------------------------------------------- // // GTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode @@ -2049,10 +2452,33 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesAgeRangeView // @implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesAsset -@dynamic callAsset, calloutAsset, creationTime, engineStatus, finalUrls, - identifier, lastModifiedTime, locationAsset, mobileAppAsset, - pageFeedAsset, resourceName, sitelinkAsset, status, - trackingUrlTemplate, type; +@dynamic callAsset, calloutAsset, callToActionAsset, creationTime, engineStatus, + finalUrls, identifier, imageAsset, lastModifiedTime, locationAsset, + mobileAppAsset, name, pageFeedAsset, resourceName, sitelinkAsset, + status, textAsset, trackingUrlTemplate, type, youtubeVideoAsset; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"finalUrls" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup +@dynamic adStrength, campaign, finalMobileUrls, finalUrls, identifier, name, + path1, path2, resourceName, status; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -2060,6 +2486,7 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesAsset + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"finalMobileUrls" : [NSString class], @"finalUrls" : [NSString class] }; return map; @@ -2068,6 +2495,78 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesAsset @end +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset +@dynamic asset, assetGroup, fieldType, resourceName, status; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAssetCombinationData +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAssetCombinationData +@dynamic assetCombinationServedAssets; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"assetCombinationServedAssets" : [GTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter +@dynamic assetGroup, caseValue, identifier, parentListingGroupFilter, path, + resourceName, type, vertical; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupSignal +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupSignal +@dynamic assetGroup, audience, resourceName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupTopCombinationView +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupTopCombinationView +@dynamic assetGroupTopCombinations, resourceName; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"assetGroupTopCombinations" : [GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAssetCombinationData class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSet @@ -2093,6 +2592,25 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset @end +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAudience +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesAudience +@dynamic descriptionProperty, identifier, name, resourceName; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"identifier" : @"id" + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy @@ -2299,6 +2817,36 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignTrackingSettin @end +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCartDataSalesView +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesCartDataSalesView +@dynamic resourceName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversion +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesConversion +@dynamic adId, advertiserConversionId, assetFieldType, assetId, attributionType, + clickId, conversionDateTime, conversionLastModifiedDateTime, + conversionQuantity, conversionRevenueMicros, conversionVisitDateTime, + criterionId, floodlightOrderId, floodlightOriginalRevenue, identifier, + merchantId, productChannel, productCountryCode, productId, + productLanguageCode, productStoreId, resourceName, status, visitId; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction @@ -2533,6 +3081,125 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesLabel @end +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesLanguageConstant +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesLanguageConstant +@dynamic code, identifier, name, resourceName, targetable; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimension +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimension +@dynamic productBiddingCategory, productBrand, productChannel, productCondition, + productCustomAttribute, productItemId, productType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionPath +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionPath +@dynamic dimensions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dimensions" : [GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimension class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory +@dynamic identifier, level; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBrand +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBrand +@dynamic value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel +@dynamic channel; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition +@dynamic condition; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute +@dynamic index, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductItemId +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductItemId +@dynamic value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType +@dynamic level, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRSA360_GoogleAdsSearchads360V0ResourcesLocationView @@ -2543,6 +3210,22 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesLocationView @end +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant +@dynamic countryCode, identifier, languageCode, level, localizedName, + productBiddingCategoryConstantParent, resourceName, status; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSA360_GoogleAdsSearchads360V0ResourcesProductGroupView @@ -2577,6 +3260,16 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field @end +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesShoppingPerformanceView +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesShoppingPerformanceView +@dynamic resourceName; +@end + + // ---------------------------------------------------------------------------- // // GTLRSA360_GoogleAdsSearchads360V0ResourcesUserList @@ -2592,6 +3285,23 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesUserList @end +// ---------------------------------------------------------------------------- +// +// GTLRSA360_GoogleAdsSearchads360V0ResourcesVisit +// + +@implementation GTLRSA360_GoogleAdsSearchads360V0ResourcesVisit +@dynamic adId, assetFieldType, assetId, clickId, criterionId, identifier, + merchantId, productChannel, productCountryCode, productId, + productLanguageCode, productStoreId, resourceName, visitDateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSA360_GoogleAdsSearchads360V0ResourcesWebpageView @@ -2661,14 +3371,17 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0ServicesListCustomColumnsRespon @implementation GTLRSA360_GoogleAdsSearchads360V0ServicesSearchAds360Row @dynamic adGroup, adGroupAd, adGroupAdLabel, adGroupAsset, adGroupAssetSet, adGroupAudienceView, adGroupBidModifier, adGroupCriterion, - adGroupCriterionLabel, adGroupLabel, ageRangeView, asset, assetSet, - assetSetAsset, biddingStrategy, campaign, campaignAsset, - campaignAssetSet, campaignAudienceView, campaignBudget, - campaignCriterion, campaignLabel, conversionAction, customColumns, + adGroupCriterionLabel, adGroupLabel, ageRangeView, asset, assetGroup, + assetGroupAsset, assetGroupListingGroupFilter, assetGroupSignal, + assetGroupTopCombinationView, assetSet, assetSetAsset, audience, + biddingStrategy, campaign, campaignAsset, campaignAssetSet, + campaignAudienceView, campaignBudget, campaignCriterion, campaignLabel, + cartDataSalesView, conversion, conversionAction, customColumns, customer, customerAsset, customerAssetSet, customerClient, customerManagerLink, dynamicSearchAdsSearchTermView, genderView, - geoTargetConstant, keywordView, label, locationView, metrics, - productGroupView, segments, userList, webpageView; + geoTargetConstant, keywordView, label, languageConstant, locationView, + metrics, productBiddingCategoryConstant, productGroupView, segments, + shoppingPerformanceView, userList, visit, webpageView; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/SA360/Public/GoogleAPIClientForREST/GTLRSA360Objects.h b/Sources/GeneratedServices/SA360/Public/GoogleAPIClientForREST/GTLRSA360Objects.h index 559edf95e..ecba683ad 100644 --- a/Sources/GeneratedServices/SA360/Public/GoogleAPIClientForREST/GTLRSA360Objects.h +++ b/Sources/GeneratedServices/SA360/Public/GoogleAPIClientForREST/GTLRSA360Objects.h @@ -18,12 +18,17 @@ @class GTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo; @class GTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo; @class GTLRSA360_GoogleAdsSearchads360V0CommonAssetInteractionTarget; +@class GTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage; +@class GTLRSA360_GoogleAdsSearchads360V0CommonAudienceInfo; @class GTLRSA360_GoogleAdsSearchads360V0CommonBusinessProfileLocation; +@class GTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset; @class GTLRSA360_GoogleAdsSearchads360V0CommonCustomParameter; @class GTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo; @class GTLRSA360_GoogleAdsSearchads360V0CommonEnhancedCpc; @class GTLRSA360_GoogleAdsSearchads360V0CommonFrequencyCapEntry; @class GTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo; +@class GTLRSA360_GoogleAdsSearchads360V0CommonImageAsset; +@class GTLRSA360_GoogleAdsSearchads360V0CommonImageDimension; @class GTLRSA360_GoogleAdsSearchads360V0CommonKeyword; @class GTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo; @class GTLRSA360_GoogleAdsSearchads360V0CommonLanguageInfo; @@ -53,6 +58,7 @@ @class GTLRSA360_GoogleAdsSearchads360V0CommonTargetRestriction; @class GTLRSA360_GoogleAdsSearchads360V0CommonTargetRoas; @class GTLRSA360_GoogleAdsSearchads360V0CommonTargetSpend; +@class GTLRSA360_GoogleAdsSearchads360V0CommonTextAsset; @class GTLRSA360_GoogleAdsSearchads360V0CommonTextLabel; @class GTLRSA360_GoogleAdsSearchads360V0CommonUnifiedCallAsset; @class GTLRSA360_GoogleAdsSearchads360V0CommonUnifiedCalloutAsset; @@ -63,6 +69,7 @@ @class GTLRSA360_GoogleAdsSearchads360V0CommonValue; @class GTLRSA360_GoogleAdsSearchads360V0CommonWebpageConditionInfo; @class GTLRSA360_GoogleAdsSearchads360V0CommonWebpageInfo; +@class GTLRSA360_GoogleAdsSearchads360V0CommonYoutubeVideoAsset; @class GTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode; @class GTLRSA360_GoogleAdsSearchads360V0ErrorsErrorDetails; @class GTLRSA360_GoogleAdsSearchads360V0ErrorsErrorLocation; @@ -84,8 +91,15 @@ @class GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupLabel; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesAgeRangeView; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesAsset; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAssetCombinationData; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupSignal; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupTopCombinationView; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSet; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesAudience; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAsset; @@ -101,6 +115,8 @@ @class GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignSelectiveOptimization; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignShoppingSetting; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignTrackingSetting; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesCartDataSalesView; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesConversion; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionFloodlightSettings; @@ -118,10 +134,23 @@ @class GTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesKeywordView; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesLabel; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesLanguageConstant; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimension; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionPath; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBrand; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductItemId; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesLocationView; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesProductGroupView; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesShoppingPerformanceView; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesUserList; +@class GTLRSA360_GoogleAdsSearchads360V0ResourcesVisit; @class GTLRSA360_GoogleAdsSearchads360V0ResourcesWebpageView; @class GTLRSA360_GoogleAdsSearchads360V0ServicesCustomColumnHeader; @class GTLRSA360_GoogleAdsSearchads360V0ServicesSearchAds360Row; @@ -332,6 +361,325 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRa */ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_Unspecified; +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage.servedAssetFieldType + +/** + * This asset is used as an image. + * + * Value: "AD_IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_AdImage; +/** + * The asset is used as a business logo. + * + * Value: "BUSINESS_LOGO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_BusinessLogo; +/** + * The asset was used as business name. + * + * Value: "BUSINESS_NAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_BusinessName; +/** + * The asset was used as business name in portrait image. + * + * Value: "BUSINESS_NAME_IN_PORTRAIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_BusinessNameInPortrait; +/** + * This asset is used as a call. + * + * Value: "CALL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Call; +/** + * This asset is used as a callout. + * + * Value: "CALLOUT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Callout; +/** + * The asset was used as a call-to-action. + * + * Value: "CALL_TO_ACTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_CallToAction; +/** + * The asset was used in a description. Use this only if there is only one + * description in the ad. Otherwise, use the DESCRIPTION_1 or DESCRIPTION_\@ + * enums + * + * Value: "DESCRIPTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Description; +/** + * The asset is used in description 1. + * + * Value: "DESCRIPTION_1" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Description1; +/** + * The asset is used in description 2. + * + * Value: "DESCRIPTION_2" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Description2; +/** + * The asset was used as description in portrait image. + * + * Value: "DESCRIPTION_IN_PORTRAIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_DescriptionInPortrait; +/** + * The asset was used in a headline. Use this only if there is only one + * headline in the ad. Otherwise, use the HEADLINE_1, HEADLINE_2 or HEADLINE_3 + * enums + * + * Value: "HEADLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline; +/** + * The asset is used in headline 1. + * + * Value: "HEADLINE_1" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline1; +/** + * The asset is used in headline 2. + * + * Value: "HEADLINE_2" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline2; +/** + * The asset is used in headline 3. + * + * Value: "HEADLINE_3" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline3; +/** + * The asset was used as a headline in portrait image. + * + * Value: "HEADLINE_IN_PORTRAIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_HeadlineInPortrait; +/** + * The asset was used as a landscape logo. + * + * Value: "LANDSCAPE_LOGO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_LandscapeLogo; +/** + * The asset is used as a lead form. + * + * Value: "LEAD_FORM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_LeadForm; +/** + * The asset was used as a logo. + * + * Value: "LOGO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Logo; +/** + * The asset was used in a long headline (used in MultiAssetResponsiveAd). + * + * Value: "LONG_HEADLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_LongHeadline; +/** + * The asset was used as a marketing image. + * + * Value: "MARKETING_IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_MarketingImage; +/** + * The asset was used as a marketing image in portrait image. + * + * Value: "MARKETING_IMAGE_IN_PORTRAIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_MarketingImageInPortrait; +/** + * This asset is used as a mobile app. + * + * Value: "MOBILE_APP" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_MobileApp; +/** + * The asset was used as a portrait marketing image. + * + * Value: "PORTRAIT_MARKETING_IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_PortraitMarketingImage; +/** + * This asset is used as a price. + * + * Value: "PRICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Price; +/** + * This asset is used as a promotion. + * + * Value: "PROMOTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Promotion; +/** + * This asset is used as a sitelink. + * + * Value: "SITELINK" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Sitelink; +/** + * The asset was used as a square marketing image. + * + * Value: "SQUARE_MARKETING_IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_SquareMarketingImage; +/** + * This asset is used as a structured snippet. + * + * Value: "STRUCTURED_SNIPPET" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_StructuredSnippet; +/** + * The received value is not known in this version. This is a response-only + * value. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Unknown; +/** + * No value has been specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Unspecified; +/** + * The asset was used as a YouTube video. + * + * Value: "YOU_TUBE_VIDEO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_YouTubeVideo; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset.callToAction + +/** + * The call to action type is apply now. + * + * Value: "APPLY_NOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_ApplyNow; +/** + * The call to action type is book now. + * + * Value: "BOOK_NOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_BookNow; +/** + * The call to action type is buy now. + * + * Value: "BUY_NOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_BuyNow; +/** + * The call to action type is contact us. + * + * Value: "CONTACT_US" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_ContactUs; +/** + * The call to action type is donate now. + * + * Value: "DONATE_NOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_DonateNow; +/** + * The call to action type is download. + * + * Value: "DOWNLOAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_Download; +/** + * The call to action type is get quote. + * + * Value: "GET_QUOTE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_GetQuote; +/** + * The call to action type is learn more. + * + * Value: "LEARN_MORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_LearnMore; +/** + * The call to action type is order now. + * + * Value: "ORDER_NOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_OrderNow; +/** + * The call to action type is play now. + * + * Value: "PLAY_NOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_PlayNow; +/** + * The call to action type is see more. + * + * Value: "SEE_MORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_SeeMore; +/** + * The call to action type is shop now. + * + * Value: "SHOP_NOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_ShopNow; +/** + * The call to action type is sign up. + * + * Value: "SIGN_UP" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_SignUp; +/** + * The call to action type is start now. + * + * Value: "START_NOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_StartNow; +/** + * The call to action type is subscribe. + * + * Value: "SUBSCRIBE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_Subscribe; +/** + * Used for return value only. Represents value unknown in this version. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_Unknown; +/** + * Not specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_Unspecified; +/** + * The call to action type is visit site. + * + * Value: "VISIT_SITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_VisitSite; +/** + * The call to action type is watch now. + * + * Value: "WATCH_NOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_WatchNow; + // ---------------------------------------------------------------------------- // GTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo.type @@ -412,6 +760,95 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonGende */ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo_Type_Unspecified; +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0CommonImageAsset.mimeType + +/** + * MIME type of audio/mp3. + * + * Value: "AUDIO_MP3" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_AudioMp3; +/** + * MIME type of audio/wav. + * + * Value: "AUDIO_WAV" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_AudioWav; +/** + * MIME type of application/x-shockwave-flash. + * + * Value: "FLASH" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Flash; +/** + * MIME type of application/x-html5-ad-zip. + * + * Value: "HTML5_AD_ZIP" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Html5AdZip; +/** + * MIME type of image/gif. + * + * Value: "IMAGE_GIF" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_ImageGif; +/** + * MIME type of image/jpeg. + * + * Value: "IMAGE_JPEG" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_ImageJpeg; +/** + * MIME type of image/png. + * + * Value: "IMAGE_PNG" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_ImagePng; +/** + * MIME type of application/vnd.ms-excel. + * + * Value: "MSEXCEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Msexcel; +/** + * MIME type of application/msword. + * + * Value: "MSWORD" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Msword; +/** + * MIME type of application/pdf. + * + * Value: "PDF" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Pdf; +/** + * MIME type of application/rtf. + * + * Value: "RTF" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Rtf; +/** + * MIME type of text/html. + * + * Value: "TEXT_HTML" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_TextHtml; +/** + * The received value is not known in this version. This is a response-only + * value. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Unknown; +/** + * The mime type has not been specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Unspecified; + // ---------------------------------------------------------------------------- // GTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo.matchType @@ -996,44 +1433,182 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegme FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_Device_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare.location +// GTLRSA360_GoogleAdsSearchads360V0CommonSegments.productChannel /** - * Top slot in the top box of ads. - * - * Value: "ABSOLUTE_TOP_OF_PAGE" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare_Location_AbsoluteTopOfPage; -/** - * Any location on the web page. + * The item is sold in local stores. * - * Value: "ANYWHERE_ON_PAGE" + * Value: "LOCAL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare_Location_AnywhereOnPage; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannel_Local; /** - * Top box of ads. + * The item is sold online. * - * Value: "TOP_OF_PAGE" + * Value: "ONLINE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare_Location_TopOfPage; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannel_Online; /** * Used for return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare_Location_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannel_Unknown; /** * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare_Location_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannel_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0CommonTargetRestriction.targetingDimension +// GTLRSA360_GoogleAdsSearchads360V0CommonSegments.productChannelExclusivity /** - * Criteria for targeting age ranges. + * The item is matched to its online or local stores counterpart, indicating it + * is available for purchase in both ShoppingProductChannels. + * + * Value: "MULTI_CHANNEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannelExclusivity_MultiChannel; +/** + * The item is sold through one channel only, either local stores or online as + * indicated by its ProductChannel. + * + * Value: "SINGLE_CHANNEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannelExclusivity_SingleChannel; +/** + * Used for return value only. Represents value unknown in this version. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannelExclusivity_Unknown; +/** + * Not specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannelExclusivity_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0CommonSegments.productCondition + +/** + * The product condition is new. + * + * Value: "NEW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_New; +/** + * The product condition is old. + * + * Value: "OLD" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Old; +/** + * The product condition is refurbished. + * + * Value: "REFURBISHED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Refurbished; +/** + * Used for return value only. Represents value unknown in this version. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Unknown; +/** + * Not specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Unspecified; +/** + * The product condition is used. + * + * Value: "USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Used; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0CommonSegments.productSoldCondition + +/** + * The product condition is new. + * + * Value: "NEW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_New; +/** + * The product condition is old. + * + * Value: "OLD" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Old; +/** + * The product condition is refurbished. + * + * Value: "REFURBISHED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Refurbished; +/** + * Used for return value only. Represents value unknown in this version. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Unknown; +/** + * Not specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Unspecified; +/** + * The product condition is used. + * + * Value: "USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Used; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare.location + +/** + * Top slot in the top box of ads. + * + * Value: "ABSOLUTE_TOP_OF_PAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare_Location_AbsoluteTopOfPage; +/** + * Any location on the web page. + * + * Value: "ANYWHERE_ON_PAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare_Location_AnywhereOnPage; +/** + * Top box of ads. + * + * Value: "TOP_OF_PAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare_Location_TopOfPage; +/** + * Used for return value only. Represents value unknown in this version. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare_Location_Unknown; +/** + * Not specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonTargetImpressionShare_Location_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0CommonTargetRestriction.targetingDimension + +/** + * Criteria for targeting age ranges. * * Value: "AGE_RANGE" */ @@ -1304,7 +1879,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsError */ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_AuthenticationError_LoginCookieRequired; /** - * User in the cookie is not a valid Ads user. + * The Google account that generated the OAuth access token is not associated + * with a Search Ads 360 account. Create a new account, or add the Google + * account to an existing Search Ads 360 account. * * Value: "NOT_ADS_USER" */ @@ -3707,676 +4284,429 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAs FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_YoutubeVideo; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset.status +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup.adStrength /** - * The asset set asset is enabled. + * Average strength. * - * Value: "ENABLED" + * Value: "AVERAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset_Status_Enabled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Average; /** - * The asset set asset is removed. + * Excellent strength. * - * Value: "REMOVED" + * Value: "EXCELLENT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset_Status_Removed; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Excellent; /** - * The received value is not known in this version. This is a response-only - * value. + * Good strength. * - * Value: "UNKNOWN" + * Value: "GOOD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Good; /** - * The status has not been specified. + * No ads could be generated. * - * Value: "UNSPECIFIED" + * Value: "NO_ADS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset_Status_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy.status - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_NoAds; /** - * The bidding strategy is enabled. + * The ad strength is currently pending. * - * Value: "ENABLED" + * Value: "PENDING" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Status_Enabled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Pending; /** - * The bidding strategy is removed. + * Poor strength. * - * Value: "REMOVED" + * Value: "POOR" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Status_Removed; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Poor; /** - * The received value is not known in this version. This is a response-only - * value. + * Used for return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Unknown; /** - * No value has been specified. + * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Status_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy.type +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup.status /** - * Commission is an automatic bidding strategy in which the advertiser pays a - * certain portion of the conversion value. + * The asset group is enabled. * - * Value: "COMMISSION" + * Value: "ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_Commission; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Enabled; /** - * Enhanced CPC is a bidding strategy that raises bids for clicks that seem - * more likely to lead to a conversion and lowers them for clicks where they - * seem less likely. + * The asset group is paused. * - * Value: "ENHANCED_CPC" + * Value: "PAUSED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_EnhancedCpc; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Paused; /** - * Used for return value only. Indicates that a campaign does not have a - * bidding strategy. This prevents the campaign from serving. For example, a - * campaign may be attached to a manager bidding strategy and the serving - * account is subsequently unlinked from the manager account. In this case the - * campaign will automatically be detached from the now inaccessible manager - * bidding strategy and transition to the INVALID bidding strategy type. + * The asset group is removed. * - * Value: "INVALID" + * Value: "REMOVED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_Invalid; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Removed; /** - * Manual bidding strategy that allows advertiser to set the bid per - * advertiser-specified action. + * The received value is not known in this version. * - * Value: "MANUAL_CPA" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_ManualCpa; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Unknown; /** - * Manual click based bidding where user pays per click. + * The status has not been specified. * - * Value: "MANUAL_CPC" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_ManualCpc; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset.fieldType + /** - * Manual impression based bidding where user pays per thousand impressions. + * The asset is linked for use to select an ad image. * - * Value: "MANUAL_CPM" + * Value: "AD_IMAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_ManualCpm; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_AdImage; /** - * A bidding strategy that pays a configurable amount per video view. + * The asset is linked to indicate that a hotels campaign is "Book on Google" + * enabled. * - * Value: "MANUAL_CPV" + * Value: "BOOK_ON_GOOGLE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_ManualCpv; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_BookOnGoogle; /** - * A bidding strategy that automatically maximizes number of conversions given - * a daily budget. + * The asset is linked for use as a business logo. * - * Value: "MAXIMIZE_CONVERSIONS" + * Value: "BUSINESS_LOGO" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_MaximizeConversions; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_BusinessLogo; /** - * An automated bidding strategy that automatically sets bids to maximize - * revenue while spending your budget. + * The asset is linked for use as a business name. * - * Value: "MAXIMIZE_CONVERSION_VALUE" + * Value: "BUSINESS_NAME" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_MaximizeConversionValue; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_BusinessName; /** - * Page-One Promoted bidding scheme, which sets max cpc bids to target - * impressions on page one or page one promoted slots on google.com. This enum - * value is deprecated. + * The asset is linked for use as a Call extension. * - * Value: "PAGE_ONE_PROMOTED" + * Value: "CALL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_PageOnePromoted; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Call; /** - * Percent Cpc is bidding strategy where bids are a fraction of the advertised - * price for some good or service. + * The asset is linked for use as a Callout extension. * - * Value: "PERCENT_CPC" + * Value: "CALLOUT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_PercentCpc; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Callout; /** - * Target CPA is an automated bid strategy that sets bids to help get as many - * conversions as possible at the target cost-per-acquisition (CPA) you set. + * The asset is linked for use to select a call-to-action. * - * Value: "TARGET_CPA" + * Value: "CALL_TO_ACTION_SELECTION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_TargetCpa; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_CallToActionSelection; /** - * Target CPM is an automated bid strategy that sets bids to help get as many - * impressions as possible at the target cost per one thousand impressions - * (CPM) you set. + * The asset is linked for use as a description. * - * Value: "TARGET_CPM" + * Value: "DESCRIPTION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_TargetCpm; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Description; /** - * An automated bidding strategy that sets bids so that a certain percentage of - * search ads are shown at the top of the first page (or other targeted - * location). + * The asset is linked for use as a headline. * - * Value: "TARGET_IMPRESSION_SHARE" + * Value: "HEADLINE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_TargetImpressionShare; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Headline; /** - * Target Outrank Share is an automated bidding strategy that sets bids based - * on the target fraction of auctions where the advertiser should outrank a - * specific competitor. This enum value is deprecated. + * The asset is linked for use as a Hotel Callout extension. * - * Value: "TARGET_OUTRANK_SHARE" + * Value: "HOTEL_CALLOUT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_TargetOutrankShare; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_HotelCallout; /** - * Target ROAS is an automated bidding strategy that helps you maximize revenue - * while averaging a specific target Return On Average Spend (ROAS). + * The asset is linked for use as a hotel property in a Performance Max for + * travel goals campaign. * - * Value: "TARGET_ROAS" + * Value: "HOTEL_PROPERTY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_TargetRoas; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_HotelProperty; /** - * Target Spend is an automated bid strategy that sets your bids to help get as - * many clicks as possible within your budget. + * The asset is linked for use as a landscape logo. * - * Value: "TARGET_SPEND" + * Value: "LANDSCAPE_LOGO" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_TargetSpend; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_LandscapeLogo; /** - * Used for return value only. Represents value unknown in this version. + * The asset is linked for use as a Lead Form extension. * - * Value: "UNKNOWN" + * Value: "LEAD_FORM" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_LeadForm; /** - * Not specified. + * The asset is linked for use as a logo. * - * Value: "UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.adServingOptimizationStatus - -/** - * Ad serving is optimized based on CTR * Conversion for the campaign. If the - * campaign is not in the conversion optimizer bidding strategy, it will - * default to OPTIMIZED. - * - * Value: "CONVERSION_OPTIMIZE" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_ConversionOptimize; -/** - * Ad serving is optimized based on CTR for the campaign. - * - * Value: "OPTIMIZE" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_Optimize; -/** - * Ads are rotated evenly for 90 days, then optimized for clicks. - * - * Value: "ROTATE" + * Value: "LOGO" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_Rotate; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Logo; /** - * Show lower performing ads more evenly with higher performing ads, and do not - * optimize. + * The asset is linked for use as a long headline. * - * Value: "ROTATE_INDEFINITELY" + * Value: "LONG_HEADLINE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_RotateIndefinitely; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_LongHeadline; /** - * Ad serving optimization status is not available. + * The asset is linked for use as mandatory ad text. * - * Value: "UNAVAILABLE" + * Value: "MANDATORY_AD_TEXT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_Unavailable; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_MandatoryAdText; /** - * The received value is not known in this version. This is a response-only - * value. + * The asset is linked for use as a marketing image. * - * Value: "UNKNOWN" + * Value: "MARKETING_IMAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_MarketingImage; /** - * No value has been specified. + * The asset is linked for use as a media bundle. * - * Value: "UNSPECIFIED" + * Value: "MEDIA_BUNDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.advertisingChannelSubType - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_MediaBundle; /** - * App Campaign that lets you easily promote your Android or iOS app across - * Google's top properties including Search, Play, YouTube, and the Google - * Display Network. + * The asset is linked for use as a Mobile App extension. * - * Value: "APP_CAMPAIGN" + * Value: "MOBILE_APP" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_AppCampaign; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_MobileApp; /** - * App Campaign for engagement, focused on driving re-engagement with the app - * across several of Google's top properties including Search, YouTube, and the - * Google Display Network. + * The asset is linked for use as a portrait marketing image. * - * Value: "APP_CAMPAIGN_FOR_ENGAGEMENT" + * Value: "PORTRAIT_MARKETING_IMAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_AppCampaignForEngagement; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_PortraitMarketingImage; /** - * App Campaign for pre registration, specialized for advertising mobile app - * pre-registration, that targets multiple advertising channels across Google - * Play, YouTube and Display Network. + * The asset is linked for use as a Price extension. * - * Value: "APP_CAMPAIGN_FOR_PRE_REGISTRATION" + * Value: "PRICE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_AppCampaignForPreRegistration; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Price; /** - * AdWords Express campaigns for display. + * The asset is linked for use as a Promotion extension. * - * Value: "DISPLAY_EXPRESS" + * Value: "PROMOTION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_DisplayExpress; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Promotion; /** - * Gmail Ad campaigns. + * The asset is linked for use as a Sitelink. * - * Value: "DISPLAY_GMAIL_AD" + * Value: "SITELINK" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_DisplayGmailAd; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Sitelink; /** - * Mobile app campaigns for Display. + * The asset is linked for use as a square marketing image. * - * Value: "DISPLAY_MOBILE_APP" + * Value: "SQUARE_MARKETING_IMAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_DisplayMobileApp; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_SquareMarketingImage; /** - * Smart display campaigns. New campaigns of this sub type cannot be created. + * The asset is linked for use as a Structured Snippet extension. * - * Value: "DISPLAY_SMART_CAMPAIGN" + * Value: "STRUCTURED_SNIPPET" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_DisplaySmartCampaign; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_StructuredSnippet; /** - * Campaigns specialized for local advertising. + * Used for return value only. Represents value unknown in this version. * - * Value: "LOCAL_CAMPAIGN" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_LocalCampaign; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Unknown; /** - * AdWords express campaigns for search. + * Not specified. * - * Value: "SEARCH_EXPRESS" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_SearchExpress; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Unspecified; /** - * Mobile app campaigns for Search. + * The asset is linked for use as a non YouTube logo. * - * Value: "SEARCH_MOBILE_APP" + * Value: "VIDEO" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_SearchMobileApp; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Video; /** - * Shopping Comparison Listing campaigns. + * The asset is linked for use as a YouTube video. * - * Value: "SHOPPING_COMPARISON_LISTING_ADS" + * Value: "YOUTUBE_VIDEO" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_ShoppingComparisonListingAds; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_YoutubeVideo; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset.status + /** - * Smart Shopping campaigns. + * Asset link is enabled. * - * Value: "SHOPPING_SMART_ADS" + * Value: "ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_ShoppingSmartAds; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Enabled; /** - * Standard Smart campaigns. + * Asset link is paused. * - * Value: "SMART_CAMPAIGN" + * Value: "PAUSED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_SmartCampaign; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Paused; /** - * Travel Activities campaigns. + * Asset link has been removed. * - * Value: "TRAVEL_ACTIVITIES" + * Value: "REMOVED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_TravelActivities; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Removed; /** - * Used as a return value only. Represents value unknown in this version. + * Used for return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Unknown; /** * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter.type + /** - * Video TrueView for Action campaigns. + * Subdivision of products along some listing dimensions. * - * Value: "VIDEO_ACTION" + * Value: "SUBDIVISION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_VideoAction; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_Subdivision; /** - * Video campaigns with non-skippable video ads. + * An excluded listing group filter leaf node. * - * Value: "VIDEO_NON_SKIPPABLE" + * Value: "UNIT_EXCLUDED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_VideoNonSkippable; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_UnitExcluded; /** - * Video Outstream campaigns. + * An included listing group filter leaf node. * - * Value: "VIDEO_OUTSTREAM" + * Value: "UNIT_INCLUDED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_VideoOutstream; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_UnitIncluded; /** - * Video reach campaign with Target Frequency bidding strategy. + * Used for return value only. Represents value unknown in this version. * - * Value: "VIDEO_REACH_TARGET_FREQUENCY" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_VideoReachTargetFrequency; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_Unknown; /** - * Video campaigns with sequence video ads. + * Not specified. * - * Value: "VIDEO_SEQUENCE" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_VideoSequence; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.advertisingChannelType +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter.vertical /** - * Discovery campaigns. - * - * Value: "DISCOVERY" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Discovery; -/** - * Google Display Network only. - * - * Value: "DISPLAY" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Display; -/** - * Hotel Ads campaigns. + * Represents the shopping vertical. * - * Value: "HOTEL" + * Value: "SHOPPING" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Hotel; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Vertical_Shopping; /** - * Local ads campaigns. + * Used for return value only. Represents value unknown in this version. * - * Value: "LOCAL" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Local; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Vertical_Unknown; /** - * Local services campaigns. + * Not specified. * - * Value: "LOCAL_SERVICES" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_LocalServices; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Vertical_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset.status + /** - * App Campaigns, and App Campaigns for Engagement, that run across multiple - * channels. + * The asset set asset is enabled. * - * Value: "MULTI_CHANNEL" + * Value: "ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_MultiChannel; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset_Status_Enabled; /** - * Performance Max campaigns. + * The asset set asset is removed. * - * Value: "PERFORMANCE_MAX" + * Value: "REMOVED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_PerformanceMax; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset_Status_Removed; /** - * Search Network. Includes display bundled, and Search+ campaigns. + * The received value is not known in this version. This is a response-only + * value. * - * Value: "SEARCH" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Search; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset_Status_Unknown; /** - * Shopping campaigns serve on the shopping property and on google.com search - * results. + * The status has not been specified. * - * Value: "SHOPPING" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Shopping; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy.status + /** - * Smart campaigns. + * The bidding strategy is enabled. * - * Value: "SMART" + * Value: "ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Smart; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Status_Enabled; /** - * Travel campaigns. + * The bidding strategy is removed. * - * Value: "TRAVEL" + * Value: "REMOVED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Travel; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Status_Removed; /** - * Used for return value only. Represents value unknown in this version. + * The received value is not known in this version. This is a response-only + * value. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Status_Unknown; /** - * Not specified. + * No value has been specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Unspecified; -/** - * Video campaigns. - * - * Value: "VIDEO" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Video; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Status_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.biddingStrategySystemStatus +// GTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy.type /** - * The bid strategy is active, and AdWords cannot find any specific issues with - * the strategy. + * Commission is an automatic bidding strategy in which the advertiser pays a + * certain portion of the conversion value. * - * Value: "ENABLED" + * Value: "COMMISSION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_Enabled; -/** - * The bid strategy is learning because of a recent budget change. - * - * Value: "LEARNING_BUDGET_CHANGE" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LearningBudgetChange; -/** - * The bid strategy is learning because of recent change in number of - * campaigns, ad groups or keywords attached to it. - * - * Value: "LEARNING_COMPOSITION_CHANGE" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LearningCompositionChange; -/** - * The bid strategy depends on conversion reporting and the customer recently - * changed their conversion settings. - * - * Value: "LEARNING_CONVERSION_SETTING_CHANGE" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LearningConversionSettingChange; -/** - * The bid strategy depends on conversion reporting and the customer recently - * modified conversion types that were relevant to the bid strategy. - * - * Value: "LEARNING_CONVERSION_TYPE_CHANGE" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LearningConversionTypeChange; -/** - * The bid strategy is learning because it has been recently created or - * recently reactivated. - * - * Value: "LEARNING_NEW" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LearningNew; -/** - * The bid strategy is learning because of a recent setting change. - * - * Value: "LEARNING_SETTING_CHANGE" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LearningSettingChange; -/** - * A significant fraction of keywords in this bid strategy are limited by - * budget. - * - * Value: "LIMITED_BY_BUDGET" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByBudget; -/** - * The bid strategy is limited by its bid ceiling. - * - * Value: "LIMITED_BY_CPC_BID_CEILING" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByCpcBidCeiling; -/** - * The bid strategy is limited by its bid floor. - * - * Value: "LIMITED_BY_CPC_BID_FLOOR" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByCpcBidFloor; -/** - * The bid strategy is limited because there was not enough conversion traffic - * over the past weeks. - * - * Value: "LIMITED_BY_DATA" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByData; -/** - * The bid strategy cannot fully spend its budget because of narrow targeting. - * - * Value: "LIMITED_BY_INVENTORY" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByInventory; -/** - * The bid strategy cannot reach its target spend because its spend has been - * de-prioritized. - * - * Value: "LIMITED_BY_LOW_PRIORITY_SPEND" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByLowPrioritySpend; -/** - * A significant fraction of keywords in this bid strategy have a low Quality - * Score. - * - * Value: "LIMITED_BY_LOW_QUALITY" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByLowQuality; -/** - * The bid strategy depends on conversion reporting and the customer's - * conversion settings are misconfigured. - * - * Value: "MISCONFIGURED_CONVERSION_SETTINGS" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MisconfiguredConversionSettings; -/** - * The bid strategy depends on conversion reporting and the customer is lacking - * conversion types that might be reported against this strategy. - * - * Value: "MISCONFIGURED_CONVERSION_TYPES" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MisconfiguredConversionTypes; -/** - * There are campaigns outside the bid strategy that share budgets with - * campaigns included in the strategy. - * - * Value: "MISCONFIGURED_SHARED_BUDGET" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MisconfiguredSharedBudget; -/** - * The campaign has an invalid strategy type and is not serving. - * - * Value: "MISCONFIGURED_STRATEGY_TYPE" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MisconfiguredStrategyType; -/** - * Missing conversion tracking (no pings present) and/or remarketing lists for - * SSC. - * - * Value: "MISCONFIGURED_ZERO_ELIGIBILITY" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MisconfiguredZeroEligibility; -/** - * There were multiple system statuses for this bid strategy during the time in - * question. - * - * Value: "MULTIPLE" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_Multiple; -/** - * There were multiple LEARNING_* system statuses for this bid strategy during - * the time in question. - * - * Value: "MULTIPLE_LEARNING" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MultipleLearning; -/** - * There were multiple LIMITED_* system statuses for this bid strategy during - * the time in question. - * - * Value: "MULTIPLE_LIMITED" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MultipleLimited; -/** - * There were multiple MISCONFIGURED_* system statuses for this bid strategy - * during the time in question. - * - * Value: "MULTIPLE_MISCONFIGURED" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MultipleMisconfigured; -/** - * The bid strategy is not active. Either there are no active campaigns, ad - * groups or keywords attached to the bid strategy. Or there are no active - * budgets connected to the bid strategy. - * - * Value: "PAUSED" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_Paused; -/** - * This bid strategy currently does not support status reporting. - * - * Value: "UNAVAILABLE" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_Unavailable; -/** - * Used for return value only. Represents value unknown in this version. - * - * Value: "UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_Unknown; -/** - * Signals that an unexpected error occurred, for example, no bidding strategy - * type was found, or no status information was found. - * - * Value: "UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.biddingStrategyType - -/** - * Commission is an automatic bidding strategy in which the advertiser pays a - * certain portion of the conversion value. - * - * Value: "COMMISSION" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_Commission; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_Commission; /** * Enhanced CPC is a bidding strategy that raises bids for clicks that seem * more likely to lead to a conversion and lowers them for clicks where they @@ -4384,7 +4714,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCa * * Value: "ENHANCED_CPC" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_EnhancedCpc; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_EnhancedCpc; /** * Used for return value only. Indicates that a campaign does not have a * bidding strategy. This prevents the campaign from serving. For example, a @@ -4395,46 +4725,46 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCa * * Value: "INVALID" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_Invalid; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_Invalid; /** * Manual bidding strategy that allows advertiser to set the bid per * advertiser-specified action. * * Value: "MANUAL_CPA" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_ManualCpa; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_ManualCpa; /** * Manual click based bidding where user pays per click. * * Value: "MANUAL_CPC" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_ManualCpc; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_ManualCpc; /** * Manual impression based bidding where user pays per thousand impressions. * * Value: "MANUAL_CPM" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_ManualCpm; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_ManualCpm; /** * A bidding strategy that pays a configurable amount per video view. * * Value: "MANUAL_CPV" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_ManualCpv; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_ManualCpv; /** * A bidding strategy that automatically maximizes number of conversions given * a daily budget. * * Value: "MAXIMIZE_CONVERSIONS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_MaximizeConversions; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_MaximizeConversions; /** * An automated bidding strategy that automatically sets bids to maximize * revenue while spending your budget. * * Value: "MAXIMIZE_CONVERSION_VALUE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_MaximizeConversionValue; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_MaximizeConversionValue; /** * Page-One Promoted bidding scheme, which sets max cpc bids to target * impressions on page one or page one promoted slots on google.com. This enum @@ -4442,21 +4772,21 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCa * * Value: "PAGE_ONE_PROMOTED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_PageOnePromoted; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_PageOnePromoted; /** * Percent Cpc is bidding strategy where bids are a fraction of the advertised * price for some good or service. * * Value: "PERCENT_CPC" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_PercentCpc; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_PercentCpc; /** * Target CPA is an automated bid strategy that sets bids to help get as many * conversions as possible at the target cost-per-acquisition (CPA) you set. * * Value: "TARGET_CPA" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_TargetCpa; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_TargetCpa; /** * Target CPM is an automated bid strategy that sets bids to help get as many * impressions as possible at the target cost per one thousand impressions @@ -4464,7 +4794,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCa * * Value: "TARGET_CPM" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_TargetCpm; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_TargetCpm; /** * An automated bidding strategy that sets bids so that a certain percentage of * search ads are shown at the top of the first page (or other targeted @@ -4472,7 +4802,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCa * * Value: "TARGET_IMPRESSION_SHARE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_TargetImpressionShare; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_TargetImpressionShare; /** * Target Outrank Share is an automated bidding strategy that sets bids based * on the target fraction of auctions where the advertiser should outrank a @@ -4480,3305 +4810,5213 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCa * * Value: "TARGET_OUTRANK_SHARE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_TargetOutrankShare; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_TargetOutrankShare; /** * Target ROAS is an automated bidding strategy that helps you maximize revenue * while averaging a specific target Return On Average Spend (ROAS). * * Value: "TARGET_ROAS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_TargetRoas; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_TargetRoas; /** * Target Spend is an automated bid strategy that sets your bids to help get as * many clicks as possible within your budget. * * Value: "TARGET_SPEND" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_TargetSpend; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_TargetSpend; /** * Used for return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_Unknown; /** * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy_Type_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.excludedParentAssetFieldTypes +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.adServingOptimizationStatus /** - * The asset is linked for use to select an ad image. + * Ad serving is optimized based on CTR * Conversion for the campaign. If the + * campaign is not in the conversion optimizer bidding strategy, it will + * default to OPTIMIZED. * - * Value: "AD_IMAGE" + * Value: "CONVERSION_OPTIMIZE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_AdImage; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_ConversionOptimize; /** - * The asset is linked to indicate that a hotels campaign is "Book on Google" - * enabled. + * Ad serving is optimized based on CTR for the campaign. * - * Value: "BOOK_ON_GOOGLE" + * Value: "OPTIMIZE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_BookOnGoogle; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_Optimize; /** - * The asset is linked for use as a business logo. + * Ads are rotated evenly for 90 days, then optimized for clicks. * - * Value: "BUSINESS_LOGO" + * Value: "ROTATE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_BusinessLogo; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_Rotate; /** - * The asset is linked for use as a business name. + * Show lower performing ads more evenly with higher performing ads, and do not + * optimize. * - * Value: "BUSINESS_NAME" + * Value: "ROTATE_INDEFINITELY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_BusinessName; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_RotateIndefinitely; /** - * The asset is linked for use as a Call extension. + * Ad serving optimization status is not available. * - * Value: "CALL" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Call; -/** - * The asset is linked for use as a Callout extension. - * - * Value: "CALLOUT" + * Value: "UNAVAILABLE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Callout; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_Unavailable; /** - * The asset is linked for use to select a call-to-action. + * The received value is not known in this version. This is a response-only + * value. * - * Value: "CALL_TO_ACTION_SELECTION" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_CallToActionSelection; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_Unknown; /** - * The asset is linked for use as a description. + * No value has been specified. * - * Value: "DESCRIPTION" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Description; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdServingOptimizationStatus_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.advertisingChannelSubType + /** - * The asset is linked for use as a headline. + * App Campaign that lets you easily promote your Android or iOS app across + * Google's top properties including Search, Play, YouTube, and the Google + * Display Network. * - * Value: "HEADLINE" + * Value: "APP_CAMPAIGN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Headline; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_AppCampaign; /** - * The asset is linked for use as a Hotel Callout extension. + * App Campaign for engagement, focused on driving re-engagement with the app + * across several of Google's top properties including Search, YouTube, and the + * Google Display Network. * - * Value: "HOTEL_CALLOUT" + * Value: "APP_CAMPAIGN_FOR_ENGAGEMENT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_HotelCallout; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_AppCampaignForEngagement; /** - * The asset is linked for use as a hotel property in a Performance Max for - * travel goals campaign. + * App Campaign for pre registration, specialized for advertising mobile app + * pre-registration, that targets multiple advertising channels across Google + * Play, YouTube and Display Network. * - * Value: "HOTEL_PROPERTY" + * Value: "APP_CAMPAIGN_FOR_PRE_REGISTRATION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_HotelProperty; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_AppCampaignForPreRegistration; /** - * The asset is linked for use as a landscape logo. + * AdWords Express campaigns for display. * - * Value: "LANDSCAPE_LOGO" + * Value: "DISPLAY_EXPRESS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_LandscapeLogo; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_DisplayExpress; /** - * The asset is linked for use as a Lead Form extension. + * Gmail Ad campaigns. * - * Value: "LEAD_FORM" + * Value: "DISPLAY_GMAIL_AD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_LeadForm; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_DisplayGmailAd; /** - * The asset is linked for use as a logo. + * Mobile app campaigns for Display. * - * Value: "LOGO" + * Value: "DISPLAY_MOBILE_APP" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Logo; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_DisplayMobileApp; /** - * The asset is linked for use as a long headline. + * Smart display campaigns. New campaigns of this sub type cannot be created. * - * Value: "LONG_HEADLINE" + * Value: "DISPLAY_SMART_CAMPAIGN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_LongHeadline; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_DisplaySmartCampaign; /** - * The asset is linked for use as mandatory ad text. + * Campaigns specialized for local advertising. * - * Value: "MANDATORY_AD_TEXT" + * Value: "LOCAL_CAMPAIGN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_MandatoryAdText; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_LocalCampaign; /** - * The asset is linked for use as a marketing image. + * AdWords express campaigns for search. * - * Value: "MARKETING_IMAGE" + * Value: "SEARCH_EXPRESS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_MarketingImage; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_SearchExpress; /** - * The asset is linked for use as a media bundle. + * Mobile app campaigns for Search. * - * Value: "MEDIA_BUNDLE" + * Value: "SEARCH_MOBILE_APP" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_MediaBundle; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_SearchMobileApp; /** - * The asset is linked for use as a Mobile App extension. + * Shopping Comparison Listing campaigns. * - * Value: "MOBILE_APP" + * Value: "SHOPPING_COMPARISON_LISTING_ADS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_MobileApp; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_ShoppingComparisonListingAds; /** - * The asset is linked for use as a portrait marketing image. + * Smart Shopping campaigns. * - * Value: "PORTRAIT_MARKETING_IMAGE" + * Value: "SHOPPING_SMART_ADS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_PortraitMarketingImage; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_ShoppingSmartAds; /** - * The asset is linked for use as a Price extension. + * Standard Smart campaigns. * - * Value: "PRICE" + * Value: "SMART_CAMPAIGN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Price; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_SmartCampaign; /** - * The asset is linked for use as a Promotion extension. + * Travel Activities campaigns. * - * Value: "PROMOTION" + * Value: "TRAVEL_ACTIVITIES" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Promotion; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_TravelActivities; /** - * The asset is linked for use as a Sitelink. + * Used as a return value only. Represents value unknown in this version. * - * Value: "SITELINK" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Sitelink; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_Unknown; /** - * The asset is linked for use as a square marketing image. + * Not specified. * - * Value: "SQUARE_MARKETING_IMAGE" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_SquareMarketingImage; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_Unspecified; /** - * The asset is linked for use as a Structured Snippet extension. + * Video TrueView for Action campaigns. * - * Value: "STRUCTURED_SNIPPET" + * Value: "VIDEO_ACTION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_StructuredSnippet; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_VideoAction; /** - * Used for return value only. Represents value unknown in this version. + * Video campaigns with non-skippable video ads. * - * Value: "UNKNOWN" + * Value: "VIDEO_NON_SKIPPABLE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_VideoNonSkippable; /** - * Not specified. + * Video Outstream campaigns. * - * Value: "UNSPECIFIED" + * Value: "VIDEO_OUTSTREAM" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_VideoOutstream; /** - * The asset is linked for use as a non YouTube logo. + * Video reach campaign with Target Frequency bidding strategy. * - * Value: "VIDEO" + * Value: "VIDEO_REACH_TARGET_FREQUENCY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Video; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_VideoReachTargetFrequency; /** - * The asset is linked for use as a YouTube video. + * Video campaigns with sequence video ads. * - * Value: "YOUTUBE_VIDEO" + * Value: "VIDEO_SEQUENCE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_YoutubeVideo; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelSubType_VideoSequence; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.servingStatus +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.advertisingChannelType /** - * Ended. + * Discovery campaigns. * - * Value: "ENDED" + * Value: "DISCOVERY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_Ended; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Discovery; /** - * None. + * Google Display Network only. * - * Value: "NONE" + * Value: "DISPLAY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_None; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Display; /** - * Pending. + * Hotel Ads campaigns. * - * Value: "PENDING" + * Value: "HOTEL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_Pending; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Hotel; /** - * Serving. + * Local ads campaigns. * - * Value: "SERVING" + * Value: "LOCAL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_Serving; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Local; /** - * Suspended. + * Local services campaigns. * - * Value: "SUSPENDED" + * Value: "LOCAL_SERVICES" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_Suspended; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_LocalServices; /** - * The received value is not known in this version. This is a response-only - * value. + * App Campaigns, and App Campaigns for Engagement, that run across multiple + * channels. * - * Value: "UNKNOWN" + * Value: "MULTI_CHANNEL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_MultiChannel; /** - * No value has been specified. + * Performance Max campaigns. * - * Value: "UNSPECIFIED" + * Value: "PERFORMANCE_MAX" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.status - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_PerformanceMax; /** - * Campaign is active and can show ads. + * Search Network. Includes display bundled, and Search+ campaigns. * - * Value: "ENABLED" + * Value: "SEARCH" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_Status_Enabled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Search; /** - * Campaign has been paused by the user. + * Shopping campaigns serve on the shopping property and on google.com search + * results. * - * Value: "PAUSED" + * Value: "SHOPPING" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_Status_Paused; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Shopping; /** - * Campaign has been removed. + * Smart campaigns. * - * Value: "REMOVED" + * Value: "SMART" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_Status_Removed; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Smart; +/** + * Travel campaigns. + * + * Value: "TRAVEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Travel; /** * Used for return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Unknown; /** * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_Status_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Unspecified; +/** + * Video campaigns. + * + * Value: "VIDEO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_AdvertisingChannelType_Video; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAsset.status +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.biddingStrategySystemStatus /** - * Asset link is enabled. + * The bid strategy is active, and AdWords cannot find any specific issues with + * the strategy. * * Value: "ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAsset_Status_Enabled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_Enabled; /** - * Asset link is paused. + * The bid strategy is learning because of a recent budget change. * - * Value: "PAUSED" + * Value: "LEARNING_BUDGET_CHANGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAsset_Status_Paused; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LearningBudgetChange; /** - * Asset link has been removed. + * The bid strategy is learning because of recent change in number of + * campaigns, ad groups or keywords attached to it. * - * Value: "REMOVED" + * Value: "LEARNING_COMPOSITION_CHANGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAsset_Status_Removed; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LearningCompositionChange; /** - * Used for return value only. Represents value unknown in this version. + * The bid strategy depends on conversion reporting and the customer recently + * changed their conversion settings. * - * Value: "UNKNOWN" + * Value: "LEARNING_CONVERSION_SETTING_CHANGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAsset_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LearningConversionSettingChange; /** - * Not specified. + * The bid strategy depends on conversion reporting and the customer recently + * modified conversion types that were relevant to the bid strategy. * - * Value: "UNSPECIFIED" + * Value: "LEARNING_CONVERSION_TYPE_CHANGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAsset_Status_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAssetSet.status - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LearningConversionTypeChange; /** - * The linkage between asset set and its container is enabled. + * The bid strategy is learning because it has been recently created or + * recently reactivated. * - * Value: "ENABLED" + * Value: "LEARNING_NEW" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAssetSet_Status_Enabled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LearningNew; /** - * The linkage between asset set and its container is removed. + * The bid strategy is learning because of a recent setting change. * - * Value: "REMOVED" + * Value: "LEARNING_SETTING_CHANGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAssetSet_Status_Removed; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LearningSettingChange; /** - * The received value is not known in this version. This is a response-only - * value. + * A significant fraction of keywords in this bid strategy are limited by + * budget. * - * Value: "UNKNOWN" + * Value: "LIMITED_BY_BUDGET" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAssetSet_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByBudget; /** - * The status has not been specified. + * The bid strategy is limited by its bid ceiling. * - * Value: "UNSPECIFIED" + * Value: "LIMITED_BY_CPC_BID_CEILING" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAssetSet_Status_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget.deliveryMethod - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByCpcBidCeiling; /** - * The budget server will not throttle serving, and ads will serve as fast as - * possible. + * The bid strategy is limited by its bid floor. * - * Value: "ACCELERATED" + * Value: "LIMITED_BY_CPC_BID_FLOOR" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_DeliveryMethod_Accelerated; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByCpcBidFloor; /** - * The budget server will throttle serving evenly across the entire time - * period. + * The bid strategy is limited because there was not enough conversion traffic + * over the past weeks. * - * Value: "STANDARD" + * Value: "LIMITED_BY_DATA" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_DeliveryMethod_Standard; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByData; /** - * Used for return value only. Represents value unknown in this version. + * The bid strategy cannot fully spend its budget because of narrow targeting. * - * Value: "UNKNOWN" + * Value: "LIMITED_BY_INVENTORY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_DeliveryMethod_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByInventory; /** - * Not specified. + * The bid strategy cannot reach its target spend because its spend has been + * de-prioritized. * - * Value: "UNSPECIFIED" + * Value: "LIMITED_BY_LOW_PRIORITY_SPEND" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_DeliveryMethod_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget.period - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByLowPrioritySpend; /** - * Custom budget, added back in V5. Custom bugdet can be used with total_amount - * to specify lifetime budget limit. + * A significant fraction of keywords in this bid strategy have a low Quality + * Score. * - * Value: "CUSTOM_PERIOD" + * Value: "LIMITED_BY_LOW_QUALITY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_Period_CustomPeriod; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_LimitedByLowQuality; /** - * Daily budget. + * The bid strategy depends on conversion reporting and the customer's + * conversion settings are misconfigured. * - * Value: "DAILY" + * Value: "MISCONFIGURED_CONVERSION_SETTINGS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_Period_Daily; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MisconfiguredConversionSettings; /** - * Fixed daily budget. + * The bid strategy depends on conversion reporting and the customer is lacking + * conversion types that might be reported against this strategy. * - * Value: "FIXED_DAILY" + * Value: "MISCONFIGURED_CONVERSION_TYPES" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_Period_FixedDaily; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MisconfiguredConversionTypes; /** - * Used for return value only. Represents value unknown in this version. + * There are campaigns outside the bid strategy that share budgets with + * campaigns included in the strategy. * - * Value: "UNKNOWN" + * Value: "MISCONFIGURED_SHARED_BUDGET" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_Period_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MisconfiguredSharedBudget; /** - * Not specified. + * The campaign has an invalid strategy type and is not serving. * - * Value: "UNSPECIFIED" + * Value: "MISCONFIGURED_STRATEGY_TYPE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_Period_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion.status - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MisconfiguredStrategyType; /** - * The campaign criterion is enabled. + * Missing conversion tracking (no pings present) and/or remarketing lists for + * SSC. * - * Value: "ENABLED" + * Value: "MISCONFIGURED_ZERO_ELIGIBILITY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Status_Enabled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MisconfiguredZeroEligibility; /** - * The campaign criterion is paused. + * There were multiple system statuses for this bid strategy during the time in + * question. * - * Value: "PAUSED" + * Value: "MULTIPLE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Status_Paused; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_Multiple; /** - * The campaign criterion is removed. + * There were multiple LEARNING_* system statuses for this bid strategy during + * the time in question. * - * Value: "REMOVED" + * Value: "MULTIPLE_LEARNING" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Status_Removed; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MultipleLearning; /** - * The received value is not known in this version. This is a response-only - * value. + * There were multiple LIMITED_* system statuses for this bid strategy during + * the time in question. * - * Value: "UNKNOWN" + * Value: "MULTIPLE_LIMITED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MultipleLimited; /** - * No value has been specified. + * There were multiple MISCONFIGURED_* system statuses for this bid strategy + * during the time in question. * - * Value: "UNSPECIFIED" + * Value: "MULTIPLE_MISCONFIGURED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Status_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion.type - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_MultipleMisconfigured; /** - * Ad Schedule. + * The bid strategy is not active. Either there are no active campaigns, ad + * groups or keywords attached to the bid strategy. Or there are no active + * budgets connected to the bid strategy. * - * Value: "AD_SCHEDULE" + * Value: "PAUSED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_AdSchedule; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_Paused; /** - * Age range. + * This bid strategy currently does not support status reporting. * - * Value: "AGE_RANGE" + * Value: "UNAVAILABLE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_AgeRange; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_Unavailable; /** - * App payment model. + * Used for return value only. Represents value unknown in this version. * - * Value: "APP_PAYMENT_MODEL" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_AppPaymentModel; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_Unknown; /** - * Audience + * Signals that an unexpected error occurred, for example, no bidding strategy + * type was found, or no status information was found. * - * Value: "AUDIENCE" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Audience; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategySystemStatus_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.biddingStrategyType + /** - * Brand + * Commission is an automatic bidding strategy in which the advertiser pays a + * certain portion of the conversion value. * - * Value: "BRAND" + * Value: "COMMISSION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Brand; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_Commission; /** - * Brand List + * Enhanced CPC is a bidding strategy that raises bids for clicks that seem + * more likely to lead to a conversion and lowers them for clicks where they + * seem less likely. * - * Value: "BRAND_LIST" + * Value: "ENHANCED_CPC" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_BrandList; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_EnhancedCpc; /** - * Carrier. + * Used for return value only. Indicates that a campaign does not have a + * bidding strategy. This prevents the campaign from serving. For example, a + * campaign may be attached to a manager bidding strategy and the serving + * account is subsequently unlinked from the manager account. In this case the + * campaign will automatically be detached from the now inaccessible manager + * bidding strategy and transition to the INVALID bidding strategy type. * - * Value: "CARRIER" + * Value: "INVALID" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Carrier; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_Invalid; /** - * Combined audience + * Manual bidding strategy that allows advertiser to set the bid per + * advertiser-specified action. * - * Value: "COMBINED_AUDIENCE" + * Value: "MANUAL_CPA" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_CombinedAudience; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_ManualCpa; /** - * Content Label for category exclusion. + * Manual click based bidding where user pays per click. * - * Value: "CONTENT_LABEL" + * Value: "MANUAL_CPC" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_ContentLabel; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_ManualCpc; /** - * Custom affinity. + * Manual impression based bidding where user pays per thousand impressions. * - * Value: "CUSTOM_AFFINITY" + * Value: "MANUAL_CPM" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_CustomAffinity; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_ManualCpm; /** - * Custom audience + * A bidding strategy that pays a configurable amount per video view. * - * Value: "CUSTOM_AUDIENCE" + * Value: "MANUAL_CPV" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_CustomAudience; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_ManualCpv; /** - * Custom intent. + * A bidding strategy that automatically maximizes number of conversions given + * a daily budget. * - * Value: "CUSTOM_INTENT" + * Value: "MAXIMIZE_CONVERSIONS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_CustomIntent; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_MaximizeConversions; /** - * Devices to target. + * An automated bidding strategy that automatically sets bids to maximize + * revenue while spending your budget. * - * Value: "DEVICE" + * Value: "MAXIMIZE_CONVERSION_VALUE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Device; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_MaximizeConversionValue; /** - * Gender. + * Page-One Promoted bidding scheme, which sets max cpc bids to target + * impressions on page one or page one promoted slots on google.com. This enum + * value is deprecated. * - * Value: "GENDER" + * Value: "PAGE_ONE_PROMOTED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Gender; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_PageOnePromoted; /** - * Income Range. + * Percent Cpc is bidding strategy where bids are a fraction of the advertised + * price for some good or service. * - * Value: "INCOME_RANGE" + * Value: "PERCENT_CPC" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_IncomeRange; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_PercentCpc; /** - * IpBlock. + * Target CPA is an automated bid strategy that sets bids to help get as many + * conversions as possible at the target cost-per-acquisition (CPA) you set. * - * Value: "IP_BLOCK" + * Value: "TARGET_CPA" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_IpBlock; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_TargetCpa; /** - * Keyword, for example, 'mars cruise'. + * Target CPM is an automated bid strategy that sets bids to help get as many + * impressions as possible at the target cost per one thousand impressions + * (CPM) you set. * - * Value: "KEYWORD" + * Value: "TARGET_CPM" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Keyword; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_TargetCpm; /** - * Smart Campaign keyword theme + * An automated bidding strategy that sets bids so that a certain percentage of + * search ads are shown at the top of the first page (or other targeted + * location). * - * Value: "KEYWORD_THEME" + * Value: "TARGET_IMPRESSION_SHARE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_KeywordTheme; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_TargetImpressionShare; /** - * Language. + * Target Outrank Share is an automated bidding strategy that sets bids based + * on the target fraction of auctions where the advertiser should outrank a + * specific competitor. This enum value is deprecated. * - * Value: "LANGUAGE" + * Value: "TARGET_OUTRANK_SHARE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Language; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_TargetOutrankShare; /** - * Listing groups to target. + * Target ROAS is an automated bidding strategy that helps you maximize revenue + * while averaging a specific target Return On Average Spend (ROAS). * - * Value: "LISTING_GROUP" + * Value: "TARGET_ROAS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_ListingGroup; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_TargetRoas; /** - * Listing scope to target. + * Target Spend is an automated bid strategy that sets your bids to help get as + * many clicks as possible within your budget. * - * Value: "LISTING_SCOPE" + * Value: "TARGET_SPEND" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_ListingScope; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_TargetSpend; /** - * Local Services Ads Service ID. + * Used for return value only. Represents value unknown in this version. * - * Value: "LOCAL_SERVICE_ID" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_LocalServiceId; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_Unknown; /** - * Locations to target. + * Not specified. * - * Value: "LOCATION" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Location; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_BiddingStrategyType_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.excludedParentAssetFieldTypes + /** - * Location group. + * The asset is linked for use to select an ad image. * - * Value: "LOCATION_GROUP" + * Value: "AD_IMAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_LocationGroup; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_AdImage; /** - * Mobile application categories to target. + * The asset is linked to indicate that a hotels campaign is "Book on Google" + * enabled. * - * Value: "MOBILE_APP_CATEGORY" + * Value: "BOOK_ON_GOOGLE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_MobileAppCategory; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_BookOnGoogle; /** - * Mobile applications to target. + * The asset is linked for use as a business logo. * - * Value: "MOBILE_APPLICATION" + * Value: "BUSINESS_LOGO" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_MobileApplication; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_BusinessLogo; /** - * Mobile device. + * The asset is linked for use as a business name. * - * Value: "MOBILE_DEVICE" + * Value: "BUSINESS_NAME" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_MobileDevice; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_BusinessName; /** - * Operating system version. + * The asset is linked for use as a Call extension. * - * Value: "OPERATING_SYSTEM_VERSION" + * Value: "CALL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_OperatingSystemVersion; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Call; /** - * Parental status. + * The asset is linked for use as a Callout extension. * - * Value: "PARENTAL_STATUS" + * Value: "CALLOUT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_ParentalStatus; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Callout; /** - * Placement, also known as Website, for example, 'www.flowers4sale.com' + * The asset is linked for use to select a call-to-action. * - * Value: "PLACEMENT" + * Value: "CALL_TO_ACTION_SELECTION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Placement; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_CallToActionSelection; /** - * Proximity. + * The asset is linked for use as a description. * - * Value: "PROXIMITY" + * Value: "DESCRIPTION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Proximity; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Description; /** - * A topic target on the display network (for example, "Pets & Animals"). + * The asset is linked for use as a headline. * - * Value: "TOPIC" + * Value: "HEADLINE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Topic; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Headline; /** - * Used for return value only. Represents value unknown in this version. + * The asset is linked for use as a Hotel Callout extension. * - * Value: "UNKNOWN" + * Value: "HOTEL_CALLOUT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_HotelCallout; /** - * Not specified. + * The asset is linked for use as a hotel property in a Performance Max for + * travel goals campaign. * - * Value: "UNSPECIFIED" + * Value: "HOTEL_PROPERTY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_HotelProperty; /** - * A category the user is interested in. + * The asset is linked for use as a landscape logo. * - * Value: "USER_INTEREST" + * Value: "LANDSCAPE_LOGO" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_UserInterest; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_LandscapeLogo; /** - * User list. + * The asset is linked for use as a Lead Form extension. * - * Value: "USER_LIST" + * Value: "LEAD_FORM" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_UserList; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_LeadForm; /** - * Webpage criterion for dynamic search ads. + * The asset is linked for use as a logo. * - * Value: "WEBPAGE" + * Value: "LOGO" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Webpage; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Logo; /** - * YouTube Channel. + * The asset is linked for use as a long headline. * - * Value: "YOUTUBE_CHANNEL" + * Value: "LONG_HEADLINE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_YoutubeChannel; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_LongHeadline; /** - * YouTube Video. + * The asset is linked for use as mandatory ad text. * - * Value: "YOUTUBE_VIDEO" + * Value: "MANDATORY_AD_TEXT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_YoutubeVideo; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting.negativeGeoTargetType - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_MandatoryAdText; /** - * Specifies that a user is excluded from seeing the ad if they are in - * advertiser's excluded locations. + * The asset is linked for use as a marketing image. * - * Value: "PRESENCE" + * Value: "MARKETING_IMAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_NegativeGeoTargetType_Presence; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_MarketingImage; /** - * Specifies that a user is excluded from seeing the ad if they are in, or show - * interest in, advertiser's excluded locations. + * The asset is linked for use as a media bundle. * - * Value: "PRESENCE_OR_INTEREST" + * Value: "MEDIA_BUNDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_NegativeGeoTargetType_PresenceOrInterest; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_MediaBundle; /** - * The value is unknown in this version. + * The asset is linked for use as a Mobile App extension. * - * Value: "UNKNOWN" + * Value: "MOBILE_APP" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_NegativeGeoTargetType_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_MobileApp; /** - * Not specified. + * The asset is linked for use as a portrait marketing image. * - * Value: "UNSPECIFIED" + * Value: "PORTRAIT_MARKETING_IMAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_NegativeGeoTargetType_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting.positiveGeoTargetType - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_PortraitMarketingImage; /** - * Specifies that an ad is triggered if the user is in or regularly in - * advertiser's targeted locations. + * The asset is linked for use as a Price extension. * - * Value: "PRESENCE" + * Value: "PRICE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_PositiveGeoTargetType_Presence; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Price; /** - * Specifies that an ad is triggered if the user is in, or shows interest in, - * advertiser's targeted locations. + * The asset is linked for use as a Promotion extension. * - * Value: "PRESENCE_OR_INTEREST" + * Value: "PROMOTION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_PositiveGeoTargetType_PresenceOrInterest; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Promotion; /** - * Specifies that an ad is triggered if the user searches for advertiser's - * targeted locations. This can only be used with Search and standard Shopping - * campaigns. + * The asset is linked for use as a Sitelink. * - * Value: "SEARCH_INTEREST" + * Value: "SITELINK" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_PositiveGeoTargetType_SearchInterest; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Sitelink; /** - * The value is unknown in this version. + * The asset is linked for use as a square marketing image. + * + * Value: "SQUARE_MARKETING_IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_SquareMarketingImage; +/** + * The asset is linked for use as a Structured Snippet extension. + * + * Value: "STRUCTURED_SNIPPET" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_StructuredSnippet; +/** + * Used for return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_PositiveGeoTargetType_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Unknown; /** * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_PositiveGeoTargetType_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting.optimizationGoalTypes +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Unspecified; +/** + * The asset is linked for use as a non YouTube logo. + * + * Value: "VIDEO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_Video; +/** + * The asset is linked for use as a YouTube video. + * + * Value: "YOUTUBE_VIDEO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ExcludedParentAssetFieldTypes_YoutubeVideo; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.servingStatus /** - * Optimize for pre-registration. Pre-registration conversions are the number - * of pre-registration signups to receive a notification when the app is - * released. + * Ended. * - * Value: "APP_PRE_REGISTRATION" + * Value: "ENDED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting_OptimizationGoalTypes_AppPreRegistration; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_Ended; /** - * Optimize for call clicks. Call click conversions are times people selected - * 'Call' to contact a store after viewing an ad. + * None. * - * Value: "CALL_CLICKS" + * Value: "NONE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting_OptimizationGoalTypes_CallClicks; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_None; /** - * Optimize for driving directions. Driving directions conversions are times - * people selected 'Get directions' to navigate to a store after viewing an ad. + * Pending. * - * Value: "DRIVING_DIRECTIONS" + * Value: "PENDING" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting_OptimizationGoalTypes_DrivingDirections; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_Pending; /** - * Used as a return value only. Represents value unknown in this version. + * Serving. + * + * Value: "SERVING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_Serving; +/** + * Suspended. + * + * Value: "SUSPENDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_Suspended; +/** + * The received value is not known in this version. This is a response-only + * value. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting_OptimizationGoalTypes_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_Unknown; /** - * Not specified. + * No value has been specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting_OptimizationGoalTypes_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_ServingStatus_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction.category +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign.status /** - * The addition of items to a shopping cart or bag on an advertiser site. - * - * Value: "ADD_TO_CART" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_AddToCart; -/** - * When someone enters the checkout flow on an advertiser site. + * Campaign is active and can show ads. * - * Value: "BEGIN_CHECKOUT" + * Value: "ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_BeginCheckout; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_Status_Enabled; /** - * A booking of an appointment with an advertiser's business. + * Campaign has been paused by the user. * - * Value: "BOOK_APPOINTMENT" + * Value: "PAUSED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_BookAppointment; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_Status_Paused; /** - * A call, SMS, email, chat or other type of contact to an advertiser. + * Campaign has been removed. * - * Value: "CONTACT" + * Value: "REMOVED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Contact; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_Status_Removed; /** - * A lead conversion imported from an external source into Google Ads, that has - * further completed a chosen stage as defined by the lead gen advertiser. + * Used for return value only. Represents value unknown in this version. * - * Value: "CONVERTED_LEAD" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_ConvertedLead; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_Status_Unknown; /** - * Default category. + * Not specified. * - * Value: "DEFAULT" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Default; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaign_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAsset.status + /** - * Software download action (as for an app). + * Asset link is enabled. * - * Value: "DOWNLOAD" + * Value: "ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Download; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAsset_Status_Enabled; /** - * A website engagement event such as long site time or a Google Analytics (GA) - * Smart Goal. Intended to be used for GA, Firebase, GA Gold goal imports. + * Asset link is paused. * - * Value: "ENGAGEMENT" + * Value: "PAUSED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Engagement; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAsset_Status_Paused; /** - * A search for an advertiser's business location with intention to visit. + * Asset link has been removed. * - * Value: "GET_DIRECTIONS" + * Value: "REMOVED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_GetDirections; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAsset_Status_Removed; /** - * A lead conversion imported from an external source into Google Ads. + * Used for return value only. Represents value unknown in this version. * - * Value: "IMPORTED_LEAD" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_ImportedLead; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAsset_Status_Unknown; /** - * Lead-generating action. + * Not specified. * - * Value: "LEAD" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Lead; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAsset_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAssetSet.status + /** - * A click to an advertiser's partner's site. + * The linkage between asset set and its container is enabled. * - * Value: "OUTBOUND_CLICK" + * Value: "ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_OutboundClick; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAssetSet_Status_Enabled; /** - * User visiting a page. + * The linkage between asset set and its container is removed. * - * Value: "PAGE_VIEW" + * Value: "REMOVED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_PageView; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAssetSet_Status_Removed; /** - * A call to indicate interest in an advertiser's offering. + * The received value is not known in this version. This is a response-only + * value. * - * Value: "PHONE_CALL_LEAD" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_PhoneCallLead; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAssetSet_Status_Unknown; /** - * Purchase, sales, or "order placed" event. + * The status has not been specified. * - * Value: "PURCHASE" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Purchase; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignAssetSet_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget.deliveryMethod + /** - * A lead conversion imported from an external source into Google Ads, that has - * been further qualified by the advertiser (marketing/sales team). In the - * lead-to-sale journey, advertisers get leads, then act on them by reaching - * out to the consumer. If the consumer is interested and may end up buying - * their product, the advertiser marks such leads as "qualified leads". + * The budget server will not throttle serving, and ads will serve as fast as + * possible. * - * Value: "QUALIFIED_LEAD" + * Value: "ACCELERATED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_QualifiedLead; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_DeliveryMethod_Accelerated; /** - * A quote or price estimate request. + * The budget server will throttle serving evenly across the entire time + * period. * - * Value: "REQUEST_QUOTE" + * Value: "STANDARD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_RequestQuote; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_DeliveryMethod_Standard; /** - * Signup user action. + * Used for return value only. Represents value unknown in this version. * - * Value: "SIGNUP" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Signup; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_DeliveryMethod_Unknown; /** - * A sale occurring in a physical store. + * Not specified. * - * Value: "STORE_SALE" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_StoreSale; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_DeliveryMethod_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget.period + /** - * A visit to a physical store location. + * Custom budget can be used with total_amount to specify lifetime budget + * limit. * - * Value: "STORE_VISIT" + * Value: "CUSTOM_PERIOD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_StoreVisit; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_Period_CustomPeriod; /** - * A submission of a form on an advertiser site indicating business interest. + * Daily budget. * - * Value: "SUBMIT_LEAD_FORM" + * Value: "DAILY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_SubmitLeadForm; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_Period_Daily; /** - * The start of a paid subscription for a product or service. + * Fixed daily budget. * - * Value: "SUBSCRIBE_PAID" + * Value: "FIXED_DAILY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_SubscribePaid; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_Period_FixedDaily; /** * Used for return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_Period_Unknown; /** * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_Period_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction.status +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion.status /** - * Conversions will be recorded. + * The campaign criterion is enabled. * * Value: "ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Status_Enabled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Status_Enabled; /** - * Conversions will not be recorded and the conversion action will not appear - * in the UI. + * The campaign criterion is paused. * - * Value: "HIDDEN" + * Value: "PAUSED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Status_Hidden; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Status_Paused; /** - * Conversions will not be recorded. + * The campaign criterion is removed. * * Value: "REMOVED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Status_Removed; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Status_Removed; /** - * Used for return value only. Represents value unknown in this version. + * The received value is not known in this version. This is a response-only + * value. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Status_Unknown; /** - * Not specified. + * No value has been specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Status_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Status_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction.type +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion.type /** - * Conversions that occur when a user clicks on an ad's call extension. + * Ad Schedule. * - * Value: "AD_CALL" + * Value: "AD_SCHEDULE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_AdCall; -/** - * Conversions that occur when a user pre-registers a mobile app from the - * Google Play Store. Read only. - * - * Value: "ANDROID_APP_PRE_REGISTRATION" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_AndroidAppPreRegistration; -/** - * Conversions that track all Google Play downloads which aren't tracked by an - * app-specific type. Read only. - * - * Value: "ANDROID_INSTALLS_ALL_OTHER_APPS" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_AndroidInstallsAllOtherApps; -/** - * Conversions that occur when a user on a mobile device clicks a phone number. - * - * Value: "CLICK_TO_CALL" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ClickToCall; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_AdSchedule; /** - * Android app custom conversions tracked through Firebase. + * Age range. * - * Value: "FIREBASE_ANDROID_CUSTOM" + * Value: "AGE_RANGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FirebaseAndroidCustom; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_AgeRange; /** - * Android app first open conversions tracked through Firebase. + * App payment model. * - * Value: "FIREBASE_ANDROID_FIRST_OPEN" + * Value: "APP_PAYMENT_MODEL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FirebaseAndroidFirstOpen; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_AppPaymentModel; /** - * Android app in app purchase conversions tracked through Firebase. + * Audience * - * Value: "FIREBASE_ANDROID_IN_APP_PURCHASE" + * Value: "AUDIENCE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FirebaseAndroidInAppPurchase; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Audience; /** - * iOS app custom conversions tracked through Firebase. + * Brand * - * Value: "FIREBASE_IOS_CUSTOM" + * Value: "BRAND" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FirebaseIosCustom; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Brand; /** - * iOS app first open conversions tracked through Firebase. + * Brand List * - * Value: "FIREBASE_IOS_FIRST_OPEN" + * Value: "BRAND_LIST" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FirebaseIosFirstOpen; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_BrandList; /** - * iOS app in app purchase conversions tracked through Firebase. + * Carrier. * - * Value: "FIREBASE_IOS_IN_APP_PURCHASE" + * Value: "CARRIER" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FirebaseIosInAppPurchase; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Carrier; /** - * Floodlight activity that counts the number of times that users have visited - * a particular webpage after seeing or clicking on one of an advertiser's ads. - * Read only. + * Combined audience * - * Value: "FLOODLIGHT_ACTION" + * Value: "COMBINED_AUDIENCE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FloodlightAction; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_CombinedAudience; /** - * Floodlight activity that tracks the number of sales made or the number of - * items purchased. Can also capture the total value of each sale. Read only. + * Content Label for category exclusion. * - * Value: "FLOODLIGHT_TRANSACTION" + * Value: "CONTENT_LABEL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FloodlightTransaction; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_ContentLabel; /** - * Conversions that come from linked Google Analytics 4 custom event - * conversions. + * Custom affinity. * - * Value: "GOOGLE_ANALYTICS_4_CUSTOM" + * Value: "CUSTOM_AFFINITY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_GoogleAnalytics4Custom; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_CustomAffinity; /** - * Conversions that come from linked Google Analytics 4 purchase conversions. + * Custom audience * - * Value: "GOOGLE_ANALYTICS_4_PURCHASE" + * Value: "CUSTOM_AUDIENCE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_GoogleAnalytics4Purchase; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_CustomAudience; /** - * Conversions that track local actions from Google's products and services - * after interacting with an ad. Read only. + * Custom intent. * - * Value: "GOOGLE_HOSTED" + * Value: "CUSTOM_INTENT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_GoogleHosted; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_CustomIntent; /** - * Conversions that occur when a user downloads a mobile app from the Google - * Play Store. + * Devices to target. * - * Value: "GOOGLE_PLAY_DOWNLOAD" + * Value: "DEVICE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_GooglePlayDownload; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Device; /** - * Conversions that occur when a user makes a purchase in an app through - * Android billing. + * Gender. * - * Value: "GOOGLE_PLAY_IN_APP_PURCHASE" + * Value: "GENDER" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_GooglePlayInAppPurchase; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Gender; /** - * Conversions reported when a user submits a lead form. Read only. + * Income Range. * - * Value: "LEAD_FORM_SUBMIT" + * Value: "INCOME_RANGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_LeadFormSubmit; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_IncomeRange; /** - * Conversions that come from Salesforce. Read only. + * IpBlock. * - * Value: "SALESFORCE" + * Value: "IP_BLOCK" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_Salesforce; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_IpBlock; /** - * Conversions imported from Search Ads 360 Floodlight data. Read only. + * Keyword, for example, 'mars cruise'. * - * Value: "SEARCH_ADS_360" + * Value: "KEYWORD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_SearchAds360; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Keyword; /** - * Call conversions that occur on Smart campaign Ads without call tracking - * setup, using Smart campaign custom criteria. Read only. + * Smart Campaign keyword theme * - * Value: "SMART_CAMPAIGN_AD_CLICKS_TO_CALL" + * Value: "KEYWORD_THEME" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_SmartCampaignAdClicksToCall; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_KeywordTheme; /** - * The user clicks on a call element within Google Maps. Smart campaign only. - * Read only. + * Language. * - * Value: "SMART_CAMPAIGN_MAP_CLICKS_TO_CALL" + * Value: "LANGUAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_SmartCampaignMapClicksToCall; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Language; /** - * The user requests directions to a business location within Google Maps. - * Smart campaign only. Read only. + * Listing groups to target. * - * Value: "SMART_CAMPAIGN_MAP_DIRECTIONS" + * Value: "LISTING_GROUP" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_SmartCampaignMapDirections; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_ListingGroup; /** - * Call conversions that occur on Smart campaign Ads with call tracking setup, - * using Smart campaign custom criteria. Read only. + * Listing scope to target. * - * Value: "SMART_CAMPAIGN_TRACKED_CALLS" + * Value: "LISTING_SCOPE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_SmartCampaignTrackedCalls; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_ListingScope; /** - * Store Sales conversion based on first-party or third-party merchant data - * uploads and/or from in-store purchases using cards from payment networks. - * Only customers on the allowlist can use store sales types. Read only. + * Local Services Ads Service ID. * - * Value: "STORE_SALES" + * Value: "LOCAL_SERVICE_ID" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_StoreSales; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_LocalServiceId; /** - * Store Sales conversion based on first-party or third-party merchant data - * uploads. Only customers on the allowlist can use store sales direct upload - * types. + * Locations to target. * - * Value: "STORE_SALES_DIRECT_UPLOAD" + * Value: "LOCATION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_StoreSalesDirectUpload; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Location; /** - * Conversions that occur when a user visits an advertiser's retail store. Read - * only. + * Location group. * - * Value: "STORE_VISITS" + * Value: "LOCATION_GROUP" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_StoreVisits; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_LocationGroup; /** - * Android app custom conversions tracked through Third Party App Analytics. + * Mobile application categories to target. * - * Value: "THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM" + * Value: "MOBILE_APP_CATEGORY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ThirdPartyAppAnalyticsAndroidCustom; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_MobileAppCategory; /** - * Android app first open conversions tracked through Third Party App - * Analytics. + * Mobile applications to target. * - * Value: "THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN" + * Value: "MOBILE_APPLICATION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ThirdPartyAppAnalyticsAndroidFirstOpen; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_MobileApplication; /** - * Android app in app purchase conversions tracked through Third Party App - * Analytics. + * Mobile device. * - * Value: "THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE" + * Value: "MOBILE_DEVICE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ThirdPartyAppAnalyticsAndroidInAppPurchase; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_MobileDevice; /** - * iOS app custom conversions tracked through Third Party App Analytics. + * Operating system version. * - * Value: "THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM" + * Value: "OPERATING_SYSTEM_VERSION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ThirdPartyAppAnalyticsIosCustom; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_OperatingSystemVersion; /** - * iOS app first open conversions tracked through Third Party App Analytics. + * Parental status. * - * Value: "THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN" + * Value: "PARENTAL_STATUS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ThirdPartyAppAnalyticsIosFirstOpen; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_ParentalStatus; /** - * iOS app in app purchase conversions tracked through Third Party App - * Analytics. + * Placement, also known as Website, for example, 'www.flowers4sale.com' * - * Value: "THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE" + * Value: "PLACEMENT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ThirdPartyAppAnalyticsIosInAppPurchase; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Placement; /** - * Conversions that come from linked Universal Analytics goals. + * Proximity. * - * Value: "UNIVERSAL_ANALYTICS_GOAL" + * Value: "PROXIMITY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_UniversalAnalyticsGoal; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Proximity; /** - * Conversions that come from linked Universal Analytics transactions. + * A topic target on the display network (for example, "Pets & Animals"). * - * Value: "UNIVERSAL_ANALYTICS_TRANSACTION" + * Value: "TOPIC" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_UniversalAnalyticsTransaction; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Topic; /** * Used for return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Unknown; /** * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Unspecified; /** - * Call conversions that are tracked by the advertiser and uploaded. + * A category the user is interested in. * - * Value: "UPLOAD_CALLS" + * Value: "USER_INTEREST" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_UploadCalls; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_UserInterest; /** - * Conversions that are tracked by the advertiser and uploaded with attributed - * clicks. + * User list. * - * Value: "UPLOAD_CLICKS" + * Value: "USER_LIST" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_UploadClicks; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_UserList; /** - * Conversions that occur on a webpage. + * Webpage criterion for dynamic search ads. * * Value: "WEBPAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_Webpage; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_Webpage; /** - * Conversions created from website events (such as form submissions or page - * loads), that don't use individually coded event snippets. Read only. + * YouTube Channel. * - * Value: "WEBPAGE_CODELESS" + * Value: "YOUTUBE_CHANNEL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_WebpageCodeless; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_YoutubeChannel; /** - * Conversions that occur when a user calls a dynamically-generated phone - * number from an advertiser's website. + * YouTube Video. * - * Value: "WEBSITE_CALL" + * Value: "YOUTUBE_VIDEO" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_WebsiteCall; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignCriterion_Type_YoutubeVideo; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings.attributionModel +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting.negativeGeoTargetType /** - * Uses external attribution. + * Specifies that a user is excluded from seeing the ad if they are in + * advertiser's excluded locations. * - * Value: "EXTERNAL" + * Value: "PRESENCE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_External; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_NegativeGeoTargetType_Presence; /** - * Attributes all credit for a conversion to its last click. + * Specifies that a user is excluded from seeing the ad if they are in, or show + * interest in, advertiser's excluded locations. * - * Value: "GOOGLE_ADS_LAST_CLICK" + * Value: "PRESENCE_OR_INTEREST" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_GoogleAdsLastClick; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_NegativeGeoTargetType_PresenceOrInterest; /** - * Flexible model that uses machine learning to determine the appropriate - * distribution of credit among clicks using Google Search attribution. + * The value is unknown in this version. * - * Value: "GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_GoogleSearchAttributionDataDriven; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_NegativeGeoTargetType_Unknown; /** - * Attributes all credit for a conversion to its first click using Google - * Search attribution. + * Not specified. * - * Value: "GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_GoogleSearchAttributionFirstClick; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_NegativeGeoTargetType_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting.positiveGeoTargetType + /** - * Attributes credit for a conversion equally across all of its clicks using - * Google Search attribution. + * Specifies that an ad is triggered if the user is in or regularly in + * advertiser's targeted locations. * - * Value: "GOOGLE_SEARCH_ATTRIBUTION_LINEAR" + * Value: "PRESENCE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_GoogleSearchAttributionLinear; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_PositiveGeoTargetType_Presence; /** - * Attributes 40% of the credit for a conversion to its first and last clicks. - * Remaining 20% is evenly distributed across all other clicks. This uses - * Google Search attribution. + * Specifies that an ad is triggered if the user is in, or shows interest in, + * advertiser's targeted locations. * - * Value: "GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED" + * Value: "PRESENCE_OR_INTEREST" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_GoogleSearchAttributionPositionBased; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_PositiveGeoTargetType_PresenceOrInterest; /** - * Attributes exponentially more credit for a conversion to its more recent - * clicks using Google Search attribution (half-life is 1 week). + * Specifies that an ad is triggered if the user searches for advertiser's + * targeted locations. This can only be used with Search and standard Shopping + * campaigns. * - * Value: "GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY" + * Value: "SEARCH_INTEREST" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_GoogleSearchAttributionTimeDecay; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_PositiveGeoTargetType_SearchInterest; /** - * Used for return value only. Represents value unknown in this version. + * The value is unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_PositiveGeoTargetType_Unknown; /** * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignGeoTargetTypeSetting_PositiveGeoTargetType_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings.dataDrivenModelStatus +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting.optimizationGoalTypes /** - * The data driven model is available. - * - * Value: "AVAILABLE" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_DataDrivenModelStatus_Available; -/** - * The data driven model expired. It hasn't been updated for at least 30 days - * and cannot be used. Most commonly this is because there hasn't been the - * required number of events in a recent 30-day period. + * Optimize for pre-registration. Pre-registration conversions are the number + * of pre-registration signups to receive a notification when the app is + * released. * - * Value: "EXPIRED" + * Value: "APP_PRE_REGISTRATION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_DataDrivenModelStatus_Expired; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting_OptimizationGoalTypes_AppPreRegistration; /** - * The data driven model has never been generated. Most commonly this is - * because there has never been the required number of events in any 30-day - * period. + * Optimize for call clicks. Call click conversions are times people selected + * 'Call' to contact a store after viewing an ad. * - * Value: "NEVER_GENERATED" + * Value: "CALL_CLICKS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_DataDrivenModelStatus_NeverGenerated; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting_OptimizationGoalTypes_CallClicks; /** - * The data driven model is stale. It hasn't been updated for at least 7 days. - * It is still being used, but will become expired if it does not get updated - * for 30 days. + * Optimize for driving directions. Driving directions conversions are times + * people selected 'Get directions' to navigate to a store after viewing an ad. * - * Value: "STALE" + * Value: "DRIVING_DIRECTIONS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_DataDrivenModelStatus_Stale; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting_OptimizationGoalTypes_DrivingDirections; /** - * Used for return value only. Represents value unknown in this version. + * Used as a return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_DataDrivenModelStatus_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting_OptimizationGoalTypes_Unknown; /** * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_DataDrivenModelStatus_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignOptimizationGoalSetting_OptimizationGoalTypes_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting.conversionTrackingStatus +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversion.assetFieldType /** - * The conversion actions are created and managed by a manager different from - * the customer or manager specified in the request's `login-customer-id`. + * The asset is linked for use to select an ad image. * - * Value: "CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER" + * Value: "AD_IMAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting_ConversionTrackingStatus_ConversionTrackingManagedByAnotherManager; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_AdImage; /** - * The conversion actions are created and managed by this customer. + * The asset is linked to indicate that a hotels campaign is "Book on Google" + * enabled. * - * Value: "CONVERSION_TRACKING_MANAGED_BY_SELF" + * Value: "BOOK_ON_GOOGLE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting_ConversionTrackingStatus_ConversionTrackingManagedBySelf; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_BookOnGoogle; /** - * The conversion actions are created and managed by the manager specified in - * the request's `login-customer-id`. + * The asset is linked for use as a business logo. * - * Value: "CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER" + * Value: "BUSINESS_LOGO" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting_ConversionTrackingStatus_ConversionTrackingManagedByThisManager; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_BusinessLogo; /** - * Customer does not use any conversion tracking. + * The asset is linked for use as a business name. * - * Value: "NOT_CONVERSION_TRACKED" + * Value: "BUSINESS_NAME" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting_ConversionTrackingStatus_NotConversionTracked; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_BusinessName; /** - * Used for return value only. Represents value unknown in this version. + * The asset is linked for use as a Call extension. * - * Value: "UNKNOWN" + * Value: "CALL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting_ConversionTrackingStatus_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Call; /** - * Not specified. + * The asset is linked for use as a Callout extension. * - * Value: "UNSPECIFIED" + * Value: "CALLOUT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting_ConversionTrackingStatus_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn.valueType - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Callout; /** - * The custom column value is a boolean. + * The asset is linked for use to select a call-to-action. * - * Value: "BOOLEAN" + * Value: "CALL_TO_ACTION_SELECTION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn_ValueType_Boolean; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_CallToActionSelection; /** - * The custom column value is a double number. + * The asset is linked for use as a description. * - * Value: "DOUBLE" + * Value: "DESCRIPTION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn_ValueType_Double; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Description; /** - * The custom column value is an int64 number. + * The asset is linked for use as a headline. * - * Value: "INT64" + * Value: "HEADLINE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn_ValueType_Int64; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Headline; /** - * The custom column value is a string. + * The asset is linked for use as a Hotel Callout extension. * - * Value: "STRING" + * Value: "HOTEL_CALLOUT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn_ValueType_String; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_HotelCallout; /** - * Unknown. + * The asset is linked for use as a hotel property in a Performance Max for + * travel goals campaign. * - * Value: "UNKNOWN" + * Value: "HOTEL_PROPERTY" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn_ValueType_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_HotelProperty; /** - * Not specified. + * The asset is linked for use as a landscape logo. * - * Value: "UNSPECIFIED" + * Value: "LANDSCAPE_LOGO" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn_ValueType_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer.accountStatus - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_LandscapeLogo; /** - * Account is still in the process of setup, not ENABLED yet. + * The asset is linked for use as a Lead Form extension. * - * Value: "DRAFT" + * Value: "LEAD_FORM" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Draft; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_LeadForm; /** - * Account is able to serve ads. + * The asset is linked for use as a logo. * - * Value: "ENABLED" + * Value: "LOGO" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Enabled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Logo; /** - * Account is deactivated by the user. + * The asset is linked for use as a long headline. * - * Value: "PAUSED" + * Value: "LONG_HEADLINE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Paused; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_LongHeadline; /** - * Account is irrevocably deactivated. + * The asset is linked for use as mandatory ad text. * - * Value: "REMOVED" + * Value: "MANDATORY_AD_TEXT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Removed; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_MandatoryAdText; /** - * Account is deactivated by an internal process. + * The asset is linked for use as a marketing image. * - * Value: "SUSPENDED" + * Value: "MARKETING_IMAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Suspended; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_MarketingImage; /** - * Unknown value. + * The asset is linked for use as a media bundle. * - * Value: "UNKNOWN" + * Value: "MEDIA_BUNDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_MediaBundle; /** - * Default value. + * The asset is linked for use as a Mobile App extension. * - * Value: "UNSPECIFIED" + * Value: "MOBILE_APP" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer.accountType - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_MobileApp; /** - * Baidu account. + * The asset is linked for use as a portrait marketing image. * - * Value: "BAIDU" + * Value: "PORTRAIT_MARKETING_IMAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_Baidu; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_PortraitMarketingImage; /** - * Engine track account. + * The asset is linked for use as a Price extension. * - * Value: "ENGINE_TRACK" + * Value: "PRICE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_EngineTrack; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Price; /** - * Facebook account. + * The asset is linked for use as a Promotion extension. * - * Value: "FACEBOOK" + * Value: "PROMOTION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_Facebook; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Promotion; /** - * Facebook account managed through gateway. + * The asset is linked for use as a Sitelink. * - * Value: "FACEBOOK_GATEWAY" + * Value: "SITELINK" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_FacebookGateway; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Sitelink; /** - * Google Ads account. + * The asset is linked for use as a square marketing image. * - * Value: "GOOGLE_ADS" + * Value: "SQUARE_MARKETING_IMAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_GoogleAds; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_SquareMarketingImage; /** - * Microsoft Advertising account. + * The asset is linked for use as a Structured Snippet extension. * - * Value: "MICROSOFT" + * Value: "STRUCTURED_SNIPPET" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_Microsoft; -/** - * Search Ads 360 manager account. - * - * Value: "SEARCH_ADS_360" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_SearchAds360; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_StructuredSnippet; /** * Used for return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Unknown; /** * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Unspecified; /** - * Yahoo Japan account. + * The asset is linked for use as a non YouTube logo. * - * Value: "YAHOO_JAPAN" + * Value: "VIDEO" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_YahooJapan; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Video; +/** + * The asset is linked for use as a YouTube video. + * + * Value: "YOUTUBE_VIDEO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_YoutubeVideo; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer.status +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversion.attributionType /** - * Indicates a canceled account unable to serve ads. Can be reactivated by an - * admin user. + * The conversion is attributed to a criterion and ad pair. * - * Value: "CANCELED" + * Value: "CRITERION_AD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_Status_Canceled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AttributionType_CriterionAd; /** - * Indicates a closed account unable to serve ads. Test account will also have - * CLOSED status. Status is permanent and may not be reopened. + * Used for return value only. Represents value unknown in this version. * - * Value: "CLOSED" + * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_Status_Closed; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AttributionType_Unknown; /** - * Indicates an active account able to serve ads. + * Not specified. * - * Value: "ENABLED" + * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_Status_Enabled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AttributionType_Unspecified; /** - * Indicates a suspended account unable to serve ads. May only be activated by - * Google support. + * The conversion is attributed to a visit. * - * Value: "SUSPENDED" + * Value: "VISIT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_Status_Suspended; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AttributionType_Visit; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversion.productChannel + +/** + * The item is sold in local stores. + * + * Value: "LOCAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_ProductChannel_Local; +/** + * The item is sold online. + * + * Value: "ONLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_ProductChannel_Online; /** * Used for return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_ProductChannel_Unknown; /** * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_Status_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_ProductChannel_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAsset.status +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversion.status /** - * Asset link is enabled. + * The conversion is enabled. * * Value: "ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAsset_Status_Enabled; -/** - * Asset link is paused. - * - * Value: "PAUSED" - */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAsset_Status_Paused; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_Status_Enabled; /** - * Asset link has been removed. + * The conversion has been removed. * * Value: "REMOVED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAsset_Status_Removed; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_Status_Removed; /** * Used for return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAsset_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_Status_Unknown; /** * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAsset_Status_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_Status_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAssetSet.status +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction.category /** - * The linkage between asset set and its container is enabled. + * The addition of items to a shopping cart or bag on an advertiser site. * - * Value: "ENABLED" + * Value: "ADD_TO_CART" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAssetSet_Status_Enabled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_AddToCart; /** - * The linkage between asset set and its container is removed. + * When someone enters the checkout flow on an advertiser site. * - * Value: "REMOVED" + * Value: "BEGIN_CHECKOUT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAssetSet_Status_Removed; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_BeginCheckout; /** - * The received value is not known in this version. This is a response-only - * value. + * A booking of an appointment with an advertiser's business. * - * Value: "UNKNOWN" + * Value: "BOOK_APPOINTMENT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAssetSet_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_BookAppointment; /** - * The status has not been specified. + * A call, SMS, email, chat or other type of contact to an advertiser. * - * Value: "UNSPECIFIED" + * Value: "CONTACT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAssetSet_Status_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient.status - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Contact; /** - * Indicates a canceled account unable to serve ads. Can be reactivated by an - * admin user. + * A lead conversion imported from an external source into Google Ads, that has + * further completed a chosen stage as defined by the lead gen advertiser. * - * Value: "CANCELED" + * Value: "CONVERTED_LEAD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient_Status_Canceled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_ConvertedLead; /** - * Indicates a closed account unable to serve ads. Test account will also have - * CLOSED status. Status is permanent and may not be reopened. + * Default category. * - * Value: "CLOSED" + * Value: "DEFAULT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient_Status_Closed; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Default; /** - * Indicates an active account able to serve ads. + * Software download action (as for an app). * - * Value: "ENABLED" + * Value: "DOWNLOAD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient_Status_Enabled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Download; /** - * Indicates a suspended account unable to serve ads. May only be activated by - * Google support. + * A website engagement event such as long site time or a Google Analytics (GA) + * Smart Goal. Intended to be used for GA, Firebase, GA Gold goal imports. * - * Value: "SUSPENDED" + * Value: "ENGAGEMENT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient_Status_Suspended; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Engagement; /** - * Used for return value only. Represents value unknown in this version. + * A search for an advertiser's business location with intention to visit. * - * Value: "UNKNOWN" + * Value: "GET_DIRECTIONS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_GetDirections; /** - * Not specified. + * A lead conversion imported from an external source into Google Ads. * - * Value: "UNSPECIFIED" + * Value: "IMPORTED_LEAD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient_Status_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink.status - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_ImportedLead; /** - * Indicates current in-effect relationship + * Lead-generating action. * - * Value: "ACTIVE" + * Value: "LEAD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Active; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Lead; /** - * Indicates relationship has been requested by manager, but manager canceled - * it. + * A click to an advertiser's partner's site. * - * Value: "CANCELED" + * Value: "OUTBOUND_CLICK" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Canceled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_OutboundClick; /** - * Indicates terminated relationship + * User visiting a page. * - * Value: "INACTIVE" + * Value: "PAGE_VIEW" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Inactive; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_PageView; /** - * Indicates relationship has been requested by manager, but the client hasn't - * accepted yet. + * A call to indicate interest in an advertiser's offering. * - * Value: "PENDING" + * Value: "PHONE_CALL_LEAD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Pending; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_PhoneCallLead; /** - * Relationship was requested by the manager, but the client has refused. + * Purchase, sales, or "order placed" event. * - * Value: "REFUSED" + * Value: "PURCHASE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Refused; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Purchase; /** - * Used for return value only. Represents value unknown in this version. + * A lead conversion imported from an external source into Google Ads, that has + * been further qualified by the advertiser (marketing/sales team). In the + * lead-to-sale journey, advertisers get leads, then act on them by reaching + * out to the consumer. If the consumer is interested and may end up buying + * their product, the advertiser marks such leads as "qualified leads". * - * Value: "UNKNOWN" + * Value: "QUALIFIED_LEAD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_QualifiedLead; /** - * Not specified. + * A quote or price estimate request. * - * Value: "UNSPECIFIED" + * Value: "REQUEST_QUOTE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant.status - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_RequestQuote; /** - * The geo target constant is valid. + * Signup user action. * - * Value: "ENABLED" + * Value: "SIGNUP" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_Enabled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Signup; /** - * The geo target constant is obsolete and will be removed. + * A sale occurring in a physical store. * - * Value: "REMOVAL_PLANNED" + * Value: "STORE_SALE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_RemovalPlanned; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_StoreSale; /** - * The received value is not known in this version. This is a response-only - * value. + * A visit to a physical store location. + * + * Value: "STORE_VISIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_StoreVisit; +/** + * A submission of a form on an advertiser site indicating business interest. + * + * Value: "SUBMIT_LEAD_FORM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_SubmitLeadForm; +/** + * The start of a paid subscription for a product or service. + * + * Value: "SUBSCRIBE_PAID" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_SubscribePaid; +/** + * Used for return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Unknown; /** - * No value has been specified. + * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Category_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesLabel.status +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction.status /** - * Label is enabled. + * Conversions will be recorded. * * Value: "ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Enabled; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Status_Enabled; /** - * Label is removed. + * Conversions will not be recorded and the conversion action will not appear + * in the UI. + * + * Value: "HIDDEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Status_Hidden; +/** + * Conversions will not be recorded. * * Value: "REMOVED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Removed; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Status_Removed; /** * Used for return value only. Represents value unknown in this version. * * Value: "UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Status_Unknown; /** * Not specified. * * Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Unspecified; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Status_Unspecified; // ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field.category +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction.type /** - * The described artifact is a field and is an attribute of a resource. - * Including a resource attribute field in a query may segment the query if the - * resource to which it is attributed segments the resource found in the FROM - * clause. + * Conversions that occur when a user clicks on an ad's call extension. * - * Value: "ATTRIBUTE" + * Value: "AD_CALL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Attribute; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_AdCall; /** - * The described artifact is a field and is a metric. It never segments search - * queries. + * Conversions that occur when a user pre-registers a mobile app from the + * Google Play Store. Read only. * - * Value: "METRIC" + * Value: "ANDROID_APP_PRE_REGISTRATION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Metric; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_AndroidAppPreRegistration; /** - * The described artifact is a resource. + * Conversions that track all Google Play downloads which aren't tracked by an + * app-specific type. Read only. * - * Value: "RESOURCE" + * Value: "ANDROID_INSTALLS_ALL_OTHER_APPS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Resource; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_AndroidInstallsAllOtherApps; /** - * The described artifact is a field and always segments search queries. + * Conversions that occur when a user on a mobile device clicks a phone number. * - * Value: "SEGMENT" + * Value: "CLICK_TO_CALL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Segment; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ClickToCall; /** - * Unknown + * Android app custom conversions tracked through Firebase. * - * Value: "UNKNOWN" + * Value: "FIREBASE_ANDROID_CUSTOM" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FirebaseAndroidCustom; /** - * Unspecified + * Android app first open conversions tracked through Firebase. * - * Value: "UNSPECIFIED" + * Value: "FIREBASE_ANDROID_FIRST_OPEN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field.dataType - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FirebaseAndroidFirstOpen; /** - * Maps to google.protobuf.BoolValue Applicable operators: =, != + * Android app in app purchase conversions tracked through Firebase. * - * Value: "BOOLEAN" + * Value: "FIREBASE_ANDROID_IN_APP_PURCHASE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Boolean; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FirebaseAndroidInAppPurchase; /** - * Maps to google.protobuf.StringValue. It can be compared using the set of - * operators specific to dates however. Applicable operators: =, <, >, <=, >=, - * BETWEEN, DURING, and IN + * iOS app custom conversions tracked through Firebase. * - * Value: "DATE" + * Value: "FIREBASE_IOS_CUSTOM" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Date; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FirebaseIosCustom; /** - * Maps to google.protobuf.DoubleValue Applicable operators: =, !=, <, >, IN, - * NOT IN + * iOS app first open conversions tracked through Firebase. * - * Value: "DOUBLE" + * Value: "FIREBASE_IOS_FIRST_OPEN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Double; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FirebaseIosFirstOpen; /** - * Maps to an enum. It's specific definition can be found at type_url. - * Applicable operators: =, !=, IN, NOT IN + * iOS app in app purchase conversions tracked through Firebase. * - * Value: "ENUM" + * Value: "FIREBASE_IOS_IN_APP_PURCHASE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Enum; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FirebaseIosInAppPurchase; /** - * Maps to google.protobuf.FloatValue Applicable operators: =, !=, <, >, IN, - * NOT IN + * Floodlight activity that counts the number of times that users have visited + * a particular webpage after seeing or clicking on one of an advertiser's ads. + * Read only. * - * Value: "FLOAT" + * Value: "FLOODLIGHT_ACTION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Float; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FloodlightAction; /** - * Maps to google.protobuf.Int32Value Applicable operators: =, !=, <, >, <=, - * >=, BETWEEN, IN, NOT IN + * Floodlight activity that tracks the number of sales made or the number of + * items purchased. Can also capture the total value of each sale. Read only. * - * Value: "INT32" + * Value: "FLOODLIGHT_TRANSACTION" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Int32; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_FloodlightTransaction; /** - * Maps to google.protobuf.Int64Value Applicable operators: =, !=, <, >, <=, - * >=, BETWEEN, IN, NOT IN + * Conversions that come from linked Google Analytics 4 custom event + * conversions. * - * Value: "INT64" + * Value: "GOOGLE_ANALYTICS_4_CUSTOM" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Int64; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_GoogleAnalytics4Custom; /** - * Maps to a protocol buffer message type. The data type's details can be found - * in type_url. No operators work with MESSAGE fields. + * Conversions that come from linked Google Analytics 4 purchase conversions. * - * Value: "MESSAGE" + * Value: "GOOGLE_ANALYTICS_4_PURCHASE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Message; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_GoogleAnalytics4Purchase; /** - * Maps to google.protobuf.StringValue. Represents the resource name (unique - * id) of a resource or one of its foreign keys. No operators work with - * RESOURCE_NAME fields. + * Conversions that track local actions from Google's products and services + * after interacting with an ad. Read only. * - * Value: "RESOURCE_NAME" + * Value: "GOOGLE_HOSTED" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_ResourceName; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_GoogleHosted; /** - * Maps to google.protobuf.StringValue. Applicable operators: =, !=, LIKE, NOT - * LIKE, IN, NOT IN + * Conversions that occur when a user downloads a mobile app from the Google + * Play Store. * - * Value: "STRING" + * Value: "GOOGLE_PLAY_DOWNLOAD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_String; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_GooglePlayDownload; /** - * Maps to google.protobuf.UInt64Value Applicable operators: =, !=, <, >, <=, - * >=, BETWEEN, IN, NOT IN + * Conversions that occur when a user makes a purchase in an app through + * Android billing. * - * Value: "UINT64" + * Value: "GOOGLE_PLAY_IN_APP_PURCHASE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Uint64; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_GooglePlayInAppPurchase; /** - * Unknown + * Conversions reported when a user submits a lead form. Read only. * - * Value: "UNKNOWN" + * Value: "LEAD_FORM_SUBMIT" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_LeadFormSubmit; /** - * Unspecified + * Conversions that come from Salesforce. Read only. * - * Value: "UNSPECIFIED" + * Value: "SALESFORCE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ResourcesUserList.type - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_Salesforce; /** - * UserList of first-party CRM data provided by advertiser in the form of - * emails or other formats. + * Conversions imported from Search Ads 360 Floodlight data. Read only. * - * Value: "CRM_BASED" + * Value: "SEARCH_ADS_360" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_CrmBased; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_SearchAds360; /** - * UserList created in the Google Ad Manager platform. + * Call conversions that occur on Smart campaign Ads without call tracking + * setup, using Smart campaign custom criteria. Read only. * - * Value: "EXTERNAL_REMARKETING" + * Value: "SMART_CAMPAIGN_AD_CLICKS_TO_CALL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_ExternalRemarketing; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_SmartCampaignAdClicksToCall; /** - * UserList represented as a combination of other user lists/interests. + * The user clicks on a call element within Google Maps. Smart campaign only. + * Read only. * - * Value: "LOGICAL" + * Value: "SMART_CAMPAIGN_MAP_CLICKS_TO_CALL" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_Logical; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_SmartCampaignMapClicksToCall; /** - * UserList represented as a collection of conversion types. + * The user requests directions to a business location within Google Maps. + * Smart campaign only. Read only. * - * Value: "REMARKETING" + * Value: "SMART_CAMPAIGN_MAP_DIRECTIONS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_Remarketing; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_SmartCampaignMapDirections; /** - * UserList associated with a rule. + * Call conversions that occur on Smart campaign Ads with call tracking setup, + * using Smart campaign custom criteria. Read only. * - * Value: "RULE_BASED" + * Value: "SMART_CAMPAIGN_TRACKED_CALLS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_RuleBased; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_SmartCampaignTrackedCalls; /** - * UserList with users similar to users of another UserList. + * Store Sales conversion based on first-party or third-party merchant data + * uploads and/or from in-store purchases using cards from payment networks. + * Only customers on the allowlist can use store sales types. Read only. * - * Value: "SIMILAR" + * Value: "STORE_SALES" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_Similar; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_StoreSales; /** - * Used for return value only. Represents value unknown in this version. + * Store Sales conversion based on first-party or third-party merchant data + * uploads. Only customers on the allowlist can use store sales direct upload + * types. * - * Value: "UNKNOWN" + * Value: "STORE_SALES_DIRECT_UPLOAD" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_StoreSalesDirectUpload; /** - * Not specified. + * Conversions that occur when a user visits an advertiser's retail store. Read + * only. * - * Value: "UNSPECIFIED" + * Value: "STORE_VISITS" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_Unspecified; - -// ---------------------------------------------------------------------------- -// GTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request.summaryRowSetting - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_StoreVisits; /** - * Do not return summary row. + * Android app custom conversions tracked through Third Party App Analytics. * - * Value: "NO_SUMMARY_ROW" + * Value: "THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request_SummaryRowSetting_NoSummaryRow; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ThirdPartyAppAnalyticsAndroidCustom; /** - * Return summary row only and return no results. + * Android app first open conversions tracked through Third Party App + * Analytics. * - * Value: "SUMMARY_ROW_ONLY" + * Value: "THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request_SummaryRowSetting_SummaryRowOnly; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ThirdPartyAppAnalyticsAndroidFirstOpen; /** - * Return summary row along with results. The summary row will be returned in - * the last batch alone (last batch will contain no results). + * Android app in app purchase conversions tracked through Third Party App + * Analytics. * - * Value: "SUMMARY_ROW_WITH_RESULTS" + * Value: "THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request_SummaryRowSetting_SummaryRowWithResults; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ThirdPartyAppAnalyticsAndroidInAppPurchase; /** - * Represent unknown values of return summary row. + * iOS app custom conversions tracked through Third Party App Analytics. * - * Value: "UNKNOWN" + * Value: "THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request_SummaryRowSetting_Unknown; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ThirdPartyAppAnalyticsIosCustom; /** - * Not specified. + * iOS app first open conversions tracked through Third Party App Analytics. * - * Value: "UNSPECIFIED" + * Value: "THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN" */ -FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request_SummaryRowSetting_Unspecified; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ThirdPartyAppAnalyticsIosFirstOpen; /** - * Represents an AdSchedule criterion. AdSchedule is specified as the day of - * the week and a time interval within which ads will be shown. No more than - * six AdSchedules can be added for the same day. + * iOS app in app purchase conversions tracked through Third Party App + * Analytics. + * + * Value: "THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_ThirdPartyAppAnalyticsIosInAppPurchase; /** - * Day of the week the schedule applies to. This field is required for CREATE - * operations and is prohibited on UPDATE operations. + * Conversions that come from linked Universal Analytics goals. * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Friday - * Friday. (Value: "FRIDAY") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Monday - * Monday. (Value: "MONDAY") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Saturday - * Saturday. (Value: "SATURDAY") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Sunday - * Sunday. (Value: "SUNDAY") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Thursday - * Thursday. (Value: "THURSDAY") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Tuesday - * Tuesday. (Value: "TUESDAY") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Unknown - * The value is unknown in this version. (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Unspecified - * Not specified. (Value: "UNSPECIFIED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Wednesday - * Wednesday. (Value: "WEDNESDAY") + * Value: "UNIVERSAL_ANALYTICS_GOAL" */ -@property(nonatomic, copy, nullable) NSString *dayOfWeek; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_UniversalAnalyticsGoal; /** - * Ending hour in 24 hour time; 24 signifies end of the day. This field must be - * between 0 and 24, inclusive. This field is required for CREATE operations - * and is prohibited on UPDATE operations. + * Conversions that come from linked Universal Analytics transactions. * - * Uses NSNumber of intValue. + * Value: "UNIVERSAL_ANALYTICS_TRANSACTION" */ -@property(nonatomic, strong, nullable) NSNumber *endHour; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_UniversalAnalyticsTransaction; /** - * Minutes after the end hour at which this schedule ends. The schedule is - * exclusive of the end minute. This field is required for CREATE operations - * and is prohibited on UPDATE operations. + * Used for return value only. Represents value unknown in this version. * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_EndMinute_Fifteen - * Fifteen minutes past the hour. (Value: "FIFTEEN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_EndMinute_FortyFive - * Forty-five minutes past the hour. (Value: "FORTY_FIVE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_EndMinute_Thirty - * Thirty minutes past the hour. (Value: "THIRTY") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_EndMinute_Unknown - * The value is unknown in this version. (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_EndMinute_Unspecified - * Not specified. (Value: "UNSPECIFIED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_EndMinute_Zero - * Zero minutes past the hour. (Value: "ZERO") + * Value: "UNKNOWN" */ -@property(nonatomic, copy, nullable) NSString *endMinute; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_Unknown; /** - * Starting hour in 24 hour time. This field must be between 0 and 23, - * inclusive. This field is required for CREATE operations and is prohibited on - * UPDATE operations. + * Not specified. * - * Uses NSNumber of intValue. + * Value: "UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *startHour; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_Unspecified; /** - * Minutes after the start hour at which this schedule starts. This field is - * required for CREATE operations and is prohibited on UPDATE operations. + * Call conversions that are tracked by the advertiser and uploaded. * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_StartMinute_Fifteen - * Fifteen minutes past the hour. (Value: "FIFTEEN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_StartMinute_FortyFive - * Forty-five minutes past the hour. (Value: "FORTY_FIVE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_StartMinute_Thirty - * Thirty minutes past the hour. (Value: "THIRTY") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_StartMinute_Unknown - * The value is unknown in this version. (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_StartMinute_Unspecified - * Not specified. (Value: "UNSPECIFIED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_StartMinute_Zero - * Zero minutes past the hour. (Value: "ZERO") + * Value: "UPLOAD_CALLS" */ -@property(nonatomic, copy, nullable) NSString *startMinute; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_UploadCalls; /** - * An age range criterion. + * Conversions that are tracked by the advertiser and uploaded with attributed + * clicks. + * + * Value: "UPLOAD_CLICKS" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_UploadClicks; /** - * Type of the age range. + * Conversions that occur on a webpage. * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRange1824 - * Between 18 and 24 years old. (Value: "AGE_RANGE_18_24") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRange2534 - * Between 25 and 34 years old. (Value: "AGE_RANGE_25_34") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRange3544 - * Between 35 and 44 years old. (Value: "AGE_RANGE_35_44") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRange4554 - * Between 45 and 54 years old. (Value: "AGE_RANGE_45_54") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRange5564 - * Between 55 and 64 years old. (Value: "AGE_RANGE_55_64") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRange65Up - * 65 years old and beyond. (Value: "AGE_RANGE_65_UP") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRangeUndetermined - * Undetermined age range. (Value: "AGE_RANGE_UNDETERMINED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_Unknown - * Used for return value only. Represents value unknown in this version. - * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_Unspecified - * Not specified. (Value: "UNSPECIFIED") + * Value: "WEBPAGE" */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_Webpage; /** - * An AssetInteractionTarget segment. + * Conversions created from website events (such as form submissions or page + * loads), that don't use individually coded event snippets. Read only. + * + * Value: "WEBPAGE_CODELESS" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonAssetInteractionTarget : GTLRObject - -/** The asset resource name. */ -@property(nonatomic, copy, nullable) NSString *asset; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_WebpageCodeless; /** - * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - * Indicates whether the interaction metrics occurred on the asset itself or a - * different asset or ad unit. + * Conversions that occur when a user calls a dynamically-generated phone + * number from an advertiser's website. * - * Uses NSNumber of boolValue. + * Value: "WEBSITE_CALL" */ -@property(nonatomic, strong, nullable) NSNumber *interactionOnThisAsset; - -@end +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction_Type_WebsiteCall; +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings.attributionModel /** - * Business Profile location data synced from the linked Business Profile - * account. + * Uses external attribution. + * + * Value: "EXTERNAL" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonBusinessProfileLocation : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_External; /** - * Advertiser specified label for the location on the Business Profile account. - * This is synced from the Business Profile account. + * Attributes all credit for a conversion to its last click. + * + * Value: "GOOGLE_ADS_LAST_CLICK" */ -@property(nonatomic, strong, nullable) NSArray *labels; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_GoogleAdsLastClick; /** - * Listing ID of this Business Profile location. This is synced from the linked - * Business Profile account. + * Flexible model that uses machine learning to determine the appropriate + * distribution of credit among clicks using Google Search attribution. * - * Uses NSNumber of longLongValue. + * Value: "GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN" */ -@property(nonatomic, strong, nullable) NSNumber *listingId; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_GoogleSearchAttributionDataDriven; /** - * Business Profile store code of this location. This is synced from the - * Business Profile account. + * Attributes all credit for a conversion to its first click using Google + * Search attribution. + * + * Value: "GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK" */ -@property(nonatomic, copy, nullable) NSString *storeCode; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_GoogleSearchAttributionFirstClick; /** - * A mapping that can be used by custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + * Attributes credit for a conversion equally across all of its clicks using + * Google Search attribution. + * + * Value: "GOOGLE_SEARCH_ATTRIBUTION_LINEAR" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonCustomParameter : GTLRObject - -/** The key matching the parameter tag name. */ -@property(nonatomic, copy, nullable) NSString *key; - -/** The value to be substituted. */ -@property(nonatomic, copy, nullable) NSString *value; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_GoogleSearchAttributionLinear; /** - * A device criterion. + * Attributes 40% of the credit for a conversion to its first and last clicks. + * Remaining 20% is evenly distributed across all other clicks. This uses + * Google Search attribution. + * + * Value: "GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_GoogleSearchAttributionPositionBased; /** - * Type of the device. + * Attributes exponentially more credit for a conversion to its more recent + * clicks using Google Search attribution (half-life is 1 week). * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_ConnectedTv - * Smart TVs and game consoles. (Value: "CONNECTED_TV") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_Desktop - * Computers. (Value: "DESKTOP") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_Mobile - * Mobile devices with full browsers. (Value: "MOBILE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_Other - * Other device types. (Value: "OTHER") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_Tablet - * Tablets with full browsers. (Value: "TABLET") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_Unknown - * The value is unknown in this version. (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_Unspecified - * Not specified. (Value: "UNSPECIFIED") + * Value: "GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY" */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_GoogleSearchAttributionTimeDecay; /** - * An automated bidding strategy that raises bids for clicks that seem more - * likely to lead to a conversion and lowers them for clicks where they seem - * less likely. This bidding strategy is deprecated and cannot be created - * anymore. Use ManualCpc with enhanced_cpc_enabled set to true for equivalent - * functionality. + * Used for return value only. Represents value unknown in this version. + * + * Value: "UNKNOWN" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonEnhancedCpc : GTLRObject -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_Unknown; /** - * A rule specifying the maximum number of times an ad (or some set of ads) can - * be shown to a user over a particular time period. + * Not specified. + * + * Value: "UNSPECIFIED" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonFrequencyCapEntry : GTLRObject -@end +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_AttributionModel_Unspecified; +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings.dataDrivenModelStatus /** - * A gender criterion. - */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo : GTLRObject - + * The data driven model is available. + * + * Value: "AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_DataDrivenModelStatus_Available; /** - * Type of the gender. + * The data driven model expired. It hasn't been updated for at least 30 days + * and cannot be used. Most commonly this is because there hasn't been the + * required number of events in a recent 30-day period. * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo_Type_Female - * Female. (Value: "FEMALE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo_Type_Male Male. - * (Value: "MALE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo_Type_Undetermined - * Undetermined gender. (Value: "UNDETERMINED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo_Type_Unknown - * Used for return value only. Represents value unknown in this version. - * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo_Type_Unspecified - * Not specified. (Value: "UNSPECIFIED") + * Value: "EXPIRED" */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_DataDrivenModelStatus_Expired; /** - * A Keyword criterion segment. + * The data driven model has never been generated. Most commonly this is + * because there has never been the required number of events in any 30-day + * period. + * + * Value: "NEVER_GENERATED" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonKeyword : GTLRObject - -/** The AdGroupCriterion resource name. */ -@property(nonatomic, copy, nullable) NSString *adGroupCriterion; - -/** Keyword info. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo *info; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_DataDrivenModelStatus_NeverGenerated; /** - * A keyword criterion. + * The data driven model is stale. It hasn't been updated for at least 7 days. + * It is still being used, but will become expired if it does not get updated + * for 30 days. + * + * Value: "STALE" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_DataDrivenModelStatus_Stale; /** - * The match type of the keyword. + * Used for return value only. Represents value unknown in this version. * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo_MatchType_Broad - * Broad match. (Value: "BROAD") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo_MatchType_Exact - * Exact match. (Value: "EXACT") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo_MatchType_Phrase - * Phrase match. (Value: "PHRASE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo_MatchType_Unknown - * Used for return value only. Represents value unknown in this version. - * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo_MatchType_Unspecified - * Not specified. (Value: "UNSPECIFIED") + * Value: "UNKNOWN" */ -@property(nonatomic, copy, nullable) NSString *matchType; - -/** The text of the keyword (at most 80 characters and 10 words). */ -@property(nonatomic, copy, nullable) NSString *text; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_DataDrivenModelStatus_Unknown; /** - * A language criterion. + * Not specified. + * + * Value: "UNSPECIFIED" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonLanguageInfo : GTLRObject - -/** The language constant resource name. */ -@property(nonatomic, copy, nullable) NSString *languageConstant; - -@end +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings_DataDrivenModelStatus_Unspecified; +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting.conversionTrackingStatus /** - * A listing group criterion. + * The conversion actions are created and managed by a manager different from + * the customer or manager specified in the request's `login-customer-id`. + * + * Value: "CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonListingGroupInfo : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting_ConversionTrackingStatus_ConversionTrackingManagedByAnotherManager; /** - * Type of the listing group. + * The conversion actions are created and managed by this customer. * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonListingGroupInfo_Type_Subdivision - * Subdivision of products along some listing dimension. These nodes are - * not used by serving to target listing entries, but is purely to define - * the structure of the tree. (Value: "SUBDIVISION") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonListingGroupInfo_Type_Unit - * Listing group unit that defines a bid. (Value: "UNIT") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonListingGroupInfo_Type_Unknown - * Used for return value only. Represents value unknown in this version. - * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonListingGroupInfo_Type_Unspecified - * Not specified. (Value: "UNSPECIFIED") + * Value: "CONVERSION_TRACKING_MANAGED_BY_SELF" */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting_ConversionTrackingStatus_ConversionTrackingManagedBySelf; /** - * A radius around a list of locations specified through a feed. + * The conversion actions are created and managed by the manager specified in + * the request's `login-customer-id`. + * + * Value: "CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonLocationGroupInfo : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting_ConversionTrackingStatus_ConversionTrackingManagedByThisManager; /** - * FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, - * then all items that appear in at least one set are targeted. This field - * cannot be used with geo_target_constants. This is optional and can only be - * set in CREATE operations. + * Customer does not use any conversion tracking. + * + * Value: "NOT_CONVERSION_TRACKED" */ -@property(nonatomic, strong, nullable) NSArray *feedItemSets; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting_ConversionTrackingStatus_NotConversionTracked; /** - * Geo target constant(s) restricting the scope of the geographic area within - * the feed. Currently only one geo target constant is allowed. + * Used for return value only. Represents value unknown in this version. + * + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSArray *geoTargetConstants; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting_ConversionTrackingStatus_Unknown; /** - * Distance in units specifying the radius around targeted locations. This is - * required and must be set in CREATE operations. + * Not specified. * - * Uses NSNumber of longLongValue. + * Value: "UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *radius; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversionTrackingSetting_ConversionTrackingStatus_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn.valueType /** - * Unit of the radius. Miles and meters are supported for geo target constants. - * Milli miles and meters are supported for feed item sets. This is required - * and must be set in CREATE operations. + * The custom column value is a boolean. * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonLocationGroupInfo_RadiusUnits_Meters - * Meters (Value: "METERS") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonLocationGroupInfo_RadiusUnits_Miles - * Miles (Value: "MILES") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonLocationGroupInfo_RadiusUnits_MilliMiles - * Milli Miles (Value: "MILLI_MILES") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonLocationGroupInfo_RadiusUnits_Unknown - * Used for return value only. Represents value unknown in this version. - * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonLocationGroupInfo_RadiusUnits_Unspecified - * Not specified. (Value: "UNSPECIFIED") + * Value: "BOOLEAN" */ -@property(nonatomic, copy, nullable) NSString *radiusUnits; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn_ValueType_Boolean; /** - * A location criterion. + * The custom column value is a double number. + * + * Value: "DOUBLE" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonLocationInfo : GTLRObject - -/** The geo target constant resource name. */ -@property(nonatomic, copy, nullable) NSString *geoTargetConstant; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn_ValueType_Double; /** - * Manual bidding strategy that allows advertiser to set the bid per - * advertiser-specified action. + * The custom column value is an int64 number. + * + * Value: "INT64" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonManualCpa : GTLRObject -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn_ValueType_Int64; /** - * Manual click-based bidding where user pays per click. + * The custom column value is a string. + * + * Value: "STRING" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonManualCpc : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn_ValueType_String; /** - * Whether bids are to be enhanced based on conversion optimizer data. + * Unknown. * - * Uses NSNumber of boolValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *enhancedCpcEnabled; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn_ValueType_Unknown; /** - * Manual impression-based bidding where user pays per thousand impressions. + * Not specified. + * + * Value: "UNSPECIFIED" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonManualCpm : GTLRObject -@end +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomColumn_ValueType_Unspecified; +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer.accountStatus /** - * An automated bidding strategy to help get the most conversions for your - * campaigns while spending your budget. + * Account is still in the process of setup, not ENABLED yet. + * + * Value: "DRAFT" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonMaximizeConversions : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Draft; /** - * Maximum bid limit that can be set by the bid strategy. The limit applies to - * all keywords managed by the strategy. Mutable for portfolio bidding - * strategies only. + * Account is able to serve ads. * - * Uses NSNumber of longLongValue. + * Value: "ENABLED" */ -@property(nonatomic, strong, nullable) NSNumber *cpcBidCeilingMicros; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Enabled; /** - * Minimum bid limit that can be set by the bid strategy. The limit applies to - * all keywords managed by the strategy. Mutable for portfolio bidding - * strategies only. + * Account is deactivated by the user. * - * Uses NSNumber of longLongValue. + * Value: "PAUSED" */ -@property(nonatomic, strong, nullable) NSNumber *cpcBidFloorMicros; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Paused; /** - * The target cost-per-action (CPA) option. This is the average amount that you - * would like to spend per conversion action specified in micro units of the - * bidding strategy's currency. If set, the bid strategy will get as many - * conversions as possible at or below the target cost-per-action. If the - * target CPA is not set, the bid strategy will aim to achieve the lowest - * possible CPA given the budget. + * Account is irrevocably deactivated. * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *targetCpaMicros; - -@end - - -/** - * An automated bidding strategy to help get the most conversion value for your - * campaigns while spending your budget. + * Value: "REMOVED" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonMaximizeConversionValue : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Removed; /** - * Maximum bid limit that can be set by the bid strategy. The limit applies to - * all keywords managed by the strategy. Mutable for portfolio bidding - * strategies only. + * Account is deactivated by an internal process. * - * Uses NSNumber of longLongValue. + * Value: "SUSPENDED" */ -@property(nonatomic, strong, nullable) NSNumber *cpcBidCeilingMicros; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Suspended; /** - * Minimum bid limit that can be set by the bid strategy. The limit applies to - * all keywords managed by the strategy. Mutable for portfolio bidding - * strategies only. + * Unknown value. * - * Uses NSNumber of longLongValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *cpcBidFloorMicros; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Unknown; /** - * The target return on ad spend (ROAS) option. If set, the bid strategy will - * maximize revenue while averaging the target return on ad spend. If the - * target ROAS is high, the bid strategy may not be able to spend the full - * budget. If the target ROAS is not set, the bid strategy will aim to achieve - * the highest possible ROAS for the budget. + * Default value. * - * Uses NSNumber of doubleValue. + * Value: "UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *targetRoas; - -@end +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountStatus_Unspecified; +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer.accountType /** - * Metrics data. + * Baidu account. + * + * Value: "BAIDU" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonMetrics : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_Baidu; /** - * The percent of your ad impressions that are shown as the very first ad above - * the organic search results. + * Engine track account. * - * Uses NSNumber of doubleValue. + * Value: "ENGINE_TRACK" */ -@property(nonatomic, strong, nullable) NSNumber *absoluteTopImpressionPercentage; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_EngineTrack; /** - * The total number of conversions. This includes all conversions regardless of - * the value of include_in_conversions_metric. + * Facebook account. * - * Uses NSNumber of doubleValue. + * Value: "FACEBOOK" */ -@property(nonatomic, strong, nullable) NSNumber *allConversions; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_Facebook; /** - * The total number of conversions. This includes all conversions regardless of - * the value of include_in_conversions_metric. When this column is selected - * with date, the values in date column means the conversion date. Details for - * the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * Facebook account managed through gateway. * - * Uses NSNumber of doubleValue. + * Value: "FACEBOOK_GATEWAY" */ -@property(nonatomic, strong, nullable) NSNumber *allConversionsByConversionDate; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_FacebookGateway; /** - * The number of times people clicked the "Call" button to call a store during - * or after clicking an ad. This number doesn't include whether or not calls - * were connected, or the duration of any calls. This metric applies to feed - * items only. + * Google Ads account. * - * Uses NSNumber of doubleValue. + * Value: "GOOGLE_ADS" */ -@property(nonatomic, strong, nullable) NSNumber *allConversionsFromClickToCall; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_GoogleAds; /** - * The number of times people clicked a "Get directions" button to navigate to - * a store after clicking an ad. This metric applies to feed items only. + * Microsoft Advertising account. * - * Uses NSNumber of doubleValue. + * Value: "MICROSOFT" */ -@property(nonatomic, strong, nullable) NSNumber *allConversionsFromDirections; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_Microsoft; /** - * All conversions from interactions (as oppose to view through conversions) - * divided by the number of ad interactions. + * Search Ads 360 manager account. * - * Uses NSNumber of doubleValue. + * Value: "SEARCH_ADS_360" */ -@property(nonatomic, strong, nullable) NSNumber *allConversionsFromInteractionsRate; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_SearchAds360; /** - * The value of all conversions from interactions divided by the total number - * of interactions. + * Used for return value only. Represents value unknown in this version. * - * Uses NSNumber of doubleValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *allConversionsFromInteractionsValuePerInteraction; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_Unknown; /** - * The number of times people clicked a link to view a store's menu after - * clicking an ad. This metric applies to feed items only. + * Not specified. * - * Uses NSNumber of doubleValue. + * Value: "UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *allConversionsFromMenu; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_Unspecified; /** - * The number of times people placed an order at a store after clicking an ad. - * This metric applies to feed items only. + * Yahoo Japan account. * - * Uses NSNumber of doubleValue. + * Value: "YAHOO_JAPAN" */ -@property(nonatomic, strong, nullable) NSNumber *allConversionsFromOrder; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_AccountType_YahooJapan; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer.status /** - * The number of other conversions (for example, posting a review or saving a - * location for a store) that occurred after people clicked an ad. This metric - * applies to feed items only. + * Indicates a canceled account unable to serve ads. Can be reactivated by an + * admin user. * - * Uses NSNumber of doubleValue. + * Value: "CANCELED" */ -@property(nonatomic, strong, nullable) NSNumber *allConversionsFromOtherEngagement; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_Status_Canceled; /** - * Estimated number of times people visited a store after clicking an ad. This - * metric applies to feed items only. + * Indicates a closed account unable to serve ads. Test account will also have + * CLOSED status. Status is permanent and may not be reopened. * - * Uses NSNumber of doubleValue. + * Value: "CLOSED" */ -@property(nonatomic, strong, nullable) NSNumber *allConversionsFromStoreVisit; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_Status_Closed; /** - * The number of times that people were taken to a store's URL after clicking - * an ad. This metric applies to feed items only. + * Indicates an active account able to serve ads. * - * Uses NSNumber of doubleValue. + * Value: "ENABLED" */ -@property(nonatomic, strong, nullable) NSNumber *allConversionsFromStoreWebsite; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_Status_Enabled; /** - * The value of all conversions. + * Indicates a suspended account unable to serve ads. May only be activated by + * Google support. * - * Uses NSNumber of doubleValue. + * Value: "SUSPENDED" */ -@property(nonatomic, strong, nullable) NSNumber *allConversionsValue; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_Status_Suspended; /** - * The value of all conversions. When this column is selected with date, the - * values in date column means the conversion date. Details for the - * by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * Used for return value only. Represents value unknown in this version. * - * Uses NSNumber of doubleValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *allConversionsValueByConversionDate; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_Status_Unknown; /** - * The value of all conversions divided by the total cost of ad interactions - * (such as clicks for text ads or views for video ads). + * Not specified. * - * Uses NSNumber of doubleValue. + * Value: "UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *allConversionsValuePerCost; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomer_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAsset.status /** - * The average amount you pay per interaction. This amount is the total cost of - * your ads divided by the total number of interactions. + * Asset link is enabled. * - * Uses NSNumber of doubleValue. + * Value: "ENABLED" */ -@property(nonatomic, strong, nullable) NSNumber *averageCost; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAsset_Status_Enabled; /** - * The total cost of all clicks divided by the total number of clicks received. - * This metric is a monetary value and returned in the customer's currency by - * default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * Asset link is paused. * - * Uses NSNumber of doubleValue. + * Value: "PAUSED" */ -@property(nonatomic, strong, nullable) NSNumber *averageCpc; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAsset_Status_Paused; /** - * Average cost-per-thousand impressions (CPM). This metric is a monetary value - * and returned in the customer's currency by default. See the metrics_currency - * parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * Asset link has been removed. * - * Uses NSNumber of doubleValue. + * Value: "REMOVED" */ -@property(nonatomic, strong, nullable) NSNumber *averageCpm; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAsset_Status_Removed; /** - * The number of clicks. + * Used for return value only. Represents value unknown in this version. * - * Uses NSNumber of longLongValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *clicks; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAsset_Status_Unknown; /** - * The number of client account conversions. This only includes conversion - * actions which include_in_client_account_conversions_metric attribute is set - * to true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. + * Not specified. * - * Uses NSNumber of doubleValue. + * Value: "UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *clientAccountConversions; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAsset_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAssetSet.status /** - * The value of client account conversions. This only includes conversion - * actions which include_in_client_account_conversions_metric attribute is set - * to true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. + * The linkage between asset set and its container is enabled. * - * Uses NSNumber of doubleValue. + * Value: "ENABLED" */ -@property(nonatomic, strong, nullable) NSNumber *clientAccountConversionsValue; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAssetSet_Status_Enabled; /** - * The total number of view-through conversions. These happen when a customer - * sees an image or rich media ad, then later completes a conversion on your - * site without interacting with (for example, clicking on) another ad. + * The linkage between asset set and its container is removed. * - * Uses NSNumber of longLongValue. + * Value: "REMOVED" */ -@property(nonatomic, strong, nullable) NSNumber *clientAccountViewThroughConversions; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAssetSet_Status_Removed; /** - * The estimated percent of times that your ad was eligible to show on the - * Display Network but didn't because your budget was too low. Note: Content - * budget lost impression share is reported in the range of 0 to 0.9. Any value - * above 0.9 is reported as 0.9001. + * The received value is not known in this version. This is a response-only + * value. * - * Uses NSNumber of doubleValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *contentBudgetLostImpressionShare; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAssetSet_Status_Unknown; /** - * The impressions you've received on the Display Network divided by the - * estimated number of impressions you were eligible to receive. Note: Content - * impression share is reported in the range of 0.1 to 1. Any value below 0.1 - * is reported as 0.0999. + * The status has not been specified. * - * Uses NSNumber of doubleValue. + * Value: "UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *contentImpressionShare; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerAssetSet_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient.status /** - * The estimated percentage of impressions on the Display Network that your ads - * didn't receive due to poor Ad Rank. Note: Content rank lost impression share - * is reported in the range of 0 to 0.9. Any value above 0.9 is reported as - * 0.9001. + * Indicates a canceled account unable to serve ads. Can be reactivated by an + * admin user. * - * Uses NSNumber of doubleValue. + * Value: "CANCELED" */ -@property(nonatomic, strong, nullable) NSNumber *contentRankLostImpressionShare; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient_Status_Canceled; /** - * The number of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. + * Indicates a closed account unable to serve ads. Test account will also have + * CLOSED status. Status is permanent and may not be reopened. * - * Uses NSNumber of doubleValue. + * Value: "CLOSED" */ -@property(nonatomic, strong, nullable) NSNumber *conversions; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient_Status_Closed; /** - * The sum of conversions by conversion date for biddable conversion types. Can - * be fractional due to attribution modeling. When this column is selected with - * date, the values in date column means the conversion date. + * Indicates an active account able to serve ads. * - * Uses NSNumber of doubleValue. + * Value: "ENABLED" */ -@property(nonatomic, strong, nullable) NSNumber *conversionsByConversionDate; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient_Status_Enabled; /** - * Average biddable conversions (from interaction) per conversion eligible - * interaction. Shows how often, on average, an ad interaction leads to a - * biddable conversion. + * Indicates a suspended account unable to serve ads. May only be activated by + * Google support. * - * Uses NSNumber of doubleValue. + * Value: "SUSPENDED" */ -@property(nonatomic, strong, nullable) NSNumber *conversionsFromInteractionsRate; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient_Status_Suspended; /** - * The value of conversions from interactions divided by the number of ad - * interactions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. + * Used for return value only. Represents value unknown in this version. * - * Uses NSNumber of doubleValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *conversionsFromInteractionsValuePerInteraction; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient_Status_Unknown; /** - * The sum of conversion values for the conversions included in the - * "conversions" field. This metric is useful only if you entered a value for - * your conversion actions. + * Not specified. * - * Uses NSNumber of doubleValue. + * Value: "UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *conversionsValue; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerClient_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink.status /** - * The sum of biddable conversions value by conversion date. When this column - * is selected with date, the values in date column means the conversion date. + * Indicates current in-effect relationship * - * Uses NSNumber of doubleValue. + * Value: "ACTIVE" */ -@property(nonatomic, strong, nullable) NSNumber *conversionsValueByConversionDate; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Active; /** - * The value of biddable conversion divided by the total cost of conversion - * eligible interactions. + * Indicates relationship has been requested by manager, but manager canceled + * it. * - * Uses NSNumber of doubleValue. + * Value: "CANCELED" */ -@property(nonatomic, strong, nullable) NSNumber *conversionsValuePerCost; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Canceled; /** - * The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) - * costs during this period. This metric is a monetary value and returned in - * the customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * Indicates terminated relationship * - * Uses NSNumber of longLongValue. + * Value: "INACTIVE" */ -@property(nonatomic, strong, nullable) NSNumber *costMicros; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Inactive; /** - * The cost of ad interactions divided by all conversions. + * Indicates relationship has been requested by manager, but the client hasn't + * accepted yet. * - * Uses NSNumber of doubleValue. + * Value: "PENDING" */ -@property(nonatomic, strong, nullable) NSNumber *costPerAllConversions; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Pending; /** - * Average conversion eligible cost per biddable conversion. + * Relationship was requested by the manager, but the client has refused. * - * Uses NSNumber of doubleValue. + * Value: "REFUSED" */ -@property(nonatomic, strong, nullable) NSNumber *costPerConversion; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Refused; /** - * The cost of ad interactions divided by current model attributed conversions. - * This only includes conversion actions which include_in_conversions_metric - * attribute is set to true. If you use conversion-based bidding, your bid - * strategies will optimize for these conversions. + * Used for return value only. Represents value unknown in this version. * - * Uses NSNumber of doubleValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *costPerCurrentModelAttributedConversion; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Unknown; /** - * Conversions from when a customer clicks on an ad on one device, then - * converts on a different device or browser. Cross-device conversions are - * already included in all_conversions. + * Not specified. * - * Uses NSNumber of doubleValue. + * Value: "UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *crossDeviceConversions; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesCustomerManagerLink_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant.status /** - * The sum of the value of cross-device conversions. + * The geo target constant is valid. * - * Uses NSNumber of doubleValue. + * Value: "ENABLED" */ -@property(nonatomic, strong, nullable) NSNumber *crossDeviceConversionsValue; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_Enabled; /** - * The number of clicks your ad receives (Clicks) divided by the number of - * times your ad is shown (Impressions). + * The geo target constant is obsolete and will be removed. * - * Uses NSNumber of doubleValue. + * Value: "REMOVAL_PLANNED" */ -@property(nonatomic, strong, nullable) NSNumber *ctr; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_RemovalPlanned; /** - * The creative historical quality score. + * The received value is not known in this version. This is a response-only + * value. * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalCreativeQualityScore_AboveAverage - * Quality of the creative is above average. (Value: "ABOVE_AVERAGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalCreativeQualityScore_Average - * Quality of the creative is average. (Value: "AVERAGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalCreativeQualityScore_BelowAverage - * Quality of the creative is below average. (Value: "BELOW_AVERAGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalCreativeQualityScore_Unknown - * Used for return value only. Represents value unknown in this version. - * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalCreativeQualityScore_Unspecified - * Not specified. (Value: "UNSPECIFIED") + * Value: "UNKNOWN" */ -@property(nonatomic, copy, nullable) NSString *historicalCreativeQualityScore; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_Unknown; /** - * The quality of historical landing page experience. + * No value has been specified. * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalLandingPageQualityScore_AboveAverage - * Quality of the creative is above average. (Value: "ABOVE_AVERAGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalLandingPageQualityScore_Average - * Quality of the creative is average. (Value: "AVERAGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalLandingPageQualityScore_BelowAverage - * Quality of the creative is below average. (Value: "BELOW_AVERAGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalLandingPageQualityScore_Unknown - * Used for return value only. Represents value unknown in this version. - * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalLandingPageQualityScore_Unspecified - * Not specified. (Value: "UNSPECIFIED") + * Value: "UNSPECIFIED" */ -@property(nonatomic, copy, nullable) NSString *historicalLandingPageQualityScore; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesLabel.status /** - * The historical quality score. + * Label is enabled. * - * Uses NSNumber of longLongValue. + * Value: "ENABLED" */ -@property(nonatomic, strong, nullable) NSNumber *historicalQualityScore; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Enabled; /** - * The historical search predicted click through rate (CTR). + * Label is removed. * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalSearchPredictedCtr_AboveAverage - * Quality of the creative is above average. (Value: "ABOVE_AVERAGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalSearchPredictedCtr_Average - * Quality of the creative is average. (Value: "AVERAGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalSearchPredictedCtr_BelowAverage - * Quality of the creative is below average. (Value: "BELOW_AVERAGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalSearchPredictedCtr_Unknown - * Used for return value only. Represents value unknown in this version. - * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalSearchPredictedCtr_Unspecified - * Not specified. (Value: "UNSPECIFIED") + * Value: "REMOVED" */ -@property(nonatomic, copy, nullable) NSString *historicalSearchPredictedCtr; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Removed; /** - * Count of how often your ad has appeared on a search results page or website - * on the Google Network. + * Used for return value only. Represents value unknown in this version. * - * Uses NSNumber of longLongValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *impressions; - -/** The types of payable and free interactions. */ -@property(nonatomic, strong, nullable) NSArray *interactionEventTypes; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Unknown; /** - * How often people interact with your ad after it is shown to them. This is - * the number of interactions divided by the number of times your ad is shown. + * Not specified. * - * Uses NSNumber of doubleValue. + * Value: "UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *interactionRate; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory.level /** - * The number of interactions. An interaction is the main user action - * associated with an ad format-clicks for text and shopping ads, views for - * video ads, and so on. + * Level 1. * - * Uses NSNumber of longLongValue. + * Value: "LEVEL1" */ -@property(nonatomic, strong, nullable) NSNumber *interactions; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level1; /** - * The percentage of clicks filtered out of your total number of clicks - * (filtered + non-filtered clicks) during the reporting period. + * Level 2. * - * Uses NSNumber of doubleValue. + * Value: "LEVEL2" */ -@property(nonatomic, strong, nullable) NSNumber *invalidClickRate; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level2; /** - * Number of clicks Google considers illegitimate and doesn't charge you for. + * Level 3. * - * Uses NSNumber of longLongValue. + * Value: "LEVEL3" */ -@property(nonatomic, strong, nullable) NSNumber *invalidClicks; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level3; /** - * The percentage of mobile clicks that go to a mobile-friendly page. + * Level 4. * - * Uses NSNumber of doubleValue. + * Value: "LEVEL4" */ -@property(nonatomic, strong, nullable) NSNumber *mobileFriendlyClicksPercentage; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level4; /** - * The percentage of the customer's Shopping or Search ad impressions that are - * shown in the most prominent Shopping position. See - * https://support.google.com/sa360/answer/9566729 for details. Any value below - * 0.1 is reported as 0.0999. + * Level 5. * - * Uses NSNumber of doubleValue. + * Value: "LEVEL5" */ -@property(nonatomic, strong, nullable) NSNumber *searchAbsoluteTopImpressionShare; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level5; /** - * The number estimating how often your ad wasn't the very first ad above the - * organic search results due to a low budget. Note: Search budget lost - * absolute top impression share is reported in the range of 0 to 0.9. Any - * value above 0.9 is reported as 0.9001. + * Used for return value only. Represents value unknown in this version. * - * Uses NSNumber of doubleValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *searchBudgetLostAbsoluteTopImpressionShare; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Unknown; /** - * The estimated percent of times that your ad was eligible to show on the - * Search Network but didn't because your budget was too low. Note: Search - * budget lost impression share is reported in the range of 0 to 0.9. Any value - * above 0.9 is reported as 0.9001. + * Not specified. * - * Uses NSNumber of doubleValue. + * Value: "UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *searchBudgetLostImpressionShare; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel.channel /** - * The number estimating how often your ad didn't show anywhere above the - * organic search results due to a low budget. Note: Search budget lost top - * impression share is reported in the range of 0 to 0.9. Any value above 0.9 - * is reported as 0.9001. + * The item is sold in local stores. * - * Uses NSNumber of doubleValue. + * Value: "LOCAL" */ -@property(nonatomic, strong, nullable) NSNumber *searchBudgetLostTopImpressionShare; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel_Channel_Local; /** - * The number of clicks you've received on the Search Network divided by the - * estimated number of clicks you were eligible to receive. Note: Search click - * share is reported in the range of 0.1 to 1. Any value below 0.1 is reported - * as 0.0999. + * The item is sold online. * - * Uses NSNumber of doubleValue. + * Value: "ONLINE" */ -@property(nonatomic, strong, nullable) NSNumber *searchClickShare; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel_Channel_Online; /** - * The impressions you've received divided by the estimated number of - * impressions you were eligible to receive on the Search Network for search - * terms that matched your keywords exactly (or were close variants of your - * keyword), regardless of your keyword match types. Note: Search exact match - * impression share is reported in the range of 0.1 to 1. Any value below 0.1 - * is reported as 0.0999. + * Used for return value only. Represents value unknown in this version. * - * Uses NSNumber of doubleValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *searchExactMatchImpressionShare; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel_Channel_Unknown; /** - * The impressions you've received on the Search Network divided by the - * estimated number of impressions you were eligible to receive. Note: Search - * impression share is reported in the range of 0.1 to 1. Any value below 0.1 - * is reported as 0.0999. + * Not specified. * - * Uses NSNumber of doubleValue. + * Value: "UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *searchImpressionShare; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel_Channel_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition.condition /** - * The number estimating how often your ad wasn't the very first ad above the - * organic search results due to poor Ad Rank. Note: Search rank lost absolute - * top impression share is reported in the range of 0 to 0.9. Any value above - * 0.9 is reported as 0.9001. + * The product condition is new. * - * Uses NSNumber of doubleValue. + * Value: "NEW" */ -@property(nonatomic, strong, nullable) NSNumber *searchRankLostAbsoluteTopImpressionShare; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_New; /** - * The estimated percentage of impressions on the Search Network that your ads - * didn't receive due to poor Ad Rank. Note: Search rank lost impression share - * is reported in the range of 0 to 0.9. Any value above 0.9 is reported as - * 0.9001. + * The product condition is refurbished. * - * Uses NSNumber of doubleValue. + * Value: "REFURBISHED" */ -@property(nonatomic, strong, nullable) NSNumber *searchRankLostImpressionShare; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_Refurbished; /** - * The number estimating how often your ad didn't show anywhere above the - * organic search results due to poor Ad Rank. Note: Search rank lost top - * impression share is reported in the range of 0 to 0.9. Any value above 0.9 - * is reported as 0.9001. + * Used for return value only. Represents value unknown in this version. * - * Uses NSNumber of doubleValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *searchRankLostTopImpressionShare; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_Unknown; /** - * The impressions you've received in the top location (anywhere above the - * organic search results) compared to the estimated number of impressions you - * were eligible to receive in the top location. Note: Search top impression - * share is reported in the range of 0.1 to 1. Any value below 0.1 is reported - * as 0.0999. + * Not specified. * - * Uses NSNumber of doubleValue. + * Value: "UNSPECIFIED" */ -@property(nonatomic, strong, nullable) NSNumber *searchTopImpressionShare; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_Unspecified; /** - * The percent of your ad impressions that are shown anywhere above the organic - * search results. + * The product condition is used. * - * Uses NSNumber of doubleValue. + * Value: "USED" */ -@property(nonatomic, strong, nullable) NSNumber *topImpressionPercentage; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_Used; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute.index /** - * The value of all conversions divided by the number of all conversions. + * First listing group filter custom attribute. * - * Uses NSNumber of doubleValue. + * Value: "INDEX0" */ -@property(nonatomic, strong, nullable) NSNumber *valuePerAllConversions; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index0; /** - * The value of all conversions divided by the number of all conversions. When - * this column is selected with date, the values in date column means the - * conversion date. Details for the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * Second listing group filter custom attribute. * - * Uses NSNumber of doubleValue. + * Value: "INDEX1" */ -@property(nonatomic, strong, nullable) NSNumber *valuePerAllConversionsByConversionDate; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index1; /** - * The value of biddable conversion divided by the number of biddable - * conversions. Shows how much, on average, each of the biddable conversions is - * worth. + * Third listing group filter custom attribute. * - * Uses NSNumber of doubleValue. + * Value: "INDEX2" */ -@property(nonatomic, strong, nullable) NSNumber *valuePerConversion; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index2; /** - * Biddable conversions value by conversion date divided by biddable - * conversions by conversion date. Shows how much, on average, each of the - * biddable conversions is worth (by conversion date). When this column is - * selected with date, the values in date column means the conversion date. + * Fourth listing group filter custom attribute. * - * Uses NSNumber of doubleValue. + * Value: "INDEX3" */ -@property(nonatomic, strong, nullable) NSNumber *valuePerConversionsByConversionDate; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index3; /** - * Clicks that Search Ads 360 has successfully recorded and forwarded to an - * advertiser's landing page. + * Fifth listing group filter custom attribute. * - * Uses NSNumber of doubleValue. + * Value: "INDEX4" */ -@property(nonatomic, strong, nullable) NSNumber *visits; - -@end +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index4; +/** + * Used for return value only. Represents value unknown in this version. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Unknown; +/** + * Not specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Unspecified; +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType.level /** - * An asset representing a mobile app. + * Level 1. + * + * Value: "LEVEL1" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonMobileAppAsset : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level1; /** - * Required. A string that uniquely identifies a mobile application. It should - * just contain the platform native id, like "com.android.ebay" for Android or - * "12345689" for iOS. + * Level 2. + * + * Value: "LEVEL2" */ -@property(nonatomic, copy, nullable) NSString *appId; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level2; /** - * Required. The application store that distributes this specific app. + * Level 3. * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMobileAppAsset_AppStore_AppleAppStore - * Mobile app vendor for Apple app store. (Value: "APPLE_APP_STORE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMobileAppAsset_AppStore_GoogleAppStore - * Mobile app vendor for Google app store. (Value: "GOOGLE_APP_STORE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMobileAppAsset_AppStore_Unknown - * Used for return value only. Represents value unknown in this version. - * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMobileAppAsset_AppStore_Unspecified - * Not specified. (Value: "UNSPECIFIED") + * Value: "LEVEL3" */ -@property(nonatomic, copy, nullable) NSString *appStore; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level3; /** - * A bidding strategy where bids are a fraction of the advertised price for - * some good or service. + * Level 4. + * + * Value: "LEVEL4" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonPercentCpc : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level4; /** - * Maximum bid limit that can be set by the bid strategy. This is an optional - * field entered by the advertiser and specified in local micros. Note: A zero - * value is interpreted in the same way as having bid_ceiling undefined. + * Level 5. * - * Uses NSNumber of longLongValue. + * Value: "LEVEL5" */ -@property(nonatomic, strong, nullable) NSNumber *cpcBidCeilingMicros; - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level5; /** - * Adjusts the bid for each auction upward or downward, depending on the - * likelihood of a conversion. Individual bids may exceed - * cpc_bid_ceiling_micros, but the average bid amount for a campaign should - * not. + * Used for return value only. Represents value unknown in this version. * - * Uses NSNumber of boolValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *enhancedCpcEnabled; - -@end +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Unknown; +/** + * Not specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Unspecified; +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant.level /** - * Settings for Real-Time Bidding, a feature only available for campaigns - * targeting the Ad Exchange network. + * Level 1. + * + * Value: "LEVEL1" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonRealTimeBiddingSetting : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level1; /** - * Whether the campaign is opted in to real-time bidding. + * Level 2. * - * Uses NSNumber of boolValue. + * Value: "LEVEL2" */ -@property(nonatomic, strong, nullable) NSNumber *optIn; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level2; /** - * An expanded dynamic search ad. + * Level 3. + * + * Value: "LEVEL3" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level3; /** - * The tracking id of the ad. + * Level 4. * - * Uses NSNumber of longLongValue. + * Value: "LEVEL4" */ -@property(nonatomic, strong, nullable) NSNumber *adTrackingId; - -/** The first line of the ad's description. */ -@property(nonatomic, copy, nullable) NSString *description1; - -/** The second line of the ad's description. */ -@property(nonatomic, copy, nullable) NSString *description2; - -@end - - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level4; /** - * A Search Ads 360 expanded text ad. + * Level 5. + * + * Value: "LEVEL5" */ -@interface GTLRSA360_GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo : GTLRObject - +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level5; /** - * The tracking id of the ad. + * Used for return value only. Represents value unknown in this version. * - * Uses NSNumber of longLongValue. + * Value: "UNKNOWN" */ -@property(nonatomic, strong, nullable) NSNumber *adTrackingId; +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Unknown; +/** + * Not specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Unspecified; -/** The first line of the ad's description. */ -@property(nonatomic, copy, nullable) NSString *description1; +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant.status + +/** + * The category is active and can be used for bidding. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Status_Active; +/** + * The category is obsolete. Used only for reporting purposes. + * + * Value: "OBSOLETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Status_Obsolete; +/** + * Used for return value only. Represents value unknown in this version. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Status_Unknown; +/** + * Not specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Status_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field.category + +/** + * The described artifact is a field and is an attribute of a resource. + * Including a resource attribute field in a query may segment the query if the + * resource to which it is attributed segments the resource found in the FROM + * clause. + * + * Value: "ATTRIBUTE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Attribute; +/** + * The described artifact is a field and is a metric. It never segments search + * queries. + * + * Value: "METRIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Metric; +/** + * The described artifact is a resource. + * + * Value: "RESOURCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Resource; +/** + * The described artifact is a field and always segments search queries. + * + * Value: "SEGMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Segment; +/** + * Unknown + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Unknown; +/** + * Unspecified + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_Category_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field.dataType + +/** + * Maps to google.protobuf.BoolValue Applicable operators: =, != + * + * Value: "BOOLEAN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Boolean; +/** + * Maps to google.protobuf.StringValue. It can be compared using the set of + * operators specific to dates however. Applicable operators: =, <, >, <=, >=, + * BETWEEN, DURING, and IN + * + * Value: "DATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Date; +/** + * Maps to google.protobuf.DoubleValue Applicable operators: =, !=, <, >, IN, + * NOT IN + * + * Value: "DOUBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Double; +/** + * Maps to an enum. It's specific definition can be found at type_url. + * Applicable operators: =, !=, IN, NOT IN + * + * Value: "ENUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Enum; +/** + * Maps to google.protobuf.FloatValue Applicable operators: =, !=, <, >, IN, + * NOT IN + * + * Value: "FLOAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Float; +/** + * Maps to google.protobuf.Int32Value Applicable operators: =, !=, <, >, <=, + * >=, BETWEEN, IN, NOT IN + * + * Value: "INT32" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Int32; +/** + * Maps to google.protobuf.Int64Value Applicable operators: =, !=, <, >, <=, + * >=, BETWEEN, IN, NOT IN + * + * Value: "INT64" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Int64; +/** + * Maps to a protocol buffer message type. The data type's details can be found + * in type_url. No operators work with MESSAGE fields. + * + * Value: "MESSAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Message; +/** + * Maps to google.protobuf.StringValue. Represents the resource name (unique + * id) of a resource or one of its foreign keys. No operators work with + * RESOURCE_NAME fields. + * + * Value: "RESOURCE_NAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_ResourceName; +/** + * Maps to google.protobuf.StringValue. Applicable operators: =, !=, LIKE, NOT + * LIKE, IN, NOT IN + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_String; +/** + * Maps to google.protobuf.UInt64Value Applicable operators: =, !=, <, >, <=, + * >=, BETWEEN, IN, NOT IN + * + * Value: "UINT64" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Uint64; +/** + * Unknown + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Unknown; +/** + * Unspecified + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesSearchAds360Field_DataType_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesUserList.type + +/** + * UserList of first-party CRM data provided by advertiser in the form of + * emails or other formats. + * + * Value: "CRM_BASED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_CrmBased; +/** + * UserList created in the Google Ad Manager platform. + * + * Value: "EXTERNAL_REMARKETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_ExternalRemarketing; +/** + * UserList represented as a combination of other user lists/interests. + * + * Value: "LOGICAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_Logical; +/** + * UserList represented as a collection of conversion types. + * + * Value: "REMARKETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_Remarketing; +/** + * UserList associated with a rule. + * + * Value: "RULE_BASED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_RuleBased; +/** + * UserList with users similar to users of another UserList. + * + * Value: "SIMILAR" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_Similar; +/** + * Used for return value only. Represents value unknown in this version. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_Unknown; +/** + * Not specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesUserList_Type_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesVisit.assetFieldType + +/** + * The asset is linked for use to select an ad image. + * + * Value: "AD_IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_AdImage; +/** + * The asset is linked to indicate that a hotels campaign is "Book on Google" + * enabled. + * + * Value: "BOOK_ON_GOOGLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_BookOnGoogle; +/** + * The asset is linked for use as a business logo. + * + * Value: "BUSINESS_LOGO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_BusinessLogo; +/** + * The asset is linked for use as a business name. + * + * Value: "BUSINESS_NAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_BusinessName; +/** + * The asset is linked for use as a Call extension. + * + * Value: "CALL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Call; +/** + * The asset is linked for use as a Callout extension. + * + * Value: "CALLOUT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Callout; +/** + * The asset is linked for use to select a call-to-action. + * + * Value: "CALL_TO_ACTION_SELECTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_CallToActionSelection; +/** + * The asset is linked for use as a description. + * + * Value: "DESCRIPTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Description; +/** + * The asset is linked for use as a headline. + * + * Value: "HEADLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Headline; +/** + * The asset is linked for use as a Hotel Callout extension. + * + * Value: "HOTEL_CALLOUT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_HotelCallout; +/** + * The asset is linked for use as a hotel property in a Performance Max for + * travel goals campaign. + * + * Value: "HOTEL_PROPERTY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_HotelProperty; +/** + * The asset is linked for use as a landscape logo. + * + * Value: "LANDSCAPE_LOGO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_LandscapeLogo; +/** + * The asset is linked for use as a Lead Form extension. + * + * Value: "LEAD_FORM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_LeadForm; +/** + * The asset is linked for use as a logo. + * + * Value: "LOGO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Logo; +/** + * The asset is linked for use as a long headline. + * + * Value: "LONG_HEADLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_LongHeadline; +/** + * The asset is linked for use as mandatory ad text. + * + * Value: "MANDATORY_AD_TEXT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_MandatoryAdText; +/** + * The asset is linked for use as a marketing image. + * + * Value: "MARKETING_IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_MarketingImage; +/** + * The asset is linked for use as a media bundle. + * + * Value: "MEDIA_BUNDLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_MediaBundle; +/** + * The asset is linked for use as a Mobile App extension. + * + * Value: "MOBILE_APP" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_MobileApp; +/** + * The asset is linked for use as a portrait marketing image. + * + * Value: "PORTRAIT_MARKETING_IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_PortraitMarketingImage; +/** + * The asset is linked for use as a Price extension. + * + * Value: "PRICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Price; +/** + * The asset is linked for use as a Promotion extension. + * + * Value: "PROMOTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Promotion; +/** + * The asset is linked for use as a Sitelink. + * + * Value: "SITELINK" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Sitelink; +/** + * The asset is linked for use as a square marketing image. + * + * Value: "SQUARE_MARKETING_IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_SquareMarketingImage; +/** + * The asset is linked for use as a Structured Snippet extension. + * + * Value: "STRUCTURED_SNIPPET" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_StructuredSnippet; +/** + * Used for return value only. Represents value unknown in this version. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Unknown; +/** + * Not specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Unspecified; +/** + * The asset is linked for use as a non YouTube logo. + * + * Value: "VIDEO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Video; +/** + * The asset is linked for use as a YouTube video. + * + * Value: "YOUTUBE_VIDEO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_YoutubeVideo; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ResourcesVisit.productChannel + +/** + * The item is sold in local stores. + * + * Value: "LOCAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_ProductChannel_Local; +/** + * The item is sold online. + * + * Value: "ONLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_ProductChannel_Online; +/** + * Used for return value only. Represents value unknown in this version. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_ProductChannel_Unknown; +/** + * Not specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_ProductChannel_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request.summaryRowSetting + +/** + * Do not return summary row. + * + * Value: "NO_SUMMARY_ROW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request_SummaryRowSetting_NoSummaryRow; +/** + * Return summary row only and return no results. + * + * Value: "SUMMARY_ROW_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request_SummaryRowSetting_SummaryRowOnly; +/** + * Return summary row along with results. The summary row will be returned in + * the last batch alone (last batch will contain no results). + * + * Value: "SUMMARY_ROW_WITH_RESULTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request_SummaryRowSetting_SummaryRowWithResults; +/** + * Represent unknown values of return summary row. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request_SummaryRowSetting_Unknown; +/** + * Not specified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSearchSearchAds360Request_SummaryRowSetting_Unspecified; + +/** + * Represents an AdSchedule criterion. AdSchedule is specified as the day of + * the week and a time interval within which ads will be shown. No more than + * six AdSchedules can be added for the same day. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo : GTLRObject + +/** + * Day of the week the schedule applies to. This field is required for CREATE + * operations and is prohibited on UPDATE operations. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Friday + * Friday. (Value: "FRIDAY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Monday + * Monday. (Value: "MONDAY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Saturday + * Saturday. (Value: "SATURDAY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Sunday + * Sunday. (Value: "SUNDAY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Thursday + * Thursday. (Value: "THURSDAY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Tuesday + * Tuesday. (Value: "TUESDAY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Unknown + * The value is unknown in this version. (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Unspecified + * Not specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_DayOfWeek_Wednesday + * Wednesday. (Value: "WEDNESDAY") + */ +@property(nonatomic, copy, nullable) NSString *dayOfWeek; + +/** + * Ending hour in 24 hour time; 24 signifies end of the day. This field must be + * between 0 and 24, inclusive. This field is required for CREATE operations + * and is prohibited on UPDATE operations. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *endHour; + +/** + * Minutes after the end hour at which this schedule ends. The schedule is + * exclusive of the end minute. This field is required for CREATE operations + * and is prohibited on UPDATE operations. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_EndMinute_Fifteen + * Fifteen minutes past the hour. (Value: "FIFTEEN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_EndMinute_FortyFive + * Forty-five minutes past the hour. (Value: "FORTY_FIVE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_EndMinute_Thirty + * Thirty minutes past the hour. (Value: "THIRTY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_EndMinute_Unknown + * The value is unknown in this version. (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_EndMinute_Unspecified + * Not specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_EndMinute_Zero + * Zero minutes past the hour. (Value: "ZERO") + */ +@property(nonatomic, copy, nullable) NSString *endMinute; + +/** + * Starting hour in 24 hour time. This field must be between 0 and 23, + * inclusive. This field is required for CREATE operations and is prohibited on + * UPDATE operations. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *startHour; + +/** + * Minutes after the start hour at which this schedule starts. This field is + * required for CREATE operations and is prohibited on UPDATE operations. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_StartMinute_Fifteen + * Fifteen minutes past the hour. (Value: "FIFTEEN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_StartMinute_FortyFive + * Forty-five minutes past the hour. (Value: "FORTY_FIVE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_StartMinute_Thirty + * Thirty minutes past the hour. (Value: "THIRTY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_StartMinute_Unknown + * The value is unknown in this version. (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_StartMinute_Unspecified + * Not specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAdScheduleInfo_StartMinute_Zero + * Zero minutes past the hour. (Value: "ZERO") + */ +@property(nonatomic, copy, nullable) NSString *startMinute; + +@end + + +/** + * An age range criterion. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo : GTLRObject + +/** + * Type of the age range. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRange1824 + * Between 18 and 24 years old. (Value: "AGE_RANGE_18_24") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRange2534 + * Between 25 and 34 years old. (Value: "AGE_RANGE_25_34") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRange3544 + * Between 35 and 44 years old. (Value: "AGE_RANGE_35_44") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRange4554 + * Between 45 and 54 years old. (Value: "AGE_RANGE_45_54") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRange5564 + * Between 55 and 64 years old. (Value: "AGE_RANGE_55_64") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRange65Up + * 65 years old and beyond. (Value: "AGE_RANGE_65_UP") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_AgeRangeUndetermined + * Undetermined age range. (Value: "AGE_RANGE_UNDETERMINED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo_Type_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * An AssetInteractionTarget segment. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonAssetInteractionTarget : GTLRObject + +/** The asset resource name. */ +@property(nonatomic, copy, nullable) NSString *asset; + +/** + * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. + * Indicates whether the interaction metrics occurred on the asset itself or a + * different asset or ad unit. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *interactionOnThisAsset; + +@end + + +/** + * Contains the usage information of the asset. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage : GTLRObject + +/** Resource name of the asset. */ +@property(nonatomic, copy, nullable) NSString *asset; + +/** + * The served field type of the asset. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_AdImage + * This asset is used as an image. (Value: "AD_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_BusinessLogo + * The asset is used as a business logo. (Value: "BUSINESS_LOGO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_BusinessName + * The asset was used as business name. (Value: "BUSINESS_NAME") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_BusinessNameInPortrait + * The asset was used as business name in portrait image. (Value: + * "BUSINESS_NAME_IN_PORTRAIT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Call + * This asset is used as a call. (Value: "CALL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Callout + * This asset is used as a callout. (Value: "CALLOUT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_CallToAction + * The asset was used as a call-to-action. (Value: "CALL_TO_ACTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Description + * The asset was used in a description. Use this only if there is only + * one description in the ad. Otherwise, use the DESCRIPTION_1 or + * DESCRIPTION_\@ enums (Value: "DESCRIPTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Description1 + * The asset is used in description 1. (Value: "DESCRIPTION_1") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Description2 + * The asset is used in description 2. (Value: "DESCRIPTION_2") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_DescriptionInPortrait + * The asset was used as description in portrait image. (Value: + * "DESCRIPTION_IN_PORTRAIT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline + * The asset was used in a headline. Use this only if there is only one + * headline in the ad. Otherwise, use the HEADLINE_1, HEADLINE_2 or + * HEADLINE_3 enums (Value: "HEADLINE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline1 + * The asset is used in headline 1. (Value: "HEADLINE_1") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline2 + * The asset is used in headline 2. (Value: "HEADLINE_2") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline3 + * The asset is used in headline 3. (Value: "HEADLINE_3") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_HeadlineInPortrait + * The asset was used as a headline in portrait image. (Value: + * "HEADLINE_IN_PORTRAIT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_LandscapeLogo + * The asset was used as a landscape logo. (Value: "LANDSCAPE_LOGO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_LeadForm + * The asset is used as a lead form. (Value: "LEAD_FORM") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Logo + * The asset was used as a logo. (Value: "LOGO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_LongHeadline + * The asset was used in a long headline (used in + * MultiAssetResponsiveAd). (Value: "LONG_HEADLINE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_MarketingImage + * The asset was used as a marketing image. (Value: "MARKETING_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_MarketingImageInPortrait + * The asset was used as a marketing image in portrait image. (Value: + * "MARKETING_IMAGE_IN_PORTRAIT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_MobileApp + * This asset is used as a mobile app. (Value: "MOBILE_APP") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_PortraitMarketingImage + * The asset was used as a portrait marketing image. (Value: + * "PORTRAIT_MARKETING_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Price + * This asset is used as a price. (Value: "PRICE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Promotion + * This asset is used as a promotion. (Value: "PROMOTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Sitelink + * This asset is used as a sitelink. (Value: "SITELINK") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_SquareMarketingImage + * The asset was used as a square marketing image. (Value: + * "SQUARE_MARKETING_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_StructuredSnippet + * This asset is used as a structured snippet. (Value: + * "STRUCTURED_SNIPPET") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Unknown + * The received value is not known in this version. This is a + * response-only value. (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Unspecified + * No value has been specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_YouTubeVideo + * The asset was used as a YouTube video. (Value: "YOU_TUBE_VIDEO") + */ +@property(nonatomic, copy, nullable) NSString *servedAssetFieldType; + +@end + + +/** + * An audience criterion. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonAudienceInfo : GTLRObject + +/** The Audience resource name. */ +@property(nonatomic, copy, nullable) NSString *audience; + +@end + + +/** + * Business Profile location data synced from the linked Business Profile + * account. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonBusinessProfileLocation : GTLRObject + +/** + * Advertiser specified label for the location on the Business Profile account. + * This is synced from the Business Profile account. + */ +@property(nonatomic, strong, nullable) NSArray *labels; + +/** + * Listing ID of this Business Profile location. This is synced from the linked + * Business Profile account. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *listingId; + +/** + * Business Profile store code of this location. This is synced from the + * Business Profile account. + */ +@property(nonatomic, copy, nullable) NSString *storeCode; + +@end + + +/** + * A call to action asset. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset : GTLRObject + +/** + * Call to action. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_ApplyNow + * The call to action type is apply now. (Value: "APPLY_NOW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_BookNow + * The call to action type is book now. (Value: "BOOK_NOW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_BuyNow + * The call to action type is buy now. (Value: "BUY_NOW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_ContactUs + * The call to action type is contact us. (Value: "CONTACT_US") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_DonateNow + * The call to action type is donate now. (Value: "DONATE_NOW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_Download + * The call to action type is download. (Value: "DOWNLOAD") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_GetQuote + * The call to action type is get quote. (Value: "GET_QUOTE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_LearnMore + * The call to action type is learn more. (Value: "LEARN_MORE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_OrderNow + * The call to action type is order now. (Value: "ORDER_NOW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_PlayNow + * The call to action type is play now. (Value: "PLAY_NOW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_SeeMore + * The call to action type is see more. (Value: "SEE_MORE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_ShopNow + * The call to action type is shop now. (Value: "SHOP_NOW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_SignUp + * The call to action type is sign up. (Value: "SIGN_UP") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_StartNow + * The call to action type is start now. (Value: "START_NOW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_Subscribe + * The call to action type is subscribe. (Value: "SUBSCRIBE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_Unspecified + * Not specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_VisitSite + * The call to action type is visit site. (Value: "VISIT_SITE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset_CallToAction_WatchNow + * The call to action type is watch now. (Value: "WATCH_NOW") + */ +@property(nonatomic, copy, nullable) NSString *callToAction; + +@end + + +/** + * A mapping that can be used by custom parameter tags in a + * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonCustomParameter : GTLRObject + +/** The key matching the parameter tag name. */ +@property(nonatomic, copy, nullable) NSString *key; + +/** The value to be substituted. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + +/** + * A device criterion. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo : GTLRObject + +/** + * Type of the device. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_ConnectedTv + * Smart TVs and game consoles. (Value: "CONNECTED_TV") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_Desktop + * Computers. (Value: "DESKTOP") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_Mobile + * Mobile devices with full browsers. (Value: "MOBILE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_Other + * Other device types. (Value: "OTHER") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_Tablet + * Tablets with full browsers. (Value: "TABLET") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_Unknown + * The value is unknown in this version. (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo_Type_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * An automated bidding strategy that raises bids for clicks that seem more + * likely to lead to a conversion and lowers them for clicks where they seem + * less likely. This bidding strategy is deprecated and cannot be created + * anymore. Use ManualCpc with enhanced_cpc_enabled set to true for equivalent + * functionality. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonEnhancedCpc : GTLRObject +@end + + +/** + * A rule specifying the maximum number of times an ad (or some set of ads) can + * be shown to a user over a particular time period. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonFrequencyCapEntry : GTLRObject +@end + + +/** + * A gender criterion. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo : GTLRObject + +/** + * Type of the gender. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo_Type_Female + * Female. (Value: "FEMALE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo_Type_Male Male. + * (Value: "MALE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo_Type_Undetermined + * Undetermined gender. (Value: "UNDETERMINED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo_Type_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo_Type_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * An Image asset. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonImageAsset : GTLRObject + +/** + * File size of the image asset in bytes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fileSize; + +/** Metadata for this image at its original size. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonImageDimension *fullSize; + +/** + * MIME type of the image asset. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_AudioMp3 + * MIME type of audio/mp3. (Value: "AUDIO_MP3") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_AudioWav + * MIME type of audio/wav. (Value: "AUDIO_WAV") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Flash + * MIME type of application/x-shockwave-flash. (Value: "FLASH") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Html5AdZip + * MIME type of application/x-html5-ad-zip. (Value: "HTML5_AD_ZIP") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_ImageGif + * MIME type of image/gif. (Value: "IMAGE_GIF") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_ImageJpeg + * MIME type of image/jpeg. (Value: "IMAGE_JPEG") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_ImagePng + * MIME type of image/png. (Value: "IMAGE_PNG") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Msexcel + * MIME type of application/vnd.ms-excel. (Value: "MSEXCEL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Msword + * MIME type of application/msword. (Value: "MSWORD") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Pdf + * MIME type of application/pdf. (Value: "PDF") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Rtf + * MIME type of application/rtf. (Value: "RTF") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_TextHtml + * MIME type of text/html. (Value: "TEXT_HTML") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Unknown + * The received value is not known in this version. This is a + * response-only value. (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonImageAsset_MimeType_Unspecified + * The mime type has not been specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *mimeType; + +@end + + +/** + * Metadata for an image at a certain size, either original or resized. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonImageDimension : GTLRObject + +/** + * Height of the image. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *heightPixels; + +/** A URL that returns the image with this height and width. */ +@property(nonatomic, copy, nullable) NSString *url; + +/** + * Width of the image. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *widthPixels; + +@end + + +/** + * A Keyword criterion segment. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonKeyword : GTLRObject + +/** The AdGroupCriterion resource name. */ +@property(nonatomic, copy, nullable) NSString *adGroupCriterion; + +/** Keyword info. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo *info; + +@end + + +/** + * A keyword criterion. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo : GTLRObject + +/** + * The match type of the keyword. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo_MatchType_Broad + * Broad match. (Value: "BROAD") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo_MatchType_Exact + * Exact match. (Value: "EXACT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo_MatchType_Phrase + * Phrase match. (Value: "PHRASE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo_MatchType_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo_MatchType_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *matchType; + +/** The text of the keyword (at most 80 characters and 10 words). */ +@property(nonatomic, copy, nullable) NSString *text; + +@end + + +/** + * A language criterion. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonLanguageInfo : GTLRObject + +/** The language constant resource name. */ +@property(nonatomic, copy, nullable) NSString *languageConstant; + +@end + + +/** + * A listing group criterion. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonListingGroupInfo : GTLRObject + +/** + * Type of the listing group. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonListingGroupInfo_Type_Subdivision + * Subdivision of products along some listing dimension. These nodes are + * not used by serving to target listing entries, but is purely to define + * the structure of the tree. (Value: "SUBDIVISION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonListingGroupInfo_Type_Unit + * Listing group unit that defines a bid. (Value: "UNIT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonListingGroupInfo_Type_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonListingGroupInfo_Type_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * A radius around a list of locations specified through a feed. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonLocationGroupInfo : GTLRObject + +/** + * FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, + * then all items that appear in at least one set are targeted. This field + * cannot be used with geo_target_constants. This is optional and can only be + * set in CREATE operations. + */ +@property(nonatomic, strong, nullable) NSArray *feedItemSets; + +/** + * Geo target constant(s) restricting the scope of the geographic area within + * the feed. Currently only one geo target constant is allowed. + */ +@property(nonatomic, strong, nullable) NSArray *geoTargetConstants; + +/** + * Distance in units specifying the radius around targeted locations. This is + * required and must be set in CREATE operations. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *radius; + +/** + * Unit of the radius. Miles and meters are supported for geo target constants. + * Milli miles and meters are supported for feed item sets. This is required + * and must be set in CREATE operations. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonLocationGroupInfo_RadiusUnits_Meters + * Meters (Value: "METERS") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonLocationGroupInfo_RadiusUnits_Miles + * Miles (Value: "MILES") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonLocationGroupInfo_RadiusUnits_MilliMiles + * Milli Miles (Value: "MILLI_MILES") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonLocationGroupInfo_RadiusUnits_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonLocationGroupInfo_RadiusUnits_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *radiusUnits; + +@end + + +/** + * A location criterion. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonLocationInfo : GTLRObject + +/** The geo target constant resource name. */ +@property(nonatomic, copy, nullable) NSString *geoTargetConstant; + +@end + + +/** + * Manual bidding strategy that allows advertiser to set the bid per + * advertiser-specified action. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonManualCpa : GTLRObject +@end + + +/** + * Manual click-based bidding where user pays per click. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonManualCpc : GTLRObject + +/** + * Whether bids are to be enhanced based on conversion optimizer data. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enhancedCpcEnabled; + +@end + + +/** + * Manual impression-based bidding where user pays per thousand impressions. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonManualCpm : GTLRObject +@end + + +/** + * An automated bidding strategy to help get the most conversions for your + * campaigns while spending your budget. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonMaximizeConversions : GTLRObject + +/** + * Maximum bid limit that can be set by the bid strategy. The limit applies to + * all keywords managed by the strategy. Mutable for portfolio bidding + * strategies only. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpcBidCeilingMicros; + +/** + * Minimum bid limit that can be set by the bid strategy. The limit applies to + * all keywords managed by the strategy. Mutable for portfolio bidding + * strategies only. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpcBidFloorMicros; + +/** + * The target cost-per-action (CPA) option. This is the average amount that you + * would like to spend per conversion action specified in micro units of the + * bidding strategy's currency. If set, the bid strategy will get as many + * conversions as possible at or below the target cost-per-action. If the + * target CPA is not set, the bid strategy will aim to achieve the lowest + * possible CPA given the budget. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *targetCpaMicros; + +@end + + +/** + * An automated bidding strategy to help get the most conversion value for your + * campaigns while spending your budget. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonMaximizeConversionValue : GTLRObject + +/** + * Maximum bid limit that can be set by the bid strategy. The limit applies to + * all keywords managed by the strategy. Mutable for portfolio bidding + * strategies only. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpcBidCeilingMicros; + +/** + * Minimum bid limit that can be set by the bid strategy. The limit applies to + * all keywords managed by the strategy. Mutable for portfolio bidding + * strategies only. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpcBidFloorMicros; + +/** + * The target return on ad spend (ROAS) option. If set, the bid strategy will + * maximize revenue while averaging the target return on ad spend. If the + * target ROAS is high, the bid strategy may not be able to spend the full + * budget. If the target ROAS is not set, the bid strategy will aim to achieve + * the highest possible ROAS for the budget. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *targetRoas; + +@end + + +/** + * Metrics data. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonMetrics : GTLRObject + +/** + * The percent of your ad impressions that are shown as the very first ad above + * the organic search results. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *absoluteTopImpressionPercentage; + +/** + * The total number of conversions. This includes all conversions regardless of + * the value of include_in_conversions_metric. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversions; + +/** + * The total number of conversions. This includes all conversions regardless of + * the value of include_in_conversions_metric. When this column is selected + * with date, the values in date column means the conversion date. Details for + * the by_conversion_date columns are available at + * https://support.google.com/sa360/answer/9250611. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversionsByConversionDate; + +/** + * The number of times people clicked the "Call" button to call a store during + * or after clicking an ad. This number doesn't include whether or not calls + * were connected, or the duration of any calls. This metric applies to feed + * items only. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversionsFromClickToCall; + +/** + * The number of times people clicked a "Get directions" button to navigate to + * a store after clicking an ad. This metric applies to feed items only. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversionsFromDirections; + +/** + * All conversions from interactions (as oppose to view through conversions) + * divided by the number of ad interactions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversionsFromInteractionsRate; + +/** + * The value of all conversions from interactions divided by the total number + * of interactions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversionsFromInteractionsValuePerInteraction; + +/** + * The number of times people clicked a link to view a store's menu after + * clicking an ad. This metric applies to feed items only. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversionsFromMenu; + +/** + * The number of times people placed an order at a store after clicking an ad. + * This metric applies to feed items only. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversionsFromOrder; + +/** + * The number of other conversions (for example, posting a review or saving a + * location for a store) that occurred after people clicked an ad. This metric + * applies to feed items only. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversionsFromOtherEngagement; + +/** + * Estimated number of times people visited a store after clicking an ad. This + * metric applies to feed items only. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversionsFromStoreVisit; + +/** + * The number of times that people were taken to a store's URL after clicking + * an ad. This metric applies to feed items only. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversionsFromStoreWebsite; + +/** + * The value of all conversions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversionsValue; + +/** + * The value of all conversions. When this column is selected with date, the + * values in date column means the conversion date. Details for the + * by_conversion_date columns are available at + * https://support.google.com/sa360/answer/9250611. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversionsValueByConversionDate; + +/** + * The value of all conversions divided by the total cost of ad interactions + * (such as clicks for text ads or views for video ads). + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allConversionsValuePerCost; + +/** + * The average amount you pay per interaction. This amount is the total cost of + * your ads divided by the total number of interactions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *averageCost; + +/** + * The total cost of all clicks divided by the total number of clicks received. + * This metric is a monetary value and returned in the customer's currency by + * default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *averageCpc; + +/** + * Average cost-per-thousand impressions (CPM). This metric is a monetary value + * and returned in the customer's currency by default. See the metrics_currency + * parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *averageCpm; + +/** + * The number of clicks. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clicks; + +/** + * The number of client account conversions. This only includes conversion + * actions which include_in_client_account_conversions_metric attribute is set + * to true. If you use conversion-based bidding, your bid strategies will + * optimize for these conversions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientAccountConversions; + +/** + * The value of client account conversions. This only includes conversion + * actions which include_in_client_account_conversions_metric attribute is set + * to true. If you use conversion-based bidding, your bid strategies will + * optimize for these conversions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientAccountConversionsValue; + +/** + * Client account cross-sell cost of goods sold (COGS) is the total cost of + * products sold as a result of advertising a different product. How it works: + * You report conversions with cart data for completed purchases on your + * website. If the ad that was interacted with before the purchase has an + * associated product (see Shopping Ads) then this product is considered the + * advertised product. Any product included in the order the customer places is + * a sold product. If these products don't match then this is considered + * cross-sell. Cross-sell cost of goods sold is the total cost of the products + * sold that weren't advertised. Example: Someone clicked on a Shopping ad for + * a hat then bought the same hat and a shirt. The hat has a cost of goods sold + * value of $3, the shirt has a cost of goods sold value of $5. The cross-sell + * cost of goods sold for this order is $5. This metric is only available if + * you report conversions with cart data. This metric is a monetary value and + * returned in the customer's currency by default. See the metrics_currency + * parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientAccountCrossSellCostOfGoodsSoldMicros; + +/** + * Client account cross-sell gross profit is the profit you made from products + * sold as a result of advertising a different product, minus cost of goods + * sold (COGS). How it works: You report conversions with cart data for + * completed purchases on your website. If the ad that was interacted with + * before the purchase has an associated product (see Shopping Ads) then this + * product is considered the advertised product. Any product included in the + * purchase is a sold product. If these products don't match then this is + * considered cross-sell. Cross-sell gross profit is the revenue you made from + * cross-sell attributed to your ads minus the cost of the goods sold. Example: + * Someone clicked on a Shopping ad for a hat then bought the same hat and a + * shirt. The shirt is priced $20 and has a cost of goods sold value of $5. The + * cross-sell gross profit of this order is $15 = $20 - $5. This metric is only + * available if you report conversions with cart data. This metric is a + * monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientAccountCrossSellGrossProfitMicros; + +/** + * Client account cross-sell revenue is the total amount you made from products + * sold as a result of advertising a different product. How it works: You + * report conversions with cart data for completed purchases on your website. + * If the ad that was interacted with before the purchase has an associated + * product (see Shopping Ads) then this product is considered the advertised + * product. Any product included in the order the customer places is a sold + * product. If these products don't match then this is considered cross-sell. + * Cross-sell revenue is the total value you made from cross-sell attributed to + * your ads. Example: Someone clicked on a Shopping ad for a hat then bought + * the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. + * The cross-sell revenue of this order is $20. This metric is only available + * if you report conversions with cart data. This metric is a monetary value + * and returned in the customer's currency by default. See the metrics_currency + * parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientAccountCrossSellRevenueMicros; + +/** + * Client account cross-sell units sold is the total number of products sold as + * a result of advertising a different product. How it works: You report + * conversions with cart data for completed purchases on your website. If the + * ad that was interacted with before the purchase has an associated product + * (see Shopping Ads) then this product is considered the advertised product. + * Any product included in the order the customer places is a sold product. If + * these products don't match then this is considered cross-sell. Cross-sell + * units sold is the total number of cross-sold products from all orders + * attributed to your ads. Example: Someone clicked on a Shopping ad for a hat + * then bought the same hat, a shirt and a jacket. The cross-sell units sold in + * this order is 2. This metric is only available if you report conversions + * with cart data. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientAccountCrossSellUnitsSold; + +/** + * Client account lead cost of goods sold (COGS) is the total cost of products + * sold as a result of advertising the same product. How it works: You report + * conversions with cart data for completed purchases on your website. If the + * ad that was interacted with has an associated product (see Shopping Ads) + * then this product is considered the advertised product. Any product included + * in the order the customer places is a sold product. If the advertised and + * sold products match, then the cost of these goods is counted under lead cost + * of goods sold. Example: Someone clicked on a Shopping ad for a hat then + * bought the same hat and a shirt. The hat has a cost of goods sold value of + * $3, the shirt has a cost of goods sold value of $5. The lead cost of goods + * sold for this order is $3. This metric is only available if you report + * conversions with cart data. This metric is a monetary value and returned in + * the customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientAccountLeadCostOfGoodsSoldMicros; + +/** + * Client account lead gross profit is the profit you made from products sold + * as a result of advertising the same product, minus cost of goods sold + * (COGS). How it works: You report conversions with cart data for completed + * purchases on your website. If the ad that was interacted with before the + * purchase has an associated product (see Shopping Ads) then this product is + * considered the advertised product. Any product included in the order the + * customer places is a sold product. If the advertised and sold products + * match, then the revenue you made from these sales minus the cost of goods + * sold is your lead gross profit. Example: Someone clicked on a Shopping ad + * for a hat then bought the same hat and a shirt. The hat is priced $10 and + * has a cost of goods sold value of $3. The lead gross profit of this order is + * $7 = $10 - $3. This metric is only available if you report conversions with + * cart data. This metric is a monetary value and returned in the customer's + * currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientAccountLeadGrossProfitMicros; + +/** + * Client account lead revenue is the total amount you made from products sold + * as a result of advertising the same product. How it works: You report + * conversions with cart data for completed purchases on your website. If the + * ad that was interacted with before the purchase has an associated product + * (see Shopping Ads) then this product is considered the advertised product. + * Any product included in the order the customer places is a sold product. If + * the advertised and sold products match, then the total value you made from + * the sales of these products is shown under lead revenue. Example: Someone + * clicked on a Shopping ad for a hat then bought the same hat and a shirt. The + * hat is priced $10 and the shirt is priced $20. The lead revenue of this + * order is $10. This metric is only available if you report conversions with + * cart data. This metric is a monetary value and returned in the customer's + * currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientAccountLeadRevenueMicros; + +/** + * Client account lead units sold is the total number of products sold as a + * result of advertising the same product. How it works: You report conversions + * with cart data for completed purchases on your website. If the ad that was + * interacted with before the purchase has an associated product (see Shopping + * Ads) then this product is considered the advertised product. Any product + * included in the order the customer places is a sold product. If the + * advertised and sold products match, then the total number of these products + * sold is shown under lead units sold. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat, a shirt and a jacket. The lead units + * sold in this order is 1. This metric is only available if you report + * conversions with cart data. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientAccountLeadUnitsSold; + +/** + * The total number of view-through conversions. These happen when a customer + * sees an image or rich media ad, then later completes a conversion on your + * site without interacting with (for example, clicking on) another ad. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientAccountViewThroughConversions; + +/** + * The estimated percent of times that your ad was eligible to show on the + * Display Network but didn't because your budget was too low. Note: Content + * budget lost impression share is reported in the range of 0 to 0.9. Any value + * above 0.9 is reported as 0.9001. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *contentBudgetLostImpressionShare; + +/** + * The impressions you've received on the Display Network divided by the + * estimated number of impressions you were eligible to receive. Note: Content + * impression share is reported in the range of 0.1 to 1. Any value below 0.1 + * is reported as 0.0999. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *contentImpressionShare; + +/** + * The estimated percentage of impressions on the Display Network that your ads + * didn't receive due to poor Ad Rank. Note: Content rank lost impression share + * is reported in the range of 0 to 0.9. Any value above 0.9 is reported as + * 0.9001. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *contentRankLostImpressionShare; + +/** + * The number of conversions. This only includes conversion actions which + * include_in_conversions_metric attribute is set to true. If you use + * conversion-based bidding, your bid strategies will optimize for these + * conversions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *conversions; + +/** + * The sum of conversions by conversion date for biddable conversion types. Can + * be fractional due to attribution modeling. When this column is selected with + * date, the values in date column means the conversion date. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *conversionsByConversionDate; + +/** + * Average biddable conversions (from interaction) per conversion eligible + * interaction. Shows how often, on average, an ad interaction leads to a + * biddable conversion. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *conversionsFromInteractionsRate; + +/** + * The value of conversions from interactions divided by the number of ad + * interactions. This only includes conversion actions which + * include_in_conversions_metric attribute is set to true. If you use + * conversion-based bidding, your bid strategies will optimize for these + * conversions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *conversionsFromInteractionsValuePerInteraction; + +/** + * The sum of conversion values for the conversions included in the + * "conversions" field. This metric is useful only if you entered a value for + * your conversion actions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *conversionsValue; + +/** + * The sum of biddable conversions value by conversion date. When this column + * is selected with date, the values in date column means the conversion date. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *conversionsValueByConversionDate; + +/** + * The value of biddable conversion divided by the total cost of conversion + * eligible interactions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *conversionsValuePerCost; + +/** + * The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) + * costs during this period. This metric is a monetary value and returned in + * the customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *costMicros; + +/** + * The cost of ad interactions divided by all conversions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *costPerAllConversions; + +/** + * Average conversion eligible cost per biddable conversion. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *costPerConversion; + +/** + * The cost of ad interactions divided by current model attributed conversions. + * This only includes conversion actions which include_in_conversions_metric + * attribute is set to true. If you use conversion-based bidding, your bid + * strategies will optimize for these conversions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *costPerCurrentModelAttributedConversion; + +/** + * Conversions from when a customer clicks on an ad on one device, then + * converts on a different device or browser. Cross-device conversions are + * already included in all_conversions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *crossDeviceConversions; + +/** + * The sum of the value of cross-device conversions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *crossDeviceConversionsValue; + +/** + * Cross-sell cost of goods sold (COGS) is the total cost of products sold as a + * result of advertising a different product. How it works: You report + * conversions with cart data for completed purchases on your website. If the + * ad that was interacted with before the purchase has an associated product + * (see Shopping Ads) then this product is considered the advertised product. + * Any product included in the order the customer places is a sold product. If + * these products don't match then this is considered cross-sell. Cross-sell + * cost of goods sold is the total cost of the products sold that weren't + * advertised. Example: Someone clicked on a Shopping ad for a hat then bought + * the same hat and a shirt. The hat has a cost of goods sold value of $3, the + * shirt has a cost of goods sold value of $5. The cross-sell cost of goods + * sold for this order is $5. This metric is only available if you report + * conversions with cart data. This metric is a monetary value and returned in + * the customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *crossSellCostOfGoodsSoldMicros; + +/** + * Cross-sell gross profit is the profit you made from products sold as a + * result of advertising a different product, minus cost of goods sold (COGS). + * How it works: You report conversions with cart data for completed purchases + * on your website. If the ad that was interacted with before the purchase has + * an associated product (see Shopping Ads) then this product is considered the + * advertised product. Any product included in the purchase is a sold product. + * If these products don't match then this is considered cross-sell. Cross-sell + * gross profit is the revenue you made from cross-sell attributed to your ads + * minus the cost of the goods sold. Example: Someone clicked on a Shopping ad + * for a hat then bought the same hat and a shirt. The shirt is priced $20 and + * has a cost of goods sold value of $5. The cross-sell gross profit of this + * order is $15 = $20 - $5. This metric is only available if you report + * conversions with cart data. This metric is a monetary value and returned in + * the customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *crossSellGrossProfitMicros; + +/** + * Cross-sell revenue is the total amount you made from products sold as a + * result of advertising a different product. How it works: You report + * conversions with cart data for completed purchases on your website. If the + * ad that was interacted with before the purchase has an associated product + * (see Shopping Ads) then this product is considered the advertised product. + * Any product included in the order the customer places is a sold product. If + * these products don't match then this is considered cross-sell. Cross-sell + * revenue is the total value you made from cross-sell attributed to your ads. + * Example: Someone clicked on a Shopping ad for a hat then bought the same hat + * and a shirt. The hat is priced $10 and the shirt is priced $20. The + * cross-sell revenue of this order is $20. This metric is only available if + * you report conversions with cart data. This metric is a monetary value and + * returned in the customer's currency by default. See the metrics_currency + * parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *crossSellRevenueMicros; + +/** + * Cross-sell units sold is the total number of products sold as a result of + * advertising a different product. How it works: You report conversions with + * cart data for completed purchases on your website. If the ad that was + * interacted with before the purchase has an associated product (see Shopping + * Ads) then this product is considered the advertised product. Any product + * included in the order the customer places is a sold product. If these + * products don't match then this is considered cross-sell. Cross-sell units + * sold is the total number of cross-sold products from all orders attributed + * to your ads. Example: Someone clicked on a Shopping ad for a hat then bought + * the same hat, a shirt and a jacket. The cross-sell units sold in this order + * is 2. This metric is only available if you report conversions with cart + * data. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *crossSellUnitsSold; + +/** + * The number of clicks your ad receives (Clicks) divided by the number of + * times your ad is shown (Impressions). + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ctr; + +/** + * The creative historical quality score. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalCreativeQualityScore_AboveAverage + * Quality of the creative is above average. (Value: "ABOVE_AVERAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalCreativeQualityScore_Average + * Quality of the creative is average. (Value: "AVERAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalCreativeQualityScore_BelowAverage + * Quality of the creative is below average. (Value: "BELOW_AVERAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalCreativeQualityScore_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalCreativeQualityScore_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *historicalCreativeQualityScore; + +/** + * The quality of historical landing page experience. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalLandingPageQualityScore_AboveAverage + * Quality of the creative is above average. (Value: "ABOVE_AVERAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalLandingPageQualityScore_Average + * Quality of the creative is average. (Value: "AVERAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalLandingPageQualityScore_BelowAverage + * Quality of the creative is below average. (Value: "BELOW_AVERAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalLandingPageQualityScore_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalLandingPageQualityScore_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *historicalLandingPageQualityScore; + +/** + * The historical quality score. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *historicalQualityScore; + +/** + * The historical search predicted click through rate (CTR). + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalSearchPredictedCtr_AboveAverage + * Quality of the creative is above average. (Value: "ABOVE_AVERAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalSearchPredictedCtr_Average + * Quality of the creative is average. (Value: "AVERAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalSearchPredictedCtr_BelowAverage + * Quality of the creative is below average. (Value: "BELOW_AVERAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalSearchPredictedCtr_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMetrics_HistoricalSearchPredictedCtr_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *historicalSearchPredictedCtr; + +/** + * Count of how often your ad has appeared on a search results page or website + * on the Google Network. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *impressions; + +/** The types of payable and free interactions. */ +@property(nonatomic, strong, nullable) NSArray *interactionEventTypes; + +/** + * How often people interact with your ad after it is shown to them. This is + * the number of interactions divided by the number of times your ad is shown. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *interactionRate; + +/** + * The number of interactions. An interaction is the main user action + * associated with an ad format-clicks for text and shopping ads, views for + * video ads, and so on. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *interactions; + +/** + * The percentage of clicks filtered out of your total number of clicks + * (filtered + non-filtered clicks) during the reporting period. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *invalidClickRate; + +/** + * Number of clicks Google considers illegitimate and doesn't charge you for. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *invalidClicks; + +/** + * Lead cost of goods sold (COGS) is the total cost of products sold as a + * result of advertising the same product. How it works: You report conversions + * with cart data for completed purchases on your website. If the ad that was + * interacted with has an associated product (see Shopping Ads) then this + * product is considered the advertised product. Any product included in the + * order the customer places is a sold product. If the advertised and sold + * products match, then the cost of these goods is counted under lead cost of + * goods sold. Example: Someone clicked on a Shopping ad for a hat then bought + * the same hat and a shirt. The hat has a cost of goods sold value of $3, the + * shirt has a cost of goods sold value of $5. The lead cost of goods sold for + * this order is $3. This metric is only available if you report conversions + * with cart data. This metric is a monetary value and returned in the + * customer's currency by default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *leadCostOfGoodsSoldMicros; + +/** + * Lead gross profit is the profit you made from products sold as a result of + * advertising the same product, minus cost of goods sold (COGS). How it works: + * You report conversions with cart data for completed purchases on your + * website. If the ad that was interacted with before the purchase has an + * associated product (see Shopping Ads) then this product is considered the + * advertised product. Any product included in the order the customer places is + * a sold product. If the advertised and sold products match, then the revenue + * you made from these sales minus the cost of goods sold is your lead gross + * profit. Example: Someone clicked on a Shopping ad for a hat then bought the + * same hat and a shirt. The hat is priced $10 and has a cost of goods sold + * value of $3. The lead gross profit of this order is $7 = $10 - $3. This + * metric is only available if you report conversions with cart data. This + * metric is a monetary value and returned in the customer's currency by + * default. See the metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *leadGrossProfitMicros; + +/** + * Lead revenue is the total amount you made from products sold as a result of + * advertising the same product. How it works: You report conversions with cart + * data for completed purchases on your website. If the ad that was interacted + * with before the purchase has an associated product (see Shopping Ads) then + * this product is considered the advertised product. Any product included in + * the order the customer places is a sold product. If the advertised and sold + * products match, then the total value you made from the sales of these + * products is shown under lead revenue. Example: Someone clicked on a Shopping + * ad for a hat then bought the same hat and a shirt. The hat is priced $10 and + * the shirt is priced $20. The lead revenue of this order is $10. This metric + * is only available if you report conversions with cart data. This metric is a + * monetary value and returned in the customer's currency by default. See the + * metrics_currency parameter at + * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *leadRevenueMicros; + +/** + * Lead units sold is the total number of products sold as a result of + * advertising the same product. How it works: You report conversions with cart + * data for completed purchases on your website. If the ad that was interacted + * with before the purchase has an associated product (see Shopping Ads) then + * this product is considered the advertised product. Any product included in + * the order the customer places is a sold product. If the advertised and sold + * products match, then the total number of these products sold is shown under + * lead units sold. Example: Someone clicked on a Shopping ad for a hat then + * bought the same hat, a shirt and a jacket. The lead units sold in this order + * is 1. This metric is only available if you report conversions with cart + * data. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *leadUnitsSold; + +/** + * The percentage of mobile clicks that go to a mobile-friendly page. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *mobileFriendlyClicksPercentage; + +/** + * The percentage of the customer's Shopping or Search ad impressions that are + * shown in the most prominent Shopping position. See + * https://support.google.com/sa360/answer/9566729 for details. Any value below + * 0.1 is reported as 0.0999. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *searchAbsoluteTopImpressionShare; + +/** + * The number estimating how often your ad wasn't the very first ad above the + * organic search results due to a low budget. Note: Search budget lost + * absolute top impression share is reported in the range of 0 to 0.9. Any + * value above 0.9 is reported as 0.9001. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *searchBudgetLostAbsoluteTopImpressionShare; + +/** + * The estimated percent of times that your ad was eligible to show on the + * Search Network but didn't because your budget was too low. Note: Search + * budget lost impression share is reported in the range of 0 to 0.9. Any value + * above 0.9 is reported as 0.9001. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *searchBudgetLostImpressionShare; + +/** + * The number estimating how often your ad didn't show anywhere above the + * organic search results due to a low budget. Note: Search budget lost top + * impression share is reported in the range of 0 to 0.9. Any value above 0.9 + * is reported as 0.9001. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *searchBudgetLostTopImpressionShare; + +/** + * The number of clicks you've received on the Search Network divided by the + * estimated number of clicks you were eligible to receive. Note: Search click + * share is reported in the range of 0.1 to 1. Any value below 0.1 is reported + * as 0.0999. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *searchClickShare; + +/** + * The impressions you've received divided by the estimated number of + * impressions you were eligible to receive on the Search Network for search + * terms that matched your keywords exactly (or were close variants of your + * keyword), regardless of your keyword match types. Note: Search exact match + * impression share is reported in the range of 0.1 to 1. Any value below 0.1 + * is reported as 0.0999. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *searchExactMatchImpressionShare; + +/** + * The impressions you've received on the Search Network divided by the + * estimated number of impressions you were eligible to receive. Note: Search + * impression share is reported in the range of 0.1 to 1. Any value below 0.1 + * is reported as 0.0999. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *searchImpressionShare; + +/** + * The number estimating how often your ad wasn't the very first ad above the + * organic search results due to poor Ad Rank. Note: Search rank lost absolute + * top impression share is reported in the range of 0 to 0.9. Any value above + * 0.9 is reported as 0.9001. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *searchRankLostAbsoluteTopImpressionShare; + +/** + * The estimated percentage of impressions on the Search Network that your ads + * didn't receive due to poor Ad Rank. Note: Search rank lost impression share + * is reported in the range of 0 to 0.9. Any value above 0.9 is reported as + * 0.9001. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *searchRankLostImpressionShare; + +/** + * The number estimating how often your ad didn't show anywhere above the + * organic search results due to poor Ad Rank. Note: Search rank lost top + * impression share is reported in the range of 0 to 0.9. Any value above 0.9 + * is reported as 0.9001. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *searchRankLostTopImpressionShare; + +/** + * The impressions you've received in the top location (anywhere above the + * organic search results) compared to the estimated number of impressions you + * were eligible to receive in the top location. Note: Search top impression + * share is reported in the range of 0.1 to 1. Any value below 0.1 is reported + * as 0.0999. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *searchTopImpressionShare; + +/** + * The percent of your ad impressions that are shown anywhere above the organic + * search results. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *topImpressionPercentage; + +/** + * The value of all conversions divided by the number of all conversions. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *valuePerAllConversions; + +/** + * The value of all conversions divided by the number of all conversions. When + * this column is selected with date, the values in date column means the + * conversion date. Details for the by_conversion_date columns are available at + * https://support.google.com/sa360/answer/9250611. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *valuePerAllConversionsByConversionDate; + +/** + * The value of biddable conversion divided by the number of biddable + * conversions. Shows how much, on average, each of the biddable conversions is + * worth. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *valuePerConversion; + +/** + * Biddable conversions value by conversion date divided by biddable + * conversions by conversion date. Shows how much, on average, each of the + * biddable conversions is worth (by conversion date). When this column is + * selected with date, the values in date column means the conversion date. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *valuePerConversionsByConversionDate; + +/** + * Clicks that Search Ads 360 has successfully recorded and forwarded to an + * advertiser's landing page. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *visits; + +@end + + +/** + * An asset representing a mobile app. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonMobileAppAsset : GTLRObject + +/** + * Required. A string that uniquely identifies a mobile application. It should + * just contain the platform native id, like "com.android.ebay" for Android or + * "12345689" for iOS. + */ +@property(nonatomic, copy, nullable) NSString *appId; + +/** + * Required. The application store that distributes this specific app. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMobileAppAsset_AppStore_AppleAppStore + * Mobile app vendor for Apple app store. (Value: "APPLE_APP_STORE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMobileAppAsset_AppStore_GoogleAppStore + * Mobile app vendor for Google app store. (Value: "GOOGLE_APP_STORE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMobileAppAsset_AppStore_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonMobileAppAsset_AppStore_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *appStore; + +@end + + +/** + * A bidding strategy where bids are a fraction of the advertised price for + * some good or service. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonPercentCpc : GTLRObject + +/** + * Maximum bid limit that can be set by the bid strategy. This is an optional + * field entered by the advertiser and specified in local micros. Note: A zero + * value is interpreted in the same way as having bid_ceiling undefined. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpcBidCeilingMicros; + +/** + * Adjusts the bid for each auction upward or downward, depending on the + * likelihood of a conversion. Individual bids may exceed + * cpc_bid_ceiling_micros, but the average bid amount for a campaign should + * not. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enhancedCpcEnabled; + +@end + + +/** + * Settings for Real-Time Bidding, a feature only available for campaigns + * targeting the Ad Exchange network. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonRealTimeBiddingSetting : GTLRObject + +/** + * Whether the campaign is opted in to real-time bidding. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *optIn; + +@end + + +/** + * An expanded dynamic search ad. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo : GTLRObject + +/** + * The tracking id of the ad. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *adTrackingId; + +/** The first line of the ad's description. */ +@property(nonatomic, copy, nullable) NSString *description1; + +/** The second line of the ad's description. */ +@property(nonatomic, copy, nullable) NSString *description2; + +@end + + +/** + * A Search Ads 360 expanded text ad. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo : GTLRObject + +/** + * The tracking id of the ad. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *adTrackingId; + +/** The first line of the ad's description. */ +@property(nonatomic, copy, nullable) NSString *description1; /** The second line of the ad's description. */ @property(nonatomic, copy, nullable) NSString *description2; @@ -8031,14 +10269,209 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea */ @property(nonatomic, copy, nullable) NSString *device; -/** Keyword criterion. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonKeyword *keyword; +/** Keyword criterion. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonKeyword *keyword; + +/** + * Month as represented by the date of the first day of a month. Formatted as + * yyyy-MM-dd. + */ +@property(nonatomic, copy, nullable) NSString *month; + +/** Bidding category (level 1) of the product. */ +@property(nonatomic, copy, nullable) NSString *productBiddingCategoryLevel1; + +/** Bidding category (level 2) of the product. */ +@property(nonatomic, copy, nullable) NSString *productBiddingCategoryLevel2; + +/** Bidding category (level 3) of the product. */ +@property(nonatomic, copy, nullable) NSString *productBiddingCategoryLevel3; + +/** Bidding category (level 4) of the product. */ +@property(nonatomic, copy, nullable) NSString *productBiddingCategoryLevel4; + +/** Bidding category (level 5) of the product. */ +@property(nonatomic, copy, nullable) NSString *productBiddingCategoryLevel5; + +/** Brand of the product. */ +@property(nonatomic, copy, nullable) NSString *productBrand; + +/** + * Channel of the product. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannel_Local + * The item is sold in local stores. (Value: "LOCAL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannel_Online + * The item is sold online. (Value: "ONLINE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannel_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannel_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *productChannel; + +/** + * Channel exclusivity of the product. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannelExclusivity_MultiChannel + * The item is matched to its online or local stores counterpart, + * indicating it is available for purchase in both + * ShoppingProductChannels. (Value: "MULTI_CHANNEL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannelExclusivity_SingleChannel + * The item is sold through one channel only, either local stores or + * online as indicated by its ProductChannel. (Value: "SINGLE_CHANNEL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannelExclusivity_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductChannelExclusivity_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *productChannelExclusivity; + +/** + * Condition of the product. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_New + * The product condition is new. (Value: "NEW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Old + * The product condition is old. (Value: "OLD") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Refurbished + * The product condition is refurbished. (Value: "REFURBISHED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Unspecified + * Not specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductCondition_Used + * The product condition is used. (Value: "USED") + */ +@property(nonatomic, copy, nullable) NSString *productCondition; + +/** + * Resource name of the geo target constant for the country of sale of the + * product. + */ +@property(nonatomic, copy, nullable) NSString *productCountry; + +/** Custom attribute 0 of the product. */ +@property(nonatomic, copy, nullable) NSString *productCustomAttribute0; + +/** Custom attribute 1 of the product. */ +@property(nonatomic, copy, nullable) NSString *productCustomAttribute1; + +/** Custom attribute 2 of the product. */ +@property(nonatomic, copy, nullable) NSString *productCustomAttribute2; + +/** Custom attribute 3 of the product. */ +@property(nonatomic, copy, nullable) NSString *productCustomAttribute3; + +/** Custom attribute 4 of the product. */ +@property(nonatomic, copy, nullable) NSString *productCustomAttribute4; + +/** Item ID of the product. */ +@property(nonatomic, copy, nullable) NSString *productItemId; + +/** Resource name of the language constant for the language of the product. */ +@property(nonatomic, copy, nullable) NSString *productLanguage; + +/** Bidding category (level 1) of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldBiddingCategoryLevel1; + +/** Bidding category (level 2) of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldBiddingCategoryLevel2; + +/** Bidding category (level 3) of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldBiddingCategoryLevel3; + +/** Bidding category (level 4) of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldBiddingCategoryLevel4; + +/** Bidding category (level 5) of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldBiddingCategoryLevel5; + +/** Brand of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldBrand; + +/** + * Condition of the product sold. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_New + * The product condition is new. (Value: "NEW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Old + * The product condition is old. (Value: "OLD") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Refurbished + * The product condition is refurbished. (Value: "REFURBISHED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Unspecified + * Not specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonSegments_ProductSoldCondition_Used + * The product condition is used. (Value: "USED") + */ +@property(nonatomic, copy, nullable) NSString *productSoldCondition; + +/** Custom attribute 0 of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldCustomAttribute0; + +/** Custom attribute 1 of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldCustomAttribute1; + +/** Custom attribute 2 of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldCustomAttribute2; + +/** Custom attribute 3 of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldCustomAttribute3; + +/** Custom attribute 4 of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldCustomAttribute4; + +/** Item ID of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldItemId; + +/** Title of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldTitle; -/** - * Month as represented by the date of the first day of a month. Formatted as - * yyyy-MM-dd. - */ -@property(nonatomic, copy, nullable) NSString *month; +/** Type (level 1) of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldTypeL1; + +/** Type (level 2) of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldTypeL2; + +/** Type (level 3) of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldTypeL3; + +/** Type (level 4) of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldTypeL4; + +/** Type (level 5) of the product sold. */ +@property(nonatomic, copy, nullable) NSString *productSoldTypeL5; + +/** Store ID of the product. */ +@property(nonatomic, copy, nullable) NSString *productStoreId; + +/** Title of the product. */ +@property(nonatomic, copy, nullable) NSString *productTitle; + +/** Type (level 1) of the product. */ +@property(nonatomic, copy, nullable) NSString *productTypeL1; + +/** Type (level 2) of the product. */ +@property(nonatomic, copy, nullable) NSString *productTypeL2; + +/** Type (level 3) of the product. */ +@property(nonatomic, copy, nullable) NSString *productTypeL3; + +/** Type (level 4) of the product. */ +@property(nonatomic, copy, nullable) NSString *productTypeL4; + +/** Type (level 5) of the product. */ +@property(nonatomic, copy, nullable) NSString *productTypeL5; /** * Quarter as represented by the date of the first day of a quarter. Uses the @@ -8305,6 +10738,17 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea @end +/** + * A Text asset. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonTextAsset : GTLRObject + +/** Text content of the text asset. */ +@property(nonatomic, copy, nullable) NSString *text; + +@end + + /** * A type of label displaying text on a colored background. */ @@ -8729,6 +11173,23 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea @end +/** + * A YouTube asset. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0CommonYoutubeVideoAsset : GTLRObject + +/** + * YouTube video id. This is the 11 character string value used in the YouTube + * video URL. + */ +@property(nonatomic, copy, nullable) NSString *youtubeVideoId; + +/** YouTube video title. */ +@property(nonatomic, copy, nullable) NSString *youtubeVideoTitle; + +@end + + /** * The error reason represented by type and enum. */ @@ -8768,7 +11229,10 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea * Login cookie is required for authentication. (Value: * "LOGIN_COOKIE_REQUIRED") * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_AuthenticationError_NotAdsUser - * User in the cookie is not a valid Ads user. (Value: "NOT_ADS_USER") + * The Google account that generated the OAuth access token is not + * associated with a Search Ads 360 account. Create a new account, or add + * the Google account to an existing Search Ads 360 account. (Value: + * "NOT_ADS_USER") * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_AuthenticationError_OauthTokenDisabled * OAuth token in the header has been disabled. (Value: * "OAUTH_TOKEN_DISABLED") @@ -9176,7 +11640,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea @property(nonatomic, copy, nullable) NSString *queryError; /** - * An error with the amonut of quota remaining. + * An error with the amount of quota remaining. * * Likely values: * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_QuotaError_ResourceExhausted @@ -9775,832 +12239,1206 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea * TrueView (skippable) in-stream video ads. (Value: * "VIDEO_TRUE_VIEW_IN_STREAM") */ -@property(nonatomic, copy, nullable) NSString *type; +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * An ad group ad. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd : GTLRObject + +/** Immutable. The ad. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAd *ad; + +/** + * Output only. The timestamp when this ad_group_ad was created. The datetime + * is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + */ +@property(nonatomic, copy, nullable) NSString *creationTime; + +/** + * Output only. ID of the ad in the external engine account. This field is for + * SearchAds 360 account only, for example, Yahoo Japan, Microsoft, Baidu etc. + * For non-SearchAds 360 entity, use "ad_group_ad.ad.id" instead. + */ +@property(nonatomic, copy, nullable) NSString *engineId; + +/** + * Output only. Additional status of the ad in the external engine account. + * Possible statuses (depending on the type of external account) include + * active, eligible, pending review, etc. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdAccountPaused + * Creative has been paused because the account is paused. (Value: + * "AD_GROUP_AD_ACCOUNT_PAUSED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdAdGroupPaused + * Creative has been paused because the ad group is paused. (Value: + * "AD_GROUP_AD_AD_GROUP_PAUSED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdApproved + * Creative has been approved. (Value: "AD_GROUP_AD_APPROVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdCampaignPaused + * Creative has been paused because the campaign is paused. (Value: + * "AD_GROUP_AD_CAMPAIGN_PAUSED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdDisapproved + * Creative has been disapproved. (Value: "AD_GROUP_AD_DISAPPROVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdEligible + * Deprecated. Do not use. (Value: "AD_GROUP_AD_ELIGIBLE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdInappropriateForCampaign + * Baidu: Creative was not approved. (Value: + * "AD_GROUP_AD_INAPPROPRIATE_FOR_CAMPAIGN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdMobileUrlUnderReview + * Baidu: Mobile URL in process to be reviewed. (Value: + * "AD_GROUP_AD_MOBILE_URL_UNDER_REVIEW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdNotReviewed + * Baidu: Creative not reviewed. (Value: "AD_GROUP_AD_NOT_REVIEWED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdOnHold + * Deprecated. Do not use. Previously used by Gemini (Value: + * "AD_GROUP_AD_ON_HOLD") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdPartiallyInvalid + * Baidu: Creative is invalid on mobile device but valid on desktop. + * (Value: "AD_GROUP_AD_PARTIALLY_INVALID") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdPaused + * Creative has been paused. (Value: "AD_GROUP_AD_PAUSED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdPendingReview + * Creative is pending review. (Value: "AD_GROUP_AD_PENDING_REVIEW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdRemoved + * Creative has been removed. (Value: "AD_GROUP_AD_REMOVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdServing + * Creative is serving. (Value: "AD_GROUP_AD_SERVING") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdToBeActivated + * Baidu: Creative is ready for activation. (Value: + * "AD_GROUP_AD_TO_BE_ACTIVATED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdUnderReview + * Creative is under review. (Value: "AD_GROUP_AD_UNDER_REVIEW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_Unspecified + * No value has been specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *engineStatus; + +/** Output only. The resource names of labels attached to this ad group ad. */ +@property(nonatomic, strong, nullable) NSArray *labels; + +/** + * Output only. The datetime when this ad group ad was last modified. The + * datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" + * format. + */ +@property(nonatomic, copy, nullable) NSString *lastModifiedTime; + +/** + * Immutable. The resource name of the ad. Ad group ad resource names have the + * form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +/** + * The status of the ad. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_Status_Enabled + * The ad group ad is enabled. (Value: "ENABLED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_Status_Paused + * The ad group ad is paused. (Value: "PAUSED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_Status_Removed + * The ad group ad is removed. (Value: "REMOVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_Status_Unknown + * The received value is not known in this version. This is a + * response-only value. (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_Status_Unspecified + * No value has been specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *status; + +@end + + +/** + * A relationship between an ad group ad and a label. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAdLabel : GTLRObject + +/** Immutable. The ad group ad to which the label is attached. */ +@property(nonatomic, copy, nullable) NSString *adGroupAd; + +/** Immutable. The label assigned to the ad group ad. */ +@property(nonatomic, copy, nullable) NSString *label; + +/** + * Immutable. The resource name of the ad group ad label. Ad group ad label + * resource names have the form: + * `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +@end + + +/** + * A link between an ad group and an asset. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAsset : GTLRObject + +/** Required. Immutable. The ad group to which the asset is linked. */ +@property(nonatomic, copy, nullable) NSString *adGroup; + +/** Required. Immutable. The asset which is linked to the ad group. */ +@property(nonatomic, copy, nullable) NSString *asset; + +/** + * Immutable. The resource name of the ad group asset. AdGroupAsset resource + * names have the form: + * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +/** + * Status of the ad group asset. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAsset_Status_Enabled + * Asset link is enabled. (Value: "ENABLED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAsset_Status_Paused + * Asset link is paused. (Value: "PAUSED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAsset_Status_Removed + * Asset link has been removed. (Value: "REMOVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAsset_Status_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAsset_Status_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *status; + +@end + + +/** + * AdGroupAssetSet is the linkage between an ad group and an asset set. + * Creating an AdGroupAssetSet links an asset set with an ad group. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAssetSet : GTLRObject + +/** Immutable. The ad group to which this asset set is linked. */ +@property(nonatomic, copy, nullable) NSString *adGroup; + +/** Immutable. The asset set which is linked to the ad group. */ +@property(nonatomic, copy, nullable) NSString *assetSet; + +/** + * Immutable. The resource name of the ad group asset set. Ad group asset set + * resource names have the form: + * `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +/** + * Output only. The status of the ad group asset set. Read-only. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAssetSet_Status_Enabled + * The linkage between asset set and its container is enabled. (Value: + * "ENABLED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAssetSet_Status_Removed + * The linkage between asset set and its container is removed. (Value: + * "REMOVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAssetSet_Status_Unknown + * The received value is not known in this version. This is a + * response-only value. (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAssetSet_Status_Unspecified + * The status has not been specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *status; + +@end + + +/** + * An ad group audience view. Includes performance data from interests and + * remarketing lists for Display Network and YouTube Network ads, and + * remarketing lists for search ads (RLSA), aggregated at the audience level. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAudienceView : GTLRObject + +/** + * Output only. The resource name of the ad group audience view. Ad group + * audience view resource names have the form: + * `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; @end /** - * An ad group ad. + * Represents an ad group bid modifier. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd : GTLRObject +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupBidModifier : GTLRObject -/** Immutable. The ad. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAd *ad; +/** + * The modifier for the bid when the criterion matches. The modifier must be in + * the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. Use 0 to + * opt out of a Device type. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *bidModifier; + +/** Immutable. A device criterion. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo *device; /** - * Output only. The timestamp when this ad_group_ad was created. The datetime - * is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + * Immutable. The resource name of the ad group bid modifier. Ad group bid + * modifier resource names have the form: + * `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +@end + + +/** + * An ad group criterion. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion : GTLRObject + +/** Immutable. The ad group to which the criterion belongs. */ +@property(nonatomic, copy, nullable) NSString *adGroup; + +/** Immutable. Age range. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo *ageRange; + +/** + * The modifier for the bid when the criterion matches. The modifier must be in + * the range: 0.1 - 10.0. Most targetable criteria types support modifiers. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *bidModifier; + +/** + * The CPC (cost-per-click) bid. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpcBidMicros; + +/** + * Output only. The timestamp when this ad group criterion was created. The + * timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" + * format. */ @property(nonatomic, copy, nullable) NSString *creationTime; /** - * Output only. ID of the ad in the external engine account. This field is for - * SearchAds 360 account only, for example, Yahoo Japan, Microsoft, Baidu etc. - * For non-SearchAds 360 entity, use "ad_group_ad.ad.id" instead. + * Output only. The ID of the criterion. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *criterionId; + +/** + * Output only. The effective CPC (cost-per-click) bid. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *effectiveCpcBidMicros; + +/** + * Output only. ID of the ad group criterion in the external engine account. + * This field is for non-Google Ads account only, for example, Yahoo Japan, + * Microsoft, Baidu etc. For Google Ads entity, use + * "ad_group_criterion.criterion_id" instead. */ @property(nonatomic, copy, nullable) NSString *engineId; /** - * Output only. Additional status of the ad in the external engine account. - * Possible statuses (depending on the type of external account) include - * active, eligible, pending review, etc. + * Output only. The Engine Status for ad group criterion. * * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdAccountPaused - * Creative has been paused because the account is paused. (Value: - * "AD_GROUP_AD_ACCOUNT_PAUSED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdAdGroupPaused - * Creative has been paused because the ad group is paused. (Value: - * "AD_GROUP_AD_AD_GROUP_PAUSED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdApproved - * Creative has been approved. (Value: "AD_GROUP_AD_APPROVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdCampaignPaused - * Creative has been paused because the campaign is paused. (Value: - * "AD_GROUP_AD_CAMPAIGN_PAUSED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdDisapproved - * Creative has been disapproved. (Value: "AD_GROUP_AD_DISAPPROVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdEligible - * Deprecated. Do not use. (Value: "AD_GROUP_AD_ELIGIBLE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdInappropriateForCampaign - * Baidu: Creative was not approved. (Value: - * "AD_GROUP_AD_INAPPROPRIATE_FOR_CAMPAIGN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdMobileUrlUnderReview + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionAccountPaused + * Criterion has been paused since the account is paused. (Value: + * "AD_GROUP_CRITERION_ACCOUNT_PAUSED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionApproved + * Criterion has been approved. (Value: "AD_GROUP_CRITERION_APPROVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionDisapproved + * Criterion has been disapproved. (Value: + * "AD_GROUP_CRITERION_DISAPPROVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionEligible + * Deprecated. Do not use. (Value: "AD_GROUP_CRITERION_ELIGIBLE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionInappropriateForCampaign + * Baidu: Bid or quality too low to be displayed. (Value: + * "AD_GROUP_CRITERION_INAPPROPRIATE_FOR_CAMPAIGN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionInvalidMobileSearch + * Baidu: Bid or quality too low for mobile, but eligible to display for + * desktop. (Value: "AD_GROUP_CRITERION_INVALID_MOBILE_SEARCH") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionInvalidPcSearch + * Baidu: Bid or quality too low for desktop, but eligible to display for + * mobile. (Value: "AD_GROUP_CRITERION_INVALID_PC_SEARCH") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionInvalidSearch + * Baidu: Bid or quality too low to be displayed. (Value: + * "AD_GROUP_CRITERION_INVALID_SEARCH") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionLowSearchVolume + * Baidu: Paused by Baidu due to low search volume. (Value: + * "AD_GROUP_CRITERION_LOW_SEARCH_VOLUME") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionMobileUrlUnderReview * Baidu: Mobile URL in process to be reviewed. (Value: - * "AD_GROUP_AD_MOBILE_URL_UNDER_REVIEW") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdNotReviewed - * Baidu: Creative not reviewed. (Value: "AD_GROUP_AD_NOT_REVIEWED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdOnHold + * "AD_GROUP_CRITERION_MOBILE_URL_UNDER_REVIEW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionNotReviewed + * Baidu: Criterion to be reviewed. (Value: + * "AD_GROUP_CRITERION_NOT_REVIEWED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionOnHold * Deprecated. Do not use. Previously used by Gemini (Value: - * "AD_GROUP_AD_ON_HOLD") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdPartiallyInvalid - * Baidu: Creative is invalid on mobile device but valid on desktop. - * (Value: "AD_GROUP_AD_PARTIALLY_INVALID") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdPaused - * Creative has been paused. (Value: "AD_GROUP_AD_PAUSED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdPendingReview - * Creative is pending review. (Value: "AD_GROUP_AD_PENDING_REVIEW") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdRemoved - * Creative has been removed. (Value: "AD_GROUP_AD_REMOVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdServing - * Creative is serving. (Value: "AD_GROUP_AD_SERVING") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdToBeActivated - * Baidu: Creative is ready for activation. (Value: - * "AD_GROUP_AD_TO_BE_ACTIVATED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_AdGroupAdUnderReview - * Creative is under review. (Value: "AD_GROUP_AD_UNDER_REVIEW") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_Unknown + * "AD_GROUP_CRITERION_ON_HOLD") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionPartiallyInvalid + * Baidu: The landing page for one device is invalid, while the landing + * page for the other device is valid. (Value: + * "AD_GROUP_CRITERION_PARTIALLY_INVALID") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionPaused + * Criterion has been paused. (Value: "AD_GROUP_CRITERION_PAUSED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionPendingReview + * Y!J : Criterion pending review (Value: + * "AD_GROUP_CRITERION_PENDING_REVIEW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionRemoved + * Criterion has been removed. (Value: "AD_GROUP_CRITERION_REMOVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionServing + * Criterion is active and serving. (Value: "AD_GROUP_CRITERION_SERVING") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionToBeActivated + * Baidu: Keyword has been created and paused by Baidu account + * management, and is now ready for you to activate it. (Value: + * "AD_GROUP_CRITERION_TO_BE_ACTIVATED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionUnderReview + * Baidu: In process to be reviewed by Baidu. Gemini: Criterion under + * review. (Value: "AD_GROUP_CRITERION_UNDER_REVIEW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_Unknown * Used for return value only. Represents value unknown in this version. * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_EngineStatus_Unspecified - * No value has been specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_Unspecified + * Not specified. (Value: "UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *engineStatus; -/** Output only. The resource names of labels attached to this ad group ad. */ -@property(nonatomic, strong, nullable) NSArray *labels; - /** - * Output only. The datetime when this ad group ad was last modified. The - * datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" - * format. + * The list of possible final URLs after all cross-domain redirects for the ad. */ -@property(nonatomic, copy, nullable) NSString *lastModifiedTime; +@property(nonatomic, strong, nullable) NSArray *finalUrls; + +/** URL template for appending params to final URL. */ +@property(nonatomic, copy, nullable) NSString *finalUrlSuffix; + +/** Immutable. Gender. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo *gender; + +/** Immutable. Keyword. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo *keyword; /** - * Immutable. The resource name of the ad. Ad group ad resource names have the - * form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + * Output only. The resource names of labels attached to this ad group + * criterion. */ -@property(nonatomic, copy, nullable) NSString *resourceName; +@property(nonatomic, strong, nullable) NSArray *labels; /** - * The status of the ad. - * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_Status_Enabled - * The ad group ad is enabled. (Value: "ENABLED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_Status_Paused - * The ad group ad is paused. (Value: "PAUSED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_Status_Removed - * The ad group ad is removed. (Value: "REMOVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_Status_Unknown - * The received value is not known in this version. This is a - * response-only value. (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAd_Status_Unspecified - * No value has been specified. (Value: "UNSPECIFIED") + * Output only. The datetime when this ad group criterion was last modified. + * The datetime is in the customer's time zone and in "yyyy-MM-dd + * HH:mm:ss.ssssss" format. */ -@property(nonatomic, copy, nullable) NSString *status; +@property(nonatomic, copy, nullable) NSString *lastModifiedTime; -@end +/** Immutable. Listing group. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonListingGroupInfo *listingGroup; +/** Immutable. Location. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonLocationInfo *location; /** - * A relationship between an ad group ad and a label. + * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. + * This field is immutable. To switch a criterion from positive to negative, + * remove then re-add it. + * + * Uses NSNumber of boolValue. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAdLabel : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *negative; -/** Immutable. The ad group ad to which the label is attached. */ -@property(nonatomic, copy, nullable) NSString *adGroupAd; +/** Output only. Estimates for criterion bids at various positions. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates *positionEstimates; -/** Immutable. The label assigned to the ad group ad. */ -@property(nonatomic, copy, nullable) NSString *label; +/** Output only. Information regarding the quality of the criterion. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo *qualityInfo; /** - * Immutable. The resource name of the ad group ad label. Ad group ad label + * Immutable. The resource name of the ad group criterion. Ad group criterion * resource names have the form: - * `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` + * `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` */ @property(nonatomic, copy, nullable) NSString *resourceName; -@end - - /** - * A link between an ad group and an asset. + * The status of the criterion. This is the status of the ad group criterion + * entity, set by the client. Note: UI reports may incorporate additional + * information that affects whether a criterion is eligible to run. In some + * cases a criterion that's REMOVED in the API can still show as enabled in the + * UI. For example, campaigns by default show to users of all age ranges unless + * excluded. The UI will show each age range as "enabled", since they're + * eligible to see the ads; but AdGroupCriterion.status will show "removed", + * since no positive criterion was added. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Status_Enabled + * The ad group criterion is enabled. (Value: "ENABLED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Status_Paused + * The ad group criterion is paused. (Value: "PAUSED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Status_Removed + * The ad group criterion is removed. (Value: "REMOVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Status_Unknown + * The received value is not known in this version. This is a + * response-only value. (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Status_Unspecified + * No value has been specified. (Value: "UNSPECIFIED") */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAsset : GTLRObject - -/** Required. Immutable. The ad group to which the asset is linked. */ -@property(nonatomic, copy, nullable) NSString *adGroup; - -/** Required. Immutable. The asset which is linked to the ad group. */ -@property(nonatomic, copy, nullable) NSString *asset; +@property(nonatomic, copy, nullable) NSString *status; -/** - * Immutable. The resource name of the ad group asset. AdGroupAsset resource - * names have the form: - * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - */ -@property(nonatomic, copy, nullable) NSString *resourceName; +/** The URL template for constructing a tracking URL. */ +@property(nonatomic, copy, nullable) NSString *trackingUrlTemplate; /** - * Status of the ad group asset. + * Output only. The type of the criterion. * * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAsset_Status_Enabled - * Asset link is enabled. (Value: "ENABLED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAsset_Status_Paused - * Asset link is paused. (Value: "PAUSED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAsset_Status_Removed - * Asset link has been removed. (Value: "REMOVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAsset_Status_Unknown + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_AdSchedule + * Ad Schedule. (Value: "AD_SCHEDULE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_AgeRange + * Age range. (Value: "AGE_RANGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_AppPaymentModel + * App payment model. (Value: "APP_PAYMENT_MODEL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Audience + * Audience (Value: "AUDIENCE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Brand + * Brand (Value: "BRAND") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_BrandList + * Brand List (Value: "BRAND_LIST") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Carrier + * Carrier. (Value: "CARRIER") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_CombinedAudience + * Combined audience (Value: "COMBINED_AUDIENCE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_ContentLabel + * Content Label for category exclusion. (Value: "CONTENT_LABEL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_CustomAffinity + * Custom affinity. (Value: "CUSTOM_AFFINITY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_CustomAudience + * Custom audience (Value: "CUSTOM_AUDIENCE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_CustomIntent + * Custom intent. (Value: "CUSTOM_INTENT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Device + * Devices to target. (Value: "DEVICE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Gender + * Gender. (Value: "GENDER") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_IncomeRange + * Income Range. (Value: "INCOME_RANGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_IpBlock + * IpBlock. (Value: "IP_BLOCK") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Keyword + * Keyword, for example, 'mars cruise'. (Value: "KEYWORD") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_KeywordTheme + * Smart Campaign keyword theme (Value: "KEYWORD_THEME") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Language + * Language. (Value: "LANGUAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_ListingGroup + * Listing groups to target. (Value: "LISTING_GROUP") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_ListingScope + * Listing scope to target. (Value: "LISTING_SCOPE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_LocalServiceId + * Local Services Ads Service ID. (Value: "LOCAL_SERVICE_ID") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Location + * Locations to target. (Value: "LOCATION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_LocationGroup + * Location group. (Value: "LOCATION_GROUP") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_MobileAppCategory + * Mobile application categories to target. (Value: + * "MOBILE_APP_CATEGORY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_MobileApplication + * Mobile applications to target. (Value: "MOBILE_APPLICATION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_MobileDevice + * Mobile device. (Value: "MOBILE_DEVICE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_OperatingSystemVersion + * Operating system version. (Value: "OPERATING_SYSTEM_VERSION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_ParentalStatus + * Parental status. (Value: "PARENTAL_STATUS") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Placement + * Placement, also known as Website, for example, 'www.flowers4sale.com' + * (Value: "PLACEMENT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Proximity + * Proximity. (Value: "PROXIMITY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Topic + * A topic target on the display network (for example, "Pets & Animals"). + * (Value: "TOPIC") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Unknown * Used for return value only. Represents value unknown in this version. * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAsset_Status_Unspecified + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Unspecified * Not specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_UserInterest + * A category the user is interested in. (Value: "USER_INTEREST") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_UserList + * User list. (Value: "USER_LIST") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Webpage + * Webpage criterion for dynamic search ads. (Value: "WEBPAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_YoutubeChannel + * YouTube Channel. (Value: "YOUTUBE_CHANNEL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_YoutubeVideo + * YouTube Video. (Value: "YOUTUBE_VIDEO") */ -@property(nonatomic, copy, nullable) NSString *status; +@property(nonatomic, copy, nullable) NSString *type; + +/** + * Immutable. User List. The Similar Audiences sunset starts May 2023. Refer to + * https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html + * for other options. + */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonUserListInfo *userList; + +/** Immutable. Webpage */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonWebpageInfo *webpage; @end /** - * AdGroupAssetSet is the linkage between an ad group and an asset set. - * Creating an AdGroupAssetSet links an asset set with an ad group. + * A relationship between an ad group criterion and a label. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAssetSet : GTLRObject +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionLabel : GTLRObject -/** Immutable. The ad group to which this asset set is linked. */ -@property(nonatomic, copy, nullable) NSString *adGroup; +/** Immutable. The ad group criterion to which the label is attached. */ +@property(nonatomic, copy, nullable) NSString *adGroupCriterion; -/** Immutable. The asset set which is linked to the ad group. */ -@property(nonatomic, copy, nullable) NSString *assetSet; +/** Immutable. The label assigned to the ad group criterion. */ +@property(nonatomic, copy, nullable) NSString *label; /** - * Immutable. The resource name of the ad group asset set. Ad group asset set - * resource names have the form: - * `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` + * Immutable. The resource name of the ad group criterion label. Ad group + * criterion label resource names have the form: + * `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` */ @property(nonatomic, copy, nullable) NSString *resourceName; -/** - * Output only. The status of the ad group asset set. Read-only. - * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAssetSet_Status_Enabled - * The linkage between asset set and its container is enabled. (Value: - * "ENABLED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAssetSet_Status_Removed - * The linkage between asset set and its container is removed. (Value: - * "REMOVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAssetSet_Status_Unknown - * The received value is not known in this version. This is a - * response-only value. (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAssetSet_Status_Unspecified - * The status has not been specified. (Value: "UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *status; - @end /** - * An ad group audience view. Includes performance data from interests and - * remarketing lists for Display Network and YouTube Network ads, and - * remarketing lists for search ads (RLSA), aggregated at the audience level. + * Estimates for criterion bids at various positions. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupAudienceView : GTLRObject +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates : GTLRObject /** - * Output only. The resource name of the ad group audience view. Ad group - * audience view resource names have the form: - * `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` + * Output only. The estimate of the CPC bid required for ad to be displayed at + * the top of the first page of search results. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *resourceName; +@property(nonatomic, strong, nullable) NSNumber *topOfPageCpcMicros; @end /** - * Represents an ad group bid modifier. + * A container for ad group criterion quality information. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupBidModifier : GTLRObject +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo : GTLRObject /** - * The modifier for the bid when the criterion matches. The modifier must be in - * the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. Use 0 to - * opt out of a Device type. + * Output only. The quality score. This field may not be populated if Google + * does not have enough information to determine a value. * - * Uses NSNumber of doubleValue. - */ -@property(nonatomic, strong, nullable) NSNumber *bidModifier; - -/** Immutable. A device criterion. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonDeviceInfo *device; - -/** - * Immutable. The resource name of the ad group bid modifier. Ad group bid - * modifier resource names have the form: - * `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + * Uses NSNumber of intValue. */ -@property(nonatomic, copy, nullable) NSString *resourceName; +@property(nonatomic, strong, nullable) NSNumber *qualityScore; @end /** - * An ad group criterion. + * A relationship between an ad group and a label. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion : GTLRObject +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupLabel : GTLRObject -/** Immutable. The ad group to which the criterion belongs. */ +/** Immutable. The ad group to which the label is attached. */ @property(nonatomic, copy, nullable) NSString *adGroup; -/** Immutable. Age range. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonAgeRangeInfo *ageRange; +/** Immutable. The label assigned to the ad group. */ +@property(nonatomic, copy, nullable) NSString *label; /** - * The modifier for the bid when the criterion matches. The modifier must be in - * the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - * - * Uses NSNumber of doubleValue. + * Immutable. The resource name of the ad group label. Ad group label resource + * names have the form: + * `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` */ -@property(nonatomic, strong, nullable) NSNumber *bidModifier; +@property(nonatomic, copy, nullable) NSString *resourceName; + +@end -/** - * The CPC (cost-per-click) bid. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *cpcBidMicros; /** - * Output only. The timestamp when this ad group criterion was created. The - * timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" - * format. + * An age range view. */ -@property(nonatomic, copy, nullable) NSString *creationTime; +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAgeRangeView : GTLRObject /** - * Output only. The ID of the criterion. - * - * Uses NSNumber of longLongValue. + * Output only. The resource name of the age range view. Age range view + * resource names have the form: + * `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` */ -@property(nonatomic, strong, nullable) NSNumber *criterionId; +@property(nonatomic, copy, nullable) NSString *resourceName; + +@end + /** - * Output only. The effective CPC (cost-per-click) bid. - * - * Uses NSNumber of longLongValue. + * Asset is a part of an ad which can be shared across multiple ads. It can be + * an image (ImageAsset), a video (YoutubeVideoAsset), etc. Assets are + * immutable and cannot be removed. To stop an asset from serving, remove the + * asset from the entity that is using it. */ -@property(nonatomic, strong, nullable) NSNumber *effectiveCpcBidMicros; +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAsset : GTLRObject + +/** Output only. A unified call asset. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonUnifiedCallAsset *callAsset; + +/** Output only. A unified callout asset. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonUnifiedCalloutAsset *calloutAsset; + +/** Immutable. A call to action asset. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonCallToActionAsset *callToActionAsset; /** - * Output only. ID of the ad group criterion in the external engine account. - * This field is for non-Google Ads account only, for example, Yahoo Japan, - * Microsoft, Baidu etc. For Google Ads entity, use - * "ad_group_criterion.criterion_id" instead. + * Output only. The timestamp when this asset was created. The timestamp is in + * the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. */ -@property(nonatomic, copy, nullable) NSString *engineId; +@property(nonatomic, copy, nullable) NSString *creationTime; /** - * Output only. The Engine Status for ad group criterion. + * Output only. The Engine Status for an asset. * * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionAccountPaused - * Criterion has been paused since the account is paused. (Value: - * "AD_GROUP_CRITERION_ACCOUNT_PAUSED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionApproved - * Criterion has been approved. (Value: "AD_GROUP_CRITERION_APPROVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionDisapproved - * Criterion has been disapproved. (Value: - * "AD_GROUP_CRITERION_DISAPPROVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionEligible - * Deprecated. Do not use. (Value: "AD_GROUP_CRITERION_ELIGIBLE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionInappropriateForCampaign - * Baidu: Bid or quality too low to be displayed. (Value: - * "AD_GROUP_CRITERION_INAPPROPRIATE_FOR_CAMPAIGN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionInvalidMobileSearch - * Baidu: Bid or quality too low for mobile, but eligible to display for - * desktop. (Value: "AD_GROUP_CRITERION_INVALID_MOBILE_SEARCH") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionInvalidPcSearch - * Baidu: Bid or quality too low for desktop, but eligible to display for - * mobile. (Value: "AD_GROUP_CRITERION_INVALID_PC_SEARCH") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionInvalidSearch - * Baidu: Bid or quality too low to be displayed. (Value: - * "AD_GROUP_CRITERION_INVALID_SEARCH") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionLowSearchVolume - * Baidu: Paused by Baidu due to low search volume. (Value: - * "AD_GROUP_CRITERION_LOW_SEARCH_VOLUME") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionMobileUrlUnderReview - * Baidu: Mobile URL in process to be reviewed. (Value: - * "AD_GROUP_CRITERION_MOBILE_URL_UNDER_REVIEW") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionNotReviewed - * Baidu: Criterion to be reviewed. (Value: - * "AD_GROUP_CRITERION_NOT_REVIEWED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionOnHold - * Deprecated. Do not use. Previously used by Gemini (Value: - * "AD_GROUP_CRITERION_ON_HOLD") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionPartiallyInvalid - * Baidu: The landing page for one device is invalid, while the landing - * page for the other device is valid. (Value: - * "AD_GROUP_CRITERION_PARTIALLY_INVALID") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionPaused - * Criterion has been paused. (Value: "AD_GROUP_CRITERION_PAUSED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionPendingReview - * Y!J : Criterion pending review (Value: - * "AD_GROUP_CRITERION_PENDING_REVIEW") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionRemoved - * Criterion has been removed. (Value: "AD_GROUP_CRITERION_REMOVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionServing - * Criterion is active and serving. (Value: "AD_GROUP_CRITERION_SERVING") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionToBeActivated - * Baidu: Keyword has been created and paused by Baidu account - * management, and is now ready for you to activate it. (Value: - * "AD_GROUP_CRITERION_TO_BE_ACTIVATED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_AdGroupCriterionUnderReview - * Baidu: In process to be reviewed by Baidu. Gemini: Criterion under - * review. (Value: "AD_GROUP_CRITERION_UNDER_REVIEW") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_Unknown + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_Disabled + * The asset is inactive (pending). (Value: "DISABLED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_Disapproved + * The asset is disapproved (not eligible). (Value: "DISAPPROVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_Removed + * The asset has been removed. (Value: "REMOVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_Serving + * The asset is active. (Value: "SERVING") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_ServingLimited + * The asset is active limited. (Value: "SERVING_LIMITED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_Unknown * Used for return value only. Represents value unknown in this version. * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_EngineStatus_Unspecified + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_Unspecified * Not specified. (Value: "UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *engineStatus; -/** - * The list of possible final URLs after all cross-domain redirects for the ad. - */ +/** A list of possible final URLs after all cross domain redirects. */ @property(nonatomic, strong, nullable) NSArray *finalUrls; -/** URL template for appending params to final URL. */ -@property(nonatomic, copy, nullable) NSString *finalUrlSuffix; - -/** Immutable. Gender. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonGenderInfo *gender; - -/** Immutable. Keyword. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonKeywordInfo *keyword; - /** - * Output only. The resource names of labels attached to this ad group - * criterion. + * Output only. The ID of the asset. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSArray *labels; +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** Output only. An image asset. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonImageAsset *imageAsset; /** - * Output only. The datetime when this ad group criterion was last modified. - * The datetime is in the customer's time zone and in "yyyy-MM-dd - * HH:mm:ss.ssssss" format. + * Output only. The datetime when this asset was last modified. The datetime is + * in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. */ @property(nonatomic, copy, nullable) NSString *lastModifiedTime; -/** Immutable. Listing group. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonListingGroupInfo *listingGroup; - -/** Immutable. Location. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonLocationInfo *location; +/** Output only. A unified location asset. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonUnifiedLocationAsset *locationAsset; -/** - * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - * This field is immutable. To switch a criterion from positive to negative, - * remove then re-add it. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *negative; +/** A mobile app asset. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonMobileAppAsset *mobileAppAsset; -/** Output only. Estimates for criterion bids at various positions. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates *positionEstimates; +/** Optional name of the asset. */ +@property(nonatomic, copy, nullable) NSString *name; -/** Output only. Information regarding the quality of the criterion. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo *qualityInfo; +/** Output only. A unified page feed asset. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset *pageFeedAsset; /** - * Immutable. The resource name of the ad group criterion. Ad group criterion - * resource names have the form: - * `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` + * Immutable. The resource name of the asset. Asset resource names have the + * form: `customers/{customer_id}/assets/{asset_id}` */ @property(nonatomic, copy, nullable) NSString *resourceName; +/** Output only. A unified sitelink asset. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset *sitelinkAsset; + /** - * The status of the criterion. This is the status of the ad group criterion - * entity, set by the client. Note: UI reports may incorporate additional - * information that affects whether a criterion is eligible to run. In some - * cases a criterion that's REMOVED in the API can still show as enabled in the - * UI. For example, campaigns by default show to users of all age ranges unless - * excluded. The UI will show each age range as "enabled", since they're - * eligible to see the ads; but AdGroupCriterion.status will show "removed", - * since no positive criterion was added. + * Output only. The status of the asset. * * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Status_Enabled - * The ad group criterion is enabled. (Value: "ENABLED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Status_Paused - * The ad group criterion is paused. (Value: "PAUSED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Status_Removed - * The ad group criterion is removed. (Value: "REMOVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Status_Unknown + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Status_Archived + * The asset is archived. (Value: "ARCHIVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Status_Enabled + * The asset is enabled. (Value: "ENABLED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Status_PendingSystemGenerated + * The asset is system generated pending user review. (Value: + * "PENDING_SYSTEM_GENERATED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Status_Removed + * The asset is removed. (Value: "REMOVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Status_Unknown * The received value is not known in this version. This is a * response-only value. (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Status_Unspecified - * No value has been specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Status_Unspecified + * The status has not been specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *status; + +/** Output only. A text asset. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonTextAsset *textAsset; + +/** URL template for constructing a tracking URL. */ +@property(nonatomic, copy, nullable) NSString *trackingUrlTemplate; + +/** + * Output only. Type of the asset. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_BookOnGoogle + * Book on Google asset. (Value: "BOOK_ON_GOOGLE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Call Call + * asset. (Value: "CALL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Callout + * Callout asset. (Value: "CALLOUT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_CallToAction + * Call to action asset. (Value: "CALL_TO_ACTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DiscoveryCarouselCard + * Discovery Carousel Card asset. (Value: "DISCOVERY_CAROUSEL_CARD") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicCustom + * Dynamic custom asset. (Value: "DYNAMIC_CUSTOM") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicEducation + * Dynamic Education asset. (Value: "DYNAMIC_EDUCATION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicFlights + * Dynamic flights asset. (Value: "DYNAMIC_FLIGHTS") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicHotelsAndRentals + * Dynamic hotels and rentals asset. (Value: + * "DYNAMIC_HOTELS_AND_RENTALS") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicJobs + * Dynamic jobs asset. (Value: "DYNAMIC_JOBS") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicLocal + * Dynamic local asset. (Value: "DYNAMIC_LOCAL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicRealEstate + * Dynamic real estate asset. (Value: "DYNAMIC_REAL_ESTATE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicTravel + * Dynamic travel asset. (Value: "DYNAMIC_TRAVEL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_HotelCallout + * Hotel callout asset. (Value: "HOTEL_CALLOUT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_HotelProperty + * Hotel property asset. (Value: "HOTEL_PROPERTY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Image Image + * asset. (Value: "IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_LeadForm + * Lead form asset. (Value: "LEAD_FORM") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Location + * Location asset. (Value: "LOCATION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_MediaBundle + * Media bundle asset. (Value: "MEDIA_BUNDLE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_MobileApp + * Mobile app asset. (Value: "MOBILE_APP") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_PageFeed + * Page Feed asset. (Value: "PAGE_FEED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Price Price + * asset. (Value: "PRICE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Promotion + * Promotion asset. (Value: "PROMOTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Sitelink + * Sitelink asset. (Value: "SITELINK") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_StructuredSnippet + * Structured Snippet asset. (Value: "STRUCTURED_SNIPPET") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Text Text + * asset. (Value: "TEXT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Unknown Used + * for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Unspecified + * Not specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_YoutubeVideo + * YouTube video asset. (Value: "YOUTUBE_VIDEO") */ -@property(nonatomic, copy, nullable) NSString *status; +@property(nonatomic, copy, nullable) NSString *type; + +/** Immutable. A YouTube video asset. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonYoutubeVideoAsset *youtubeVideoAsset; + +@end -/** The URL template for constructing a tracking URL. */ -@property(nonatomic, copy, nullable) NSString *trackingUrlTemplate; /** - * Output only. The type of the criterion. + * An asset group. AssetGroupAsset is used to link an asset to the asset group. + * AssetGroupSignal is used to associate a signal to an asset group. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup : GTLRObject + +/** + * Output only. Overall ad strength of this asset group. * * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_AdSchedule - * Ad Schedule. (Value: "AD_SCHEDULE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_AgeRange - * Age range. (Value: "AGE_RANGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_AppPaymentModel - * App payment model. (Value: "APP_PAYMENT_MODEL") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Audience - * Audience (Value: "AUDIENCE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Brand - * Brand (Value: "BRAND") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_BrandList - * Brand List (Value: "BRAND_LIST") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Carrier - * Carrier. (Value: "CARRIER") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_CombinedAudience - * Combined audience (Value: "COMBINED_AUDIENCE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_ContentLabel - * Content Label for category exclusion. (Value: "CONTENT_LABEL") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_CustomAffinity - * Custom affinity. (Value: "CUSTOM_AFFINITY") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_CustomAudience - * Custom audience (Value: "CUSTOM_AUDIENCE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_CustomIntent - * Custom intent. (Value: "CUSTOM_INTENT") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Device - * Devices to target. (Value: "DEVICE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Gender - * Gender. (Value: "GENDER") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_IncomeRange - * Income Range. (Value: "INCOME_RANGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_IpBlock - * IpBlock. (Value: "IP_BLOCK") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Keyword - * Keyword, for example, 'mars cruise'. (Value: "KEYWORD") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_KeywordTheme - * Smart Campaign keyword theme (Value: "KEYWORD_THEME") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Language - * Language. (Value: "LANGUAGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_ListingGroup - * Listing groups to target. (Value: "LISTING_GROUP") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_ListingScope - * Listing scope to target. (Value: "LISTING_SCOPE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_LocalServiceId - * Local Services Ads Service ID. (Value: "LOCAL_SERVICE_ID") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Location - * Locations to target. (Value: "LOCATION") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_LocationGroup - * Location group. (Value: "LOCATION_GROUP") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_MobileAppCategory - * Mobile application categories to target. (Value: - * "MOBILE_APP_CATEGORY") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_MobileApplication - * Mobile applications to target. (Value: "MOBILE_APPLICATION") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_MobileDevice - * Mobile device. (Value: "MOBILE_DEVICE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_OperatingSystemVersion - * Operating system version. (Value: "OPERATING_SYSTEM_VERSION") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_ParentalStatus - * Parental status. (Value: "PARENTAL_STATUS") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Placement - * Placement, also known as Website, for example, 'www.flowers4sale.com' - * (Value: "PLACEMENT") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Proximity - * Proximity. (Value: "PROXIMITY") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Topic - * A topic target on the display network (for example, "Pets & Animals"). - * (Value: "TOPIC") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Unknown + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Average + * Average strength. (Value: "AVERAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Excellent + * Excellent strength. (Value: "EXCELLENT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Good + * Good strength. (Value: "GOOD") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_NoAds + * No ads could be generated. (Value: "NO_ADS") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Pending + * The ad strength is currently pending. (Value: "PENDING") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Poor + * Poor strength. (Value: "POOR") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Unknown * Used for return value only. Represents value unknown in this version. * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Unspecified + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_AdStrength_Unspecified * Not specified. (Value: "UNSPECIFIED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_UserInterest - * A category the user is interested in. (Value: "USER_INTEREST") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_UserList - * User list. (Value: "USER_LIST") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_Webpage - * Webpage criterion for dynamic search ads. (Value: "WEBPAGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_YoutubeChannel - * YouTube Channel. (Value: "YOUTUBE_CHANNEL") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion_Type_YoutubeVideo - * YouTube Video. (Value: "YOUTUBE_VIDEO") */ -@property(nonatomic, copy, nullable) NSString *type; +@property(nonatomic, copy, nullable) NSString *adStrength; /** - * Immutable. User List. The Similar Audiences sunset starts May 2023. Refer to - * https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - * for other options. + * Immutable. The campaign with which this asset group is associated. The asset + * which is linked to the asset group. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonUserListInfo *userList; - -/** Immutable. Webpage */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonWebpageInfo *webpage; - -@end - +@property(nonatomic, copy, nullable) NSString *campaign; /** - * A relationship between an ad group criterion and a label. + * A list of final mobile URLs after all cross domain redirects. In performance + * max, by default, the urls are eligible for expansion unless opted out. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionLabel : GTLRObject +@property(nonatomic, strong, nullable) NSArray *finalMobileUrls; -/** Immutable. The ad group criterion to which the label is attached. */ -@property(nonatomic, copy, nullable) NSString *adGroupCriterion; +/** + * A list of final URLs after all cross domain redirects. In performance max, + * by default, the urls are eligible for expansion unless opted out. + */ +@property(nonatomic, strong, nullable) NSArray *finalUrls; -/** Immutable. The label assigned to the ad group criterion. */ -@property(nonatomic, copy, nullable) NSString *label; +/** + * Output only. The ID of the asset group. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; /** - * Immutable. The resource name of the ad group criterion label. Ad group - * criterion label resource names have the form: - * `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + * Required. Name of the asset group. Required. It must have a minimum length + * of 1 and maximum length of 128. It must be unique under a campaign. */ -@property(nonatomic, copy, nullable) NSString *resourceName; +@property(nonatomic, copy, nullable) NSString *name; -@end +/** + * First part of text that may appear appended to the url displayed in the ad. + */ +@property(nonatomic, copy, nullable) NSString *path1; +/** + * Second part of text that may appear appended to the url displayed in the ad. + * This field can only be set when path1 is set. + */ +@property(nonatomic, copy, nullable) NSString *path2; /** - * Estimates for criterion bids at various positions. + * Immutable. The resource name of the asset group. Asset group resource names + * have the form: `customers/{customer_id}/assetGroups/{asset_group_id}` */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates : GTLRObject +@property(nonatomic, copy, nullable) NSString *resourceName; /** - * Output only. The estimate of the CPC bid required for ad to be displayed at - * the top of the first page of search results. + * The status of the asset group. * - * Uses NSNumber of longLongValue. + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Enabled + * The asset group is enabled. (Value: "ENABLED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Paused + * The asset group is paused. (Value: "PAUSED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Removed + * The asset group is removed. (Value: "REMOVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Unknown + * The received value is not known in this version. (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup_Status_Unspecified + * The status has not been specified. (Value: "UNSPECIFIED") */ -@property(nonatomic, strong, nullable) NSNumber *topOfPageCpcMicros; +@property(nonatomic, copy, nullable) NSString *status; @end /** - * A container for ad group criterion quality information. + * AssetGroupAsset is the link between an asset and an asset group. Adding an + * AssetGroupAsset links an asset with an asset group. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo : GTLRObject +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset : GTLRObject + +/** Immutable. The asset which this asset group asset is linking. */ +@property(nonatomic, copy, nullable) NSString *asset; + +/** Immutable. The asset group which this asset group asset is linking. */ +@property(nonatomic, copy, nullable) NSString *assetGroup; /** - * Output only. The quality score. This field may not be populated if Google - * does not have enough information to determine a value. + * The description of the placement of the asset within the asset group. For + * example: HEADLINE, YOUTUBE_VIDEO etc * - * Uses NSNumber of intValue. + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_AdImage + * The asset is linked for use to select an ad image. (Value: "AD_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_BookOnGoogle + * The asset is linked to indicate that a hotels campaign is "Book on + * Google" enabled. (Value: "BOOK_ON_GOOGLE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_BusinessLogo + * The asset is linked for use as a business logo. (Value: + * "BUSINESS_LOGO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_BusinessName + * The asset is linked for use as a business name. (Value: + * "BUSINESS_NAME") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Call + * The asset is linked for use as a Call extension. (Value: "CALL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Callout + * The asset is linked for use as a Callout extension. (Value: "CALLOUT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_CallToActionSelection + * The asset is linked for use to select a call-to-action. (Value: + * "CALL_TO_ACTION_SELECTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Description + * The asset is linked for use as a description. (Value: "DESCRIPTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Headline + * The asset is linked for use as a headline. (Value: "HEADLINE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_HotelCallout + * The asset is linked for use as a Hotel Callout extension. (Value: + * "HOTEL_CALLOUT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_HotelProperty + * The asset is linked for use as a hotel property in a Performance Max + * for travel goals campaign. (Value: "HOTEL_PROPERTY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_LandscapeLogo + * The asset is linked for use as a landscape logo. (Value: + * "LANDSCAPE_LOGO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_LeadForm + * The asset is linked for use as a Lead Form extension. (Value: + * "LEAD_FORM") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Logo + * The asset is linked for use as a logo. (Value: "LOGO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_LongHeadline + * The asset is linked for use as a long headline. (Value: + * "LONG_HEADLINE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_MandatoryAdText + * The asset is linked for use as mandatory ad text. (Value: + * "MANDATORY_AD_TEXT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_MarketingImage + * The asset is linked for use as a marketing image. (Value: + * "MARKETING_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_MediaBundle + * The asset is linked for use as a media bundle. (Value: "MEDIA_BUNDLE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_MobileApp + * The asset is linked for use as a Mobile App extension. (Value: + * "MOBILE_APP") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_PortraitMarketingImage + * The asset is linked for use as a portrait marketing image. (Value: + * "PORTRAIT_MARKETING_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Price + * The asset is linked for use as a Price extension. (Value: "PRICE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Promotion + * The asset is linked for use as a Promotion extension. (Value: + * "PROMOTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Sitelink + * The asset is linked for use as a Sitelink. (Value: "SITELINK") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_SquareMarketingImage + * The asset is linked for use as a square marketing image. (Value: + * "SQUARE_MARKETING_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_StructuredSnippet + * The asset is linked for use as a Structured Snippet extension. (Value: + * "STRUCTURED_SNIPPET") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Unspecified + * Not specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_Video + * The asset is linked for use as a non YouTube logo. (Value: "VIDEO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_FieldType_YoutubeVideo + * The asset is linked for use as a YouTube video. (Value: + * "YOUTUBE_VIDEO") */ -@property(nonatomic, strong, nullable) NSNumber *qualityScore; - -@end +@property(nonatomic, copy, nullable) NSString *fieldType; +/** + * Immutable. The resource name of the asset group asset. Asset group asset + * resource name have the form: + * `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; /** - * A relationship between an ad group and a label. + * The status of the link between an asset and asset group. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Enabled + * Asset link is enabled. (Value: "ENABLED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Paused + * Asset link is paused. (Value: "PAUSED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Removed + * Asset link has been removed. (Value: "REMOVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset_Status_Unspecified + * Not specified. (Value: "UNSPECIFIED") */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAdGroupLabel : GTLRObject +@property(nonatomic, copy, nullable) NSString *status; -/** Immutable. The ad group to which the label is attached. */ -@property(nonatomic, copy, nullable) NSString *adGroup; +@end -/** Immutable. The label assigned to the ad group. */ -@property(nonatomic, copy, nullable) NSString *label; /** - * Immutable. The resource name of the ad group label. Ad group label resource - * names have the form: - * `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + * Asset group asset combination data */ -@property(nonatomic, copy, nullable) NSString *resourceName; +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAssetCombinationData : GTLRObject + +/** Output only. Served assets. */ +@property(nonatomic, strong, nullable) NSArray *assetCombinationServedAssets; @end /** - * An age range view. + * AssetGroupListingGroupFilter represents a listing group filter tree node in + * an asset group. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAgeRangeView : GTLRObject +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter : GTLRObject /** - * Output only. The resource name of the age range view. Age range view - * resource names have the form: - * `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` + * Immutable. The asset group which this asset group listing group filter is + * part of. */ -@property(nonatomic, copy, nullable) NSString *resourceName; - -@end +@property(nonatomic, copy, nullable) NSString *assetGroup; +/** + * Dimension value with which this listing group is refining its parent. + * Undefined for the root group. + */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimension *caseValue; /** - * Asset is a part of an ad which can be shared across multiple ads. It can be - * an image (ImageAsset), a video (YoutubeVideoAsset), etc. Assets are - * immutable and cannot be removed. To stop an asset from serving, remove the - * asset from the entity that is using it. + * Output only. The ID of the ListingGroupFilter. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of longLongValue. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAsset : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *identifier; -/** Output only. A unified call asset. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonUnifiedCallAsset *callAsset; +/** + * Immutable. Resource name of the parent listing group subdivision. Null for + * the root listing group filter node. + */ +@property(nonatomic, copy, nullable) NSString *parentListingGroupFilter; -/** Output only. A unified callout asset. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonUnifiedCalloutAsset *calloutAsset; +/** Output only. The path of dimensions defining this listing group filter. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionPath *path; /** - * Output only. The timestamp when this asset was created. The timestamp is in - * the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + * Immutable. The resource name of the asset group listing group filter. Asset + * group listing group filter resource name have the form: + * `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` */ -@property(nonatomic, copy, nullable) NSString *creationTime; +@property(nonatomic, copy, nullable) NSString *resourceName; /** - * Output only. The Engine Status for an asset. + * Immutable. Type of a listing group filter node. * * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_Disabled - * The asset is inactive (pending). (Value: "DISABLED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_Disapproved - * The asset is disapproved (not eligible). (Value: "DISAPPROVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_Removed - * The asset has been removed. (Value: "REMOVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_Serving - * The asset is active. (Value: "SERVING") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_ServingLimited - * The asset is active limited. (Value: "SERVING_LIMITED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_Unknown + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_Subdivision + * Subdivision of products along some listing dimensions. (Value: + * "SUBDIVISION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_UnitExcluded + * An excluded listing group filter leaf node. (Value: "UNIT_EXCLUDED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_UnitIncluded + * An included listing group filter leaf node. (Value: "UNIT_INCLUDED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_Unknown * Used for return value only. Represents value unknown in this version. * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_EngineStatus_Unspecified + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Type_Unspecified * Not specified. (Value: "UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *engineStatus; - -/** A list of possible final URLs after all cross domain redirects. */ -@property(nonatomic, strong, nullable) NSArray *finalUrls; +@property(nonatomic, copy, nullable) NSString *type; /** - * Output only. The ID of the asset. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * Immutable. The vertical the current node tree represents. All nodes in the + * same tree must belong to the same vertical. * - * Uses NSNumber of longLongValue. + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Vertical_Shopping + * Represents the shopping vertical. (Value: "SHOPPING") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Vertical_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter_Vertical_Unspecified + * Not specified. (Value: "UNSPECIFIED") */ -@property(nonatomic, strong, nullable) NSNumber *identifier; +@property(nonatomic, copy, nullable) NSString *vertical; -/** - * Output only. The datetime when this asset was last modified. The datetime is - * in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. - */ -@property(nonatomic, copy, nullable) NSString *lastModifiedTime; +@end -/** Output only. A unified location asset. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonUnifiedLocationAsset *locationAsset; -/** A mobile app asset. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonMobileAppAsset *mobileAppAsset; +/** + * AssetGroupSignal represents a signal in an asset group. The existence of a + * signal tells the performance max campaign who's most likely to convert. + * Performance Max uses the signal to look for new people with similar or + * stronger intent to find conversions across Search, Display, Video, and more. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupSignal : GTLRObject + +/** Immutable. The asset group which this asset group signal belongs to. */ +@property(nonatomic, copy, nullable) NSString *assetGroup; -/** Output only. A unified page feed asset. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset *pageFeedAsset; +/** + * Immutable. The audience signal to be used by the performance max campaign. + */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonAudienceInfo *audience; /** - * Immutable. The resource name of the asset. Asset resource names have the - * form: `customers/{customer_id}/assets/{asset_id}` + * Immutable. The resource name of the asset group signal. Asset group signal + * resource name have the form: + * `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` */ @property(nonatomic, copy, nullable) NSString *resourceName; -/** Output only. A unified sitelink asset. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset *sitelinkAsset; +@end + /** - * Output only. The status of the asset. - * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Status_Archived - * The asset is archived. (Value: "ARCHIVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Status_Enabled - * The asset is enabled. (Value: "ENABLED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Status_PendingSystemGenerated - * The asset is system generated pending user review. (Value: - * "PENDING_SYSTEM_GENERATED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Status_Removed - * The asset is removed. (Value: "REMOVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Status_Unknown - * The received value is not known in this version. This is a - * response-only value. (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Status_Unspecified - * The status has not been specified. (Value: "UNSPECIFIED") + * A view on the usage of ad group ad asset combination. */ -@property(nonatomic, copy, nullable) NSString *status; +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupTopCombinationView : GTLRObject -/** URL template for constructing a tracking URL. */ -@property(nonatomic, copy, nullable) NSString *trackingUrlTemplate; +/** Output only. The top combinations of assets that served together. */ +@property(nonatomic, strong, nullable) NSArray *assetGroupTopCombinations; /** - * Output only. Type of the asset. - * - * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_BookOnGoogle - * Book on Google asset. (Value: "BOOK_ON_GOOGLE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Call Call - * asset. (Value: "CALL") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Callout - * Callout asset. (Value: "CALLOUT") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_CallToAction - * Call to action asset. (Value: "CALL_TO_ACTION") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DiscoveryCarouselCard - * Discovery Carousel Card asset. (Value: "DISCOVERY_CAROUSEL_CARD") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicCustom - * Dynamic custom asset. (Value: "DYNAMIC_CUSTOM") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicEducation - * Dynamic Education asset. (Value: "DYNAMIC_EDUCATION") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicFlights - * Dynamic flights asset. (Value: "DYNAMIC_FLIGHTS") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicHotelsAndRentals - * Dynamic hotels and rentals asset. (Value: - * "DYNAMIC_HOTELS_AND_RENTALS") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicJobs - * Dynamic jobs asset. (Value: "DYNAMIC_JOBS") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicLocal - * Dynamic local asset. (Value: "DYNAMIC_LOCAL") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicRealEstate - * Dynamic real estate asset. (Value: "DYNAMIC_REAL_ESTATE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_DynamicTravel - * Dynamic travel asset. (Value: "DYNAMIC_TRAVEL") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_HotelCallout - * Hotel callout asset. (Value: "HOTEL_CALLOUT") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_HotelProperty - * Hotel property asset. (Value: "HOTEL_PROPERTY") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Image Image - * asset. (Value: "IMAGE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_LeadForm - * Lead form asset. (Value: "LEAD_FORM") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Location - * Location asset. (Value: "LOCATION") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_MediaBundle - * Media bundle asset. (Value: "MEDIA_BUNDLE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_MobileApp - * Mobile app asset. (Value: "MOBILE_APP") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_PageFeed - * Page Feed asset. (Value: "PAGE_FEED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Price Price - * asset. (Value: "PRICE") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Promotion - * Promotion asset. (Value: "PROMOTION") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Sitelink - * Sitelink asset. (Value: "SITELINK") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_StructuredSnippet - * Structured Snippet asset. (Value: "STRUCTURED_SNIPPET") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Text Text - * asset. (Value: "TEXT") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Unknown Used - * for return value only. Represents value unknown in this version. - * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_Unspecified - * Not specified. (Value: "UNSPECIFIED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesAsset_Type_YoutubeVideo - * YouTube video asset. (Value: "YOUTUBE_VIDEO") + * Output only. The resource name of the asset group top combination view. + * AssetGroup Top Combination view resource names have the form: + * `"customers/{customer_id}/assetGroupTopCombinationViews/{asset_group_id}~{asset_combination_category}" */ -@property(nonatomic, copy, nullable) NSString *type; +@property(nonatomic, copy, nullable) NSString *resourceName; @end @@ -10667,6 +13505,44 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea @end +/** + * Audience is an effective targeting option that lets you intersect different + * segment attributes, such as detailed demographics and affinities, to create + * audiences that represent sections of your target segments. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesAudience : GTLRObject + +/** + * Description of this audience. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Output only. ID of the audience. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** + * Required. Name of the audience. It should be unique across all audiences. It + * must have a minimum length of 1 and maximum length of 255. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Immutable. The resource name of the audience. Audience names have the form: + * `customers/{customer_id}/audiences/{audience_id}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +@end + + /** * A bidding strategy. */ @@ -11589,9 +14465,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea * * Likely values: * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_Period_CustomPeriod - * Custom budget, added back in V5. Custom bugdet can be used with - * total_amount to specify lifetime budget limit. (Value: - * "CUSTOM_PERIOD") + * Custom budget can be used with total_amount to specify lifetime budget + * limit. (Value: "CUSTOM_PERIOD") * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_Period_Daily * Daily budget. (Value: "DAILY") * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignBudget_Period_FixedDaily @@ -11993,36 +14868,331 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea * field accepts country codes in the same format for example: 'XX'. Otherwise * can be any string used for feed label in Google Merchant Center. */ -@property(nonatomic, copy, nullable) NSString *feedLabel; +@property(nonatomic, copy, nullable) NSString *feedLabel; + +/** + * Immutable. ID of the Merchant Center account. This field is required for + * create operations. This field is immutable for Shopping campaigns. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *merchantId; + +/** Sales country of products to include in the campaign. */ +@property(nonatomic, copy, nullable) NSString *salesCountry; + +/** + * Immutable. Whether to target Vehicle Listing inventory. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *useVehicleInventory; + +@end + + +/** + * Campaign-level settings for tracking information. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignTrackingSetting : GTLRObject + +/** Output only. The url used for dynamic tracking. */ +@property(nonatomic, copy, nullable) NSString *trackingUrl; + +@end + + +/** + * Cart data sales view. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesCartDataSalesView : GTLRObject + +/** + * Output only. The resource name of the Cart data sales view. Cart data sales + * view resource names have the form: + * `customers/{customer_id}/cartDataSalesView` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +@end + + +/** + * A conversion. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesConversion : GTLRObject + +/** + * Output only. Ad ID. A value of 0 indicates that the ad is unattributed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *adId; + +/** + * Output only. For offline conversions, this is an ID provided by advertisers. + * If an advertiser doesn't specify such an ID, Search Ads 360 generates one. + * For online conversions, this is equal to the id column or the + * floodlight_order_id column depending on the advertiser's Floodlight + * instructions. + */ +@property(nonatomic, copy, nullable) NSString *advertiserConversionId; + +/** + * Output only. Asset field type of the conversion event. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_AdImage + * The asset is linked for use to select an ad image. (Value: "AD_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_BookOnGoogle + * The asset is linked to indicate that a hotels campaign is "Book on + * Google" enabled. (Value: "BOOK_ON_GOOGLE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_BusinessLogo + * The asset is linked for use as a business logo. (Value: + * "BUSINESS_LOGO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_BusinessName + * The asset is linked for use as a business name. (Value: + * "BUSINESS_NAME") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Call + * The asset is linked for use as a Call extension. (Value: "CALL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Callout + * The asset is linked for use as a Callout extension. (Value: "CALLOUT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_CallToActionSelection + * The asset is linked for use to select a call-to-action. (Value: + * "CALL_TO_ACTION_SELECTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Description + * The asset is linked for use as a description. (Value: "DESCRIPTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Headline + * The asset is linked for use as a headline. (Value: "HEADLINE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_HotelCallout + * The asset is linked for use as a Hotel Callout extension. (Value: + * "HOTEL_CALLOUT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_HotelProperty + * The asset is linked for use as a hotel property in a Performance Max + * for travel goals campaign. (Value: "HOTEL_PROPERTY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_LandscapeLogo + * The asset is linked for use as a landscape logo. (Value: + * "LANDSCAPE_LOGO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_LeadForm + * The asset is linked for use as a Lead Form extension. (Value: + * "LEAD_FORM") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Logo + * The asset is linked for use as a logo. (Value: "LOGO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_LongHeadline + * The asset is linked for use as a long headline. (Value: + * "LONG_HEADLINE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_MandatoryAdText + * The asset is linked for use as mandatory ad text. (Value: + * "MANDATORY_AD_TEXT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_MarketingImage + * The asset is linked for use as a marketing image. (Value: + * "MARKETING_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_MediaBundle + * The asset is linked for use as a media bundle. (Value: "MEDIA_BUNDLE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_MobileApp + * The asset is linked for use as a Mobile App extension. (Value: + * "MOBILE_APP") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_PortraitMarketingImage + * The asset is linked for use as a portrait marketing image. (Value: + * "PORTRAIT_MARKETING_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Price + * The asset is linked for use as a Price extension. (Value: "PRICE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Promotion + * The asset is linked for use as a Promotion extension. (Value: + * "PROMOTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Sitelink + * The asset is linked for use as a Sitelink. (Value: "SITELINK") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_SquareMarketingImage + * The asset is linked for use as a square marketing image. (Value: + * "SQUARE_MARKETING_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_StructuredSnippet + * The asset is linked for use as a Structured Snippet extension. (Value: + * "STRUCTURED_SNIPPET") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Unspecified + * Not specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_Video + * The asset is linked for use as a non YouTube logo. (Value: "VIDEO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AssetFieldType_YoutubeVideo + * The asset is linked for use as a YouTube video. (Value: + * "YOUTUBE_VIDEO") + */ +@property(nonatomic, copy, nullable) NSString *assetFieldType; + +/** + * Output only. ID of the asset which was interacted with during the conversion + * event. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *assetId; + +/** + * Output only. What the conversion is attributed to: Visit or Keyword+Ad. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AttributionType_CriterionAd + * The conversion is attributed to a criterion and ad pair. (Value: + * "CRITERION_AD") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AttributionType_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AttributionType_Unspecified + * Not specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_AttributionType_Visit + * The conversion is attributed to a visit. (Value: "VISIT") + */ +@property(nonatomic, copy, nullable) NSString *attributionType; + +/** + * Output only. A unique string, for the visit that the conversion is + * attributed to, that is passed to the landing page as the click id URL + * parameter. + */ +@property(nonatomic, copy, nullable) NSString *clickId; + +/** Output only. The timestamp of the conversion event. */ +@property(nonatomic, copy, nullable) NSString *conversionDateTime; + +/** + * Output only. The timestamp of the last time the conversion was modified. + */ +@property(nonatomic, copy, nullable) NSString *conversionLastModifiedDateTime; + +/** + * Output only. The quantity of items recorded by the conversion, as determined + * by the qty url parameter. The advertiser is responsible for dynamically + * populating the parameter (such as number of items sold in the conversion), + * otherwise it defaults to 1. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *conversionQuantity; + +/** + * Output only. The adjusted revenue in micros for the conversion event. This + * will always be in the currency of the serving account. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *conversionRevenueMicros; + +/** + * Output only. The timestamp of the visit that the conversion is attributed + * to. + */ +@property(nonatomic, copy, nullable) NSString *conversionVisitDateTime; + +/** + * Output only. Search Ads 360 criterion ID. A value of 0 indicates that the + * criterion is unattributed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *criterionId; + +/** + * Output only. The Floodlight order ID provided by the advertiser for the + * conversion. + */ +@property(nonatomic, copy, nullable) NSString *floodlightOrderId; + +/** + * Output only. The original, unchanged revenue associated with the Floodlight + * event (in the currency of the current report), before Floodlight currency + * instruction modifications. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *floodlightOriginalRevenue; + +/** + * Output only. The ID of the conversion + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** + * Output only. The SearchAds360 inventory account ID containing the product + * that was clicked on. SearchAds360 generates this ID when you link an + * inventory account in SearchAds360. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *merchantId; + +/** + * Output only. The sales channel of the product that was clicked on: Online or + * Local. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_ProductChannel_Local + * The item is sold in local stores. (Value: "LOCAL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_ProductChannel_Online + * The item is sold online. (Value: "ONLINE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_ProductChannel_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_ProductChannel_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *productChannel; /** - * Immutable. ID of the Merchant Center account. This field is required for - * create operations. This field is immutable for Shopping campaigns. - * - * Uses NSNumber of longLongValue. + * Output only. The country (ISO-3166-format) registered for the inventory feed + * that contains the product clicked on. */ -@property(nonatomic, strong, nullable) NSNumber *merchantId; +@property(nonatomic, copy, nullable) NSString *productCountryCode; -/** Sales country of products to include in the campaign. */ -@property(nonatomic, copy, nullable) NSString *salesCountry; +/** Output only. The ID of the product clicked on. */ +@property(nonatomic, copy, nullable) NSString *productId; /** - * Immutable. Whether to target Vehicle Listing inventory. - * - * Uses NSNumber of boolValue. + * Output only. The language (ISO-639-1) that has been set for the Merchant + * Center feed containing data about the product. */ -@property(nonatomic, strong, nullable) NSNumber *useVehicleInventory; +@property(nonatomic, copy, nullable) NSString *productLanguageCode; -@end +/** + * Output only. The store in the Local Inventory Ad that was clicked on. This + * should match the store IDs used in your local products feed. + */ +@property(nonatomic, copy, nullable) NSString *productStoreId; +/** + * Output only. The resource name of the conversion. Conversion resource names + * have the form: + * `customers/{customer_id}/conversions/{ad_group_id}~{criterion_id}~{ds_conversion_id}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; /** - * Campaign-level settings for tracking information. + * Output only. The status of the conversion, either ENABLED or REMOVED.. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_Status_Enabled + * The conversion is enabled. (Value: "ENABLED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_Status_Removed + * The conversion has been removed. (Value: "REMOVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_Status_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesConversion_Status_Unspecified + * Not specified. (Value: "UNSPECIFIED") */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignTrackingSetting : GTLRObject +@property(nonatomic, copy, nullable) NSString *status; -/** Output only. The url used for dynamic tracking. */ -@property(nonatomic, copy, nullable) NSString *trackingUrl; +/** + * Output only. The SearchAds360 visit ID that the conversion is attributed to. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *visitId; @end @@ -13078,128 +16248,461 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea * * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *networkId; +@property(nonatomic, strong, nullable) NSNumber *networkId; + +/** + * Output only. Time zone of the Campaign Manager network associated with this + * customer in IANA Time Zone Database format, such as America/New_York. + */ +@property(nonatomic, copy, nullable) NSString *timeZone; + +@end + + +/** + * A dynamic search ads search term view. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesDynamicSearchAdsSearchTermView : GTLRObject + +/** + * Output only. The dynamically selected landing page URL of the impression. + * This field is read-only. + */ +@property(nonatomic, copy, nullable) NSString *landingPage; + +/** + * Output only. The resource name of the dynamic search ads search term view. + * Dynamic search ads search term view resource names have the form: + * `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +@end + + +/** + * A gender view. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesGenderView : GTLRObject + +/** + * Output only. The resource name of the gender view. Gender view resource + * names have the form: + * `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +@end + + +/** + * A geo target constant. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant : GTLRObject + +/** + * Output only. The fully qualified English name, consisting of the target's + * name and that of its parent and country. + */ +@property(nonatomic, copy, nullable) NSString *canonicalName; + +/** + * Output only. The ISO-3166-1 alpha-2 country code that is associated with the + * target. + */ +@property(nonatomic, copy, nullable) NSString *countryCode; + +/** + * Output only. The ID of the geo target constant. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** Output only. Geo target constant English name. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The resource name of the parent geo target constant. Geo target + * constant resource names have the form: + * `geoTargetConstants/{parent_geo_target_constant_id}` + */ +@property(nonatomic, copy, nullable) NSString *parentGeoTarget; + +/** + * Output only. The resource name of the geo target constant. Geo target + * constant resource names have the form: + * `geoTargetConstants/{geo_target_constant_id}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +/** + * Output only. Geo target constant status. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_Enabled + * The geo target constant is valid. (Value: "ENABLED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_RemovalPlanned + * The geo target constant is obsolete and will be removed. (Value: + * "REMOVAL_PLANNED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_Unknown + * The received value is not known in this version. This is a + * response-only value. (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_Unspecified + * No value has been specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *status; + +/** Output only. Geo target constant target type. */ +@property(nonatomic, copy, nullable) NSString *targetType; + +@end + + +/** + * A keyword view. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesKeywordView : GTLRObject + +/** + * Output only. The resource name of the keyword view. Keyword view resource + * names have the form: + * `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +@end + + +/** + * A label. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesLabel : GTLRObject + +/** + * Output only. ID of the label. Read only. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** + * The name of the label. This field is required and should not be empty when + * creating a new label. The length of this string should be between 1 and 80, + * inclusive. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Immutable. Name of the resource. Label resource names have the form: + * `customers/{customer_id}/labels/{label_id}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +/** + * Output only. Status of the label. Read only. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Enabled + * Label is enabled. (Value: "ENABLED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Removed + * Label is removed. (Value: "REMOVED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *status; + +/** A type of label displaying text on a colored background. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonTextLabel *textLabel; + +@end + + +/** + * A language. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesLanguageConstant : GTLRObject + +/** + * Output only. The language code, for example, "en_US", "en_AU", "es", "fr", + * etc. + */ +@property(nonatomic, copy, nullable) NSString *code; + +/** + * Output only. The ID of the language constant. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** + * Output only. The full name of the language in English, for example, "English + * (US)", "Spanish", etc. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The resource name of the language constant. Language constant + * resource names have the form: `languageConstants/{criterion_id}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +/** + * Output only. Whether the language is targetable. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *targetable; + +@end + + +/** + * Listing dimensions for the asset group listing group filter. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimension : GTLRObject + +/** Bidding category of a product offer. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory *productBiddingCategory; + +/** Brand of a product offer. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBrand *productBrand; + +/** Locality of a product offer. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel *productChannel; + +/** Condition of a product offer. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition *productCondition; + +/** Custom attribute of a product offer. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute *productCustomAttribute; + +/** Item id of a product offer. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductItemId *productItemId; + +/** Type of a product offer. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType *productType; + +@end + + +/** + * The path defining of dimensions defining a listing group filter. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionPath : GTLRObject /** - * Output only. Time zone of the Campaign Manager network associated with this - * customer in IANA Time Zone Database format, such as America/New_York. + * Output only. The complete path of dimensions through the listing group + * filter hierarchy (excluding the root node) to this listing group filter. */ -@property(nonatomic, copy, nullable) NSString *timeZone; +@property(nonatomic, strong, nullable) NSArray *dimensions; @end /** - * A dynamic search ads search term view. + * One element of a bidding category at a certain level. Top-level categories + * are at level 1, their children at level 2, and so on. We currently support + * up to 5 levels. The user must specify a dimension type that indicates the + * level of the category. All cases of the same subdivision must have the same + * dimension type (category level). */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesDynamicSearchAdsSearchTermView : GTLRObject +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory : GTLRObject /** - * Output only. The dynamically selected landing page URL of the impression. - * This field is read-only. + * ID of the product bidding category. This ID is equivalent to the + * google_product_category ID as described in this article: + * https://support.google.com/merchants/answer/6324436 + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *landingPage; +@property(nonatomic, strong, nullable) NSNumber *identifier; /** - * Output only. The resource name of the dynamic search ads search term view. - * Dynamic search ads search term view resource names have the form: - * `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` + * Indicates the level of the category in the taxonomy. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level1 + * Level 1. (Value: "LEVEL1") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level2 + * Level 2. (Value: "LEVEL2") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level3 + * Level 3. (Value: "LEVEL3") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level4 + * Level 4. (Value: "LEVEL4") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Level5 + * Level 5. (Value: "LEVEL5") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory_Level_Unspecified + * Not specified. (Value: "UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *resourceName; +@property(nonatomic, copy, nullable) NSString *level; @end /** - * A gender view. + * Brand of the product. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesGenderView : GTLRObject +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBrand : GTLRObject + +/** String value of the product brand. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + /** - * Output only. The resource name of the gender view. Gender view resource - * names have the form: - * `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` + * Locality of a product offer. */ -@property(nonatomic, copy, nullable) NSString *resourceName; +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel : GTLRObject + +/** + * Value of the locality. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel_Channel_Local + * The item is sold in local stores. (Value: "LOCAL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel_Channel_Online + * The item is sold online. (Value: "ONLINE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel_Channel_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel_Channel_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *channel; @end /** - * A geo target constant. + * Condition of a product offer. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant : GTLRObject +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition : GTLRObject /** - * Output only. The fully qualified English name, consisting of the target's - * name and that of its parent and country. + * Value of the condition. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_New + * The product condition is new. (Value: "NEW") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_Refurbished + * The product condition is refurbished. (Value: "REFURBISHED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_Unspecified + * Not specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition_Condition_Used + * The product condition is used. (Value: "USED") */ -@property(nonatomic, copy, nullable) NSString *canonicalName; +@property(nonatomic, copy, nullable) NSString *condition; + +@end + /** - * Output only. The ISO-3166-1 alpha-2 country code that is associated with the - * target. + * Custom attribute of a product offer. */ -@property(nonatomic, copy, nullable) NSString *countryCode; +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute : GTLRObject /** - * Output only. The ID of the geo target constant. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * Indicates the index of the custom attribute. * - * Uses NSNumber of longLongValue. + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index0 + * First listing group filter custom attribute. (Value: "INDEX0") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index1 + * Second listing group filter custom attribute. (Value: "INDEX1") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index2 + * Third listing group filter custom attribute. (Value: "INDEX2") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index3 + * Fourth listing group filter custom attribute. (Value: "INDEX3") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Index4 + * Fifth listing group filter custom attribute. (Value: "INDEX4") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute_Index_Unspecified + * Not specified. (Value: "UNSPECIFIED") */ -@property(nonatomic, strong, nullable) NSNumber *identifier; +@property(nonatomic, copy, nullable) NSString *index; + +/** String value of the product custom attribute. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end -/** Output only. Geo target constant English name. */ -@property(nonatomic, copy, nullable) NSString *name; /** - * Output only. The resource name of the parent geo target constant. Geo target - * constant resource names have the form: - * `geoTargetConstants/{parent_geo_target_constant_id}` + * Item id of a product offer. */ -@property(nonatomic, copy, nullable) NSString *parentGeoTarget; +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductItemId : GTLRObject + +/** Value of the id. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + /** - * Output only. The resource name of the geo target constant. Geo target - * constant resource names have the form: - * `geoTargetConstants/{geo_target_constant_id}` + * Type of a product offer. */ -@property(nonatomic, copy, nullable) NSString *resourceName; +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType : GTLRObject /** - * Output only. Geo target constant status. + * Level of the type. * * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_Enabled - * The geo target constant is valid. (Value: "ENABLED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_RemovalPlanned - * The geo target constant is obsolete and will be removed. (Value: - * "REMOVAL_PLANNED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_Unknown - * The received value is not known in this version. This is a - * response-only value. (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesGeoTargetConstant_Status_Unspecified - * No value has been specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level1 + * Level 1. (Value: "LEVEL1") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level2 + * Level 2. (Value: "LEVEL2") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level3 + * Level 3. (Value: "LEVEL3") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level4 + * Level 4. (Value: "LEVEL4") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Level5 + * Level 5. (Value: "LEVEL5") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType_Level_Unspecified + * Not specified. (Value: "UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *status; +@property(nonatomic, copy, nullable) NSString *level; -/** Output only. Geo target constant target type. */ -@property(nonatomic, copy, nullable) NSString *targetType; +/** Value of the type. */ +@property(nonatomic, copy, nullable) NSString *value; @end /** - * A keyword view. + * A location view summarizes the performance of campaigns by Location + * criteria. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesKeywordView : GTLRObject +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesLocationView : GTLRObject /** - * Output only. The resource name of the keyword view. Keyword view resource + * Output only. The resource name of the location view. Location view resource * names have the form: - * `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` + * `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` */ @property(nonatomic, copy, nullable) NSString *resourceName; @@ -13207,12 +16710,20 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea /** - * A label. + * A Product Bidding Category. */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesLabel : GTLRObject +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant : GTLRObject /** - * Output only. ID of the label. Read only. + * Output only. Two-letter upper-case country code of the product bidding + * category. + */ +@property(nonatomic, copy, nullable) NSString *countryCode; + +/** + * Output only. ID of the product bidding category. This ID is equivalent to + * the google_product_category ID as described in this article: + * https://support.google.com/merchants/answer/6324436. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). * @@ -13220,53 +16731,63 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea */ @property(nonatomic, strong, nullable) NSNumber *identifier; -/** - * The name of the label. This field is required and should not be empty when - * creating a new label. The length of this string should be between 1 and 80, - * inclusive. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Immutable. Name of the resource. Label resource names have the form: - * `customers/{customer_id}/labels/{label_id}` - */ -@property(nonatomic, copy, nullable) NSString *resourceName; +/** Output only. Language code of the product bidding category. */ +@property(nonatomic, copy, nullable) NSString *languageCode; /** - * Output only. Status of the label. Read only. + * Output only. Level of the product bidding category. * * Likely values: - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Enabled - * Label is enabled. (Value: "ENABLED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Removed - * Label is removed. (Value: "REMOVED") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Unknown + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level1 + * Level 1. (Value: "LEVEL1") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level2 + * Level 2. (Value: "LEVEL2") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level3 + * Level 3. (Value: "LEVEL3") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level4 + * Level 4. (Value: "LEVEL4") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Level5 + * Level 5. (Value: "LEVEL5") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Unknown * Used for return value only. Represents value unknown in this version. * (Value: "UNKNOWN") - * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesLabel_Status_Unspecified + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Level_Unspecified * Not specified. (Value: "UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *status; - -/** A type of label displaying text on a colored background. */ -@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonTextLabel *textLabel; +@property(nonatomic, copy, nullable) NSString *level; -@end +/** + * Output only. Display value of the product bidding category localized + * according to language_code. + */ +@property(nonatomic, copy, nullable) NSString *localizedName; +/** Output only. Resource name of the parent product bidding category. */ +@property(nonatomic, copy, nullable) NSString *productBiddingCategoryConstantParent; /** - * A location view summarizes the performance of campaigns by Location - * criteria. + * Output only. The resource name of the product bidding category. Product + * bidding category resource names have the form: + * `productBiddingCategoryConstants/{country_code}~{level}~{id}` */ -@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesLocationView : GTLRObject +@property(nonatomic, copy, nullable) NSString *resourceName; /** - * Output only. The resource name of the location view. Location view resource - * names have the form: - * `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` + * Output only. Status of the product bidding category. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Status_Active + * The category is active and can be used for bidding. (Value: "ACTIVE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Status_Obsolete + * The category is obsolete. Used only for reporting purposes. (Value: + * "OBSOLETE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Status_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant_Status_Unspecified + * Not specified. (Value: "UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *resourceName; +@property(nonatomic, copy, nullable) NSString *status; @end @@ -13444,6 +16965,25 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea @end +/** + * Shopping performance view. Provides Shopping campaign statistics aggregated + * at several product dimension levels. Product dimension values from Merchant + * Center such as brand, category, custom attributes, product condition and + * product type will reflect the state of each dimension as of the date and + * time when the corresponding event was recorded. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesShoppingPerformanceView : GTLRObject + +/** + * Output only. The resource name of the Shopping performance view. Shopping + * performance view resource names have the form: + * `customers/{customer_id}/shoppingPerformanceView` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +@end + + /** * A user list. This is a list of users a customer may target. */ @@ -13502,6 +17042,195 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea @end +/** + * A visit. + */ +@interface GTLRSA360_GoogleAdsSearchads360V0ResourcesVisit : GTLRObject + +/** + * Output only. Ad ID. A value of 0 indicates that the ad is unattributed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *adId; + +/** + * Output only. Asset field type of the visit event. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_AdImage + * The asset is linked for use to select an ad image. (Value: "AD_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_BookOnGoogle + * The asset is linked to indicate that a hotels campaign is "Book on + * Google" enabled. (Value: "BOOK_ON_GOOGLE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_BusinessLogo + * The asset is linked for use as a business logo. (Value: + * "BUSINESS_LOGO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_BusinessName + * The asset is linked for use as a business name. (Value: + * "BUSINESS_NAME") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Call + * The asset is linked for use as a Call extension. (Value: "CALL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Callout + * The asset is linked for use as a Callout extension. (Value: "CALLOUT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_CallToActionSelection + * The asset is linked for use to select a call-to-action. (Value: + * "CALL_TO_ACTION_SELECTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Description + * The asset is linked for use as a description. (Value: "DESCRIPTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Headline + * The asset is linked for use as a headline. (Value: "HEADLINE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_HotelCallout + * The asset is linked for use as a Hotel Callout extension. (Value: + * "HOTEL_CALLOUT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_HotelProperty + * The asset is linked for use as a hotel property in a Performance Max + * for travel goals campaign. (Value: "HOTEL_PROPERTY") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_LandscapeLogo + * The asset is linked for use as a landscape logo. (Value: + * "LANDSCAPE_LOGO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_LeadForm + * The asset is linked for use as a Lead Form extension. (Value: + * "LEAD_FORM") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Logo + * The asset is linked for use as a logo. (Value: "LOGO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_LongHeadline + * The asset is linked for use as a long headline. (Value: + * "LONG_HEADLINE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_MandatoryAdText + * The asset is linked for use as mandatory ad text. (Value: + * "MANDATORY_AD_TEXT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_MarketingImage + * The asset is linked for use as a marketing image. (Value: + * "MARKETING_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_MediaBundle + * The asset is linked for use as a media bundle. (Value: "MEDIA_BUNDLE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_MobileApp + * The asset is linked for use as a Mobile App extension. (Value: + * "MOBILE_APP") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_PortraitMarketingImage + * The asset is linked for use as a portrait marketing image. (Value: + * "PORTRAIT_MARKETING_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Price + * The asset is linked for use as a Price extension. (Value: "PRICE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Promotion + * The asset is linked for use as a Promotion extension. (Value: + * "PROMOTION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Sitelink + * The asset is linked for use as a Sitelink. (Value: "SITELINK") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_SquareMarketingImage + * The asset is linked for use as a square marketing image. (Value: + * "SQUARE_MARKETING_IMAGE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_StructuredSnippet + * The asset is linked for use as a Structured Snippet extension. (Value: + * "STRUCTURED_SNIPPET") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Unspecified + * Not specified. (Value: "UNSPECIFIED") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_Video + * The asset is linked for use as a non YouTube logo. (Value: "VIDEO") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_AssetFieldType_YoutubeVideo + * The asset is linked for use as a YouTube video. (Value: + * "YOUTUBE_VIDEO") + */ +@property(nonatomic, copy, nullable) NSString *assetFieldType; + +/** + * Output only. ID of the asset which was interacted with during the visit + * event. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *assetId; + +/** + * Output only. A unique string for each visit that is passed to the landing + * page as the click id URL parameter. + */ +@property(nonatomic, copy, nullable) NSString *clickId; + +/** + * Output only. Search Ads 360 keyword ID. A value of 0 indicates that the + * keyword is unattributed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *criterionId; + +/** + * Output only. The ID of the visit. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** + * Output only. The Search Ads 360 inventory account ID containing the product + * that was clicked on. Search Ads 360 generates this ID when you link an + * inventory account in Search Ads 360. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *merchantId; + +/** + * Output only. The sales channel of the product that was clicked on: Online or + * Local. + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_ProductChannel_Local + * The item is sold in local stores. (Value: "LOCAL") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_ProductChannel_Online + * The item is sold online. (Value: "ONLINE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_ProductChannel_Unknown + * Used for return value only. Represents value unknown in this version. + * (Value: "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ResourcesVisit_ProductChannel_Unspecified + * Not specified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *productChannel; + +/** + * Output only. The country (ISO-3166 format) registered for the inventory feed + * that contains the product clicked on. + */ +@property(nonatomic, copy, nullable) NSString *productCountryCode; + +/** Output only. The ID of the product clicked on. */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Output only. The language (ISO-639-1) that has been set for the Merchant + * Center feed containing data about the product. + */ +@property(nonatomic, copy, nullable) NSString *productLanguageCode; + +/** + * Output only. The store in the Local Inventory Ad that was clicked on. This + * should match the store IDs used in your local products feed. + */ +@property(nonatomic, copy, nullable) NSString *productStoreId; + +/** + * Output only. The resource name of the visit. Visit resource names have the + * form: + * `customers/{customer_id}/visits/{ad_group_id}~{criterion_id}~{ds_visit_id}` + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +/** + * Output only. The timestamp of the visit event. The timestamp is in the + * customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + */ +@property(nonatomic, copy, nullable) NSString *visitDateTime; + +@end + + /** * A webpage view. */ @@ -13610,12 +17339,30 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea /** The asset referenced in the query. */ @property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAsset *asset; +/** The asset group referenced in the query. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroup *assetGroup; + +/** The asset group asset referenced in the query. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset *assetGroupAsset; + +/** The asset group listing group filter referenced in the query. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter *assetGroupListingGroupFilter; + +/** The asset group signal referenced in the query. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupSignal *assetGroupSignal; + +/** The asset group top combination view referenced in the query. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetGroupTopCombinationView *assetGroupTopCombinationView; + /** The asset set referenced in the query. */ @property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSet *assetSet; /** The asset set asset referenced in the query. */ @property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset *assetSetAsset; +/** The Audience referenced in the query. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesAudience *audience; + /** The bidding strategy referenced in the query. */ @property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy *biddingStrategy; @@ -13640,6 +17387,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea /** The campaign label referenced in the query. */ @property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesCampaignLabel *campaignLabel; +/** The cart data sales view referenced in the query. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesCartDataSalesView *cartDataSalesView; + +/** The event level conversion referenced in the query. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesConversion *conversion; + /** The conversion action referenced in the query. */ @property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesConversionAction *conversionAction; @@ -13676,21 +17429,33 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea /** The label referenced in the query. */ @property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesLabel *label; +/** The language constant referenced in the query. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesLanguageConstant *languageConstant; + /** The location view referenced in the query. */ @property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesLocationView *locationView; /** The metrics. */ @property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonMetrics *metrics; +/** The Product Bidding Category referenced in the query. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant *productBiddingCategoryConstant; + /** The product group view referenced in the query. */ @property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesProductGroupView *productGroupView; /** The segments. */ @property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0CommonSegments *segments; +/** The shopping performance view referenced in the query. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesShoppingPerformanceView *shoppingPerformanceView; + /** The user list referenced in the query. */ @property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesUserList *userList; +/** The event level visit referenced in the query. */ +@property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesVisit *visit; + /** The webpage view referenced in the query. */ @property(nonatomic, strong, nullable) GTLRSA360_GoogleAdsSearchads360V0ResourcesWebpageView *webpageView; diff --git a/Sources/GeneratedServices/SASPortal/GTLRSASPortalObjects.m b/Sources/GeneratedServices/SASPortal/GTLRSASPortalObjects.m index c0a726df5..b804fb8b0 100644 --- a/Sources/GeneratedServices/SASPortal/GTLRSASPortalObjects.m +++ b/Sources/GeneratedServices/SASPortal/GTLRSASPortalObjects.m @@ -326,9 +326,9 @@ @implementation GTLRSASPortal_GetPolicyRequest @implementation GTLRSASPortal_InstallationParams @dynamic antennaAzimuth, antennaBeamwidth, antennaDowntilt, antennaGain, - antennaGainNewField, antennaModel, cpeCbsdIndication, eirpCapability, - eirpCapabilityNewField, height, heightType, horizontalAccuracy, - indoorDeployment, latitude, longitude, verticalAccuracy; + antennaModel, cpeCbsdIndication, eirpCapability, height, heightType, + horizontalAccuracy, indoorDeployment, latitude, longitude, + verticalAccuracy; @end diff --git a/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalObjects.h b/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalObjects.h index 5fd62bfd8..d93f4acf3 100644 --- a/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalObjects.h +++ b/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalObjects.h @@ -804,13 +804,6 @@ FOUNDATION_EXTERN NSString * const kGTLRSASPortal_NrqzValidation_State_StateUnsp */ @property(nonatomic, strong, nullable) NSNumber *antennaGain; -/** - * As above, but as a DoubleValue. - * - * Uses NSNumber of doubleValue. - */ -@property(nonatomic, strong, nullable) NSNumber *antennaGainNewField; - /** * If an external antenna is used, the antenna model is optionally provided in * this field. The string has a maximum length of 128 octets. @@ -834,13 +827,6 @@ FOUNDATION_EXTERN NSString * const kGTLRSASPortal_NrqzValidation_State_StateUnsp */ @property(nonatomic, strong, nullable) NSNumber *eirpCapability; -/** - * As above, but as a DoubleValue. - * - * Uses NSNumber of doubleValue. - */ -@property(nonatomic, strong, nullable) NSNumber *eirpCapabilityNewField; - /** * Device antenna height in meters. When the `heightType` parameter value is * "AGL", the antenna height should be given relative to ground level. When the diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m index e7e81962e..c98db7d9e 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m @@ -14,6 +14,8 @@ // Constants // GTLRSQLAdmin_ApiWarning.code +NSString * const kGTLRSQLAdmin_ApiWarning_Code_CompromisedCredentials = @"COMPROMISED_CREDENTIALS"; +NSString * const kGTLRSQLAdmin_ApiWarning_Code_InternalStateFailure = @"INTERNAL_STATE_FAILURE"; NSString * const kGTLRSQLAdmin_ApiWarning_Code_MaxResultsExceedsLimit = @"MAX_RESULTS_EXCEEDS_LIMIT"; NSString * const kGTLRSQLAdmin_ApiWarning_Code_RegionUnreachable = @"REGION_UNREACHABLE"; NSString * const kGTLRSQLAdmin_ApiWarning_Code_SqlApiWarningCodeUnspecified = @"SQL_API_WARNING_CODE_UNSPECIFIED"; @@ -145,6 +147,11 @@ NSString * const kGTLRSQLAdmin_DatabaseInstance_InstanceType_ReadReplicaInstance = @"READ_REPLICA_INSTANCE"; NSString * const kGTLRSQLAdmin_DatabaseInstance_InstanceType_SqlInstanceTypeUnspecified = @"SQL_INSTANCE_TYPE_UNSPECIFIED"; +// GTLRSQLAdmin_DatabaseInstance.sqlNetworkArchitecture +NSString * const kGTLRSQLAdmin_DatabaseInstance_SqlNetworkArchitecture_NewNetworkArchitecture = @"NEW_NETWORK_ARCHITECTURE"; +NSString * const kGTLRSQLAdmin_DatabaseInstance_SqlNetworkArchitecture_OldNetworkArchitecture = @"OLD_NETWORK_ARCHITECTURE"; +NSString * const kGTLRSQLAdmin_DatabaseInstance_SqlNetworkArchitecture_SqlNetworkArchitectureUnspecified = @"SQL_NETWORK_ARCHITECTURE_UNSPECIFIED"; + // GTLRSQLAdmin_DatabaseInstance.state NSString * const kGTLRSQLAdmin_DatabaseInstance_State_Failed = @"FAILED"; NSString * const kGTLRSQLAdmin_DatabaseInstance_State_Maintenance = @"MAINTENANCE"; @@ -252,6 +259,7 @@ NSString * const kGTLRSQLAdmin_MaintenanceWindow_UpdateTrack_Canary = @"canary"; NSString * const kGTLRSQLAdmin_MaintenanceWindow_UpdateTrack_SqlUpdateTrackUnspecified = @"SQL_UPDATE_TRACK_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_MaintenanceWindow_UpdateTrack_Stable = @"stable"; +NSString * const kGTLRSQLAdmin_MaintenanceWindow_UpdateTrack_Week5 = @"week5"; // GTLRSQLAdmin_Operation.operationType NSString * const kGTLRSQLAdmin_Operation_OperationType_AutoRestart = @"AUTO_RESTART"; @@ -365,6 +373,7 @@ NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_InvalidSharedPreloadLibrary = @"INVALID_SHARED_PRELOAD_LIBRARY"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_InvalidWalLevel = @"INVALID_WAL_LEVEL"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_LimitedSupportTables = @"LIMITED_SUPPORT_TABLES"; +NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_LocalInfileOff = @"LOCAL_INFILE_OFF"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_MissingOptionalPrivileges = @"MISSING_OPTIONAL_PRIVILEGES"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_MysqlParallelImportInsufficientPrivilege = @"MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_NoPglogicalInstalled = @"NO_PGLOGICAL_INSTALLED"; @@ -375,6 +384,7 @@ NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlExternalSyncSettingErrorTypeUnspecified = @"SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlserverAgentNotRunning = @"SQLSERVER_AGENT_NOT_RUNNING"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlserverServernameMismatch = @"SQLSERVER_SERVERNAME_MISMATCH"; +NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_TurnOnPitrAfterPromote = @"TURN_ON_PITR_AFTER_PROMOTE"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedBinlogFormat = @"UNSUPPORTED_BINLOG_FORMAT"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedDatabaseSettings = @"UNSUPPORTED_DATABASE_SETTINGS"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedDefiner = @"UNSUPPORTED_DEFINER"; @@ -413,6 +423,9 @@ // GTLRSQLAdmin_User.type NSString * const kGTLRSQLAdmin_User_Type_BuiltIn = @"BUILT_IN"; +NSString * const kGTLRSQLAdmin_User_Type_CloudIamGroup = @"CLOUD_IAM_GROUP"; +NSString * const kGTLRSQLAdmin_User_Type_CloudIamGroupServiceAccount = @"CLOUD_IAM_GROUP_SERVICE_ACCOUNT"; +NSString * const kGTLRSQLAdmin_User_Type_CloudIamGroupUser = @"CLOUD_IAM_GROUP_USER"; NSString * const kGTLRSQLAdmin_User_Type_CloudIamServiceAccount = @"CLOUD_IAM_SERVICE_ACCOUNT"; NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser = @"CLOUD_IAM_USER"; @@ -675,8 +688,8 @@ @implementation GTLRSQLAdmin_DatabaseInstance onPremisesConfiguration, outOfDiskReport, primaryDnsName, project, pscServiceAttachmentLink, region, replicaConfiguration, replicaNames, rootPassword, satisfiesPzs, scheduledMaintenance, secondaryGceZone, - selfLink, serverCaCert, serviceAccountEmailAddress, settings, state, - suspensionReason, writeEndpoint; + selfLink, serverCaCert, serviceAccountEmailAddress, settings, + sqlNetworkArchitecture, state, suspensionReason, writeEndpoint; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -745,6 +758,23 @@ @implementation GTLRSQLAdmin_DataCacheConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_DemoteContext +// + +@implementation GTLRSQLAdmin_DemoteContext +@dynamic kind, sourceRepresentativeInstanceName; + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_DemoteMasterConfiguration @@ -1120,6 +1150,16 @@ @implementation GTLRSQLAdmin_InstancesDemoteMasterRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_InstancesDemoteRequest +// + +@implementation GTLRSQLAdmin_InstancesDemoteRequest +@dynamic demoteContext; +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_InstancesExportRequest @@ -1368,9 +1408,9 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRSQLAdmin_Operation -@dynamic backupContext, endTime, error, exportContext, importContext, - insertTime, kind, name, operationType, selfLink, startTime, status, - targetId, targetLink, targetProject, user; +@dynamic apiWarning, backupContext, endTime, error, exportContext, + importContext, insertTime, kind, name, operationType, selfLink, + startTime, status, targetId, targetLink, targetProject, user; + (BOOL)isKindValidForClassRegistry { // This class has a "kind" property that doesn't appear to be usable to diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m index 2532f8803..f35d7477d 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m @@ -446,6 +446,37 @@ + (instancetype)queryWithProject:(NSString *)project @end +@implementation GTLRSQLAdminQuery_InstancesDemote + +@dynamic instance, project; + ++ (instancetype)queryWithObject:(GTLRSQLAdmin_InstancesDemoteRequest *)object + project:(NSString *)project + instance:(NSString *)instance { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"instance", @"project" + ]; + NSString *pathURITemplate = @"v1/projects/{project}/instances/{instance}/demote"; + GTLRSQLAdminQuery_InstancesDemote *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.instance = instance; + query.expectedObjectClass = [GTLRSQLAdmin_Operation class]; + query.loggingName = @"sql.instances.demote"; + return query; +} + +@end + @implementation GTLRSQLAdminQuery_InstancesDemoteMaster @dynamic instance, project; diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h index 44421b9c7..de9453a4b 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h @@ -29,6 +29,7 @@ @class GTLRSQLAdmin_DatabaseInstance; @class GTLRSQLAdmin_DatabaseInstance_FailoverReplica; @class GTLRSQLAdmin_DataCacheConfig; +@class GTLRSQLAdmin_DemoteContext; @class GTLRSQLAdmin_DemoteMasterConfiguration; @class GTLRSQLAdmin_DemoteMasterContext; @class GTLRSQLAdmin_DemoteMasterMySqlReplicaConfiguration; @@ -95,6 +96,20 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // GTLRSQLAdmin_ApiWarning.code +/** + * Warning when user tries to create/update a user with credentials that have + * previously been compromised by a public data breach. + * + * Value: "COMPROMISED_CREDENTIALS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ApiWarning_Code_CompromisedCredentials; +/** + * Warning when the operation succeeds but some non-critical workflow state + * failed. + * + * Value: "INTERNAL_STATE_FAILURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ApiWarning_Code_InternalStateFailure; /** * Warning when user provided maxResults parameter exceeds the limit. The * returned result set may be incomplete. @@ -802,6 +817,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_InstanceType_R */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_InstanceType_SqlInstanceTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRSQLAdmin_DatabaseInstance.sqlNetworkArchitecture + +/** + * Instance is a Tenancy Unit (TU) instance. + * + * Value: "NEW_NETWORK_ARCHITECTURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_SqlNetworkArchitecture_NewNetworkArchitecture; +/** + * Instance is an Umbrella instance. + * + * Value: "OLD_NETWORK_ARCHITECTURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_SqlNetworkArchitecture_OldNetworkArchitecture; +/** Value: "SQL_NETWORK_ARCHITECTURE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_SqlNetworkArchitecture_SqlNetworkArchitectureUnspecified; + // ---------------------------------------------------------------------------- // GTLRSQLAdmin_DatabaseInstance.state @@ -1280,31 +1313,31 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ImportContext_BakImportOptions_ /** * Allow non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the - * client certificate will not be verified. When this value is used, legacy - * `require_ssl` flag must be false or unset to avoid the conflict between + * client certificate won't be verified. When this value is used, the legacy + * `require_ssl` flag must be false or cleared to avoid the conflict between * values of two flags. * * Value: "ALLOW_UNENCRYPTED_AND_ENCRYPTED" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_IpConfiguration_SslMode_AllowUnencryptedAndEncrypted; /** - * Only allow connections encrypted with SSL/TLS. When this value is used, - * legacy `require_ssl` flag must be false or unset to avoid the conflict + * Only allow connections encrypted with SSL/TLS. When this value is used, the + * legacy `require_ssl` flag must be false or cleared to avoid the conflict * between values of two flags. * * Value: "ENCRYPTED_ONLY" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_IpConfiguration_SslMode_EncryptedOnly; /** - * SSL mode is unknown. + * The SSL mode is unknown. * * Value: "SSL_MODE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_IpConfiguration_SslMode_SslModeUnspecified; /** * Only allow connections encrypted with SSL/TLS and with valid client - * certificates. When this value is used, legacy `require_ssl` flag must be - * true or unset to avoid the conflict between values of two flags. + * certificates. When this value is used, the legacy `require_ssl` flag must be + * true or cleared to avoid the conflict between values of two flags. * * Value: "TRUSTED_CLIENT_CERTIFICATE_REQUIRED" */ @@ -1374,6 +1407,15 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_MaintenanceWindow_UpdateTrack_S * Value: "stable" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_MaintenanceWindow_UpdateTrack_Stable; +/** + * For instance update that requires a restart, this update track indicates + * your instance prefer to let Cloud SQL choose the timing of restart (within + * its Maintenance window, if applicable) to be at least 5 weeks after the + * notification. + * + * Value: "week5" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_MaintenanceWindow_UpdateTrack_Week5; // ---------------------------------------------------------------------------- // GTLRSQLAdmin_Operation.operationType @@ -1938,6 +1980,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Typ * Value: "LIMITED_SUPPORT_TABLES" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_LimitedSupportTables; +/** + * The global variable local_infile is off on external server replica. + * + * Value: "LOCAL_INFILE_OFF" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_LocalInfileOff; /** * The replication user is missing privileges that are optional. * @@ -1992,6 +2040,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Typ * Value: "SQLSERVER_SERVERNAME_MISMATCH" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlserverServernameMismatch; +/** + * This code instructs customers to turn on point-in-time recovery manually for + * the instance after promoting the Cloud SQL for PostgreSQL instance. + * + * Value: "TURN_ON_PITR_AFTER_PROMOTE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_TurnOnPitrAfterPromote; /** * The primary instance has unsupported binary log format. * @@ -2178,6 +2233,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_DualPasswordType_NoModifyD * Value: "BUILT_IN" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_BuiltIn; +/** + * Cloud IAM Group non-login user. + * + * Value: "CLOUD_IAM_GROUP" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamGroup; +/** + * Cloud IAM Group login service account. + * + * Value: "CLOUD_IAM_GROUP_SERVICE_ACCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamGroupServiceAccount; +/** + * Cloud IAM Group login user. + * + * Value: "CLOUD_IAM_GROUP_USER" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamGroupUser; /** * Cloud IAM service account. * @@ -2239,6 +2312,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * Code to uniquely identify the warning type. * * Likely values: + * @arg @c kGTLRSQLAdmin_ApiWarning_Code_CompromisedCredentials Warning when + * user tries to create/update a user with credentials that have + * previously been compromised by a public data breach. (Value: + * "COMPROMISED_CREDENTIALS") + * @arg @c kGTLRSQLAdmin_ApiWarning_Code_InternalStateFailure Warning when + * the operation succeeds but some non-critical workflow state failed. + * (Value: "INTERNAL_STATE_FAILURE") * @arg @c kGTLRSQLAdmin_ApiWarning_Code_MaxResultsExceedsLimit Warning when * user provided maxResults parameter exceeds the limit. The returned * result set may be incomplete. (Value: "MAX_RESULTS_EXCEEDS_LIMIT") @@ -3188,6 +3268,20 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** The user settings. */ @property(nonatomic, strong, nullable) GTLRSQLAdmin_Settings *settings; +/** + * sqlNetworkArchitecture + * + * Likely values: + * @arg @c kGTLRSQLAdmin_DatabaseInstance_SqlNetworkArchitecture_NewNetworkArchitecture + * Instance is a Tenancy Unit (TU) instance. (Value: + * "NEW_NETWORK_ARCHITECTURE") + * @arg @c kGTLRSQLAdmin_DatabaseInstance_SqlNetworkArchitecture_OldNetworkArchitecture + * Instance is an Umbrella instance. (Value: "OLD_NETWORK_ARCHITECTURE") + * @arg @c kGTLRSQLAdmin_DatabaseInstance_SqlNetworkArchitecture_SqlNetworkArchitectureUnspecified + * Value "SQL_NETWORK_ARCHITECTURE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *sqlNetworkArchitecture; + /** * The current serving state of the Cloud SQL instance. * @@ -3286,6 +3380,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * This context is used to demote an existing standalone instance to be a Cloud + * SQL read replica for an external database server. + */ +@interface GTLRSQLAdmin_DemoteContext : GTLRObject + +/** This is always `sql#demoteContext`. */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * Required. The name of the instance which acts as the on-premises primary + * instance in the replication setup. + */ +@property(nonatomic, copy, nullable) NSString *sourceRepresentativeInstanceName; + +@end + + /** * Read-replica configuration for connecting to the on-premises primary * instance. @@ -3906,14 +4018,17 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @property(nonatomic, strong, nullable) NSNumber *recoveryOnly; /** - * Optional. StopAt keyword for transaction log import, Applies to Cloud SQL - * for SQL Server only + * Optional. The timestamp when the import should stop. This timestamp is in + * the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, + * `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT keyword + * and applies to Cloud SQL for SQL Server only. */ @property(nonatomic, strong, nullable) GTLRDateTime *stopAt; /** - * Optional. StopAtMark keyword for transaction log import, Applies to Cloud - * SQL for SQL Server only + * Optional. The marked transaction where the import should stop. This field is + * equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL Server + * only. */ @property(nonatomic, copy, nullable) NSString *stopAtMark; @@ -4084,6 +4199,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * This request is used to demote an existing standalone instance to be a Cloud + * SQL read replica for an external database server. + */ +@interface GTLRSQLAdmin_InstancesDemoteRequest : GTLRObject + +/** Required. Contains details about the demote operation. */ +@property(nonatomic, strong, nullable) GTLRSQLAdmin_DemoteContext *demoteContext; + +@end + + /** * Database instance export request. */ @@ -4259,53 +4386,52 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @property(nonatomic, strong, nullable) GTLRSQLAdmin_PscConfig *pscConfig; /** - * LINT.IfChange(require_ssl_deprecate) Whether SSL/TLS connections over IP are - * enforced or not. If set to false, allow both non-SSL/non-TLS and SSL/TLS - * connections. For SSL/TLS connections, the client certificate will not be - * verified. If set to true, only allow connections encrypted with SSL/TLS and - * with valid client certificates. If you want to enforce SSL/TLS without - * enforcing the requirement for valid client certificates, use the `ssl_mode` - * flag instead of the legacy `require_ssl` flag. - * LINT.ThenChange(//depot/google3/java/com/google/storage/speckle/boss/admin/actions/InstanceUpdateAction.java:update_api_temp_fix) + * Whether SSL/TLS connections over IP are enforced. If set to false, then + * allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, + * the client certificate won't be verified. If set to true, then only allow + * connections encrypted with SSL/TLS and with valid client certificates. If + * you want to enforce SSL/TLS without enforcing the requirement for valid + * client certificates, then use the `ssl_mode` flag instead of the legacy + * `require_ssl` flag. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *requireSsl; /** - * Specify how SSL/TLS will be enforced in database connections. This flag is - * only supported for PostgreSQL. Use the legacy `require_ssl` flag for - * enforcing SSL/TLS in MySQL and SQL Server. But, for PostgreSQL, it is - * recommended to use the `ssl_mode` flag instead of the legacy `require_ssl` - * flag. To avoid the conflict between those flags in PostgreSQL, only the - * following value pairs are valid: ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED, - * require_ssl=false; ssl_mode=ENCRYPTED_ONLY, require_ssl=false; - * ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED, require_ssl=true; Note that - * the value of `ssl_mode` gets priority over the value of the legacy + * Specify how SSL/TLS is enforced in database connections. This flag is + * supported only for PostgreSQL. Use the legacy `require_ssl` flag for + * enforcing SSL/TLS in MySQL and SQL Server. But, for PostgreSQL, use the + * `ssl_mode` flag instead of the legacy `require_ssl` flag. To avoid the + * conflict between those flags in PostgreSQL, only the following value pairs + * are valid: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and + * `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` * + * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` Note + * that the value of `ssl_mode` gets priority over the value of the legacy * `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY, * require_ssl=false`, the `ssl_mode=ENCRYPTED_ONLY` means "only accepts SSL * connection", while the `require_ssl=false` means "both non-SSL and SSL - * connections are allowed". The database will respect `ssl_mode` in this case - * and only accept SSL connections. + * connections are allowed". The database respects `ssl_mode` in this case and + * only accepts SSL connections. * * Likely values: * @arg @c kGTLRSQLAdmin_IpConfiguration_SslMode_AllowUnencryptedAndEncrypted * Allow non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS - * connections, the client certificate will not be verified. When this - * value is used, legacy `require_ssl` flag must be false or unset to + * connections, the client certificate won't be verified. When this value + * is used, the legacy `require_ssl` flag must be false or cleared to * avoid the conflict between values of two flags. (Value: * "ALLOW_UNENCRYPTED_AND_ENCRYPTED") * @arg @c kGTLRSQLAdmin_IpConfiguration_SslMode_EncryptedOnly Only allow - * connections encrypted with SSL/TLS. When this value is used, legacy - * `require_ssl` flag must be false or unset to avoid the conflict - * between values of two flags. (Value: "ENCRYPTED_ONLY") - * @arg @c kGTLRSQLAdmin_IpConfiguration_SslMode_SslModeUnspecified SSL mode - * is unknown. (Value: "SSL_MODE_UNSPECIFIED") + * connections encrypted with SSL/TLS. When this value is used, the + * legacy `require_ssl` flag must be false or cleared to avoid the + * conflict between values of two flags. (Value: "ENCRYPTED_ONLY") + * @arg @c kGTLRSQLAdmin_IpConfiguration_SslMode_SslModeUnspecified The SSL + * mode is unknown. (Value: "SSL_MODE_UNSPECIFIED") * @arg @c kGTLRSQLAdmin_IpConfiguration_SslMode_TrustedClientCertificateRequired * Only allow connections encrypted with SSL/TLS and with valid client - * certificates. When this value is used, legacy `require_ssl` flag must - * be true or unset to avoid the conflict between values of two flags. - * (Value: "TRUSTED_CLIENT_CERTIFICATE_REQUIRED") + * certificates. When this value is used, the legacy `require_ssl` flag + * must be true or cleared to avoid the conflict between values of two + * flags. (Value: "TRUSTED_CLIENT_CERTIFICATE_REQUIRED") */ @property(nonatomic, copy, nullable) NSString *sslMode; @@ -4431,6 +4557,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * update that requires a restart, this update track indicates your * instance prefer to let Cloud SQL choose the timing of restart (within * its Maintenance window, if applicable). (Value: "stable") + * @arg @c kGTLRSQLAdmin_MaintenanceWindow_UpdateTrack_Week5 For instance + * update that requires a restart, this update track indicates your + * instance prefer to let Cloud SQL choose the timing of restart (within + * its Maintenance window, if applicable) to be at least 5 weeks after + * the notification. (Value: "week5") */ @property(nonatomic, copy, nullable) NSString *updateTrack; @@ -4556,6 +4687,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @interface GTLRSQLAdmin_Operation : GTLRObject +/** An Admin API warning message. */ +@property(nonatomic, strong, nullable) GTLRSQLAdmin_ApiWarning *apiWarning; + /** The context for backup operation, if applicable. */ @property(nonatomic, strong, nullable) GTLRSQLAdmin_BackupContext *backupContext; @@ -5425,6 +5559,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_LimitedSupportTables * Source has tables with limited support eg: PostgreSQL tables without * primary keys. (Value: "LIMITED_SUPPORT_TABLES") + * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_LocalInfileOff The + * global variable local_infile is off on external server replica. + * (Value: "LOCAL_INFILE_OFF") * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_MissingOptionalPrivileges * The replication user is missing privileges that are optional. (Value: * "MISSING_OPTIONAL_PRIVILEGES") @@ -5455,6 +5592,10 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlserverServernameMismatch * SQL Server \@\@SERVERNAME does not match actual host name. (Value: * "SQLSERVER_SERVERNAME_MISMATCH") + * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_TurnOnPitrAfterPromote + * This code instructs customers to turn on point-in-time recovery + * manually for the instance after promoting the Cloud SQL for PostgreSQL + * instance. (Value: "TURN_ON_PITR_AFTER_PROMOTE") * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedBinlogFormat * The primary instance has unsupported binary log format. (Value: * "UNSUPPORTED_BINLOG_FORMAT") @@ -6063,6 +6204,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * Likely values: * @arg @c kGTLRSQLAdmin_User_Type_BuiltIn The database's built-in user type. * (Value: "BUILT_IN") + * @arg @c kGTLRSQLAdmin_User_Type_CloudIamGroup Cloud IAM Group non-login + * user. (Value: "CLOUD_IAM_GROUP") + * @arg @c kGTLRSQLAdmin_User_Type_CloudIamGroupServiceAccount Cloud IAM + * Group login service account. (Value: + * "CLOUD_IAM_GROUP_SERVICE_ACCOUNT") + * @arg @c kGTLRSQLAdmin_User_Type_CloudIamGroupUser Cloud IAM Group login + * user. (Value: "CLOUD_IAM_GROUP_USER") * @arg @c kGTLRSQLAdmin_User_Type_CloudIamServiceAccount Cloud IAM service * account. (Value: "CLOUD_IAM_SERVICE_ACCOUNT") * @arg @c kGTLRSQLAdmin_User_Type_CloudIamUser Cloud IAM user. (Value: diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h index 8dd646abd..3e5232cfb 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h @@ -657,6 +657,43 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Demotes an existing standalone instance to be a Cloud SQL read replica for + * an external database server. + * + * Method: sql.instances.demote + * + * Authorization scope(s): + * @c kGTLRAuthScopeSQLAdminCloudPlatform + * @c kGTLRAuthScopeSQLAdminSqlserviceAdmin + */ +@interface GTLRSQLAdminQuery_InstancesDemote : GTLRSQLAdminQuery + +/** Required. Cloud SQL instance name. */ +@property(nonatomic, copy, nullable) NSString *instance; + +/** Required. ID of the project that contains the instance. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * Fetches a @c GTLRSQLAdmin_Operation. + * + * Demotes an existing standalone instance to be a Cloud SQL read replica for + * an external database server. + * + * @param object The @c GTLRSQLAdmin_InstancesDemoteRequest to include in the + * query. + * @param project Required. ID of the project that contains the instance. + * @param instance Required. Cloud SQL instance name. + * + * @return GTLRSQLAdminQuery_InstancesDemote + */ ++ (instancetype)queryWithObject:(GTLRSQLAdmin_InstancesDemoteRequest *)object + project:(NSString *)project + instance:(NSString *)instance; + +@end + /** * Demotes the stand-alone instance to be a Cloud SQL read replica for an * external database server. diff --git a/Sources/GeneratedServices/Script/GTLRScriptObjects.m b/Sources/GeneratedServices/Script/GTLRScriptObjects.m index fe813c2a2..ea0ec5a16 100644 --- a/Sources/GeneratedServices/Script/GTLRScriptObjects.m +++ b/Sources/GeneratedServices/Script/GTLRScriptObjects.m @@ -41,6 +41,7 @@ NSString * const kGTLRScript_GoogleAppsScriptTypeProcess_ProcessStatus_Canceled = @"CANCELED"; NSString * const kGTLRScript_GoogleAppsScriptTypeProcess_ProcessStatus_Completed = @"COMPLETED"; NSString * const kGTLRScript_GoogleAppsScriptTypeProcess_ProcessStatus_Delayed = @"DELAYED"; +NSString * const kGTLRScript_GoogleAppsScriptTypeProcess_ProcessStatus_ExecutionDisabled = @"EXECUTION_DISABLED"; NSString * const kGTLRScript_GoogleAppsScriptTypeProcess_ProcessStatus_Failed = @"FAILED"; NSString * const kGTLRScript_GoogleAppsScriptTypeProcess_ProcessStatus_Paused = @"PAUSED"; NSString * const kGTLRScript_GoogleAppsScriptTypeProcess_ProcessStatus_ProcessStatusUnspecified = @"PROCESS_STATUS_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/Script/GTLRScriptQuery.m b/Sources/GeneratedServices/Script/GTLRScriptQuery.m index 7e03026c4..8b3f5fcd6 100644 --- a/Sources/GeneratedServices/Script/GTLRScriptQuery.m +++ b/Sources/GeneratedServices/Script/GTLRScriptQuery.m @@ -22,6 +22,7 @@ NSString * const kGTLRScriptScriptProcessFilterStatusesCanceled = @"CANCELED"; NSString * const kGTLRScriptScriptProcessFilterStatusesCompleted = @"COMPLETED"; NSString * const kGTLRScriptScriptProcessFilterStatusesDelayed = @"DELAYED"; +NSString * const kGTLRScriptScriptProcessFilterStatusesExecutionDisabled = @"EXECUTION_DISABLED"; NSString * const kGTLRScriptScriptProcessFilterStatusesFailed = @"FAILED"; NSString * const kGTLRScriptScriptProcessFilterStatusesPaused = @"PAUSED"; NSString * const kGTLRScriptScriptProcessFilterStatusesProcessStatusUnspecified = @"PROCESS_STATUS_UNSPECIFIED"; @@ -52,6 +53,7 @@ NSString * const kGTLRScriptUserProcessFilterStatusesCanceled = @"CANCELED"; NSString * const kGTLRScriptUserProcessFilterStatusesCompleted = @"COMPLETED"; NSString * const kGTLRScriptUserProcessFilterStatusesDelayed = @"DELAYED"; +NSString * const kGTLRScriptUserProcessFilterStatusesExecutionDisabled = @"EXECUTION_DISABLED"; NSString * const kGTLRScriptUserProcessFilterStatusesFailed = @"FAILED"; NSString * const kGTLRScriptUserProcessFilterStatusesPaused = @"PAUSED"; NSString * const kGTLRScriptUserProcessFilterStatusesProcessStatusUnspecified = @"PROCESS_STATUS_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h b/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h index a93e50b71..1153087dd 100644 --- a/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h +++ b/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h @@ -187,6 +187,12 @@ FOUNDATION_EXTERN NSString * const kGTLRScript_GoogleAppsScriptTypeProcess_Proce * Value: "DELAYED" */ FOUNDATION_EXTERN NSString * const kGTLRScript_GoogleAppsScriptTypeProcess_ProcessStatus_Delayed; +/** + * AppsScript executions are disabled by Admin. + * + * Value: "EXECUTION_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRScript_GoogleAppsScriptTypeProcess_ProcessStatus_ExecutionDisabled; /** * The process failed. * @@ -856,6 +862,9 @@ FOUNDATION_EXTERN NSString * const kGTLRScript_Value_NullValue_NullValue; * The process has completed. (Value: "COMPLETED") * @arg @c kGTLRScript_GoogleAppsScriptTypeProcess_ProcessStatus_Delayed The * process is delayed, waiting for quota. (Value: "DELAYED") + * @arg @c kGTLRScript_GoogleAppsScriptTypeProcess_ProcessStatus_ExecutionDisabled + * AppsScript executions are disabled by Admin. (Value: + * "EXECUTION_DISABLED") * @arg @c kGTLRScript_GoogleAppsScriptTypeProcess_ProcessStatus_Failed The * process failed. (Value: "FAILED") * @arg @c kGTLRScript_GoogleAppsScriptTypeProcess_ProcessStatus_Paused The diff --git a/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptQuery.h b/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptQuery.h index b899f0abb..a7029a3f2 100644 --- a/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptQuery.h +++ b/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptQuery.h @@ -69,6 +69,12 @@ FOUNDATION_EXTERN NSString * const kGTLRScriptScriptProcessFilterStatusesComplet * Value: "DELAYED" */ FOUNDATION_EXTERN NSString * const kGTLRScriptScriptProcessFilterStatusesDelayed; +/** + * AppsScript executions are disabled by Admin. + * + * Value: "EXECUTION_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRScriptScriptProcessFilterStatusesExecutionDisabled; /** * The process failed. * @@ -225,6 +231,12 @@ FOUNDATION_EXTERN NSString * const kGTLRScriptUserProcessFilterStatusesCompleted * Value: "DELAYED" */ FOUNDATION_EXTERN NSString * const kGTLRScriptUserProcessFilterStatusesDelayed; +/** + * AppsScript executions are disabled by Admin. + * + * Value: "EXECUTION_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRScriptUserProcessFilterStatusesExecutionDisabled; /** * The process failed. * @@ -456,6 +468,8 @@ FOUNDATION_EXTERN NSString * const kGTLRScriptUserProcessFilterUserAccessLevelsW * unknown. (Value: "UNKNOWN") * @arg @c kGTLRScriptUserProcessFilterStatusesDelayed The process is * delayed, waiting for quota. (Value: "DELAYED") + * @arg @c kGTLRScriptUserProcessFilterStatusesExecutionDisabled AppsScript + * executions are disabled by Admin. (Value: "EXECUTION_DISABLED") */ @property(nonatomic, strong, nullable) NSArray *userProcessFilterStatuses; @@ -594,6 +608,8 @@ FOUNDATION_EXTERN NSString * const kGTLRScriptUserProcessFilterUserAccessLevelsW * unknown. (Value: "UNKNOWN") * @arg @c kGTLRScriptScriptProcessFilterStatusesDelayed The process is * delayed, waiting for quota. (Value: "DELAYED") + * @arg @c kGTLRScriptScriptProcessFilterStatusesExecutionDisabled AppsScript + * executions are disabled by Admin. (Value: "EXECUTION_DISABLED") */ @property(nonatomic, strong, nullable) NSArray *scriptProcessFilterStatuses; diff --git a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m index 042a15ad0..133c1656d 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m @@ -625,6 +625,16 @@ @implementation GTLRSecurityCommandCenter_CloudDlpInspection @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_CloudLoggingEntry +// + +@implementation GTLRSecurityCommandCenter_CloudLoggingEntry +@dynamic insertId, logId, resourceContainer, timestamp; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_Compliance @@ -925,11 +935,11 @@ @implementation GTLRSecurityCommandCenter_Finding cloudDlpInspection, compliances, connections, contacts, containers, createTime, database, descriptionProperty, eventTime, exfiltration, externalSystems, externalUri, files, findingClass, iamBindings, - indicator, kernelRootkit, kubernetes, loadBalancers, mitreAttack, - moduleName, mute, muteInitiator, muteUpdateTime, name, nextSteps, - orgPolicies, parent, parentDisplayName, processes, resourceName, - securityMarks, securityPosture, severity, sourceProperties, state, - vulnerability; + indicator, kernelRootkit, kubernetes, loadBalancers, logEntries, + mitreAttack, moduleName, mute, muteInitiator, muteUpdateTime, name, + nextSteps, orgPolicies, parent, parentDisplayName, processes, + resourceName, securityMarks, securityPosture, severity, + sourceProperties, state, vulnerability; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -943,6 +953,7 @@ @implementation GTLRSecurityCommandCenter_Finding @"files" : [GTLRSecurityCommandCenter_File class], @"iamBindings" : [GTLRSecurityCommandCenter_IamBinding class], @"loadBalancers" : [GTLRSecurityCommandCenter_LoadBalancer class], + @"logEntries" : [GTLRSecurityCommandCenter_LogEntry class], @"orgPolicies" : [GTLRSecurityCommandCenter_OrgPolicy class], @"processes" : [GTLRSecurityCommandCenter_Process class] }; @@ -1891,6 +1902,16 @@ @implementation GTLRSecurityCommandCenter_LoadBalancer @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_LogEntry +// + +@implementation GTLRSecurityCommandCenter_LogEntry +@dynamic cloudLoggingEntry; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_MemoryHashSignature @@ -1980,7 +2001,14 @@ @implementation GTLRSecurityCommandCenter_NotificationConfig // @implementation GTLRSecurityCommandCenter_Object -@dynamic group, kind, name, ns; +@dynamic containers, group, kind, name, ns; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"containers" : [GTLRSecurityCommandCenter_Container class] + }; + return map; +} + (BOOL)isKindValidForClassRegistry { // This class has a "kind" property that doesn't appear to be usable to diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h index 57759a34b..14e505bd2 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h @@ -31,6 +31,7 @@ @class GTLRSecurityCommandCenter_Binding; @class GTLRSecurityCommandCenter_CloudDlpDataProfile; @class GTLRSecurityCommandCenter_CloudDlpInspection; +@class GTLRSecurityCommandCenter_CloudLoggingEntry; @class GTLRSecurityCommandCenter_Compliance; @class GTLRSecurityCommandCenter_Connection; @class GTLRSecurityCommandCenter_Contact; @@ -88,6 +89,7 @@ @class GTLRSecurityCommandCenter_ListAssetsResult; @class GTLRSecurityCommandCenter_ListFindingsResult; @class GTLRSecurityCommandCenter_LoadBalancer; +@class GTLRSecurityCommandCenter_LogEntry; @class GTLRSecurityCommandCenter_MemoryHashSignature; @class GTLRSecurityCommandCenter_MitreAttack; @class GTLRSecurityCommandCenter_Node; @@ -2502,6 +2504,35 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res @end +/** + * Metadata taken from a [Cloud Logging + * LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) + */ +@interface GTLRSecurityCommandCenter_CloudLoggingEntry : GTLRObject + +/** A unique identifier for the log entry. */ +@property(nonatomic, copy, nullable) NSString *insertId; + +/** + * The type of the log (part of `log_name`. `log_name` is the resource name of + * the log to which this log entry belongs). For example: + * `cloudresourcemanager.googleapis.com/activity`. Note that this field is not + * URL-encoded, unlike the `LOG_ID` field in `LogEntry`. + */ +@property(nonatomic, copy, nullable) NSString *logId; + +/** + * The organization, folder, or project of the monitored resource that produced + * this log entry. + */ +@property(nonatomic, copy, nullable) NSString *resourceContainer; + +/** The time the event described by the log entry occurred. */ +@property(nonatomic, strong, nullable) GTLRDateTime *timestamp; + +@end + + /** * Contains compliance information about a security standard indicating unmet * recommendations. @@ -3364,6 +3395,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res /** The load balancers associated with the finding. */ @property(nonatomic, strong, nullable) NSArray *loadBalancers; +/** Log entries that are relevant to the finding. */ +@property(nonatomic, strong, nullable) NSArray *logEntries; + /** * MITRE ATT&CK tactics and techniques related to this finding. See: * https://attack.mitre.org @@ -5584,6 +5618,17 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res @end +/** + * An individual entry in a log. + */ +@interface GTLRSecurityCommandCenter_LogEntry : GTLRObject + +/** An individual entry in a log stored in Cloud Logging. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_CloudLoggingEntry *cloudLoggingEntry; + +@end + + /** * A signature corresponding to memory page hashes. */ @@ -5745,6 +5790,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res */ @interface GTLRSecurityCommandCenter_Object : GTLRObject +/** Pod containers associated with this finding, if any. */ +@property(nonatomic, strong, nullable) NSArray *containers; + /** Kubernetes object group, such as "policy.k8s.io/v1". */ @property(nonatomic, copy, nullable) NSString *group; diff --git a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m index b92449825..e980c5be6 100644 --- a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m +++ b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m @@ -264,10 +264,10 @@ @implementation GTLRServiceNetworking_AddRolesResponse @implementation GTLRServiceNetworking_AddSubnetworkRequest @dynamic allowSubnetCidrRoutesOverlap, checkServiceNetworkingUsePermission, computeIdempotencyWindow, consumer, consumerNetwork, - descriptionProperty, ipPrefixLength, outsideAllocationPublicIpRange, - privateIpv6GoogleAccess, purpose, region, requestedAddress, - requestedRanges, role, secondaryIpRangeSpecs, subnetwork, - subnetworkUsers, useCustomComputeIdempotencyWindow; + descriptionProperty, internalRange, ipPrefixLength, + outsideAllocationPublicIpRange, privateIpv6GoogleAccess, purpose, + region, requestedAddress, requestedRanges, role, secondaryIpRangeSpecs, + subnetwork, subnetworkUsers, useCustomComputeIdempotencyWindow; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -2089,3 +2089,13 @@ @implementation GTLRServiceNetworking_ValidateConsumerConfigResponse } @end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceNetworking_VpcServiceControls +// + +@implementation GTLRServiceNetworking_VpcServiceControls +@dynamic enabled; +@end diff --git a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingQuery.m b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingQuery.m index 310b5058d..1ab26fb29 100644 --- a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingQuery.m +++ b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingQuery.m @@ -520,6 +520,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRServiceNetworkingQuery_ServicesProjectsGlobalNetworksGetVpcServiceControls + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/vpcServiceControls"; + GTLRServiceNetworkingQuery_ServicesProjectsGlobalNetworksGetVpcServiceControls *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRServiceNetworking_VpcServiceControls class]; + query.loggingName = @"servicenetworking.services.projects.global.networks.getVpcServiceControls"; + return query; +} + +@end + @implementation GTLRServiceNetworkingQuery_ServicesProjectsGlobalNetworksPeeredDnsDomainsCreate @dynamic parent; diff --git a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h index 880b08ede..3030f7b20 100644 --- a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h +++ b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h @@ -1135,6 +1135,15 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** + * Optional. The url of an Internal Range. Eg: + * `projects//locations/global/internalRanges/`. If specified, it means that + * the subnetwork cidr will be created using the combination of + * requested_address/ip_prefix_length. Note that the subnet cidr has to be + * within the cidr range of this Internal Range. + */ +@property(nonatomic, copy, nullable) NSString *internalRange; + /** * Required. The prefix length of the subnet's IP address range. Use CIDR range * notation, such as `29` to provision a subnet with an `x.x.x.x/29` CIDR @@ -5400,6 +5409,24 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig @end + +/** + * Response for the get VPC Service Controls request. + */ +@interface GTLRServiceNetworking_VpcServiceControls : GTLRObject + +/** + * Output only. Indicates whether the VPC Service Controls are enabled or + * disabled for the connection. If the consumer called the + * EnableVpcServiceControls method, then this is true. If the consumer called + * DisableVpcServiceControls, then this is false. The default is false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingQuery.h b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingQuery.h index 6cfab1a87..25eedbc4d 100644 --- a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingQuery.h +++ b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingQuery.h @@ -964,6 +964,50 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Consumers use this method to find out the state of VPC Service Controls. The + * controls could be enabled or disabled for a connection. + * + * Method: servicenetworking.services.projects.global.networks.getVpcServiceControls + * + * Authorization scope(s): + * @c kGTLRAuthScopeServiceNetworkingCloudPlatform + * @c kGTLRAuthScopeServiceNetworkingServiceManagement + */ +@interface GTLRServiceNetworkingQuery_ServicesProjectsGlobalNetworksGetVpcServiceControls : GTLRServiceNetworkingQuery + +/** + * Required. Name of the VPC Service Controls config to retrieve in the format: + * `services/{service}/projects/{project}/global/networks/{network}`. {service} + * is the peering service that is managing connectivity for the service + * producer's organization. For Google services that support this + * functionality, this value is `servicenetworking.googleapis.com`. {project} + * is a project number e.g. `12345` that contains the service consumer's VPC + * network. {network} is the name of the service consumer's VPC network. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRServiceNetworking_VpcServiceControls. + * + * Consumers use this method to find out the state of VPC Service Controls. The + * controls could be enabled or disabled for a connection. + * + * @param name Required. Name of the VPC Service Controls config to retrieve in + * the format: + * `services/{service}/projects/{project}/global/networks/{network}`. + * {service} is the peering service that is managing connectivity for the + * service producer's organization. For Google services that support this + * functionality, this value is `servicenetworking.googleapis.com`. {project} + * is a project number e.g. `12345` that contains the service consumer's VPC + * network. {network} is the name of the service consumer's VPC network. + * + * @return GTLRServiceNetworkingQuery_ServicesProjectsGlobalNetworksGetVpcServiceControls + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Creates a peered DNS domain which sends requests for records in given * namespace originating in the service producer VPC network to the consumer diff --git a/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m b/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m index 8d1c08415..1025a9be4 100644 --- a/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m +++ b/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m @@ -1059,6 +1059,71 @@ @implementation GTLRServiceUsage_GoogleApiServiceusageV1ServiceConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRServiceUsage_GoogleApiServiceusageV2alphaConsumerPolicy +// + +@implementation GTLRServiceUsage_GoogleApiServiceusageV2alphaConsumerPolicy +@dynamic annotations, createTime, enableRules, ETag, name, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"enableRules" : [GTLRServiceUsage_GoogleApiServiceusageV2alphaEnableRule class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceUsage_GoogleApiServiceusageV2alphaConsumerPolicy_Annotations +// + +@implementation GTLRServiceUsage_GoogleApiServiceusageV2alphaConsumerPolicy_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceUsage_GoogleApiServiceusageV2alphaEnableRule +// + +@implementation GTLRServiceUsage_GoogleApiServiceusageV2alphaEnableRule +@dynamic categories, groups, services; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"categories" : [NSString class], + @"groups" : [NSString class], + @"services" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceUsage_GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata +// + +@implementation GTLRServiceUsage_GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata +@end + + // ---------------------------------------------------------------------------- // // GTLRServiceUsage_GoSettings diff --git a/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h b/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h index 8b844ca7b..e8f561367 100644 --- a/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h +++ b/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h @@ -53,6 +53,8 @@ @class GTLRServiceUsage_GoogleApiServiceusageV1beta1ServiceIdentity; @class GTLRServiceUsage_GoogleApiServiceusageV1Service; @class GTLRServiceUsage_GoogleApiServiceusageV1ServiceConfig; +@class GTLRServiceUsage_GoogleApiServiceusageV2alphaConsumerPolicy_Annotations; +@class GTLRServiceUsage_GoogleApiServiceusageV2alphaEnableRule; @class GTLRServiceUsage_GoSettings; @class GTLRServiceUsage_Http; @class GTLRServiceUsage_HttpRule; @@ -2835,6 +2837,102 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; @end +/** + * Consumer Policy is a set of rules that define what services or service + * groups can be used for a cloud resource hierarchy. + */ +@interface GTLRServiceUsage_GoogleApiServiceusageV2alphaConsumerPolicy : GTLRObject + +/** + * Optional. Annotations is an unstructured key-value map stored with a policy + * that may be set by external tools to store and retrieve arbitrary metadata. + * They are not queryable and should be preserved when modifying objects. + * [AIP-128](https://google.aip.dev/128#annotations) + */ +@property(nonatomic, strong, nullable) GTLRServiceUsage_GoogleApiServiceusageV2alphaConsumerPolicy_Annotations *annotations; + +/** + * Output only. The time the policy was created. For singleton policies, this + * is the first touch of the policy. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Enable rules define usable services, groups, and categories. There can + * currently be at most one `EnableRule`. This restriction will be lifted in + * later releases. + */ +@property(nonatomic, strong, nullable) NSArray *enableRules; + +/** + * Output only. An opaque tag indicating the current version of the policy, + * used for concurrency control. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Output only. The resource name of the policy. Only the `default` policy is + * supported: `projects/12345/consumerPolicies/default`, + * `folders/12345/consumerPolicies/default`, + * `organizations/12345/consumerPolicies/default`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The time the policy was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Annotations is an unstructured key-value map stored with a policy + * that may be set by external tools to store and retrieve arbitrary metadata. + * They are not queryable and should be preserved when modifying objects. + * [AIP-128](https://google.aip.dev/128#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 GTLRServiceUsage_GoogleApiServiceusageV2alphaConsumerPolicy_Annotations : GTLRObject +@end + + +/** + * The consumer policy rule that defines enabled services, groups, and + * categories. + */ +@interface GTLRServiceUsage_GoogleApiServiceusageV2alphaEnableRule : GTLRObject + +/** + * The names of the categories that are enabled. Example: + * `categories/googleServices`. + */ +@property(nonatomic, strong, nullable) NSArray *categories; + +/** + * The names of the service groups that are enabled. Example: + * `services/container.googleapis.com/groups/dependencies`. + */ +@property(nonatomic, strong, nullable) NSArray *groups; + +/** + * The names of the services that are enabled. Example: + * `services/storage.googleapis.com`. + */ +@property(nonatomic, strong, nullable) NSArray *services; + +@end + + +/** + * Metadata for the `UpdateConsumerPolicy` method. + */ +@interface GTLRServiceUsage_GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata : GTLRObject +@end + + /** * Settings for Go client libraries. */ diff --git a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m index 9e7fcc9b8..1bda27e65 100644 --- a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m +++ b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m @@ -422,9 +422,9 @@ @implementation GTLRShoppingContent_Account @dynamic accountManagement, adsLinks, adultContent, automaticImprovements, - automaticLabelIds, businessInformation, conversionSettings, cssId, - googleMyBusinessLink, identifier, kind, labelIds, name, sellerId, - users, websiteUrl, youtubeChannelLinks; + automaticLabelIds, businessIdentity, businessInformation, + conversionSettings, cssId, googleMyBusinessLink, identifier, kind, + labelIds, name, sellerId, users, websiteUrl, youtubeChannelLinks; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -480,6 +480,17 @@ @implementation GTLRShoppingContent_AccountAutomaticImprovements @end +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_AccountBusinessIdentity +// + +@implementation GTLRShoppingContent_AccountBusinessIdentity +@dynamic blackOwned, includeForPromotions, latinoOwned, smallBusiness, + veteranOwned, womenOwned; +@end + + // ---------------------------------------------------------------------------- // // GTLRShoppingContent_AccountBusinessInformation @@ -541,6 +552,16 @@ @implementation GTLRShoppingContent_AccountIdentifier @end +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_AccountIdentityType +// + +@implementation GTLRShoppingContent_AccountIdentityType +@dynamic selfIdentified; +@end + + // ---------------------------------------------------------------------------- // // GTLRShoppingContent_AccountImageImprovements diff --git a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h index 0ad1783cc..75dc1d3f4 100644 --- a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h +++ b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h @@ -18,11 +18,13 @@ @class GTLRShoppingContent_AccountAddress; @class GTLRShoppingContent_AccountAdsLink; @class GTLRShoppingContent_AccountAutomaticImprovements; +@class GTLRShoppingContent_AccountBusinessIdentity; @class GTLRShoppingContent_AccountBusinessInformation; @class GTLRShoppingContent_AccountConversionSettings; @class GTLRShoppingContent_AccountCustomerService; @class GTLRShoppingContent_AccountGoogleMyBusinessLink; @class GTLRShoppingContent_AccountIdentifier; +@class GTLRShoppingContent_AccountIdentityType; @class GTLRShoppingContent_AccountImageImprovements; @class GTLRShoppingContent_AccountImageImprovementsSettings; @class GTLRShoppingContent_AccountIssue; @@ -2363,6 +2365,12 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest */ @property(nonatomic, strong, nullable) NSArray *automaticLabelIds; +/** + * The business identity attributes can be used to self-declare attributes that + * let customers know more about your business. + */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_AccountBusinessIdentity *businessIdentity; + /** The business information of the account. */ @property(nonatomic, strong, nullable) GTLRShoppingContent_AccountBusinessInformation *businessInformation; @@ -2540,6 +2548,66 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @end +/** + * The [business identity + * attributes](https://support.google.com/merchants/answer/10342414) can be + * used to self-declare attributes that let customers know more about your + * business. + */ +@interface GTLRShoppingContent_AccountBusinessIdentity : GTLRObject + +/** + * Specifies whether the business identifies itself as being black-owned. This + * optional field is only available for merchants with a business country set + * to "US". This field is not allowed for marketplaces or marketplace sellers. + */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_AccountIdentityType *blackOwned; + +/** + * Required. By setting this field, your business may be included in promotions + * for all the selected attributes. If you clear this option, it won't affect + * your identification with any of the attributes. For this field to be set, + * the merchant must self identify with at least one of the + * `AccountIdentityType`. If none are included, the request will be considered + * invalid. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *includeForPromotions; + +/** + * Specifies whether the business identifies itself as being latino-owned. This + * optional field is only available for merchants with a business country set + * to "US". This field is not allowed for marketplaces or marketplace sellers. + */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_AccountIdentityType *latinoOwned; + +/** + * Specifies whether the business identifies itself as a small business. This + * optional field is only available for merchants with a business country set + * to "US". It is also not allowed for marketplaces, but it is allowed to + * marketplace sellers. + */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_AccountIdentityType *smallBusiness; + +/** + * Specifies whether the business identifies itself as being veteran-owned. + * This optional field is only available for merchants with a business country + * set to "US". This field is not allowed for marketplaces or marketplace + * sellers. + */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_AccountIdentityType *veteranOwned; + +/** + * Specifies whether the business identifies itself as being women-owned. This + * optional field is only available for merchants with a business country set + * to "US". This field is not allowed for marketplaces or marketplace sellers. + */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_AccountIdentityType *womenOwned; + +@end + + /** * GTLRShoppingContent_AccountBusinessInformation */ @@ -2697,6 +2765,23 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @end +/** + * The account identity type used to specify attributes. + */ +@interface GTLRShoppingContent_AccountIdentityType : GTLRObject + +/** + * Optional. Indicates that the business identifies itself with a given + * identity type. Setting this field does not automatically mean eligibility + * for promotions. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *selfIdentified; + +@end + + /** * This improvement will attempt to automatically correct submitted images if * they don't meet the [image @@ -7702,8 +7787,8 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @interface GTLRShoppingContent_LocalInventory : GTLRObject /** - * Availability of the product. For accepted attribute values, see the local - * product inventory feed specification. + * The availability of the product. For accepted attribute values, see the + * local product inventory feed specification. */ @property(nonatomic, copy, nullable) NSString *availability; @@ -7714,7 +7799,7 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest */ @property(nonatomic, strong, nullable) NSArray *customAttributes; -/** In-store product location. */ +/** The in-store product location. */ @property(nonatomic, copy, nullable) NSString *instoreProductLocation; /** @@ -7724,31 +7809,32 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @property(nonatomic, copy, nullable) NSString *kind; /** - * Supported pickup method for this offer. Unless the value is "not supported", - * this field must be submitted together with `pickupSla`. For accepted - * attribute values, see the local product inventory feed specification. + * The supported pickup method for this offer. Unless the value is "not + * supported", this field must be submitted together with `pickupSla`. For + * accepted attribute values, see the local product inventory feed + * specification. */ @property(nonatomic, copy, nullable) NSString *pickupMethod; /** - * Expected date that an order will be ready for pickup relative to the order - * date. Must be submitted together with `pickupMethod`. For accepted attribute - * values, see the local product inventory feed specification. + * The expected date that an order will be ready for pickup relative to the + * order date. Must be submitted together with `pickupMethod`. For accepted + * attribute values, see the local product inventory feed specification. */ @property(nonatomic, copy, nullable) NSString *pickupSla; -/** Price of the product. */ +/** The price of the product. */ @property(nonatomic, strong, nullable) GTLRShoppingContent_Price *price; /** - * Quantity of the product. Must be nonnegative. + * The quantity of the product. Must be nonnegative. * * Uses NSNumber of unsignedIntValue. */ @property(nonatomic, strong, nullable) NSNumber *quantity; /** - * Sale price of the product. Mandatory if `sale_price_effective_date` is + * The sale price of the product. Mandatory if `sale_price_effective_date` is * defined. */ @property(nonatomic, strong, nullable) GTLRShoppingContent_Price *salePrice; @@ -7759,7 +7845,7 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest */ @property(nonatomic, copy, nullable) NSString *salePriceEffectiveDate; -/** Required. Store code of this local inventory resource. */ +/** Required. The store code of this local inventory resource. */ @property(nonatomic, copy, nullable) NSString *storeCode; @end @@ -11945,6 +12031,7 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @property(nonatomic, strong, nullable) NSNumber *predictedConversionsChangeFraction; /** + * *Deprecated*: This field is no longer supported and will start returning 0. * The predicted change in gross profit as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% * predicted increase in gross profit. @@ -11962,10 +12049,15 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest */ @property(nonatomic, strong, nullable) NSNumber *predictedImpressionsChangeFraction; -/** The predicted monthly gross profit change currency (ISO 4217 code). */ +/** + * *Deprecated*: This field is no longer supported and will start returning USD + * for all requests. The predicted monthly gross profit change currency (ISO + * 4217 code). + */ @property(nonatomic, copy, nullable) NSString *predictedMonthlyGrossProfitChangeCurrencyCode; /** + * *Deprecated*: This field is no longer supported and will start returning 0. * The predicted change in gross profit in micros (1 millionth of a standard * unit, 1 USD = 1000000 micros) after introducing the suggested price for a * month compared to current active price. @@ -16381,7 +16473,8 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest /** * Type of locations this service ships orders to. Acceptable values are: - - * "`delivery`" - "`pickup`" - "`local_delivery`" - "`collection_point`" + * "`delivery`" - "`pickup` (deprecated)" - "`local_delivery`" - + * "`collection_point`" */ @property(nonatomic, copy, nullable) NSString *shipmentType; diff --git a/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m b/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m index 0b74983d9..16bd292f3 100644 --- a/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m +++ b/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m @@ -123,6 +123,11 @@ NSString * const kGTLRSpanner_ReplicaInfo_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; NSString * const kGTLRSpanner_ReplicaInfo_Type_Witness = @"WITNESS"; +// GTLRSpanner_ReplicaSelection.type +NSString * const kGTLRSpanner_ReplicaSelection_Type_ReadOnly = @"READ_ONLY"; +NSString * const kGTLRSpanner_ReplicaSelection_Type_ReadWrite = @"READ_WRITE"; +NSString * const kGTLRSpanner_ReplicaSelection_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + // GTLRSpanner_RequestOptions.priority NSString * const kGTLRSpanner_RequestOptions_Priority_PriorityHigh = @"PRIORITY_HIGH"; NSString * const kGTLRSpanner_RequestOptions_Priority_PriorityLow = @"PRIORITY_LOW"; @@ -169,6 +174,36 @@ NSString * const kGTLRSpanner_VisualizationData_KeyUnit_Key = @"KEY"; NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUnitUnspecified = @"KEY_UNIT_UNSPECIFIED"; +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_AutoscalingConfig +// + +@implementation GTLRSpanner_AutoscalingConfig +@dynamic autoscalingLimits, autoscalingTargets; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_AutoscalingLimits +// + +@implementation GTLRSpanner_AutoscalingLimits +@dynamic maxNodes, maxProcessingUnits, minNodes, minProcessingUnits; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_AutoscalingTargets +// + +@implementation GTLRSpanner_AutoscalingTargets +@dynamic highPriorityCpuUtilizationPercent, storageUtilizationPercent; +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_Backup @@ -548,6 +583,16 @@ @implementation GTLRSpanner_DiagnosticMessage @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_DirectedReadOptions +// + +@implementation GTLRSpanner_DirectedReadOptions +@dynamic excludeReplicas, includeReplicas; +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_Empty @@ -577,6 +622,24 @@ @implementation GTLRSpanner_EncryptionInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_ExcludeReplicas +// + +@implementation GTLRSpanner_ExcludeReplicas +@dynamic replicaSelections; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"replicaSelections" : [GTLRSpanner_ReplicaSelection class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_ExecuteBatchDmlRequest @@ -619,8 +682,9 @@ @implementation GTLRSpanner_ExecuteBatchDmlResponse // @implementation GTLRSpanner_ExecuteSqlRequest -@dynamic dataBoostEnabled, params, paramTypes, partitionToken, queryMode, - queryOptions, requestOptions, resumeToken, seqno, sql, transaction; +@dynamic dataBoostEnabled, directedReadOptions, params, paramTypes, + partitionToken, queryMode, queryOptions, requestOptions, resumeToken, + seqno, sql, transaction; @end @@ -725,6 +789,24 @@ @implementation GTLRSpanner_GetPolicyOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_IncludeReplicas +// + +@implementation GTLRSpanner_IncludeReplicas +@dynamic autoFailoverDisabled, replicaSelections; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"replicaSelections" : [GTLRSpanner_ReplicaSelection class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_IndexAdvice @@ -797,9 +879,9 @@ + (Class)classForAdditionalProperties { // @implementation GTLRSpanner_Instance -@dynamic config, createTime, displayName, endpointUris, freeInstanceMetadata, - instanceType, labels, name, nodeCount, processingUnits, state, - updateTime; +@dynamic autoscalingConfig, config, createTime, displayName, endpointUris, + freeInstanceMetadata, instanceType, labels, name, nodeCount, + processingUnits, state, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1654,8 +1736,8 @@ @implementation GTLRSpanner_ReadOnly // @implementation GTLRSpanner_ReadRequest -@dynamic columns, dataBoostEnabled, index, keySet, limit, partitionToken, - requestOptions, resumeToken, table, transaction; +@dynamic columns, dataBoostEnabled, directedReadOptions, index, keySet, limit, + partitionToken, requestOptions, resumeToken, table, transaction; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1687,6 +1769,16 @@ @implementation GTLRSpanner_ReplicaInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_ReplicaSelection +// + +@implementation GTLRSpanner_ReplicaSelection +@dynamic location, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_RequestOptions diff --git a/Sources/GeneratedServices/Spanner/GTLRSpannerQuery.m b/Sources/GeneratedServices/Spanner/GTLRSpannerQuery.m index 8f5c55aae..1aa20beb1 100644 --- a/Sources/GeneratedServices/Spanner/GTLRSpannerQuery.m +++ b/Sources/GeneratedServices/Spanner/GTLRSpannerQuery.m @@ -245,6 +245,82 @@ + (instancetype)queryWithObject:(GTLRSpanner_UpdateInstanceConfigRequest *)objec @end +@implementation GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:cancel"; + GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSpanner_Empty class]; + query.loggingName = @"spanner.projects.instanceConfigs.ssdCaches.operations.cancel"; + return query; +} + +@end + +@implementation GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSpanner_Empty class]; + query.loggingName = @"spanner.projects.instanceConfigs.ssdCaches.operations.delete"; + return query; +} + +@end + +@implementation GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSpanner_Operation class]; + query.loggingName = @"spanner.projects.instanceConfigs.ssdCaches.operations.get"; + return query; +} + +@end + +@implementation GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSpanner_ListOperationsResponse class]; + query.loggingName = @"spanner.projects.instanceConfigs.ssdCaches.operations.list"; + return query; +} + +@end + @implementation GTLRSpannerQuery_ProjectsInstancesBackupOperationsList @dynamic filter, pageSize, pageToken, parent; diff --git a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h index 47e16148c..94ad4749f 100644 --- a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h +++ b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h @@ -15,6 +15,9 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif +@class GTLRSpanner_AutoscalingConfig; +@class GTLRSpanner_AutoscalingLimits; +@class GTLRSpanner_AutoscalingTargets; @class GTLRSpanner_Backup; @class GTLRSpanner_BackupInfo; @class GTLRSpanner_Binding; @@ -28,14 +31,17 @@ @class GTLRSpanner_Delete; @class GTLRSpanner_DerivedMetric; @class GTLRSpanner_DiagnosticMessage; +@class GTLRSpanner_DirectedReadOptions; @class GTLRSpanner_EncryptionConfig; @class GTLRSpanner_EncryptionInfo; +@class GTLRSpanner_ExcludeReplicas; @class GTLRSpanner_ExecuteSqlRequest_Params; @class GTLRSpanner_ExecuteSqlRequest_ParamTypes; @class GTLRSpanner_Expr; @class GTLRSpanner_Field; @class GTLRSpanner_FreeInstanceMetadata; @class GTLRSpanner_GetPolicyOptions; +@class GTLRSpanner_IncludeReplicas; @class GTLRSpanner_IndexAdvice; @class GTLRSpanner_IndexedHotKey; @class GTLRSpanner_IndexedHotKey_SparseHotKeys; @@ -79,6 +85,7 @@ @class GTLRSpanner_ReadOnly; @class GTLRSpanner_ReadWrite; @class GTLRSpanner_ReplicaInfo; +@class GTLRSpanner_ReplicaSelection; @class GTLRSpanner_RequestOptions; @class GTLRSpanner_RestoreDatabaseEncryptionConfig; @class GTLRSpanner_RestoreInfo; @@ -657,6 +664,28 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_ReplicaInfo_Type_TypeUnspecified */ FOUNDATION_EXTERN NSString * const kGTLRSpanner_ReplicaInfo_Type_Witness; +// ---------------------------------------------------------------------------- +// GTLRSpanner_ReplicaSelection.type + +/** + * Read-only replicas only support reads (not writes). + * + * Value: "READ_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_ReplicaSelection_Type_ReadOnly; +/** + * Read-write replicas support both reads and writes. + * + * Value: "READ_WRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_ReplicaSelection_Type_ReadWrite; +/** + * Not specified. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_ReplicaSelection_Type_TypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRSpanner_RequestOptions.priority @@ -900,6 +929,93 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_Key; */ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUnitUnspecified; +/** + * Autoscaling config for an instance. + */ +@interface GTLRSpanner_AutoscalingConfig : GTLRObject + +/** Required. Autoscaling limits for an instance. */ +@property(nonatomic, strong, nullable) GTLRSpanner_AutoscalingLimits *autoscalingLimits; + +/** Required. The autoscaling targets for an instance. */ +@property(nonatomic, strong, nullable) GTLRSpanner_AutoscalingTargets *autoscalingTargets; + +@end + + +/** + * The autoscaling limits for the instance. Users can define the minimum and + * maximum compute capacity allocated to the instance, and the autoscaler will + * only scale within that range. Users can either use nodes or processing units + * to specify the limits, but should use the same unit to set both the + * min_limit and max_limit. + */ +@interface GTLRSpanner_AutoscalingLimits : GTLRObject + +/** + * Maximum number of nodes allocated to the instance. If set, this number + * should be greater than or equal to min_nodes. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxNodes; + +/** + * Maximum number of processing units allocated to the instance. If set, this + * number should be multiples of 1000 and be greater than or equal to + * min_processing_units. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxProcessingUnits; + +/** + * Minimum number of nodes allocated to the instance. If set, this number + * should be greater than or equal to 1. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minNodes; + +/** + * Minimum number of processing units allocated to the instance. If set, this + * number should be multiples of 1000. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minProcessingUnits; + +@end + + +/** + * The autoscaling targets for an instance. + */ +@interface GTLRSpanner_AutoscalingTargets : GTLRObject + +/** + * Required. The target high priority cpu utilization percentage that the + * autoscaler should be trying to achieve for the instance. This number is on a + * scale from 0 (no utilization) to 100 (full utilization). The valid range is + * [10, 90] inclusive. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *highPriorityCpuUtilizationPercent; + +/** + * Required. The target storage utilization percentage that the autoscaler + * should be trying to achieve for the instance. This number is on a scale from + * 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] + * inclusive. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *storageUtilizationPercent; + +@end + + /** * A backup of a Cloud Spanner database. */ @@ -1918,6 +2034,32 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * The DirectedReadOptions can be used to indicate which replicas or regions + * should be used for non-transactional reads or queries. DirectedReadOptions + * may only be specified for a read-only transaction, otherwise the API will + * return an `INVALID_ARGUMENT` error. + */ +@interface GTLRSpanner_DirectedReadOptions : GTLRObject + +/** + * Exclude_replicas indicates that should be excluded from serving requests. + * Spanner will not route requests to the replicas in this list. + */ +@property(nonatomic, strong, nullable) GTLRSpanner_ExcludeReplicas *excludeReplicas; + +/** + * Include_replicas indicates the order of replicas (as they appear in this + * list) to process the request. If auto_failover_disabled is set to true and + * all replicas are exhausted without finding a healthy replica, Spanner will + * wait for a replica in the list to become available, requests may fail due to + * `DEADLINE_EXCEEDED` errors. + */ +@property(nonatomic, strong, nullable) GTLRSpanner_IncludeReplicas *includeReplicas; + +@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 @@ -1982,6 +2124,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * An ExcludeReplicas contains a repeated set of ReplicaSelection that should + * be excluded from serving requests. + */ +@interface GTLRSpanner_ExcludeReplicas : GTLRObject + +/** The directed read replica selector. */ +@property(nonatomic, strong, nullable) NSArray *replicaSelections; + +@end + + /** * The request for ExecuteBatchDml. */ @@ -2075,6 +2229,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni */ @property(nonatomic, strong, nullable) NSNumber *dataBoostEnabled; +/** Directed read options for this request. */ +@property(nonatomic, strong, nullable) GTLRSpanner_DirectedReadOptions *directedReadOptions; + /** * Parameter names and values that bind to placeholders in the SQL string. A * parameter placeholder consists of the `\@` character followed by the @@ -2384,6 +2541,27 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * An IncludeReplicas contains a repeated set of ReplicaSelection which + * indicates the order in which replicas should be considered. + */ +@interface GTLRSpanner_IncludeReplicas : GTLRObject + +/** + * If true, Spanner will not route requests to a replica outside the + * include_replicas list when all of the specified replicas are unavailable or + * unhealthy. Default value is `false`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *autoFailoverDisabled; + +/** The directed read replica selector. */ +@property(nonatomic, strong, nullable) NSArray *replicaSelections; + +@end + + /** * Recommendation to add new indexes to run queries more efficiently. */ @@ -2471,6 +2649,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni */ @interface GTLRSpanner_Instance : GTLRObject +/** + * Optional. The autoscaling configuration. Autoscaling is enabled if this + * field is set. When autoscaling is enabled, node_count and processing_units + * are treated as OUTPUT_ONLY fields and reflect the current compute capacity + * allocated to the instance. + */ +@property(nonatomic, strong, nullable) GTLRSpanner_AutoscalingConfig *autoscalingConfig; + /** * Required. The name of the instance's configuration. Values are of the form * `projects//instanceConfigs/`. See also InstanceConfig and @@ -4327,6 +4513,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni */ @property(nonatomic, strong, nullable) NSNumber *dataBoostEnabled; +/** Directed read options for this request. */ +@property(nonatomic, strong, nullable) GTLRSpanner_DirectedReadOptions *directedReadOptions; + /** * If non-empty, the name of an index on table. This index is used instead of * the table primary key when interpreting key_set and sorting result rows. See @@ -4464,6 +4653,39 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * The directed read replica selector. Callers must provide one or more of the + * following fields for replica selection: * `location` - The location must be + * one of the regions within the multi-region configuration of your database. * + * `type` - The type of the replica. Some examples of using replica_selectors + * are: * `location:us-east1` --> The "us-east1" replica(s) of any available + * type will be used to process the request. * `type:READ_ONLY` --> The + * "READ_ONLY" type replica(s) in nearest . available location will be used to + * process the request. * `location:us-east1 type:READ_ONLY` --> The + * "READ_ONLY" type replica(s) in location "us-east1" will be used to process + * the request. + */ +@interface GTLRSpanner_ReplicaSelection : GTLRObject + +/** The location or region of the serving requests, e.g. "us-east1". */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * The type of replica. + * + * Likely values: + * @arg @c kGTLRSpanner_ReplicaSelection_Type_ReadOnly Read-only replicas + * only support reads (not writes). (Value: "READ_ONLY") + * @arg @c kGTLRSpanner_ReplicaSelection_Type_ReadWrite Read-write replicas + * support both reads and writes. (Value: "READ_WRITE") + * @arg @c kGTLRSpanner_ReplicaSelection_Type_TypeUnspecified Not specified. + * (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * Common request options for various APIs. */ diff --git a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerQuery.h b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerQuery.h index 2b3895269..c1db7fb95 100644 --- a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerQuery.h +++ b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerQuery.h @@ -608,6 +608,155 @@ FOUNDATION_EXTERN NSString * const kGTLRSpannerViewViewUnspecified; @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: spanner.projects.instanceConfigs.ssdCaches.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeSpannerAdmin + * @c kGTLRAuthScopeSpannerCloudPlatform + */ +@interface GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsCancel : GTLRSpannerQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSpanner_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 GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsCancel + */ ++ (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: spanner.projects.instanceConfigs.ssdCaches.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSpannerAdmin + * @c kGTLRAuthScopeSpannerCloudPlatform + */ +@interface GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsDelete : GTLRSpannerQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSpanner_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 GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsDelete + */ ++ (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: spanner.projects.instanceConfigs.ssdCaches.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSpannerAdmin + * @c kGTLRAuthScopeSpannerCloudPlatform + */ +@interface GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsGet : GTLRSpannerQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSpanner_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 GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsGet + */ ++ (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: spanner.projects.instanceConfigs.ssdCaches.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSpannerAdmin + * @c kGTLRAuthScopeSpannerCloudPlatform + */ +@interface GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsList : GTLRSpannerQuery + +/** 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 GTLRSpanner_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 GTLRSpannerQuery_ProjectsInstanceConfigsSsdCachesOperationsList + * + * @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 + /** * Lists the backup long-running operations in the given instance. A backup * operation has a name of the form diff --git a/Sources/GeneratedServices/Speech/GTLRSpeechObjects.m b/Sources/GeneratedServices/Speech/GTLRSpeechObjects.m index 67a6adf84..0195d1ef0 100644 --- a/Sources/GeneratedServices/Speech/GTLRSpeechObjects.m +++ b/Sources/GeneratedServices/Speech/GTLRSpeechObjects.m @@ -29,6 +29,7 @@ NSString * const kGTLRSpeech_RecognitionConfig_Encoding_EncodingUnspecified = @"ENCODING_UNSPECIFIED"; NSString * const kGTLRSpeech_RecognitionConfig_Encoding_Flac = @"FLAC"; NSString * const kGTLRSpeech_RecognitionConfig_Encoding_Linear16 = @"LINEAR16"; +NSString * const kGTLRSpeech_RecognitionConfig_Encoding_Mp3 = @"MP3"; NSString * const kGTLRSpeech_RecognitionConfig_Encoding_Mulaw = @"MULAW"; NSString * const kGTLRSpeech_RecognitionConfig_Encoding_OggOpus = @"OGG_OPUS"; NSString * const kGTLRSpeech_RecognitionConfig_Encoding_SpeexWithHeaderByte = @"SPEEX_WITH_HEADER_BYTE"; @@ -211,6 +212,16 @@ @implementation GTLRSpeech_Empty @end +// ---------------------------------------------------------------------------- +// +// GTLRSpeech_Entry +// + +@implementation GTLRSpeech_Entry +@dynamic caseSensitive, replace, search; +@end + + // ---------------------------------------------------------------------------- // // GTLRSpeech_ListCustomClassesResponse @@ -440,7 +451,8 @@ @implementation GTLRSpeech_RecognitionConfig enableSeparateRecognitionPerChannel, enableSpokenEmojis, enableSpokenPunctuation, enableWordConfidence, enableWordTimeOffsets, encoding, languageCode, maxAlternatives, metadata, model, - profanityFilter, sampleRateHertz, speechContexts, useEnhanced; + profanityFilter, sampleRateHertz, speechContexts, + transcriptNormalization, useEnhanced; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -553,6 +565,24 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRSpeech_TranscriptNormalization +// + +@implementation GTLRSpeech_TranscriptNormalization +@dynamic entries; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"entries" : [GTLRSpeech_Entry class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSpeech_TranscriptOutputConfig diff --git a/Sources/GeneratedServices/Speech/Public/GoogleAPIClientForREST/GTLRSpeechObjects.h b/Sources/GeneratedServices/Speech/Public/GoogleAPIClientForREST/GTLRSpeechObjects.h index 7e435f279..bd961c3c7 100644 --- a/Sources/GeneratedServices/Speech/Public/GoogleAPIClientForREST/GTLRSpeechObjects.h +++ b/Sources/GeneratedServices/Speech/Public/GoogleAPIClientForREST/GTLRSpeechObjects.h @@ -21,6 +21,7 @@ @class GTLRSpeech_Context; @class GTLRSpeech_CustomClass; @class GTLRSpeech_CustomClass_Annotations; +@class GTLRSpeech_Entry; @class GTLRSpeech_Operation; @class GTLRSpeech_Operation_Metadata; @class GTLRSpeech_Operation_Response; @@ -35,6 +36,7 @@ @class GTLRSpeech_SpeakerDiarizationConfig; @class GTLRSpeech_Status; @class GTLRSpeech_Status_Details_Item; +@class GTLRSpeech_TranscriptNormalization; @class GTLRSpeech_TranscriptOutputConfig; @class GTLRSpeech_WordInfo; @@ -129,6 +131,15 @@ FOUNDATION_EXTERN NSString * const kGTLRSpeech_RecognitionConfig_Encoding_Flac; * Value: "LINEAR16" */ FOUNDATION_EXTERN NSString * const kGTLRSpeech_RecognitionConfig_Encoding_Linear16; +/** + * MP3 audio. MP3 encoding is a Beta feature and only available in v1p1beta1. + * Support all standard MP3 bitrates (which range from 32-320 kbps). When using + * this encoding, `sample_rate_hertz` has to match the sample rate of the file + * being used. + * + * Value: "MP3" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpeech_RecognitionConfig_Encoding_Mp3; /** * 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. * @@ -162,8 +173,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSpeech_RecognitionConfig_Encoding_OggOpu FOUNDATION_EXTERN NSString * const kGTLRSpeech_RecognitionConfig_Encoding_SpeexWithHeaderByte; /** * Opus encoded audio frames in WebM container - * ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be one - * of 8000, 12000, 16000, 24000, or 48000. + * ([WebM](https://www.webmproject.org/docs/container/)). `sample_rate_hertz` + * must be one of 8000, 12000, 16000, 24000, or 48000. * * Value: "WEBM_OPUS" */ @@ -616,6 +627,27 @@ FOUNDATION_EXTERN NSString * const kGTLRSpeech_RecognitionMetadata_RecordingDevi @end +/** + * A single replacement configuration. + */ +@interface GTLRSpeech_Entry : GTLRObject + +/** + * Whether the search is case sensitive. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *caseSensitive; + +/** What to replace with. Max length is 100 characters. */ +@property(nonatomic, copy, nullable) NSString *replace; + +/** What to replace. Max length is 100 characters. */ +@property(nonatomic, copy, nullable) NSString *search; + +@end + + /** * Message returned to the client by the `ListCustomClasses` method. * @@ -1235,6 +1267,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSpeech_RecognitionMetadata_RecordingDevi * `STREAMINFO` are supported. (Value: "FLAC") * @arg @c kGTLRSpeech_RecognitionConfig_Encoding_Linear16 Uncompressed * 16-bit signed little-endian samples (Linear PCM). (Value: "LINEAR16") + * @arg @c kGTLRSpeech_RecognitionConfig_Encoding_Mp3 MP3 audio. MP3 encoding + * is a Beta feature and only available in v1p1beta1. Support all + * standard MP3 bitrates (which range from 32-320 kbps). When using this + * encoding, `sample_rate_hertz` has to match the sample rate of the file + * being used. (Value: "MP3") * @arg @c kGTLRSpeech_RecognitionConfig_Encoding_Mulaw 8-bit samples that * compand 14-bit audio samples using G.711 PCMU/mu-law. (Value: "MULAW") * @arg @c kGTLRSpeech_RecognitionConfig_Encoding_OggOpus Opus encoded audio @@ -1256,7 +1293,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSpeech_RecognitionMetadata_RecordingDevi * length. Only Speex wideband is supported. `sample_rate_hertz` must be * 16000. (Value: "SPEEX_WITH_HEADER_BYTE") * @arg @c kGTLRSpeech_RecognitionConfig_Encoding_WebmOpus Opus encoded audio - * frames in WebM container ([OggOpus](https://wiki.xiph.org/OggOpus)). + * frames in WebM container + * ([WebM](https://www.webmproject.org/docs/container/)). * `sample_rate_hertz` must be one of 8000, 12000, 16000, 24000, or * 48000. (Value: "WEBM_OPUS") */ @@ -1335,6 +1373,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSpeech_RecognitionMetadata_RecordingDevi */ @property(nonatomic, strong, nullable) NSArray *speechContexts; +/** + * Optional. Use transcription normalization to automatically replace parts of + * the transcript with phrases of your choosing. For StreamingRecognize, this + * normalization only applies to stable partial transcripts (stability > 0.8) + * and final transcripts. + */ +@property(nonatomic, strong, nullable) GTLRSpeech_TranscriptNormalization *transcriptNormalization; + /** * Set to true to use an enhanced model for speech recognition. If * `use_enhanced` is set to true and the `model` field is not set, then an @@ -1652,6 +1698,25 @@ GTLR_DEPRECATED @end +/** + * Transcription normalization configuration. Use transcription normalization + * to automatically replace parts of the transcript with phrases of your + * choosing. For StreamingRecognize, this normalization only applies to stable + * partial transcripts (stability > 0.8) and final transcripts. + */ +@interface GTLRSpeech_TranscriptNormalization : GTLRObject + +/** + * A list of replacement entries. We will perform replacement with one entry at + * a time. For example, the second entry in ["cat" => "dog", "mountain cat" => + * "mountain dog"] will never be applied because we will always process the + * first entry before it. At most 100 entries. + */ +@property(nonatomic, strong, nullable) NSArray *entries; + +@end + + /** * Specifies an optional destination for the recognition results. */ diff --git a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m index b282e0a99..1451c2f79 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m @@ -10,6 +10,40 @@ #import +// ---------------------------------------------------------------------------- +// +// GTLRStorage_AnywhereCache +// + +@implementation GTLRStorage_AnywhereCache +@dynamic admissionPolicy, anywhereCacheId, bucket, createTime, identifier, kind, + pendingUpdate, selfLink, state, ttl, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRStorage_AnywhereCaches +// + +@implementation GTLRStorage_AnywhereCaches +@dynamic items, kind, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"items" : [GTLRStorage_AnywhereCache class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRStorage_Bucket diff --git a/Sources/GeneratedServices/Storage/GTLRStorageQuery.m b/Sources/GeneratedServices/Storage/GTLRStorageQuery.m index f7ebec78d..87c28732a 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageQuery.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageQuery.m @@ -52,6 +52,175 @@ @implementation GTLRStorageQuery @end +@implementation GTLRStorageQuery_AnywhereCacheDisable + +@dynamic anywhereCacheId, bucket; + ++ (instancetype)queryWithBucket:(NSString *)bucket + anywhereCacheId:(NSString *)anywhereCacheId { + NSArray *pathParams = @[ + @"anywhereCacheId", @"bucket" + ]; + NSString *pathURITemplate = @"b/{bucket}/anywhereCaches/{anywhereCacheId}/disable"; + GTLRStorageQuery_AnywhereCacheDisable *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bucket = bucket; + query.anywhereCacheId = anywhereCacheId; + query.expectedObjectClass = [GTLRStorage_AnywhereCache class]; + query.loggingName = @"storage.anywhereCaches.disable"; + return query; +} + +@end + +@implementation GTLRStorageQuery_AnywhereCacheGet + +@dynamic anywhereCacheId, bucket; + ++ (instancetype)queryWithBucket:(NSString *)bucket + anywhereCacheId:(NSString *)anywhereCacheId { + NSArray *pathParams = @[ + @"anywhereCacheId", @"bucket" + ]; + NSString *pathURITemplate = @"b/{bucket}/anywhereCaches/{anywhereCacheId}"; + GTLRStorageQuery_AnywhereCacheGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.bucket = bucket; + query.anywhereCacheId = anywhereCacheId; + query.expectedObjectClass = [GTLRStorage_AnywhereCache class]; + query.loggingName = @"storage.anywhereCaches.get"; + return query; +} + +@end + +@implementation GTLRStorageQuery_AnywhereCacheInsert + +@dynamic bucket; + ++ (instancetype)queryWithObject:(GTLRStorage_AnywhereCache *)object + bucket:(NSString *)bucket { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"bucket" ]; + NSString *pathURITemplate = @"b/{bucket}/anywhereCaches"; + GTLRStorageQuery_AnywhereCacheInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.bucket = bucket; + query.expectedObjectClass = [GTLRStorage_GoogleLongrunningOperation class]; + query.loggingName = @"storage.anywhereCaches.insert"; + return query; +} + +@end + +@implementation GTLRStorageQuery_AnywhereCacheList + +@dynamic bucket, pageSize, pageToken; + ++ (instancetype)queryWithBucket:(NSString *)bucket { + NSArray *pathParams = @[ @"bucket" ]; + NSString *pathURITemplate = @"b/{bucket}/anywhereCache"; + GTLRStorageQuery_AnywhereCacheList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.bucket = bucket; + query.expectedObjectClass = [GTLRStorage_AnywhereCaches class]; + query.loggingName = @"storage.anywhereCaches.list"; + return query; +} + +@end + +@implementation GTLRStorageQuery_AnywhereCachePause + +@dynamic anywhereCacheId, bucket; + ++ (instancetype)queryWithBucket:(NSString *)bucket + anywhereCacheId:(NSString *)anywhereCacheId { + NSArray *pathParams = @[ + @"anywhereCacheId", @"bucket" + ]; + NSString *pathURITemplate = @"b/{bucket}/anywhereCaches/{anywhereCacheId}/pause"; + GTLRStorageQuery_AnywhereCachePause *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bucket = bucket; + query.anywhereCacheId = anywhereCacheId; + query.expectedObjectClass = [GTLRStorage_AnywhereCache class]; + query.loggingName = @"storage.anywhereCaches.pause"; + return query; +} + +@end + +@implementation GTLRStorageQuery_AnywhereCacheResume + +@dynamic anywhereCacheId, bucket; + ++ (instancetype)queryWithBucket:(NSString *)bucket + anywhereCacheId:(NSString *)anywhereCacheId { + NSArray *pathParams = @[ + @"anywhereCacheId", @"bucket" + ]; + NSString *pathURITemplate = @"b/{bucket}/anywhereCaches/{anywhereCacheId}/resume"; + GTLRStorageQuery_AnywhereCacheResume *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bucket = bucket; + query.anywhereCacheId = anywhereCacheId; + query.expectedObjectClass = [GTLRStorage_AnywhereCache class]; + query.loggingName = @"storage.anywhereCaches.resume"; + return query; +} + +@end + +@implementation GTLRStorageQuery_AnywhereCacheUpdate + +@dynamic anywhereCacheId, bucket; + ++ (instancetype)queryWithObject:(GTLRStorage_AnywhereCache *)object + bucket:(NSString *)bucket + anywhereCacheId:(NSString *)anywhereCacheId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"anywhereCacheId", @"bucket" + ]; + NSString *pathURITemplate = @"b/{bucket}/anywhereCaches/{anywhereCacheId}"; + GTLRStorageQuery_AnywhereCacheUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.bucket = bucket; + query.anywhereCacheId = anywhereCacheId; + query.expectedObjectClass = [GTLRStorage_GoogleLongrunningOperation class]; + query.loggingName = @"storage.anywhereCaches.update"; + return query; +} + +@end + @implementation GTLRStorageQuery_BucketAccessControlsDelete @dynamic bucket, entity, userProject; diff --git a/Sources/GeneratedServices/Storage/GTLRStorageService.m b/Sources/GeneratedServices/Storage/GTLRStorageService.m index 8e6ff744e..66acda2ad 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageService.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageService.m @@ -42,6 +42,8 @@ - (instancetype)init { + (NSDictionary *)kindStringToClassMap { return @{ @"api#channel" : [GTLRStorage_Channel class], + @"storage#anywhereCache" : [GTLRStorage_AnywhereCache class], + @"storage#anywhereCaches" : [GTLRStorage_AnywhereCaches class], @"storage#bucket" : [GTLRStorage_Bucket class], @"storage#bucketAccessControl" : [GTLRStorage_BucketAccessControl class], @"storage#bucketAccessControls" : [GTLRStorage_BucketAccessControls class], diff --git a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h index fbe940a73..d4bc7564c 100644 --- a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h +++ b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.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 GTLRStorage_AnywhereCache; @class GTLRStorage_Bucket; @class GTLRStorage_Bucket_Autoclass; @class GTLRStorage_Bucket_Billing; @@ -66,6 +67,94 @@ NS_ASSUME_NONNULL_BEGIN +/** + * An Anywhere Cache instance. + */ +@interface GTLRStorage_AnywhereCache : GTLRObject + +/** The cache-level entry admission policy. */ +@property(nonatomic, copy, nullable) NSString *admissionPolicy; + +/** The ID of the Anywhere cache instance. */ +@property(nonatomic, copy, nullable) NSString *anywhereCacheId; + +/** The name of the bucket containing this cache instance. */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** The creation time of the cache instance in RFC 3339 format. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * The ID of the resource, including the project number, bucket name and + * anywhere cache ID. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * The kind of item this is. For Anywhere Cache, this is always + * storage#anywhereCache. + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * True if the cache instance has an active Update long-running operation. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *pendingUpdate; + +/** The link to this cache instance. */ +@property(nonatomic, copy, nullable) NSString *selfLink; + +/** The current state of the cache instance. */ +@property(nonatomic, copy, nullable) NSString *state; + +/** The TTL of all cache entries in whole seconds. e.g., "7200s". */ +@property(nonatomic, strong, nullable) GTLRDuration *ttl; + +/** + * The modification time of the cache instance metadata in RFC 3339 format. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * A list of Anywhere Caches. + * + * @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 GTLRStorage_AnywhereCaches : GTLRCollectionObject + +/** + * The list of items. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *items; + +/** + * The kind of item this is. For lists of Anywhere Caches, this is always + * storage#anywhereCaches. + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * The continuation token, used to page through large result sets. Provide this + * value in a subsequent request to return the next page of results. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * A bucket. */ @@ -498,8 +587,8 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, strong, nullable) GTLRDateTime *effectiveTime; /** - * The period of time in seconds, that soft-deleted objects in the bucket will - * be retained and cannot be permanently deleted. + * The duration in seconds that soft-deleted objects in the bucket will be + * retained and cannot be permanently deleted. * * Uses NSNumber of longLongValue. */ diff --git a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h index a6b30a53e..8a886be4c 100644 --- a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h +++ b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h @@ -164,6 +164,252 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageProjectionNoAcl; @end +/** + * Disables an Anywhere Cache instance. + * + * Method: storage.anywhereCaches.disable + * + * Authorization scope(s): + * @c kGTLRAuthScopeStorageCloudPlatform + * @c kGTLRAuthScopeStorageDevstorageFullControl + * @c kGTLRAuthScopeStorageDevstorageReadWrite + */ +@interface GTLRStorageQuery_AnywhereCacheDisable : GTLRStorageQuery + +/** The ID of requested Anywhere Cache instance. */ +@property(nonatomic, copy, nullable) NSString *anywhereCacheId; + +/** Name of the partent bucket */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** + * Fetches a @c GTLRStorage_AnywhereCache. + * + * Disables an Anywhere Cache instance. + * + * @param bucket Name of the partent bucket + * @param anywhereCacheId The ID of requested Anywhere Cache instance. + * + * @return GTLRStorageQuery_AnywhereCacheDisable + */ ++ (instancetype)queryWithBucket:(NSString *)bucket + anywhereCacheId:(NSString *)anywhereCacheId; + +@end + +/** + * Returns the metadata of an Anywhere Cache instance. + * + * Method: storage.anywhereCaches.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeStorageCloudPlatform + * @c kGTLRAuthScopeStorageCloudPlatformReadOnly + * @c kGTLRAuthScopeStorageDevstorageFullControl + * @c kGTLRAuthScopeStorageDevstorageReadOnly + * @c kGTLRAuthScopeStorageDevstorageReadWrite + */ +@interface GTLRStorageQuery_AnywhereCacheGet : GTLRStorageQuery + +/** The ID of requested Anywhere Cache instance. */ +@property(nonatomic, copy, nullable) NSString *anywhereCacheId; + +/** Name of the partent bucket */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** + * Fetches a @c GTLRStorage_AnywhereCache. + * + * Returns the metadata of an Anywhere Cache instance. + * + * @param bucket Name of the partent bucket + * @param anywhereCacheId The ID of requested Anywhere Cache instance. + * + * @return GTLRStorageQuery_AnywhereCacheGet + */ ++ (instancetype)queryWithBucket:(NSString *)bucket + anywhereCacheId:(NSString *)anywhereCacheId; + +@end + +/** + * Creates an Anywhere Cache instance. + * + * Method: storage.anywhereCaches.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeStorageCloudPlatform + * @c kGTLRAuthScopeStorageDevstorageFullControl + * @c kGTLRAuthScopeStorageDevstorageReadWrite + */ +@interface GTLRStorageQuery_AnywhereCacheInsert : GTLRStorageQuery + +/** Name of the partent bucket */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** + * Fetches a @c GTLRStorage_GoogleLongrunningOperation. + * + * Creates an Anywhere Cache instance. + * + * @param object The @c GTLRStorage_AnywhereCache to include in the query. + * @param bucket Name of the partent bucket + * + * @return GTLRStorageQuery_AnywhereCacheInsert + */ ++ (instancetype)queryWithObject:(GTLRStorage_AnywhereCache *)object + bucket:(NSString *)bucket; + +@end + +/** + * Returns a list of Anywhere Cache instances of the bucket matching the + * criteria. + * + * Method: storage.anywhereCaches.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeStorageCloudPlatform + * @c kGTLRAuthScopeStorageCloudPlatformReadOnly + * @c kGTLRAuthScopeStorageDevstorageFullControl + * @c kGTLRAuthScopeStorageDevstorageReadOnly + * @c kGTLRAuthScopeStorageDevstorageReadWrite + */ +@interface GTLRStorageQuery_AnywhereCacheList : GTLRStorageQuery + +/** Name of the partent bucket */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** + * Maximum number of items return in a single page of responses. Maximum 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A previously-returned page token representing part of the larger set of + * results to view. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRStorage_AnywhereCaches. + * + * Returns a list of Anywhere Cache instances of the bucket matching the + * criteria. + * + * @param bucket Name of the partent bucket + * + * @return GTLRStorageQuery_AnywhereCacheList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithBucket:(NSString *)bucket; + +@end + +/** + * Pauses an Anywhere Cache instance. + * + * Method: storage.anywhereCaches.pause + * + * Authorization scope(s): + * @c kGTLRAuthScopeStorageCloudPlatform + * @c kGTLRAuthScopeStorageDevstorageFullControl + * @c kGTLRAuthScopeStorageDevstorageReadWrite + */ +@interface GTLRStorageQuery_AnywhereCachePause : GTLRStorageQuery + +/** The ID of requested Anywhere Cache instance. */ +@property(nonatomic, copy, nullable) NSString *anywhereCacheId; + +/** Name of the partent bucket */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** + * Fetches a @c GTLRStorage_AnywhereCache. + * + * Pauses an Anywhere Cache instance. + * + * @param bucket Name of the partent bucket + * @param anywhereCacheId The ID of requested Anywhere Cache instance. + * + * @return GTLRStorageQuery_AnywhereCachePause + */ ++ (instancetype)queryWithBucket:(NSString *)bucket + anywhereCacheId:(NSString *)anywhereCacheId; + +@end + +/** + * Resumes a paused or disabled Anywhere Cache instance. + * + * Method: storage.anywhereCaches.resume + * + * Authorization scope(s): + * @c kGTLRAuthScopeStorageCloudPlatform + * @c kGTLRAuthScopeStorageDevstorageFullControl + * @c kGTLRAuthScopeStorageDevstorageReadWrite + */ +@interface GTLRStorageQuery_AnywhereCacheResume : GTLRStorageQuery + +/** The ID of requested Anywhere Cache instance. */ +@property(nonatomic, copy, nullable) NSString *anywhereCacheId; + +/** Name of the partent bucket */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** + * Fetches a @c GTLRStorage_AnywhereCache. + * + * Resumes a paused or disabled Anywhere Cache instance. + * + * @param bucket Name of the partent bucket + * @param anywhereCacheId The ID of requested Anywhere Cache instance. + * + * @return GTLRStorageQuery_AnywhereCacheResume + */ ++ (instancetype)queryWithBucket:(NSString *)bucket + anywhereCacheId:(NSString *)anywhereCacheId; + +@end + +/** + * Updates the config(ttl and admissionPolicy) of an Anywhere Cache instance. + * + * Method: storage.anywhereCaches.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeStorageCloudPlatform + * @c kGTLRAuthScopeStorageDevstorageFullControl + * @c kGTLRAuthScopeStorageDevstorageReadWrite + */ +@interface GTLRStorageQuery_AnywhereCacheUpdate : GTLRStorageQuery + +/** The ID of requested Anywhere Cache instance. */ +@property(nonatomic, copy, nullable) NSString *anywhereCacheId; + +/** Name of the partent bucket */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** + * Fetches a @c GTLRStorage_GoogleLongrunningOperation. + * + * Updates the config(ttl and admissionPolicy) of an Anywhere Cache instance. + * + * @param object The @c GTLRStorage_AnywhereCache to include in the query. + * @param bucket Name of the partent bucket + * @param anywhereCacheId The ID of requested Anywhere Cache instance. + * + * @return GTLRStorageQuery_AnywhereCacheUpdate + */ ++ (instancetype)queryWithObject:(GTLRStorage_AnywhereCache *)object + bucket:(NSString *)bucket + anywhereCacheId:(NSString *)anywhereCacheId; + +@end + /** * Permanently deletes the ACL entry for the specified entity on the specified * bucket. diff --git a/Sources/GeneratedServices/Testing/GTLRTestingObjects.m b/Sources/GeneratedServices/Testing/GTLRTestingObjects.m index c78b738fa..839355439 100644 --- a/Sources/GeneratedServices/Testing/GTLRTestingObjects.m +++ b/Sources/GeneratedServices/Testing/GTLRTestingObjects.m @@ -535,9 +535,8 @@ @implementation GTLRTesting_DeviceIpBlockCatalog // @implementation GTLRTesting_DeviceSession -@dynamic activeStartTime, androidDevice, androidDeviceList, createTime, - displayName, expireTime, inactivityTimeout, name, state, - stateHistories, ttl; +@dynamic activeStartTime, androidDevice, createTime, displayName, expireTime, + inactivityTimeout, name, state, stateHistories, ttl; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1235,14 +1234,16 @@ @implementation GTLRTesting_TestMatrix @implementation GTLRTesting_TestSetup @dynamic account, additionalApks, directoriesToPull, dontAutograntPermissions, - environmentVariables, filesToPush, networkProfile, systrace; + environmentVariables, filesToPush, initialSetupApks, networkProfile, + systrace; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"additionalApks" : [GTLRTesting_Apk class], @"directoriesToPull" : [NSString class], @"environmentVariables" : [GTLRTesting_EnvironmentVariable class], - @"filesToPush" : [GTLRTesting_DeviceFile class] + @"filesToPush" : [GTLRTesting_DeviceFile class], + @"initialSetupApks" : [GTLRTesting_Apk class] }; return map; } diff --git a/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h b/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h index ad11068e4..83c4e3a4c 100644 --- a/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h +++ b/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h @@ -1829,12 +1829,6 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_TestMatrix_State_Validating; /** Required. The requested device */ @property(nonatomic, strong, nullable) GTLRTesting_AndroidDevice *androidDevice; -/** - * Optional. The list of requested devices. At most two devices may be - * simultaneously requested. - */ -@property(nonatomic, strong, nullable) GTLRTesting_AndroidDeviceList *androidDeviceList GTLR_DEPRECATED; - /** Output only. The time that the Session was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -1898,7 +1892,7 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_TestMatrix_State_Validating; /** * Optional. The amount of time that a device will be initially allocated for. - * This can eventually be extended with the ExtendDeviceSession RPC. Default: + * This can eventually be extended with the UpdateDeviceSession RPC. Default: * 30 minutes. */ @property(nonatomic, strong, nullable) GTLRDuration *ttl; @@ -3438,6 +3432,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_TestMatrix_State_Validating; /** List of files to push to the device before starting the test. */ @property(nonatomic, strong, nullable) NSArray *filesToPush; +/** + * Optional. Initial setup APKs to install before the app under test is + * installed. Currently capped at 100. + */ +@property(nonatomic, strong, nullable) NSArray *initialSetupApks; + /** * The network traffic profile used for running the test. Available network * profiles can be queried by using the NETWORK_CONFIGURATION environment type diff --git a/Sources/GeneratedServices/TrafficDirectorService/GTLRTrafficDirectorServiceObjects.m b/Sources/GeneratedServices/TrafficDirectorService/GTLRTrafficDirectorServiceObjects.m index 6317e4fd8..7b66f7853 100644 --- a/Sources/GeneratedServices/TrafficDirectorService/GTLRTrafficDirectorServiceObjects.m +++ b/Sources/GeneratedServices/TrafficDirectorService/GTLRTrafficDirectorServiceObjects.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Traffic Director API (trafficdirector/v2) +// Traffic Director API (trafficdirector/v3) // Documentation: // https://cloud.google.com/traffic-director @@ -11,6 +11,61 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRTrafficDirectorService_DynamicCluster.clientStatus +NSString * const kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_Acked = @"ACKED"; +NSString * const kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_DoesNotExist = @"DOES_NOT_EXIST"; +NSString * const kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_Nacked = @"NACKED"; +NSString * const kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_Requested = @"REQUESTED"; +NSString * const kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_Unknown = @"UNKNOWN"; + +// GTLRTrafficDirectorService_DynamicEndpointConfig.clientStatus +NSString * const kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_Acked = @"ACKED"; +NSString * const kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_DoesNotExist = @"DOES_NOT_EXIST"; +NSString * const kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_Nacked = @"NACKED"; +NSString * const kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_Requested = @"REQUESTED"; +NSString * const kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_Unknown = @"UNKNOWN"; + +// GTLRTrafficDirectorService_DynamicListener.clientStatus +NSString * const kGTLRTrafficDirectorService_DynamicListener_ClientStatus_Acked = @"ACKED"; +NSString * const kGTLRTrafficDirectorService_DynamicListener_ClientStatus_DoesNotExist = @"DOES_NOT_EXIST"; +NSString * const kGTLRTrafficDirectorService_DynamicListener_ClientStatus_Nacked = @"NACKED"; +NSString * const kGTLRTrafficDirectorService_DynamicListener_ClientStatus_Requested = @"REQUESTED"; +NSString * const kGTLRTrafficDirectorService_DynamicListener_ClientStatus_Unknown = @"UNKNOWN"; + +// GTLRTrafficDirectorService_DynamicRouteConfig.clientStatus +NSString * const kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_Acked = @"ACKED"; +NSString * const kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_DoesNotExist = @"DOES_NOT_EXIST"; +NSString * const kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_Nacked = @"NACKED"; +NSString * const kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_Requested = @"REQUESTED"; +NSString * const kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_Unknown = @"UNKNOWN"; + +// GTLRTrafficDirectorService_DynamicScopedRouteConfigs.clientStatus +NSString * const kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_Acked = @"ACKED"; +NSString * const kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_DoesNotExist = @"DOES_NOT_EXIST"; +NSString * const kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_Nacked = @"NACKED"; +NSString * const kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_Requested = @"REQUESTED"; +NSString * const kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_Unknown = @"UNKNOWN"; + +// GTLRTrafficDirectorService_GenericXdsConfig.clientStatus +NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_Acked = @"ACKED"; +NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_DoesNotExist = @"DOES_NOT_EXIST"; +NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_Nacked = @"NACKED"; +NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_Requested = @"REQUESTED"; +NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_Unknown = @"UNKNOWN"; + +// GTLRTrafficDirectorService_GenericXdsConfig.configStatus +NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_Error = @"ERROR"; +NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_NotSent = @"NOT_SENT"; +NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_Stale = @"STALE"; +NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_Synced = @"SYNCED"; +NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_Unknown = @"UNKNOWN"; + +// GTLRTrafficDirectorService_PerXdsConfig.clientStatus +NSString * const kGTLRTrafficDirectorService_PerXdsConfig_ClientStatus_ClientAcked = @"CLIENT_ACKED"; +NSString * const kGTLRTrafficDirectorService_PerXdsConfig_ClientStatus_ClientNacked = @"CLIENT_NACKED"; +NSString * const kGTLRTrafficDirectorService_PerXdsConfig_ClientStatus_ClientRequested = @"CLIENT_REQUESTED"; +NSString * const kGTLRTrafficDirectorService_PerXdsConfig_ClientStatus_ClientUnknown = @"CLIENT_UNKNOWN"; + // GTLRTrafficDirectorService_PerXdsConfig.status NSString * const kGTLRTrafficDirectorService_PerXdsConfig_Status_Error = @"ERROR"; NSString * const kGTLRTrafficDirectorService_PerXdsConfig_Status_NotSent = @"NOT_SENT"; @@ -28,7 +83,7 @@ // @implementation GTLRTrafficDirectorService_Address -@dynamic pipe, socketAddress; +@dynamic envoyInternalAddress, pipe, socketAddress; @end @@ -62,10 +117,11 @@ + (Class)classForAdditionalProperties { // @implementation GTLRTrafficDirectorService_ClientConfig -@dynamic node, xdsConfig; +@dynamic genericXdsConfigs, node, xdsConfig; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"genericXdsConfigs" : [GTLRTrafficDirectorService_GenericXdsConfig class], @"xdsConfig" : [GTLRTrafficDirectorService_PerXdsConfig class] }; return map; @@ -80,7 +136,7 @@ @implementation GTLRTrafficDirectorService_ClientConfig // @implementation GTLRTrafficDirectorService_ClientStatusRequest -@dynamic nodeMatchers; +@dynamic excludeResourceContents, node, nodeMatchers; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -131,6 +187,30 @@ @implementation GTLRTrafficDirectorService_ClustersConfigDump @end +// ---------------------------------------------------------------------------- +// +// GTLRTrafficDirectorService_ContextParams +// + +@implementation GTLRTrafficDirectorService_ContextParams +@dynamic params; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTrafficDirectorService_ContextParams_Params +// + +@implementation GTLRTrafficDirectorService_ContextParams_Params + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRTrafficDirectorService_DoubleMatcher @@ -157,7 +237,7 @@ @implementation GTLRTrafficDirectorService_DoubleRange // @implementation GTLRTrafficDirectorService_DynamicCluster -@dynamic cluster, lastUpdated, versionInfo; +@dynamic clientStatus, cluster, errorState, lastUpdated, versionInfo; @end @@ -175,13 +255,38 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRTrafficDirectorService_DynamicEndpointConfig +// + +@implementation GTLRTrafficDirectorService_DynamicEndpointConfig +@dynamic clientStatus, endpointConfig, errorState, lastUpdated, versionInfo; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTrafficDirectorService_DynamicEndpointConfig_EndpointConfig +// + +@implementation GTLRTrafficDirectorService_DynamicEndpointConfig_EndpointConfig + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRTrafficDirectorService_DynamicListener // @implementation GTLRTrafficDirectorService_DynamicListener -@dynamic activeState, drainingState, errorState, name, warmingState; +@dynamic activeState, clientStatus, drainingState, errorState, name, + warmingState; @end @@ -215,7 +320,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRTrafficDirectorService_DynamicRouteConfig -@dynamic lastUpdated, routeConfig, versionInfo; +@dynamic clientStatus, errorState, lastUpdated, routeConfig, versionInfo; @end @@ -239,7 +344,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRTrafficDirectorService_DynamicScopedRouteConfigs -@dynamic lastUpdated, name, scopedRouteConfigs, versionInfo; +@dynamic clientStatus, errorState, lastUpdated, name, scopedRouteConfigs, + versionInfo; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -265,13 +371,75 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRTrafficDirectorService_EndpointsConfigDump +// + +@implementation GTLRTrafficDirectorService_EndpointsConfigDump +@dynamic dynamicEndpointConfigs, staticEndpointConfigs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dynamicEndpointConfigs" : [GTLRTrafficDirectorService_DynamicEndpointConfig class], + @"staticEndpointConfigs" : [GTLRTrafficDirectorService_StaticEndpointConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTrafficDirectorService_EnvoyInternalAddress +// + +@implementation GTLRTrafficDirectorService_EnvoyInternalAddress +@dynamic endpointId, serverListenerName; +@end + + // ---------------------------------------------------------------------------- // // GTLRTrafficDirectorService_Extension // @implementation GTLRTrafficDirectorService_Extension -@dynamic category, disabled, name, typeDescriptor, version; +@dynamic category, disabled, name, typeDescriptor, typeUrls, version; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"typeUrls" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTrafficDirectorService_GenericXdsConfig +// + +@implementation GTLRTrafficDirectorService_GenericXdsConfig +@dynamic clientStatus, configStatus, errorState, isStaticResource, lastUpdated, + name, typeUrl, versionInfo, xdsConfig; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTrafficDirectorService_GenericXdsConfig_XdsConfig +// + +@implementation GTLRTrafficDirectorService_GenericXdsConfig_XdsConfig + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + @end @@ -367,7 +535,7 @@ @implementation GTLRTrafficDirectorService_Locality // @implementation GTLRTrafficDirectorService_Node -@dynamic buildVersion, clientFeatures, cluster, extensions, identifier, +@dynamic clientFeatures, cluster, dynamicParameters, extensions, identifier, listeningAddresses, locality, metadata, userAgentBuildVersion, userAgentName, userAgentVersion; @@ -387,6 +555,20 @@ @implementation GTLRTrafficDirectorService_Node @end +// ---------------------------------------------------------------------------- +// +// GTLRTrafficDirectorService_Node_DynamicParameters +// + +@implementation GTLRTrafficDirectorService_Node_DynamicParameters + ++ (Class)classForAdditionalProperties { + return [GTLRTrafficDirectorService_ContextParams class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRTrafficDirectorService_Node_Metadata @@ -428,6 +610,24 @@ @implementation GTLRTrafficDirectorService_NullMatch @end +// ---------------------------------------------------------------------------- +// +// GTLRTrafficDirectorService_OrMatcher +// + +@implementation GTLRTrafficDirectorService_OrMatcher +@dynamic valueMatchers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"valueMatchers" : [GTLRTrafficDirectorService_ValueMatcher class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRTrafficDirectorService_PathSegment @@ -444,7 +644,8 @@ @implementation GTLRTrafficDirectorService_PathSegment // @implementation GTLRTrafficDirectorService_PerXdsConfig -@dynamic clusterConfig, listenerConfig, routeConfig, scopedRouteConfig, status; +@dynamic clientStatus, clusterConfig, endpointConfig, listenerConfig, + routeConfig, scopedRouteConfig, status; @end @@ -550,6 +751,30 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRTrafficDirectorService_StaticEndpointConfig +// + +@implementation GTLRTrafficDirectorService_StaticEndpointConfig +@dynamic endpointConfig, lastUpdated; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTrafficDirectorService_StaticEndpointConfig_EndpointConfig +// + +@implementation GTLRTrafficDirectorService_StaticEndpointConfig_EndpointConfig + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRTrafficDirectorService_StaticListener @@ -604,7 +829,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRTrafficDirectorService_StringMatcher -@dynamic exact, ignoreCase, prefix, regex, safeRegex, suffix; +@dynamic contains, exact, ignoreCase, prefix, safeRegex, suffix; @end @@ -632,7 +857,7 @@ @implementation GTLRTrafficDirectorService_StructMatcher // @implementation GTLRTrafficDirectorService_UpdateFailureState -@dynamic details, failedConfiguration, lastUpdateAttempt; +@dynamic details, failedConfiguration, lastUpdateAttempt, versionInfo; @end @@ -656,6 +881,6 @@ + (Class)classForAdditionalProperties { // @implementation GTLRTrafficDirectorService_ValueMatcher -@dynamic boolMatch, doubleMatch, listMatch, nullMatch, presentMatch, +@dynamic boolMatch, doubleMatch, listMatch, nullMatch, orMatch, presentMatch, stringMatch; @end diff --git a/Sources/GeneratedServices/TrafficDirectorService/GTLRTrafficDirectorServiceQuery.m b/Sources/GeneratedServices/TrafficDirectorService/GTLRTrafficDirectorServiceQuery.m index 18c408f31..aa07150cf 100644 --- a/Sources/GeneratedServices/TrafficDirectorService/GTLRTrafficDirectorServiceQuery.m +++ b/Sources/GeneratedServices/TrafficDirectorService/GTLRTrafficDirectorServiceQuery.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Traffic Director API (trafficdirector/v2) +// Traffic Director API (trafficdirector/v3) // Documentation: // https://cloud.google.com/traffic-director @@ -23,7 +23,7 @@ + (instancetype)queryWithObject:(GTLRTrafficDirectorService_ClientStatusRequest #endif return nil; } - NSString *pathURITemplate = @"v2/discovery:client_status"; + NSString *pathURITemplate = @"v3/discovery:client_status"; GTLRTrafficDirectorServiceQuery_DiscoveryClientStatus *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" diff --git a/Sources/GeneratedServices/TrafficDirectorService/GTLRTrafficDirectorServiceService.m b/Sources/GeneratedServices/TrafficDirectorService/GTLRTrafficDirectorServiceService.m index 714e1c712..23c732c48 100644 --- a/Sources/GeneratedServices/TrafficDirectorService/GTLRTrafficDirectorServiceService.m +++ b/Sources/GeneratedServices/TrafficDirectorService/GTLRTrafficDirectorServiceService.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Traffic Director API (trafficdirector/v2) +// Traffic Director API (trafficdirector/v3) // Documentation: // https://cloud.google.com/traffic-director diff --git a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorService.h b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorService.h index f5cfe9597..45cb32ec7 100644 --- a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorService.h +++ b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorService.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Traffic Director API (trafficdirector/v2) +// Traffic Director API (trafficdirector/v3) // Documentation: // https://cloud.google.com/traffic-director diff --git a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h index ff0df6c88..aa0f2cf86 100644 --- a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h +++ b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Traffic Director API (trafficdirector/v2) +// Traffic Director API (trafficdirector/v3) // Documentation: // https://cloud.google.com/traffic-director @@ -17,10 +17,14 @@ @class GTLRTrafficDirectorService_BuildVersion_Metadata; @class GTLRTrafficDirectorService_ClientConfig; @class GTLRTrafficDirectorService_ClustersConfigDump; +@class GTLRTrafficDirectorService_ContextParams; +@class GTLRTrafficDirectorService_ContextParams_Params; @class GTLRTrafficDirectorService_DoubleMatcher; @class GTLRTrafficDirectorService_DoubleRange; @class GTLRTrafficDirectorService_DynamicCluster; @class GTLRTrafficDirectorService_DynamicCluster_Cluster; +@class GTLRTrafficDirectorService_DynamicEndpointConfig; +@class GTLRTrafficDirectorService_DynamicEndpointConfig_EndpointConfig; @class GTLRTrafficDirectorService_DynamicListener; @class GTLRTrafficDirectorService_DynamicListenerState; @class GTLRTrafficDirectorService_DynamicListenerState_Listener; @@ -28,7 +32,11 @@ @class GTLRTrafficDirectorService_DynamicRouteConfig_RouteConfig; @class GTLRTrafficDirectorService_DynamicScopedRouteConfigs; @class GTLRTrafficDirectorService_DynamicScopedRouteConfigs_ScopedRouteConfigs_Item; +@class GTLRTrafficDirectorService_EndpointsConfigDump; +@class GTLRTrafficDirectorService_EnvoyInternalAddress; @class GTLRTrafficDirectorService_Extension; +@class GTLRTrafficDirectorService_GenericXdsConfig; +@class GTLRTrafficDirectorService_GenericXdsConfig_XdsConfig; @class GTLRTrafficDirectorService_GoogleRE2; @class GTLRTrafficDirectorService_InlineScopedRouteConfigs; @class GTLRTrafficDirectorService_InlineScopedRouteConfigs_ScopedRouteConfigs_Item; @@ -36,9 +44,11 @@ @class GTLRTrafficDirectorService_ListMatcher; @class GTLRTrafficDirectorService_Locality; @class GTLRTrafficDirectorService_Node; +@class GTLRTrafficDirectorService_Node_DynamicParameters; @class GTLRTrafficDirectorService_Node_Metadata; @class GTLRTrafficDirectorService_NodeMatcher; @class GTLRTrafficDirectorService_NullMatch; +@class GTLRTrafficDirectorService_OrMatcher; @class GTLRTrafficDirectorService_PathSegment; @class GTLRTrafficDirectorService_PerXdsConfig; @class GTLRTrafficDirectorService_Pipe; @@ -49,6 +59,8 @@ @class GTLRTrafficDirectorService_SocketAddress; @class GTLRTrafficDirectorService_StaticCluster; @class GTLRTrafficDirectorService_StaticCluster_Cluster; +@class GTLRTrafficDirectorService_StaticEndpointConfig; +@class GTLRTrafficDirectorService_StaticEndpointConfig_EndpointConfig; @class GTLRTrafficDirectorService_StaticListener; @class GTLRTrafficDirectorService_StaticListener_Listener; @class GTLRTrafficDirectorService_StaticRouteConfig; @@ -69,11 +81,321 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRTrafficDirectorService_DynamicCluster.clientStatus + +/** + * Client received this resource and replied with ACK. + * + * Value: "ACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_Acked; +/** + * This resource has been requested by the client but has either not been + * delivered by the server or was previously delivered by the server and then + * subsequently removed from resources provided by the server. For more + * information, please refer to the :ref:`"Knowing When a Requested Resource + * Does Not Exist" ` section. + * + * Value: "DOES_NOT_EXIST" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_DoesNotExist; +/** + * Client received this resource and replied with NACK. + * + * Value: "NACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_Nacked; +/** + * Client requested this resource but hasn't received any update from + * management server. The client will not fail requests, but will queue them + * until update arrives or the client times out waiting for the resource. + * + * Value: "REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_Requested; +/** + * Resource status is not available/unknown. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_Unknown; + +// ---------------------------------------------------------------------------- +// GTLRTrafficDirectorService_DynamicEndpointConfig.clientStatus + +/** + * Client received this resource and replied with ACK. + * + * Value: "ACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_Acked; +/** + * This resource has been requested by the client but has either not been + * delivered by the server or was previously delivered by the server and then + * subsequently removed from resources provided by the server. For more + * information, please refer to the :ref:`"Knowing When a Requested Resource + * Does Not Exist" ` section. + * + * Value: "DOES_NOT_EXIST" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_DoesNotExist; +/** + * Client received this resource and replied with NACK. + * + * Value: "NACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_Nacked; +/** + * Client requested this resource but hasn't received any update from + * management server. The client will not fail requests, but will queue them + * until update arrives or the client times out waiting for the resource. + * + * Value: "REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_Requested; +/** + * Resource status is not available/unknown. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_Unknown; + +// ---------------------------------------------------------------------------- +// GTLRTrafficDirectorService_DynamicListener.clientStatus + +/** + * Client received this resource and replied with ACK. + * + * Value: "ACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicListener_ClientStatus_Acked; +/** + * This resource has been requested by the client but has either not been + * delivered by the server or was previously delivered by the server and then + * subsequently removed from resources provided by the server. For more + * information, please refer to the :ref:`"Knowing When a Requested Resource + * Does Not Exist" ` section. + * + * Value: "DOES_NOT_EXIST" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicListener_ClientStatus_DoesNotExist; +/** + * Client received this resource and replied with NACK. + * + * Value: "NACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicListener_ClientStatus_Nacked; +/** + * Client requested this resource but hasn't received any update from + * management server. The client will not fail requests, but will queue them + * until update arrives or the client times out waiting for the resource. + * + * Value: "REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicListener_ClientStatus_Requested; +/** + * Resource status is not available/unknown. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicListener_ClientStatus_Unknown; + +// ---------------------------------------------------------------------------- +// GTLRTrafficDirectorService_DynamicRouteConfig.clientStatus + +/** + * Client received this resource and replied with ACK. + * + * Value: "ACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_Acked; +/** + * This resource has been requested by the client but has either not been + * delivered by the server or was previously delivered by the server and then + * subsequently removed from resources provided by the server. For more + * information, please refer to the :ref:`"Knowing When a Requested Resource + * Does Not Exist" ` section. + * + * Value: "DOES_NOT_EXIST" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_DoesNotExist; +/** + * Client received this resource and replied with NACK. + * + * Value: "NACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_Nacked; +/** + * Client requested this resource but hasn't received any update from + * management server. The client will not fail requests, but will queue them + * until update arrives or the client times out waiting for the resource. + * + * Value: "REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_Requested; +/** + * Resource status is not available/unknown. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_Unknown; + +// ---------------------------------------------------------------------------- +// GTLRTrafficDirectorService_DynamicScopedRouteConfigs.clientStatus + +/** + * Client received this resource and replied with ACK. + * + * Value: "ACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_Acked; +/** + * This resource has been requested by the client but has either not been + * delivered by the server or was previously delivered by the server and then + * subsequently removed from resources provided by the server. For more + * information, please refer to the :ref:`"Knowing When a Requested Resource + * Does Not Exist" ` section. + * + * Value: "DOES_NOT_EXIST" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_DoesNotExist; +/** + * Client received this resource and replied with NACK. + * + * Value: "NACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_Nacked; +/** + * Client requested this resource but hasn't received any update from + * management server. The client will not fail requests, but will queue them + * until update arrives or the client times out waiting for the resource. + * + * Value: "REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_Requested; +/** + * Resource status is not available/unknown. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_Unknown; + +// ---------------------------------------------------------------------------- +// GTLRTrafficDirectorService_GenericXdsConfig.clientStatus + +/** + * Client received this resource and replied with ACK. + * + * Value: "ACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_Acked; +/** + * This resource has been requested by the client but has either not been + * delivered by the server or was previously delivered by the server and then + * subsequently removed from resources provided by the server. For more + * information, please refer to the :ref:`"Knowing When a Requested Resource + * Does Not Exist" ` section. + * + * Value: "DOES_NOT_EXIST" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_DoesNotExist; +/** + * Client received this resource and replied with NACK. + * + * Value: "NACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_Nacked; +/** + * Client requested this resource but hasn't received any update from + * management server. The client will not fail requests, but will queue them + * until update arrives or the client times out waiting for the resource. + * + * Value: "REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_Requested; +/** + * Resource status is not available/unknown. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_Unknown; + +// ---------------------------------------------------------------------------- +// GTLRTrafficDirectorService_GenericXdsConfig.configStatus + +/** + * Management server has sent the config to client but received NACK. The + * attached config dump will be the latest config (the rejected one), since it + * is the persisted version in the management server. + * + * Value: "ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_Error; +/** + * Config is not sent. + * + * Value: "NOT_SENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_NotSent; +/** + * Management server has sent the config to client but hasn’t received + * ACK/NACK. + * + * Value: "STALE" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_Stale; +/** + * Management server has sent the config to client and received ACK. + * + * Value: "SYNCED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_Synced; +/** + * Status info is not available/unknown. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_Unknown; + +// ---------------------------------------------------------------------------- +// GTLRTrafficDirectorService_PerXdsConfig.clientStatus + +/** + * Client received the config and replied with ACK. + * + * Value: "CLIENT_ACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_PerXdsConfig_ClientStatus_ClientAcked; +/** + * Client received the config and replied with NACK. Notably, the attached + * config dump is not the NACKed version, but the most recent accepted one. If + * no config is accepted yet, the attached config dump will be empty. + * + * Value: "CLIENT_NACKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_PerXdsConfig_ClientStatus_ClientNacked; +/** + * Client requested the config but hasn't received any config from management + * server yet. + * + * Value: "CLIENT_REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_PerXdsConfig_ClientStatus_ClientRequested; +/** + * Config status is not available/unknown. + * + * Value: "CLIENT_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_PerXdsConfig_ClientStatus_ClientUnknown; + // ---------------------------------------------------------------------------- // GTLRTrafficDirectorService_PerXdsConfig.status /** - * Management server has sent the config to client but received NACK. + * Management server has sent the config to client but received NACK. The + * attached config dump will be the latest config (the rejected one), since it + * is the persisted version in the management server. * * Value: "ERROR" */ @@ -119,6 +441,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro */ @interface GTLRTrafficDirectorService_Address : GTLRObject +/** Specifies a user-space address handled by :ref:`internal listeners `. */ +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_EnvoyInternalAddress *envoyInternalAddress; + @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_Pipe *pipe; @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_SocketAddress *socketAddress; @@ -161,10 +486,20 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro */ @interface GTLRTrafficDirectorService_ClientConfig : GTLRObject +/** + * Represents generic xDS config and the exact config structure depends on the + * type URL (like Cluster if it is CDS) + */ +@property(nonatomic, strong, nullable) NSArray *genericXdsConfigs; + /** Node for a particular client. */ @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_Node *node; -@property(nonatomic, strong, nullable) NSArray *xdsConfig; +/** + * This field is deprecated in favor of generic_xds_configs which is much + * simpler and uniform in structure. + */ +@property(nonatomic, strong, nullable) NSArray *xdsConfig GTLR_DEPRECATED; @end @@ -174,6 +509,18 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro */ @interface GTLRTrafficDirectorService_ClientStatusRequest : GTLRObject +/** + * If true, the server will not include the resource contents in the response + * (i.e., the generic_xds_configs.xds_config field will not be populated). + * [#not-implemented-hide:] + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *excludeResourceContents; + +/** The node making the csds request. */ +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_Node *node; + /** * Management server can use these match criteria to identify clients. The * match follows OR semantics. @@ -229,6 +576,34 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro @end +/** + * Additional parameters that can be used to select resource variants. These + * include any global context parameters, per-resource type client feature + * capabilities and per-resource type functional attributes. All per-resource + * type attributes will be `xds.resource.` prefixed and some of these are + * documented below: `xds.resource.listening_address`: The value is "IP:port" + * (e.g. "10.1.1.3:8080") which is the listening address of a Listener. Used in + * a Listener resource query. + */ +@interface GTLRTrafficDirectorService_ContextParams : GTLRObject + +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_ContextParams_Params *params; + +@end + + +/** + * GTLRTrafficDirectorService_ContextParams_Params + * + * @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 GTLRTrafficDirectorService_ContextParams_Params : GTLRObject +@end + + /** * Specifies the way to match a double value. */ @@ -275,13 +650,46 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro /** - * Describes a dynamically loaded cluster via the CDS API. + * Describes a dynamically loaded cluster via the CDS API. [#next-free-field: + * 6] */ @interface GTLRTrafficDirectorService_DynamicCluster : GTLRObject +/** + * The client status of this resource. [#not-implemented-hide:] + * + * Likely values: + * @arg @c kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_Acked + * Client received this resource and replied with ACK. (Value: "ACKED") + * @arg @c kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_DoesNotExist + * This resource has been requested by the client but has either not been + * delivered by the server or was previously delivered by the server and + * then subsequently removed from resources provided by the server. For + * more information, please refer to the :ref:`"Knowing When a Requested + * Resource Does Not Exist" ` section. (Value: "DOES_NOT_EXIST") + * @arg @c kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_Nacked + * Client received this resource and replied with NACK. (Value: "NACKED") + * @arg @c kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_Requested + * Client requested this resource but hasn't received any update from + * management server. The client will not fail requests, but will queue + * them until update arrives or the client times out waiting for the + * resource. (Value: "REQUESTED") + * @arg @c kGTLRTrafficDirectorService_DynamicCluster_ClientStatus_Unknown + * Resource status is not available/unknown. (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *clientStatus; + /** The cluster config. */ @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_DynamicCluster_Cluster *cluster; +/** + * Set if the last update failed, cleared after the next successful update. The + * ``error_state`` field contains the rejected version of this particular + * resource along with the reason and timestamp. For successfully updated or + * acknowledged resource, this field should be empty. [#not-implemented-hide:] + */ +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_UpdateFailureState *errorState; + /** The timestamp when the Cluster was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *lastUpdated; @@ -308,9 +716,76 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro @end +/** + * [#next-free-field: 6] + */ +@interface GTLRTrafficDirectorService_DynamicEndpointConfig : GTLRObject + +/** + * The client status of this resource. [#not-implemented-hide:] + * + * Likely values: + * @arg @c kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_Acked + * Client received this resource and replied with ACK. (Value: "ACKED") + * @arg @c kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_DoesNotExist + * This resource has been requested by the client but has either not been + * delivered by the server or was previously delivered by the server and + * then subsequently removed from resources provided by the server. For + * more information, please refer to the :ref:`"Knowing When a Requested + * Resource Does Not Exist" ` section. (Value: "DOES_NOT_EXIST") + * @arg @c kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_Nacked + * Client received this resource and replied with NACK. (Value: "NACKED") + * @arg @c kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_Requested + * Client requested this resource but hasn't received any update from + * management server. The client will not fail requests, but will queue + * them until update arrives or the client times out waiting for the + * resource. (Value: "REQUESTED") + * @arg @c kGTLRTrafficDirectorService_DynamicEndpointConfig_ClientStatus_Unknown + * Resource status is not available/unknown. (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *clientStatus; + +/** The endpoint config. */ +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_DynamicEndpointConfig_EndpointConfig *endpointConfig; + +/** + * Set if the last update failed, cleared after the next successful update. The + * ``error_state`` field contains the rejected version of this particular + * resource along with the reason and timestamp. For successfully updated or + * acknowledged resource, this field should be empty. [#not-implemented-hide:] + */ +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_UpdateFailureState *errorState; + +/** + * [#not-implemented-hide:] The timestamp when the Endpoint was last updated. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastUpdated; + +/** + * [#not-implemented-hide:] This is the per-resource version information. This + * version is currently taken from the :ref:`version_info ` field at the time + * that the endpoint configuration was loaded. + */ +@property(nonatomic, copy, nullable) NSString *versionInfo; + +@end + + +/** + * The endpoint config. + * + * @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 GTLRTrafficDirectorService_DynamicEndpointConfig_EndpointConfig : GTLRObject +@end + + /** * Describes a dynamically loaded listener via the LDS API. [#next-free-field: - * 6] + * 7] */ @interface GTLRTrafficDirectorService_DynamicListener : GTLRObject @@ -320,6 +795,30 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro */ @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_DynamicListenerState *activeState; +/** + * The client status of this resource. [#not-implemented-hide:] + * + * Likely values: + * @arg @c kGTLRTrafficDirectorService_DynamicListener_ClientStatus_Acked + * Client received this resource and replied with ACK. (Value: "ACKED") + * @arg @c kGTLRTrafficDirectorService_DynamicListener_ClientStatus_DoesNotExist + * This resource has been requested by the client but has either not been + * delivered by the server or was previously delivered by the server and + * then subsequently removed from resources provided by the server. For + * more information, please refer to the :ref:`"Knowing When a Requested + * Resource Does Not Exist" ` section. (Value: "DOES_NOT_EXIST") + * @arg @c kGTLRTrafficDirectorService_DynamicListener_ClientStatus_Nacked + * Client received this resource and replied with NACK. (Value: "NACKED") + * @arg @c kGTLRTrafficDirectorService_DynamicListener_ClientStatus_Requested + * Client requested this resource but hasn't received any update from + * management server. The client will not fail requests, but will queue + * them until update arrives or the client times out waiting for the + * resource. (Value: "REQUESTED") + * @arg @c kGTLRTrafficDirectorService_DynamicListener_ClientStatus_Unknown + * Resource status is not available/unknown. (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *clientStatus; + /** * The listener state for any draining listener by this name. These are * listeners that are currently undergoing draining in preparation to stop @@ -330,7 +829,10 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_DynamicListenerState *drainingState; /** - * Set if the last update failed, cleared after the next successful update. + * Set if the last update failed, cleared after the next successful update. The + * ``error_state`` field contains the rejected version of this particular + * resource along with the reason and timestamp. For successfully updated or + * acknowledged resource, this field should be empty. */ @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_UpdateFailureState *errorState; @@ -387,10 +889,42 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro /** - * GTLRTrafficDirectorService_DynamicRouteConfig + * [#next-free-field: 6] */ @interface GTLRTrafficDirectorService_DynamicRouteConfig : GTLRObject +/** + * The client status of this resource. [#not-implemented-hide:] + * + * Likely values: + * @arg @c kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_Acked + * Client received this resource and replied with ACK. (Value: "ACKED") + * @arg @c kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_DoesNotExist + * This resource has been requested by the client but has either not been + * delivered by the server or was previously delivered by the server and + * then subsequently removed from resources provided by the server. For + * more information, please refer to the :ref:`"Knowing When a Requested + * Resource Does Not Exist" ` section. (Value: "DOES_NOT_EXIST") + * @arg @c kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_Nacked + * Client received this resource and replied with NACK. (Value: "NACKED") + * @arg @c kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_Requested + * Client requested this resource but hasn't received any update from + * management server. The client will not fail requests, but will queue + * them until update arrives or the client times out waiting for the + * resource. (Value: "REQUESTED") + * @arg @c kGTLRTrafficDirectorService_DynamicRouteConfig_ClientStatus_Unknown + * Resource status is not available/unknown. (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *clientStatus; + +/** + * Set if the last update failed, cleared after the next successful update. The + * ``error_state`` field contains the rejected version of this particular + * resource along with the reason and timestamp. For successfully updated or + * acknowledged resource, this field should be empty. [#not-implemented-hide:] + */ +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_UpdateFailureState *errorState; + /** The timestamp when the Route was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *lastUpdated; @@ -420,10 +954,42 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro /** - * GTLRTrafficDirectorService_DynamicScopedRouteConfigs + * [#next-free-field: 7] */ @interface GTLRTrafficDirectorService_DynamicScopedRouteConfigs : GTLRObject +/** + * The client status of this resource. [#not-implemented-hide:] + * + * Likely values: + * @arg @c kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_Acked + * Client received this resource and replied with ACK. (Value: "ACKED") + * @arg @c kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_DoesNotExist + * This resource has been requested by the client but has either not been + * delivered by the server or was previously delivered by the server and + * then subsequently removed from resources provided by the server. For + * more information, please refer to the :ref:`"Knowing When a Requested + * Resource Does Not Exist" ` section. (Value: "DOES_NOT_EXIST") + * @arg @c kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_Nacked + * Client received this resource and replied with NACK. (Value: "NACKED") + * @arg @c kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_Requested + * Client requested this resource but hasn't received any update from + * management server. The client will not fail requests, but will queue + * them until update arrives or the client times out waiting for the + * resource. (Value: "REQUESTED") + * @arg @c kGTLRTrafficDirectorService_DynamicScopedRouteConfigs_ClientStatus_Unknown + * Resource status is not available/unknown. (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *clientStatus; + +/** + * Set if the last update failed, cleared after the next successful update. The + * ``error_state`` field contains the rejected version of this particular + * resource along with the reason and timestamp. For successfully updated or + * acknowledged resource, this field should be empty. [#not-implemented-hide:] + */ +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_UpdateFailureState *errorState; + /** The timestamp when the scoped route config set was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *lastUpdated; @@ -456,7 +1022,44 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro /** - * Version and identification for an Envoy extension. [#next-free-field: 6] + * Envoy's admin fill this message with all currently known endpoints. Endpoint + * configuration information can be used to recreate an Envoy configuration by + * populating all endpoints as static endpoints or by returning them in an EDS + * response. + */ +@interface GTLRTrafficDirectorService_EndpointsConfigDump : GTLRObject + +/** The dynamically loaded endpoint configs. */ +@property(nonatomic, strong, nullable) NSArray *dynamicEndpointConfigs; + +/** The statically loaded endpoint configs. */ +@property(nonatomic, strong, nullable) NSArray *staticEndpointConfigs; + +@end + + +/** + * The address represents an envoy internal listener. [#comment: + */ +@interface GTLRTrafficDirectorService_EnvoyInternalAddress : GTLRObject + +/** + * Specifies an endpoint identifier to distinguish between multiple endpoints + * for the same internal listener in a single upstream pool. Only used in the + * upstream addresses for tracking changes to individual endpoints. This, for + * example, may be set to the final destination IP for the target internal + * listener. + */ +@property(nonatomic, copy, nullable) NSString *endpointId; + +/** Specifies the :ref:`name ` of the internal listener. */ +@property(nonatomic, copy, nullable) NSString *serverListenerName; + +@end + + +/** + * Version and identification for an Envoy extension. [#next-free-field: 7] */ @interface GTLRTrafficDirectorService_Extension : GTLRObject @@ -486,7 +1089,10 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro * [#not-implemented-hide:] Type descriptor of extension configuration proto. * [#comment: */ -@property(nonatomic, copy, nullable) NSString *typeDescriptor; +@property(nonatomic, copy, nullable) NSString *typeDescriptor GTLR_DEPRECATED; + +/** Type URLs of extension configuration protos. */ +@property(nonatomic, strong, nullable) NSArray *typeUrls; /** * The version is a property of the extension and maintained independently of @@ -498,6 +1104,114 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro @end +/** + * GenericXdsConfig is used to specify the config status and the dump of any + * xDS resource identified by their type URL. It is the generalized version of + * the now deprecated ListenersConfigDump, ClustersConfigDump etc + * [#next-free-field: 10] + */ +@interface GTLRTrafficDirectorService_GenericXdsConfig : GTLRObject + +/** + * Per xDS resource status from the view of a xDS client + * + * Likely values: + * @arg @c kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_Acked + * Client received this resource and replied with ACK. (Value: "ACKED") + * @arg @c kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_DoesNotExist + * This resource has been requested by the client but has either not been + * delivered by the server or was previously delivered by the server and + * then subsequently removed from resources provided by the server. For + * more information, please refer to the :ref:`"Knowing When a Requested + * Resource Does Not Exist" ` section. (Value: "DOES_NOT_EXIST") + * @arg @c kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_Nacked + * Client received this resource and replied with NACK. (Value: "NACKED") + * @arg @c kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_Requested + * Client requested this resource but hasn't received any update from + * management server. The client will not fail requests, but will queue + * them until update arrives or the client times out waiting for the + * resource. (Value: "REQUESTED") + * @arg @c kGTLRTrafficDirectorService_GenericXdsConfig_ClientStatus_Unknown + * Resource status is not available/unknown. (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *clientStatus; + +/** + * Per xDS resource config status. It is generated by management servers. It + * will not be present if the CSDS server is an xDS client. + * + * Likely values: + * @arg @c kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_Error + * Management server has sent the config to client but received NACK. The + * attached config dump will be the latest config (the rejected one), + * since it is the persisted version in the management server. (Value: + * "ERROR") + * @arg @c kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_NotSent + * Config is not sent. (Value: "NOT_SENT") + * @arg @c kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_Stale + * Management server has sent the config to client but hasn’t received + * ACK/NACK. (Value: "STALE") + * @arg @c kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_Synced + * Management server has sent the config to client and received ACK. + * (Value: "SYNCED") + * @arg @c kGTLRTrafficDirectorService_GenericXdsConfig_ConfigStatus_Unknown + * Status info is not available/unknown. (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *configStatus; + +/** + * Set if the last update failed, cleared after the next successful update. The + * *error_state* field contains the rejected version of this particular + * resource along with the reason and timestamp. For successfully updated or + * acknowledged resource, this field should be empty. [#not-implemented-hide:] + */ +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_UpdateFailureState *errorState; + +/** + * Is static resource is true if it is specified in the config supplied through + * the file at the startup. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isStaticResource; + +/** Timestamp when the xDS resource was last updated */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastUpdated; + +/** Name of the xDS resource */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Type_url represents the fully qualified name of xDS resource type like + * envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc. + */ +@property(nonatomic, copy, nullable) NSString *typeUrl; + +/** + * This is the :ref:`version_info ` in the last processed xDS discovery + * response. If there are only static bootstrap listeners, this field will be + * "" + */ +@property(nonatomic, copy, nullable) NSString *versionInfo; + +/** The xDS resource config. Actual content depends on the type */ +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_GenericXdsConfig_XdsConfig *xdsConfig; + +@end + + +/** + * The xDS resource config. Actual content depends on the type + * + * @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 GTLRTrafficDirectorService_GenericXdsConfig_XdsConfig : GTLRObject +@end + + /** * Google's `RE2 `_ regex engine. The regex string must adhere to the * documented `syntax `_. The engine is designed to complete execution in @@ -509,8 +1223,8 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro * logged, respectively. ``re2.max_program_size.error_level`` defaults to 100, * and ``re2.max_program_size.warn_level`` has no default if unset (will not * check/log a warning). Envoy emits two stats for tracking the program size of - * regexes: the histogram `re2.program_size`, which records the program size, - * and the counter `re2.exceeded_warn_level`, which is incremented each time + * regexes: the histogram ``re2.program_size``, which records the program size, + * and the counter ``re2.exceeded_warn_level``, which is incremented each time * the program size exceeds the warn level threshold. */ @interface GTLRTrafficDirectorService_GoogleRE2 : GTLRObject @@ -522,7 +1236,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro * configured max program size can be increased or the regex can be simplified. * If not specified, the default is 100. This field is deprecated; regexp * validation should be performed on the management server instead of being - * done by each individual client. + * done by each individual client. .. note:: Although this field is deprecated, + * the program size will still be checked against the global + * ``re2.max_program_size.error_level`` runtime value. * * Uses NSNumber of unsignedIntValue. */ @@ -629,23 +1345,15 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro /** * Identifies a specific Envoy instance. The node identifier is presented to * the management server, which may use this identifier to distinguish per - * Envoy configuration for serving. [#next-free-field: 12] + * Envoy configuration for serving. [#next-free-field: 13] */ @interface GTLRTrafficDirectorService_Node : GTLRObject -/** - * This is motivated by informing a management server during canary which - * version of Envoy is being tested in a heterogeneous fleet. This will be set - * by Envoy in management server RPCs. This field is deprecated in favor of the - * user_agent_name and user_agent_version values. - */ -@property(nonatomic, copy, nullable) NSString *buildVersion GTLR_DEPRECATED; - /** * Client feature support list. These are well known features described in the * Envoy API repository for a given major version of an API. Client features - * use reverse DNS naming scheme, for example `com.acme.feature`. See :ref:`the - * list of features ` that xDS client may support. + * use reverse DNS naming scheme, for example ``com.acme.feature``. See + * :ref:`the list of features ` that xDS client may support. */ @property(nonatomic, strong, nullable) NSArray *clientFeatures; @@ -659,6 +1367,16 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro */ @property(nonatomic, copy, nullable) NSString *cluster; +/** + * Map from xDS resource type URL to dynamic context parameters. These may vary + * at runtime (unlike other fields in this message). For example, the xDS + * client may have a shard identifier that changes during the lifetime of the + * xDS client. In Envoy, this would be achieved by updating the dynamic context + * on the Server::Instance's LocalInfo context provider. The shard ID dynamic + * parameter then appears in this field during future discovery requests. + */ +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_Node_DynamicParameters *dynamicParameters; + /** List of extensions and their versions supported by the node. */ @property(nonatomic, strong, nullable) NSArray *extensions; @@ -676,9 +1394,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro * Known listening ports on the node as a generic hint to the management server * for filtering :ref:`listeners ` to be returned. For example, if there is a * listener bound to port 80, the list can optionally contain the SocketAddress - * `(0.0.0.0,80)`. The field is optional and just a hint. + * ``(0.0.0.0,80)``. The field is optional and just a hint. */ -@property(nonatomic, strong, nullable) NSArray *listeningAddresses; +@property(nonatomic, strong, nullable) NSArray *listeningAddresses GTLR_DEPRECATED; /** Locality specifying where the Envoy instance is running. */ @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_Locality *locality; @@ -707,6 +1425,24 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro @end +/** + * Map from xDS resource type URL to dynamic context parameters. These may vary + * at runtime (unlike other fields in this message). For example, the xDS + * client may have a shard identifier that changes during the lifetime of the + * xDS client. In Envoy, this would be achieved by updating the dynamic context + * on the Server::Instance's LocalInfo context provider. The shard ID dynamic + * parameter then appears in this field during future discovery requests. + * + * @note This class is documented as having more properties of + * GTLRTrafficDirectorService_ContextParams. 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 GTLRTrafficDirectorService_Node_DynamicParameters : GTLRObject +@end + + /** * Opaque metadata extending the node identifier. Envoy will pass this directly * to the management server. @@ -741,6 +1477,16 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro @end +/** + * Specifies a list of alternatives for the match. + */ +@interface GTLRTrafficDirectorService_OrMatcher : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *valueMatchers; + +@end + + /** * Specifies the segment in a path to retrieve value from Struct. */ @@ -753,22 +1499,49 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro /** - * Detailed config (per xDS) with status. [#next-free-field: 6] + * Detailed config (per xDS) with status. [#next-free-field: 8] */ @interface GTLRTrafficDirectorService_PerXdsConfig : GTLRObject +/** + * Client config status is populated by xDS clients. Will not be present if the + * CSDS server is an xDS server. No matter what the client config status is, + * xDS clients should always dump the most recent accepted xDS config. .. + * attention:: This field is deprecated. Use :ref:`ClientResourceStatus ` for + * per-resource config status instead. + * + * Likely values: + * @arg @c kGTLRTrafficDirectorService_PerXdsConfig_ClientStatus_ClientAcked + * Client received the config and replied with ACK. (Value: + * "CLIENT_ACKED") + * @arg @c kGTLRTrafficDirectorService_PerXdsConfig_ClientStatus_ClientNacked + * Client received the config and replied with NACK. Notably, the + * attached config dump is not the NACKed version, but the most recent + * accepted one. If no config is accepted yet, the attached config dump + * will be empty. (Value: "CLIENT_NACKED") + * @arg @c kGTLRTrafficDirectorService_PerXdsConfig_ClientStatus_ClientRequested + * Client requested the config but hasn't received any config from + * management server yet. (Value: "CLIENT_REQUESTED") + * @arg @c kGTLRTrafficDirectorService_PerXdsConfig_ClientStatus_ClientUnknown + * Config status is not available/unknown. (Value: "CLIENT_UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *clientStatus GTLR_DEPRECATED; + @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_ClustersConfigDump *clusterConfig; +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_EndpointsConfigDump *endpointConfig; @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_ListenersConfigDump *listenerConfig; @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_RoutesConfigDump *routeConfig; @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_ScopedRoutesConfigDump *scopedRouteConfig; /** - * status + * Config status generated by management servers. Will not be present if the + * CSDS server is an xDS client. * * Likely values: * @arg @c kGTLRTrafficDirectorService_PerXdsConfig_Status_Error Management - * server has sent the config to client but received NACK. (Value: - * "ERROR") + * server has sent the config to client but received NACK. The attached + * config dump will be the latest config (the rejected one), since it is + * the persisted version in the management server. (Value: "ERROR") * @arg @c kGTLRTrafficDirectorService_PerXdsConfig_Status_NotSent Config is * not sent. (Value: "NOT_SENT") * @arg @c kGTLRTrafficDirectorService_PerXdsConfig_Status_Stale Management @@ -814,11 +1587,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro @interface GTLRTrafficDirectorService_RegexMatcher : GTLRObject /** Google's RE2 regex engine. */ -@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_GoogleRE2 *googleRe2; +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_GoogleRE2 *googleRe2 GTLR_DEPRECATED; /** * The regex match string. The string must be supported by the configured - * engine. + * engine. The regex is matched against the full string, not as a partial + * match. */ @property(nonatomic, copy, nullable) NSString *regex; @@ -907,9 +1681,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro * :ref:`FilterChainMatch `.] When used within an upstream :ref:`BindConfig `, * the address controls the source address of outbound connections. For * :ref:`clusters `, the cluster type determines whether the address must be an - * IP (*STATIC* or *EDS* clusters) or a hostname resolved by DNS (*STRICT_DNS* - * or *LOGICAL_DNS* clusters). Address resolution can be customized via - * :ref:`resolver_name `. + * IP (``STATIC`` or ``EDS`` clusters) or a hostname resolved by DNS + * (``STRICT_DNS`` or ``LOGICAL_DNS`` clusters). Address resolution can be + * customized via :ref:`resolver_name `. */ @property(nonatomic, copy, nullable) NSString *address; @@ -949,7 +1723,7 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro * If this is empty, a context dependent default applies. If the address is a * concrete IP address, no resolution will occur. If address is a hostname this * should be set for resolution other than DNS. Specifying a custom resolver - * with *STRICT_DNS* or *LOGICAL_DNS* will generate an error at runtime. + * with ``STRICT_DNS`` or ``LOGICAL_DNS`` will generate an error at runtime. */ @property(nonatomic, copy, nullable) NSString *resolverName; @@ -982,6 +1756,34 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro @end +/** + * GTLRTrafficDirectorService_StaticEndpointConfig + */ +@interface GTLRTrafficDirectorService_StaticEndpointConfig : GTLRObject + +/** The endpoint config. */ +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_StaticEndpointConfig_EndpointConfig *endpointConfig; + +/** + * [#not-implemented-hide:] The timestamp when the Endpoint was last updated. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastUpdated; + +@end + + +/** + * The endpoint config. + * + * @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 GTLRTrafficDirectorService_StaticEndpointConfig_EndpointConfig : GTLRObject +@end + + /** * Describes a statically loaded listener. */ @@ -1035,21 +1837,28 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro /** - * Specifies the way to match a string. [#next-free-field: 7] + * Specifies the way to match a string. [#next-free-field: 8] */ @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`` + */ +@property(nonatomic, copy, nullable) NSString *contains; + /** * The input string must match exactly the string specified here. Examples: * - * *abc* only matches the value *abc*. + * ``abc`` only matches the value ``abc``. */ @property(nonatomic, copy, nullable) NSString *exact; /** - * If true, indicates the exact/prefix/suffix matching should be case + * 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. + * matcher ``data`` will match both input string ``Data`` and ``data`` if set + * to true. * * Uses NSNumber of boolValue. */ @@ -1057,28 +1866,18 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro /** * 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* + * not allowed, please use regex instead. Examples: * ``abc`` matches the value + * ``abc.xyz`` */ @property(nonatomic, copy, nullable) NSString *prefix; -/** - * The input string must match the regular expression specified here. The regex - * grammar is defined `here `_. Examples: * The regex ``\\d{3}`` matches the - * value *123* * The regex ``\\d{3}`` does not match the value *1234* * The - * regex ``\\d{3}`` does not match the value *123.456* .. attention:: This - * field has been deprecated in favor of `safe_regex` as it is not safe for use - * with untrusted input in all cases. - */ -@property(nonatomic, copy, nullable) NSString *regex GTLR_DEPRECATED; - /** The input string must match the regular expression specified here. */ @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* + * not allowed, please use regex instead. Examples: * ``abc`` matches the value + * ``xyz.abc`` */ @property(nonatomic, copy, nullable) NSString *suffix; @@ -1087,8 +1886,8 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro /** * StructMatcher provides a general interface to check if a given value is - * matched in google.protobuf.Struct. It uses `path` to retrieve the value from - * the struct and then check if it's matched to the specified value. For + * matched in google.protobuf.Struct. It uses ``path`` to retrieve the value + * from the struct and then check if it's matched to the specified value. For * example, for the following Struct: .. code-block:: yaml fields: a: * struct_value: fields: b: struct_value: fields: c: string_value: pro t: * list_value: values: - string_value: m - string_value: n The following @@ -1125,19 +1924,24 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro /** * What the component configuration would have been if the update had - * succeeded. + * succeeded. This field may not be populated by xDS clients due to storage + * overhead. */ @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_UpdateFailureState_FailedConfiguration *failedConfiguration; /** Time of the latest failed update attempt. */ @property(nonatomic, strong, nullable) GTLRDateTime *lastUpdateAttempt; +/** This is the version of the rejected resource. [#not-implemented-hide:] */ +@property(nonatomic, copy, nullable) NSString *versionInfo; + @end /** * What the component configuration would have been if the update had - * succeeded. + * succeeded. This field may not be populated by xDS clients due to storage + * overhead. * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to @@ -1151,7 +1955,7 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro /** * Specifies the way to match a ProtobufWkt::Value. Primitive values and * ListValue are supported. StructValue is not supported and is always not - * matched. [#next-free-field: 7] + * matched. [#next-free-field: 8] */ @interface GTLRTrafficDirectorService_ValueMatcher : GTLRObject @@ -1180,6 +1984,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro */ @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_NullMatch *nullMatch; +/** + * If specified, a match occurs if and only if any of the alternatives in the + * match accept the value. + */ +@property(nonatomic, strong, nullable) GTLRTrafficDirectorService_OrMatcher *orMatch; + /** * If specified, value match will be performed based on whether the path is * referring to a valid primitive value in the metadata. If the path is diff --git a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceQuery.h b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceQuery.h index 144eeca86..8c634d1ec 100644 --- a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceQuery.h +++ b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceQuery.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Traffic Director API (trafficdirector/v2) +// Traffic Director API (trafficdirector/v3) // Documentation: // https://cloud.google.com/traffic-director diff --git a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceService.h b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceService.h index 8b51bb224..d4caaa10f 100644 --- a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceService.h +++ b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceService.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Traffic Director API (trafficdirector/v2) +// Traffic Director API (trafficdirector/v3) // Documentation: // https://cloud.google.com/traffic-director diff --git a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m index fb2e423ff..edd61497d 100644 --- a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m +++ b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m @@ -28,6 +28,25 @@ NSString * const kGTLRVMwareEngine_Cluster_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRVMwareEngine_Cluster_State_Updating = @"UPDATING"; +// GTLRVMwareEngine_ExternalAccessRule.action +NSString * const kGTLRVMwareEngine_ExternalAccessRule_Action_ActionUnspecified = @"ACTION_UNSPECIFIED"; +NSString * const kGTLRVMwareEngine_ExternalAccessRule_Action_Allow = @"ALLOW"; +NSString * const kGTLRVMwareEngine_ExternalAccessRule_Action_Deny = @"DENY"; + +// GTLRVMwareEngine_ExternalAccessRule.state +NSString * const kGTLRVMwareEngine_ExternalAccessRule_State_Active = @"ACTIVE"; +NSString * const kGTLRVMwareEngine_ExternalAccessRule_State_Creating = @"CREATING"; +NSString * const kGTLRVMwareEngine_ExternalAccessRule_State_Deleting = @"DELETING"; +NSString * const kGTLRVMwareEngine_ExternalAccessRule_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRVMwareEngine_ExternalAccessRule_State_Updating = @"UPDATING"; + +// GTLRVMwareEngine_ExternalAddress.state +NSString * const kGTLRVMwareEngine_ExternalAddress_State_Active = @"ACTIVE"; +NSString * const kGTLRVMwareEngine_ExternalAddress_State_Creating = @"CREATING"; +NSString * const kGTLRVMwareEngine_ExternalAddress_State_Deleting = @"DELETING"; +NSString * const kGTLRVMwareEngine_ExternalAddress_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRVMwareEngine_ExternalAddress_State_Updating = @"UPDATING"; + // GTLRVMwareEngine_Hcx.state NSString * const kGTLRVMwareEngine_Hcx_State_Active = @"ACTIVE"; NSString * const kGTLRVMwareEngine_Hcx_State_Creating = @"CREATING"; @@ -39,6 +58,28 @@ NSString * const kGTLRVMwareEngine_HcxActivationKey_State_Creating = @"CREATING"; NSString * const kGTLRVMwareEngine_HcxActivationKey_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRVMwareEngine_LocationMetadata.capabilities +NSString * const kGTLRVMwareEngine_LocationMetadata_Capabilities_CapabilityUnspecified = @"CAPABILITY_UNSPECIFIED"; +NSString * const kGTLRVMwareEngine_LocationMetadata_Capabilities_StretchedClusters = @"STRETCHED_CLUSTERS"; + +// GTLRVMwareEngine_LoggingServer.protocol +NSString * const kGTLRVMwareEngine_LoggingServer_Protocol_ProtocolUnspecified = @"PROTOCOL_UNSPECIFIED"; +NSString * const kGTLRVMwareEngine_LoggingServer_Protocol_Tcp = @"TCP"; +NSString * const kGTLRVMwareEngine_LoggingServer_Protocol_Udp = @"UDP"; + +// GTLRVMwareEngine_LoggingServer.sourceType +NSString * const kGTLRVMwareEngine_LoggingServer_SourceType_Esxi = @"ESXI"; +NSString * const kGTLRVMwareEngine_LoggingServer_SourceType_SourceTypeUnspecified = @"SOURCE_TYPE_UNSPECIFIED"; +NSString * const kGTLRVMwareEngine_LoggingServer_SourceType_Vcsa = @"VCSA"; + +// GTLRVMwareEngine_ManagementDnsZoneBinding.state +NSString * const kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Active = @"ACTIVE"; +NSString * const kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Creating = @"CREATING"; +NSString * const kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Deleting = @"DELETING"; +NSString * const kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Failed = @"FAILED"; +NSString * const kGTLRVMwareEngine_ManagementDnsZoneBinding_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Updating = @"UPDATING"; + // GTLRVMwareEngine_Network.state NSString * const kGTLRVMwareEngine_Network_State_Active = @"ACTIVE"; NSString * const kGTLRVMwareEngine_Network_State_Creating = @"CREATING"; @@ -48,14 +89,42 @@ // GTLRVMwareEngine_Network.type NSString * const kGTLRVMwareEngine_Network_Type_Legacy = @"LEGACY"; +NSString * const kGTLRVMwareEngine_Network_Type_Standard = @"STANDARD"; NSString * const kGTLRVMwareEngine_Network_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRVMwareEngine_NetworkPeering.peerNetworkType +NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_DellPowerscale = @"DELL_POWERSCALE"; +NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_NetappCloudVolumes = @"NETAPP_CLOUD_VOLUMES"; +NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_PeerNetworkTypeUnspecified = @"PEER_NETWORK_TYPE_UNSPECIFIED"; +NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_PrivateServicesAccess = @"PRIVATE_SERVICES_ACCESS"; +NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_Standard = @"STANDARD"; +NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_ThirdPartyService = @"THIRD_PARTY_SERVICE"; +NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_VmwareEngineNetwork = @"VMWARE_ENGINE_NETWORK"; + +// GTLRVMwareEngine_NetworkPeering.state +NSString * const kGTLRVMwareEngine_NetworkPeering_State_Active = @"ACTIVE"; +NSString * const kGTLRVMwareEngine_NetworkPeering_State_Creating = @"CREATING"; +NSString * const kGTLRVMwareEngine_NetworkPeering_State_Deleting = @"DELETING"; +NSString * const kGTLRVMwareEngine_NetworkPeering_State_Inactive = @"INACTIVE"; +NSString * const kGTLRVMwareEngine_NetworkPeering_State_StateUnspecified = @"STATE_UNSPECIFIED"; + // GTLRVMwareEngine_NetworkService.state NSString * const kGTLRVMwareEngine_NetworkService_State_Active = @"ACTIVE"; NSString * const kGTLRVMwareEngine_NetworkService_State_Reconciling = @"RECONCILING"; NSString * const kGTLRVMwareEngine_NetworkService_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRVMwareEngine_NetworkService_State_Unprovisioned = @"UNPROVISIONED"; +// GTLRVMwareEngine_Node.state +NSString * const kGTLRVMwareEngine_Node_State_Active = @"ACTIVE"; +NSString * const kGTLRVMwareEngine_Node_State_Creating = @"CREATING"; +NSString * const kGTLRVMwareEngine_Node_State_Failed = @"FAILED"; +NSString * const kGTLRVMwareEngine_Node_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRVMwareEngine_Node_State_Upgrading = @"UPGRADING"; + +// GTLRVMwareEngine_NodeType.capabilities +NSString * const kGTLRVMwareEngine_NodeType_Capabilities_CapabilityUnspecified = @"CAPABILITY_UNSPECIFIED"; +NSString * const kGTLRVMwareEngine_NodeType_Capabilities_StretchedClusters = @"STRETCHED_CLUSTERS"; + // GTLRVMwareEngine_Nsx.state NSString * const kGTLRVMwareEngine_Nsx_State_Active = @"ACTIVE"; NSString * const kGTLRVMwareEngine_Nsx_State_Creating = @"CREATING"; @@ -83,6 +152,7 @@ // GTLRVMwareEngine_PrivateCloud.type NSString * const kGTLRVMwareEngine_PrivateCloud_Type_Standard = @"STANDARD"; +NSString * const kGTLRVMwareEngine_PrivateCloud_Type_Stretched = @"STRETCHED"; NSString * const kGTLRVMwareEngine_PrivateCloud_Type_TimeLimited = @"TIME_LIMITED"; // GTLRVMwareEngine_PrivateConnection.peeringState @@ -191,7 +261,8 @@ @implementation GTLRVMwareEngine_Binding // @implementation GTLRVMwareEngine_Cluster -@dynamic createTime, management, name, nodeTypeConfigs, state, uid, updateTime; +@dynamic createTime, management, name, nodeTypeConfigs, state, + stretchedClusterConfig, uid, updateTime; @end @@ -219,6 +290,42 @@ @implementation GTLRVMwareEngine_Credentials @end +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_DnsBindPermission +// + +@implementation GTLRVMwareEngine_DnsBindPermission +@dynamic name, principals; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"principals" : [GTLRVMwareEngine_Principal class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_DnsForwarding +// + +@implementation GTLRVMwareEngine_DnsForwarding +@dynamic createTime, forwardingRules, name, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"forwardingRules" : [GTLRVMwareEngine_ForwardingRule class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_Empty @@ -243,6 +350,99 @@ @implementation GTLRVMwareEngine_Expr @end +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_ExternalAccessRule +// + +@implementation GTLRVMwareEngine_ExternalAccessRule +@dynamic action, createTime, descriptionProperty, destinationIpRanges, + destinationPorts, ipProtocol, name, priority, sourceIpRanges, + sourcePorts, state, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"destinationIpRanges" : [GTLRVMwareEngine_IpRange class], + @"destinationPorts" : [NSString class], + @"sourceIpRanges" : [GTLRVMwareEngine_IpRange class], + @"sourcePorts" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_ExternalAddress +// + +@implementation GTLRVMwareEngine_ExternalAddress +@dynamic createTime, descriptionProperty, externalIp, internalIp, name, state, + uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_FetchNetworkPolicyExternalAddressesResponse +// + +@implementation GTLRVMwareEngine_FetchNetworkPolicyExternalAddressesResponse +@dynamic externalAddresses, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"externalAddresses" : [GTLRVMwareEngine_ExternalAddress class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"externalAddresses"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_ForwardingRule +// + +@implementation GTLRVMwareEngine_ForwardingRule +@dynamic domain, nameServers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"nameServers" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_GrantDnsBindPermissionRequest +// + +@implementation GTLRVMwareEngine_GrantDnsBindPermissionRequest +@dynamic principal, requestId; +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_Hcx @@ -263,6 +463,16 @@ @implementation GTLRVMwareEngine_HcxActivationKey @end +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_IpRange +// + +@implementation GTLRVMwareEngine_IpRange +@dynamic externalAddress, ipAddress, ipAddressRange; +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_ListClustersResponse @@ -286,6 +496,52 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_ListExternalAccessRulesResponse +// + +@implementation GTLRVMwareEngine_ListExternalAccessRulesResponse +@dynamic externalAccessRules, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"externalAccessRules" : [GTLRVMwareEngine_ExternalAccessRule class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"externalAccessRules"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_ListExternalAddressesResponse +// + +@implementation GTLRVMwareEngine_ListExternalAddressesResponse +@dynamic externalAddresses, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"externalAddresses" : [GTLRVMwareEngine_ExternalAddress class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"externalAddresses"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_ListHcxActivationKeysResponse @@ -331,6 +587,75 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_ListLoggingServersResponse +// + +@implementation GTLRVMwareEngine_ListLoggingServersResponse +@dynamic loggingServers, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"loggingServers" : [GTLRVMwareEngine_LoggingServer class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"loggingServers"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_ListManagementDnsZoneBindingsResponse +// + +@implementation GTLRVMwareEngine_ListManagementDnsZoneBindingsResponse +@dynamic managementDnsZoneBindings, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"managementDnsZoneBindings" : [GTLRVMwareEngine_ManagementDnsZoneBinding class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"managementDnsZoneBindings"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_ListNetworkPeeringsResponse +// + +@implementation GTLRVMwareEngine_ListNetworkPeeringsResponse +@dynamic networkPeerings, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"networkPeerings" : [GTLRVMwareEngine_NetworkPeering class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"networkPeerings"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_ListNetworkPoliciesResponse @@ -354,6 +679,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_ListNodesResponse +// + +@implementation GTLRVMwareEngine_ListNodesResponse +@dynamic nextPageToken, nodes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"nodes" : [GTLRVMwareEngine_Node class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"nodes"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_ListNodeTypesResponse @@ -399,6 +746,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_ListPeeringRoutesResponse +// + +@implementation GTLRVMwareEngine_ListPeeringRoutesResponse +@dynamic nextPageToken, peeringRoutes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"peeringRoutes" : [GTLRVMwareEngine_PeeringRoute class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"peeringRoutes"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_ListPrivateCloudsResponse @@ -551,13 +920,42 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_LocationMetadata +// + +@implementation GTLRVMwareEngine_LocationMetadata +@dynamic capabilities; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"capabilities" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_LoggingServer +// + +@implementation GTLRVMwareEngine_LoggingServer +@dynamic createTime, hostname, name, port, protocol, sourceType, uid, + updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_ManagementCluster // @implementation GTLRVMwareEngine_ManagementCluster -@dynamic clusterId, nodeTypeConfigs; +@dynamic clusterId, nodeTypeConfigs, stretchedClusterConfig; @end @@ -575,6 +973,22 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_ManagementDnsZoneBinding +// + +@implementation GTLRVMwareEngine_ManagementDnsZoneBinding +@dynamic createTime, descriptionProperty, name, state, uid, updateTime, + vmwareEngineNetwork, vpcNetwork; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_Network @@ -608,8 +1022,27 @@ @implementation GTLRVMwareEngine_Network // @implementation GTLRVMwareEngine_NetworkConfig -@dynamic managementCidr, managementIpAddressLayoutVersion, vmwareEngineNetwork, - vmwareEngineNetworkCanonical; +@dynamic dnsServerIp, managementCidr, managementIpAddressLayoutVersion, + vmwareEngineNetwork, vmwareEngineNetworkCanonical; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_NetworkPeering +// + +@implementation GTLRVMwareEngine_NetworkPeering +@dynamic createTime, descriptionProperty, exchangeSubnetRoutes, + exportCustomRoutes, exportCustomRoutesWithPublicIp, importCustomRoutes, + importCustomRoutesWithPublicIp, name, peerMtu, peerNetwork, + peerNetworkType, state, stateDetails, uid, updateTime, + vmwareEngineNetwork; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + @end @@ -640,18 +1073,29 @@ @implementation GTLRVMwareEngine_NetworkService @end +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_Node +// + +@implementation GTLRVMwareEngine_Node +@dynamic customCoreCount, fqdn, internalIp, name, nodeTypeId, state, version; +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_NodeType // @implementation GTLRVMwareEngine_NodeType -@dynamic availableCustomCoreCounts, diskSizeGb, displayName, memoryGb, name, - nodeTypeId, totalCoreCount, virtualCpuCount; +@dynamic availableCustomCoreCounts, capabilities, diskSizeGb, displayName, + memoryGb, name, nodeTypeId, totalCoreCount, virtualCpuCount; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"availableCustomCoreCounts" : [NSNumber class] + @"availableCustomCoreCounts" : [NSNumber class], + @"capabilities" : [NSString class] }; return map; } @@ -761,6 +1205,16 @@ @implementation GTLRVMwareEngine_Policy @end +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_Principal +// + +@implementation GTLRVMwareEngine_Principal +@dynamic serviceAccount, user; +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_PrivateCloud @@ -795,6 +1249,16 @@ @implementation GTLRVMwareEngine_PrivateConnection @end +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_RepairManagementDnsZoneBindingRequest +// + +@implementation GTLRVMwareEngine_RepairManagementDnsZoneBindingRequest +@dynamic requestId; +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_ResetNsxCredentialsRequest @@ -811,7 +1275,17 @@ @implementation GTLRVMwareEngine_ResetNsxCredentialsRequest // @implementation GTLRVMwareEngine_ResetVcenterCredentialsRequest -@dynamic requestId; +@dynamic requestId, username; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_RevokeDnsBindPermissionRequest +// + +@implementation GTLRVMwareEngine_RevokeDnsBindPermissionRequest +@dynamic principal, requestId; @end @@ -857,13 +1331,23 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_StretchedClusterConfig +// + +@implementation GTLRVMwareEngine_StretchedClusterConfig +@dynamic preferredLocation, secondaryLocation; +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_Subnet // @implementation GTLRVMwareEngine_Subnet -@dynamic gatewayIp, ipCidrRange, name, state, type; +@dynamic gatewayIp, ipCidrRange, name, state, type, vlanId; @end diff --git a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineQuery.m b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineQuery.m index 5189d6cf4..f10b30dae 100644 --- a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineQuery.m +++ b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineQuery.m @@ -36,30 +36,84 @@ + (instancetype)queryWithName:(NSString *)name { @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsList +@implementation GTLRVMwareEngineQuery_ProjectsLocationsGlobalDnsBindPermissionGrant -@dynamic filter, name, pageSize, pageToken; +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_GrantDnsBindPermissionRequest *)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}:grant"; + GTLRVMwareEngineQuery_ProjectsLocationsGlobalDnsBindPermissionGrant *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.global.dnsBindPermission.grant"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsGlobalDnsBindPermissionRevoke + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_RevokeDnsBindPermissionRequest *)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}:revoke"; + GTLRVMwareEngineQuery_ProjectsLocationsGlobalDnsBindPermissionRevoke *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.global.dnsBindPermission.revoke"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsGlobalGetDnsBindPermission + +@dynamic name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}/locations"; - GTLRVMwareEngineQuery_ProjectsLocationsList *query = + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsGlobalGetDnsBindPermission *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRVMwareEngine_ListLocationsResponse class]; - query.loggingName = @"vmwareengine.projects.locations.list"; + query.expectedObjectClass = [GTLRVMwareEngine_DnsBindPermission class]; + query.loggingName = @"vmwareengine.projects.locations.global.getDnsBindPermission"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesCreate +@implementation GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsCreate -@dynamic networkPolicyId, parent, requestId; +@dynamic networkPeeringId, parent, requestId; -+ (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPolicy *)object ++ (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPeering *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -68,82 +122,82 @@ + (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPolicy *)object return nil; } NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/networkPolicies"; - GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesCreate *query = + NSString *pathURITemplate = @"v1/{+parent}/networkPeerings"; + GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsCreate *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; - query.loggingName = @"vmwareengine.projects.locations.networkPolicies.create"; + query.loggingName = @"vmwareengine.projects.locations.global.networkPeerings.create"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesDelete +@implementation GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsDelete @dynamic name, requestId; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesDelete *query = + GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsDelete *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"DELETE" pathParameterNames:pathParams]; query.name = name; query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; - query.loggingName = @"vmwareengine.projects.locations.networkPolicies.delete"; + query.loggingName = @"vmwareengine.projects.locations.global.networkPeerings.delete"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesGet +@implementation GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsGet @dynamic name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesGet *query = + GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRVMwareEngine_NetworkPolicy class]; - query.loggingName = @"vmwareengine.projects.locations.networkPolicies.get"; + query.expectedObjectClass = [GTLRVMwareEngine_NetworkPeering class]; + query.loggingName = @"vmwareengine.projects.locations.global.networkPeerings.get"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesList +@implementation GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsList @dynamic filter, orderBy, pageSize, pageToken, parent; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/networkPolicies"; - GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesList *query = + NSString *pathURITemplate = @"v1/{+parent}/networkPeerings"; + GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.parent = parent; - query.expectedObjectClass = [GTLRVMwareEngine_ListNetworkPoliciesResponse class]; - query.loggingName = @"vmwareengine.projects.locations.networkPolicies.list"; + query.expectedObjectClass = [GTLRVMwareEngine_ListNetworkPeeringsResponse class]; + query.loggingName = @"vmwareengine.projects.locations.global.networkPeerings.list"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesPatch +@implementation GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsPatch @dynamic name, requestId, updateMask; -+ (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPolicy *)object ++ (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPeering *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -153,180 +207,884 @@ + (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPolicy *)object } NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesPatch *query = + GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsPatch *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"PATCH" pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; - query.loggingName = @"vmwareengine.projects.locations.networkPolicies.patch"; + query.loggingName = @"vmwareengine.projects.locations.global.networkPeerings.patch"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesGet +@implementation GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesList -@dynamic name; +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/peeringRoutes"; + GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRVMwareEngine_ListPeeringRoutesResponse class]; + query.loggingName = @"vmwareengine.projects.locations.global.networkPeerings.peeringRoutes.list"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsList + +@dynamic filter, name, pageSize, pageToken; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesGet *query = + NSString *pathURITemplate = @"v1/{+name}/locations"; + GTLRVMwareEngineQuery_ProjectsLocationsList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRVMwareEngine_NodeType class]; - query.loggingName = @"vmwareengine.projects.locations.nodeTypes.get"; + query.expectedObjectClass = [GTLRVMwareEngine_ListLocationsResponse class]; + query.loggingName = @"vmwareengine.projects.locations.list"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesList +@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesCreate -@dynamic filter, pageSize, pageToken, parent; +@dynamic networkPolicyId, parent, requestId; -+ (instancetype)queryWithParent:(NSString *)parent { ++ (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPolicy *)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}/nodeTypes"; - GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesList *query = + NSString *pathURITemplate = @"v1/{+parent}/networkPolicies"; + GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesCreate *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil + HTTPMethod:@"POST" pathParameterNames:pathParams]; + query.bodyObject = object; query.parent = parent; - query.expectedObjectClass = [GTLRVMwareEngine_ListNodeTypesResponse class]; - query.loggingName = @"vmwareengine.projects.locations.nodeTypes.list"; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.networkPolicies.create"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsOperationsDelete +@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesDelete -@dynamic name; +@dynamic name, requestId; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRVMwareEngineQuery_ProjectsLocationsOperationsDelete *query = + GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesDelete *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"DELETE" pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRVMwareEngine_Empty class]; - query.loggingName = @"vmwareengine.projects.locations.operations.delete"; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.networkPolicies.delete"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsOperationsGet +@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesCreate -@dynamic name; +@dynamic externalAccessRuleId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_ExternalAccessRule *)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}/externalAccessRules"; + GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.networkPolicies.externalAccessRules.create"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesDelete + +@dynamic name, requestId; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRVMwareEngineQuery_ProjectsLocationsOperationsGet *query = + GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesDelete *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil + HTTPMethod:@"DELETE" pathParameterNames:pathParams]; query.name = name; query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; - query.loggingName = @"vmwareengine.projects.locations.operations.get"; + query.loggingName = @"vmwareengine.projects.locations.networkPolicies.externalAccessRules.delete"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsOperationsList +@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesGet -@dynamic filter, name, pageSize, pageToken; +@dynamic name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}/operations"; - GTLRVMwareEngineQuery_ProjectsLocationsOperationsList *query = + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRVMwareEngine_ListOperationsResponse class]; - query.loggingName = @"vmwareengine.projects.locations.operations.list"; + query.expectedObjectClass = [GTLRVMwareEngine_ExternalAccessRule class]; + query.loggingName = @"vmwareengine.projects.locations.networkPolicies.externalAccessRules.get"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersCreate +@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesList -@dynamic clusterId, parent, requestId, validateOnly; +@dynamic filter, orderBy, pageSize, pageToken, parent; -+ (instancetype)queryWithObject:(GTLRVMwareEngine_Cluster *)object - parent:(NSString *)parent { ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/externalAccessRules"; + GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRVMwareEngine_ListExternalAccessRulesResponse class]; + query.loggingName = @"vmwareengine.projects.locations.networkPolicies.externalAccessRules.list"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_ExternalAccessRule *)object + name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG NSAssert(object != nil, @"Got a nil object"); #endif return nil; } - NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/clusters"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersCreate *query = + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesPatch *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" + HTTPMethod:@"PATCH" pathParameterNames:pathParams]; query.bodyObject = object; - query.parent = parent; + query.name = name; query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.create"; + query.loggingName = @"vmwareengine.projects.locations.networkPolicies.externalAccessRules.patch"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersDelete +@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesFetchExternalAddresses -@dynamic name, requestId; +@dynamic networkPolicy, pageSize, pageToken; + ++ (instancetype)queryWithNetworkPolicy:(NSString *)networkPolicy { + NSArray *pathParams = @[ @"networkPolicy" ]; + NSString *pathURITemplate = @"v1/{+networkPolicy}:fetchExternalAddresses"; + GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesFetchExternalAddresses *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.networkPolicy = networkPolicy; + query.expectedObjectClass = [GTLRVMwareEngine_FetchNetworkPolicyExternalAddressesResponse class]; + query.loggingName = @"vmwareengine.projects.locations.networkPolicies.fetchExternalAddresses"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesGet + +@dynamic name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersDelete *query = + GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"DELETE" + HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_NetworkPolicy class]; + query.loggingName = @"vmwareengine.projects.locations.networkPolicies.get"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/networkPolicies"; + GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRVMwareEngine_ListNetworkPoliciesResponse class]; + query.loggingName = @"vmwareengine.projects.locations.networkPolicies.list"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPolicy *)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}"; + GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.networkPolicies.patch"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_NodeType class]; + query.loggingName = @"vmwareengine.projects.locations.nodeTypes.get"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/nodeTypes"; + GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRVMwareEngine_ListNodeTypesResponse class]; + query.loggingName = @"vmwareengine.projects.locations.nodeTypes.list"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Empty class]; + query.loggingName = @"vmwareengine.projects.locations.operations.delete"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.operations.get"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRVMwareEngineQuery_ProjectsLocationsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_ListOperationsResponse class]; + query.loggingName = @"vmwareengine.projects.locations.operations.list"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersCreate + +@dynamic clusterId, parent, requestId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_Cluster *)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}/clusters"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.create"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersDelete + +@dynamic name, requestId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.delete"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Cluster class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.get"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRVMwareEngine_Policy class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/clusters"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRVMwareEngine_ListClustersResponse class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.list"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersNodesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersNodesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Node class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.nodes.get"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersNodesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/nodes"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersNodesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRVMwareEngine_ListNodesResponse class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.nodes.list"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersPatch + +@dynamic name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_Cluster *)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}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.patch"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_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"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRVMwareEngine_Policy class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_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"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRVMwareEngine_TestIamPermissionsResponse class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.testIamPermissions"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsCreate + +@dynamic parent, privateCloudId, requestId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_PrivateCloud *)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}/privateClouds"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.create"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsDelete + +@dynamic delayHours, force, name, requestId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.delete"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesCreate + +@dynamic externalAddressId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_ExternalAddress *)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}/externalAddresses"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.externalAddresses.create"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesDelete + +@dynamic name, requestId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.externalAddresses.delete"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_ExternalAddress class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.externalAddresses.get"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/externalAddresses"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRVMwareEngine_ListExternalAddressesResponse class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.externalAddresses.list"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_ExternalAddress *)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}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.externalAddresses.patch"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_PrivateCloud class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.get"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGetDnsForwarding + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGetDnsForwarding *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_DnsForwarding class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.getDnsForwarding"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRVMwareEngine_Policy class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysCreate + +@dynamic hcxActivationKeyId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_HcxActivationKey *)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}/hcxActivationKeys"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.delete"; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.hcxActivationKeys.create"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGet +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGet @dynamic name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGet *query = + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRVMwareEngine_Cluster class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.get"; + query.expectedObjectClass = [GTLRVMwareEngine_HcxActivationKey class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.hcxActivationKeys.get"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGetIamPolicy +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicy @dynamic optionsRequestedPolicyVersion, resource; @@ -337,65 +1095,38 @@ @implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGetI + (instancetype)queryWithResource:(NSString *)resource { NSArray *pathParams = @[ @"resource" ]; NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGetIamPolicy *query = + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicy *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.resource = resource; query.expectedObjectClass = [GTLRVMwareEngine_Policy class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.getIamPolicy"; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.hcxActivationKeys.getIamPolicy"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersList +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysList -@dynamic filter, orderBy, pageSize, pageToken, parent; +@dynamic pageSize, pageToken, parent; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/clusters"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersList *query = + NSString *pathURITemplate = @"v1/{+parent}/hcxActivationKeys"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.parent = parent; - query.expectedObjectClass = [GTLRVMwareEngine_ListClustersResponse class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.list"; - return query; -} - -@end - -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersPatch - -@dynamic name, requestId, updateMask, validateOnly; - -+ (instancetype)queryWithObject:(GTLRVMwareEngine_Cluster *)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}"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersPatch *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"PATCH" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.name = name; - query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.patch"; + query.expectedObjectClass = [GTLRVMwareEngine_ListHcxActivationKeysResponse class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.hcxActivationKeys.list"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersSetIamPolicy +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicy @dynamic resource; @@ -409,20 +1140,20 @@ + (instancetype)queryWithObject:(GTLRVMwareEngine_SetIamPolicyRequest *)object } NSArray *pathParams = @[ @"resource" ]; NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersSetIamPolicy *query = + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicy *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.resource = resource; query.expectedObjectClass = [GTLRVMwareEngine_Policy class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.setIamPolicy"; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.hcxActivationKeys.setIamPolicy"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersTestIamPermissions +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissions @dynamic resource; @@ -436,24 +1167,43 @@ + (instancetype)queryWithObject:(GTLRVMwareEngine_TestIamPermissionsRequest *)ob } NSArray *pathParams = @[ @"resource" ]; NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersTestIamPermissions *query = + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissions *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.resource = resource; query.expectedObjectClass = [GTLRVMwareEngine_TestIamPermissionsResponse class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.clusters.testIamPermissions"; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.hcxActivationKeys.testIamPermissions"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsCreate +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsList -@dynamic parent, privateCloudId, requestId, validateOnly; +@dynamic filter, orderBy, pageSize, pageToken, parent; -+ (instancetype)queryWithObject:(GTLRVMwareEngine_PrivateCloud *)object ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/privateClouds"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRVMwareEngine_ListPrivateCloudsResponse class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.list"; + return query; +} + +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersCreate + +@dynamic loggingServerId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_LoggingServer *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -462,86 +1212,109 @@ + (instancetype)queryWithObject:(GTLRVMwareEngine_PrivateCloud *)object return nil; } NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/privateClouds"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsCreate *query = + NSString *pathURITemplate = @"v1/{+parent}/loggingServers"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersCreate *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.create"; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.loggingServers.create"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsDelete +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersDelete -@dynamic delayHours, force, name, requestId; +@dynamic name, requestId; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsDelete *query = + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersDelete *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"DELETE" pathParameterNames:pathParams]; query.name = name; query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.delete"; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.loggingServers.delete"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGet +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersGet @dynamic name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGet *query = + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRVMwareEngine_PrivateCloud class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.get"; + query.expectedObjectClass = [GTLRVMwareEngine_LoggingServer class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.loggingServers.get"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGetIamPolicy +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersList -@dynamic optionsRequestedPolicyVersion, resource; +@dynamic filter, orderBy, pageSize, pageToken, parent; -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/loggingServers"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRVMwareEngine_ListLoggingServersResponse class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.loggingServers.list"; + return query; } -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGetIamPolicy *query = +@end + +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_LoggingServer *)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}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersPatch *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil + HTTPMethod:@"PATCH" pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRVMwareEngine_Policy class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.getIamPolicy"; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.loggingServers.patch"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysCreate +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreate -@dynamic hcxActivationKeyId, parent, requestId; +@dynamic managementDnsZoneBindingId, parent, requestId; -+ (instancetype)queryWithObject:(GTLRVMwareEngine_HcxActivationKey *)object ++ (instancetype)queryWithObject:(GTLRVMwareEngine_ManagementDnsZoneBinding *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -550,149 +1323,126 @@ + (instancetype)queryWithObject:(GTLRVMwareEngine_HcxActivationKey *)object return nil; } NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/hcxActivationKeys"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysCreate *query = + NSString *pathURITemplate = @"v1/{+parent}/managementDnsZoneBindings"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreate *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.hcxActivationKeys.create"; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.create"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGet +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDelete -@dynamic name; +@dynamic name, requestId; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGet *query = + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDelete *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil + HTTPMethod:@"DELETE" pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRVMwareEngine_HcxActivationKey class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.hcxActivationKeys.get"; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.delete"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicy - -@dynamic optionsRequestedPolicyVersion, resource; +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGet -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; -} +@dynamic name; -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicy *query = ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRVMwareEngine_Policy class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.hcxActivationKeys.getIamPolicy"; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_ManagementDnsZoneBinding class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.get"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysList +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsList -@dynamic pageSize, pageToken, parent; +@dynamic filter, orderBy, pageSize, pageToken, parent; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/hcxActivationKeys"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysList *query = + NSString *pathURITemplate = @"v1/{+parent}/managementDnsZoneBindings"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.parent = parent; - query.expectedObjectClass = [GTLRVMwareEngine_ListHcxActivationKeysResponse class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.hcxActivationKeys.list"; + query.expectedObjectClass = [GTLRVMwareEngine_ListManagementDnsZoneBindingsResponse class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.list"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicy +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatch -@dynamic resource; +@dynamic name, requestId, updateMask; -+ (instancetype)queryWithObject:(GTLRVMwareEngine_SetIamPolicyRequest *)object - resource:(NSString *)resource { ++ (instancetype)queryWithObject:(GTLRVMwareEngine_ManagementDnsZoneBinding *)object + name:(NSString *)name { 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"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicy *query = + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatch *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" + HTTPMethod:@"PATCH" pathParameterNames:pathParams]; query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRVMwareEngine_Policy class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.hcxActivationKeys.setIamPolicy"; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.patch"; return query; } @end -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissions +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepair -@dynamic resource; +@dynamic name; -+ (instancetype)queryWithObject:(GTLRVMwareEngine_TestIamPermissionsRequest *)object - resource:(NSString *)resource { ++ (instancetype)queryWithObject:(GTLRVMwareEngine_RepairManagementDnsZoneBindingRequest *)object + name:(NSString *)name { 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"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissions *query = + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:repair"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepair *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRVMwareEngine_TestIamPermissionsResponse class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.hcxActivationKeys.testIamPermissions"; - return query; -} - -@end - -@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsList - -@dynamic filter, orderBy, pageSize, pageToken, parent; - -+ (instancetype)queryWithParent:(NSString *)parent { - NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/privateClouds"; - GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.parent = parent; - query.expectedObjectClass = [GTLRVMwareEngine_ListPrivateCloudsResponse class]; - query.loggingName = @"vmwareengine.projects.locations.privateClouds.list"; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.repair"; return query; } @@ -827,7 +1577,7 @@ + (instancetype)queryWithPrivateCloud:(NSString *)privateCloud { @implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsShowVcenterCredentials -@dynamic privateCloud; +@dynamic privateCloud, username; + (instancetype)queryWithPrivateCloud:(NSString *)privateCloud { NSArray *pathParams = @[ @"privateCloud" ]; @@ -963,6 +1713,33 @@ + (instancetype)queryWithObject:(GTLRVMwareEngine_UndeletePrivateCloudRequest *) @end +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsUpdateDnsForwarding + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_DnsForwarding *)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}"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsUpdateDnsForwarding *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.updateDnsForwarding"; + return query; +} + +@end + @implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateConnectionsCreate @dynamic parent, privateConnectionId, requestId; diff --git a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h index 54f1894ef..8435fe741 100644 --- a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h +++ b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h @@ -21,17 +21,25 @@ @class GTLRVMwareEngine_Cluster; @class GTLRVMwareEngine_Cluster_NodeTypeConfigs; @class GTLRVMwareEngine_Expr; +@class GTLRVMwareEngine_ExternalAccessRule; +@class GTLRVMwareEngine_ExternalAddress; +@class GTLRVMwareEngine_ForwardingRule; @class GTLRVMwareEngine_Hcx; @class GTLRVMwareEngine_HcxActivationKey; +@class GTLRVMwareEngine_IpRange; @class GTLRVMwareEngine_Location; @class GTLRVMwareEngine_Location_Labels; @class GTLRVMwareEngine_Location_Metadata; +@class GTLRVMwareEngine_LoggingServer; @class GTLRVMwareEngine_ManagementCluster; @class GTLRVMwareEngine_ManagementCluster_NodeTypeConfigs; +@class GTLRVMwareEngine_ManagementDnsZoneBinding; @class GTLRVMwareEngine_Network; @class GTLRVMwareEngine_NetworkConfig; +@class GTLRVMwareEngine_NetworkPeering; @class GTLRVMwareEngine_NetworkPolicy; @class GTLRVMwareEngine_NetworkService; +@class GTLRVMwareEngine_Node; @class GTLRVMwareEngine_NodeType; @class GTLRVMwareEngine_NodeTypeConfig; @class GTLRVMwareEngine_Nsx; @@ -40,10 +48,12 @@ @class GTLRVMwareEngine_Operation_Response; @class GTLRVMwareEngine_PeeringRoute; @class GTLRVMwareEngine_Policy; +@class GTLRVMwareEngine_Principal; @class GTLRVMwareEngine_PrivateCloud; @class GTLRVMwareEngine_PrivateConnection; @class GTLRVMwareEngine_Status; @class GTLRVMwareEngine_Status_Details_Item; +@class GTLRVMwareEngine_StretchedClusterConfig; @class GTLRVMwareEngine_Subnet; @class GTLRVMwareEngine_Vcenter; @class GTLRVMwareEngine_VpcNetwork; @@ -128,6 +138,96 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_Cluster_State_StateUnspecif */ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_Cluster_State_Updating; +// ---------------------------------------------------------------------------- +// GTLRVMwareEngine_ExternalAccessRule.action + +/** + * Defaults to allow. + * + * Value: "ACTION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ExternalAccessRule_Action_ActionUnspecified; +/** + * Allows connections that match the other specified components. + * + * Value: "ALLOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ExternalAccessRule_Action_Allow; +/** + * Blocks connections that match the other specified components. + * + * Value: "DENY" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ExternalAccessRule_Action_Deny; + +// ---------------------------------------------------------------------------- +// GTLRVMwareEngine_ExternalAccessRule.state + +/** + * The rule is ready. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ExternalAccessRule_State_Active; +/** + * The rule is being created. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ExternalAccessRule_State_Creating; +/** + * The rule is being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ExternalAccessRule_State_Deleting; +/** + * The default value. This value is used if the state is omitted. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ExternalAccessRule_State_StateUnspecified; +/** + * The rule is being updated. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ExternalAccessRule_State_Updating; + +// ---------------------------------------------------------------------------- +// GTLRVMwareEngine_ExternalAddress.state + +/** + * The address is ready. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ExternalAddress_State_Active; +/** + * The address is being created. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ExternalAddress_State_Creating; +/** + * The address is being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ExternalAddress_State_Deleting; +/** + * The default value. This value should never be used. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ExternalAddress_State_StateUnspecified; +/** + * The address is being updated. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ExternalAddress_State_Updating; + // ---------------------------------------------------------------------------- // GTLRVMwareEngine_Hcx.state @@ -178,6 +278,107 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_HcxActivationKey_State_Crea */ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_HcxActivationKey_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRVMwareEngine_LocationMetadata.capabilities + +/** + * The default value. This value is used if the capability is omitted or + * unknown. + * + * Value: "CAPABILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_LocationMetadata_Capabilities_CapabilityUnspecified; +/** + * Stretch clusters are supported in this location. + * + * Value: "STRETCHED_CLUSTERS" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_LocationMetadata_Capabilities_StretchedClusters; + +// ---------------------------------------------------------------------------- +// GTLRVMwareEngine_LoggingServer.protocol + +/** + * Unspecified communications protocol. This is the default value. + * + * Value: "PROTOCOL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_LoggingServer_Protocol_ProtocolUnspecified; +/** + * TCP + * + * Value: "TCP" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_LoggingServer_Protocol_Tcp; +/** + * UDP + * + * Value: "UDP" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_LoggingServer_Protocol_Udp; + +// ---------------------------------------------------------------------------- +// GTLRVMwareEngine_LoggingServer.sourceType + +/** + * Logs produced by ESXI hosts + * + * Value: "ESXI" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_LoggingServer_SourceType_Esxi; +/** + * The default value. This value should never be used. + * + * Value: "SOURCE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_LoggingServer_SourceType_SourceTypeUnspecified; +/** + * Logs produced by vCenter server + * + * Value: "VCSA" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_LoggingServer_SourceType_Vcsa; + +// ---------------------------------------------------------------------------- +// GTLRVMwareEngine_ManagementDnsZoneBinding.state + +/** + * The binding is ready. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Active; +/** + * The binding is being created. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Creating; +/** + * The binding is being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Deleting; +/** + * The binding has failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Failed; +/** + * The default value. This value should never be used. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ManagementDnsZoneBinding_State_StateUnspecified; +/** + * The binding is being updated. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Updating; + // ---------------------------------------------------------------------------- // GTLRVMwareEngine_Network.state @@ -223,6 +424,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_Network_State_Updating; * Value: "LEGACY" */ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_Network_Type_Legacy; +/** + * Standard network type used for private cloud connectivity. + * + * Value: "STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_Network_Type_Standard; /** * The default value. This value should never be used. * @@ -230,6 +437,91 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_Network_Type_Legacy; */ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_Network_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRVMwareEngine_NetworkPeering.peerNetworkType + +/** + * Peering connection used for connecting to Dell PowerScale Filers + * + * Value: "DELL_POWERSCALE" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_DellPowerscale; +/** + * Peering connection used for connecting to NetApp Cloud Volumes. + * + * Value: "NETAPP_CLOUD_VOLUMES" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_NetappCloudVolumes; +/** + * Unspecified + * + * Value: "PEER_NETWORK_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_PeerNetworkTypeUnspecified; +/** + * Peering connection used for establishing [private services + * access](https://cloud.google.com/vpc/docs/private-services-access). + * + * Value: "PRIVATE_SERVICES_ACCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_PrivateServicesAccess; +/** + * Peering connection used for connecting to another VPC network established by + * the same user. For example, a peering connection to another VPC network in + * the same project or to an on-premises network. + * + * Value: "STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_Standard; +/** + * Peering connection used for connecting to third-party services. Most + * third-party services require manual setup of reverse peering on the VPC + * network associated with the third-party service. + * + * Value: "THIRD_PARTY_SERVICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_ThirdPartyService; +/** + * Peering connection used for connecting to another VMware Engine network. + * + * Value: "VMWARE_ENGINE_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_VmwareEngineNetwork; + +// ---------------------------------------------------------------------------- +// GTLRVMwareEngine_NetworkPeering.state + +/** + * The peering is active. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_State_Active; +/** + * The peering is being created. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_State_Creating; +/** + * The peering is being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_State_Deleting; +/** + * The peering is not active. + * + * Value: "INACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_State_Inactive; +/** + * Unspecified network peering state. This is the default value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_State_StateUnspecified; + // ---------------------------------------------------------------------------- // GTLRVMwareEngine_NetworkService.state @@ -258,6 +550,57 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkService_State_StateU */ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkService_State_Unprovisioned; +// ---------------------------------------------------------------------------- +// GTLRVMwareEngine_Node.state + +/** + * Node is operational and can be used by the user. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_Node_State_Active; +/** + * Node is being provisioned. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_Node_State_Creating; +/** + * Node is in a failed state. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_Node_State_Failed; +/** + * The default value. This value should never be used. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_Node_State_StateUnspecified; +/** + * Node is undergoing maintenance, e.g.: during private cloud upgrade. + * + * Value: "UPGRADING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_Node_State_Upgrading; + +// ---------------------------------------------------------------------------- +// GTLRVMwareEngine_NodeType.capabilities + +/** + * The default value. This value is used if the capability is omitted or + * unknown. + * + * Value: "CAPABILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NodeType_Capabilities_CapabilityUnspecified; +/** + * This node type supports stretch clusters. + * + * Value: "STRETCHED_CLUSTERS" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NodeType_Capabilities_StretchedClusters; + // ---------------------------------------------------------------------------- // GTLRVMwareEngine_Nsx.state @@ -388,6 +731,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_PrivateCloud_State_Updating * Value: "STANDARD" */ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_PrivateCloud_Type_Standard; +/** + * Stretched private cloud is a regional resource with redundancy, with a + * minimum of 6 nodes, nodes count has to be even. + * + * Value: "STRETCHED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_PrivateCloud_Type_Stretched; /** * Time limited private cloud is a zonal resource, can have only 1 node and has * limited life span. Will be deleted after defined period of time, can be @@ -805,6 +1155,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci */ @property(nonatomic, copy, nullable) NSString *state; +/** + * Optional. Configuration of a stretched cluster. Required for clusters that + * belong to a STRETCHED private cloud. + */ +@property(nonatomic, strong, nullable) GTLRVMwareEngine_StretchedClusterConfig *stretchedClusterConfig; + /** Output only. System-generated unique identifier for the resource. */ @property(nonatomic, copy, nullable) NSString *uid; @@ -841,6 +1197,58 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci @end +/** + * DnsBindPermission resource that contains the accounts having the consumer + * DNS bind permission on the corresponding intranet VPC of the consumer + * project. + */ +@interface GTLRVMwareEngine_DnsBindPermission : GTLRObject + +/** + * Required. Output only. The name of the resource which stores the + * users/service accounts having the permission to bind to the corresponding + * intranet VPC of the consumer project. DnsBindPermission is a global + * resource. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/global/dnsBindPermission` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. Users/Service accounts which have access for binding on the + * intranet VPC project corresponding to the consumer project. + */ +@property(nonatomic, strong, nullable) NSArray *principals; + +@end + + +/** + * DNS forwarding config. This config defines a list of domain to name server + * mappings, and is attached to the private cloud for custom domain resolution. + */ +@interface GTLRVMwareEngine_DnsForwarding : GTLRObject + +/** Output only. Creation time of this resource. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Required. List of domain mappings to configure */ +@property(nonatomic, strong, nullable) NSArray *forwardingRules; + +/** + * Output only. The resource name of this DNS profile. Resource names are + * schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Last update time of this resource. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * A generic empty message that you can re-use to avoid defining duplicated * empty messages in your APIs. A typical example is to use it as the request @@ -901,14 +1309,267 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci /** - * Details about a HCX Cloud Manager appliance. + * External access firewall rules for filtering incoming traffic destined to + * `ExternalAddress` resources. */ -@interface GTLRVMwareEngine_Hcx : GTLRObject +@interface GTLRVMwareEngine_ExternalAccessRule : GTLRObject -/** Fully qualified domain name of the appliance. */ -@property(nonatomic, copy, nullable) NSString *fqdn; - -/** Internal IP address of the appliance. */ +/** + * The action that the external access rule performs. + * + * Likely values: + * @arg @c kGTLRVMwareEngine_ExternalAccessRule_Action_ActionUnspecified + * Defaults to allow. (Value: "ACTION_UNSPECIFIED") + * @arg @c kGTLRVMwareEngine_ExternalAccessRule_Action_Allow Allows + * connections that match the other specified components. (Value: + * "ALLOW") + * @arg @c kGTLRVMwareEngine_ExternalAccessRule_Action_Deny Blocks + * connections that match the other specified components. (Value: "DENY") + */ +@property(nonatomic, copy, nullable) NSString *action; + +/** Output only. Creation time of this resource. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * User-provided description for this external access rule. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * If destination ranges are specified, the external access rule applies only + * to the traffic that has a destination IP address in these ranges. The + * specified IP addresses must have reserved external IP addresses in the scope + * of the parent network policy. To match all external IP addresses in the + * scope of the parent network policy, specify `0.0.0.0/0`. To match a specific + * external IP address, specify it using the `IpRange.external_address` + * property. + */ +@property(nonatomic, strong, nullable) NSArray *destinationIpRanges; + +/** + * A list of destination ports to which the external access rule applies. This + * field is only applicable for the UDP or TCP protocol. Each entry must be + * either an integer or a range. For example: `["22"]`, `["80","443"]`, or + * `["12345-12349"]`. To match all destination ports, specify `["0-65535"]`. + */ +@property(nonatomic, strong, nullable) NSArray *destinationPorts; + +/** + * The IP protocol to which the external access rule applies. This value can be + * one of the following three protocol strings (not case-sensitive): `tcp`, + * `udp`, or `icmp`. + */ +@property(nonatomic, copy, nullable) NSString *ipProtocol; + +/** + * Output only. The resource name of this external access rule. Resource names + * are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * External access rule priority, which determines the external access rule to + * use when multiple rules apply. If multiple rules have the same priority, + * their ordering is non-deterministic. If specific ordering is required, + * assign unique priorities to enforce such ordering. The external access rule + * priority is an integer from 100 to 4096, both inclusive. Lower integers + * indicate higher precedence. For example, a rule with priority `100` has + * higher precedence than a rule with priority `101`. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *priority; + +/** + * If source ranges are specified, the external access rule applies only to + * traffic that has a source IP address in these ranges. These ranges can + * either be expressed in the CIDR format or as an IP address. As only inbound + * rules are supported, `ExternalAddress` resources cannot be the source IP + * addresses of an external access rule. To match all source addresses, specify + * `0.0.0.0/0`. + */ +@property(nonatomic, strong, nullable) NSArray *sourceIpRanges; + +/** + * A list of source ports to which the external access rule applies. This field + * is only applicable for the UDP or TCP protocol. Each entry must be either an + * integer or a range. For example: `["22"]`, `["80","443"]`, or + * `["12345-12349"]`. To match all source ports, specify `["0-65535"]`. + */ +@property(nonatomic, strong, nullable) NSArray *sourcePorts; + +/** + * Output only. The state of the resource. + * + * Likely values: + * @arg @c kGTLRVMwareEngine_ExternalAccessRule_State_Active The rule is + * ready. (Value: "ACTIVE") + * @arg @c kGTLRVMwareEngine_ExternalAccessRule_State_Creating The rule is + * being created. (Value: "CREATING") + * @arg @c kGTLRVMwareEngine_ExternalAccessRule_State_Deleting The rule is + * being deleted. (Value: "DELETING") + * @arg @c kGTLRVMwareEngine_ExternalAccessRule_State_StateUnspecified The + * default value. This value is used if the state is omitted. (Value: + * "STATE_UNSPECIFIED") + * @arg @c kGTLRVMwareEngine_ExternalAccessRule_State_Updating The rule is + * being updated. (Value: "UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. System-generated unique identifier for the resource. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Last update time of this resource. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Represents an allocated external IP address and its corresponding internal + * IP address in a private cloud. + */ +@interface GTLRVMwareEngine_ExternalAddress : GTLRObject + +/** Output only. Creation time of this resource. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * User-provided description for this resource. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Output only. The external IP address of a workload VM. */ +@property(nonatomic, copy, nullable) NSString *externalIp; + +/** The internal IP address of a workload VM. */ +@property(nonatomic, copy, nullable) NSString *internalIp; + +/** + * Output only. The resource name of this external IP address. Resource names + * are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The state of the resource. + * + * Likely values: + * @arg @c kGTLRVMwareEngine_ExternalAddress_State_Active The address is + * ready. (Value: "ACTIVE") + * @arg @c kGTLRVMwareEngine_ExternalAddress_State_Creating The address is + * being created. (Value: "CREATING") + * @arg @c kGTLRVMwareEngine_ExternalAddress_State_Deleting The address is + * being deleted. (Value: "DELETING") + * @arg @c kGTLRVMwareEngine_ExternalAddress_State_StateUnspecified The + * default value. This value should never be used. (Value: + * "STATE_UNSPECIFIED") + * @arg @c kGTLRVMwareEngine_ExternalAddress_State_Updating The address is + * being updated. (Value: "UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. System-generated unique identifier for the resource. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Last update time of this resource. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response message for VmwareEngine.FetchNetworkPolicyExternalAddresses + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "externalAddresses" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRVMwareEngine_FetchNetworkPolicyExternalAddressesResponse : GTLRCollectionObject + +/** + * A list of external IP addresses assigned to VMware workload VMs within the + * scope of the given network policy. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *externalAddresses; + +/** + * 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 + + +/** + * A forwarding rule is a mapping of a `domain` to `name_servers`. This mapping + * allows VMware Engine to resolve domains for attached private clouds by + * forwarding DNS requests for a given domain to the specified nameservers. + */ +@interface GTLRVMwareEngine_ForwardingRule : GTLRObject + +/** Required. Domain used to resolve a `name_servers` list. */ +@property(nonatomic, copy, nullable) NSString *domain; + +/** Required. List of DNS servers to use for domain resolution */ +@property(nonatomic, strong, nullable) NSArray *nameServers; + +@end + + +/** + * Request message for VmwareEngine.GrantDnsBindPermission + */ +@interface GTLRVMwareEngine_GrantDnsBindPermissionRequest : GTLRObject + +/** + * Required. The consumer provided user/service account which needs to be + * granted permission to bind with the intranet VPC corresponding to the + * consumer project. + */ +@property(nonatomic, strong, nullable) GTLRVMwareEngine_Principal *principal; + +/** + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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; + +@end + + +/** + * Details about a HCX Cloud Manager appliance. + */ +@interface GTLRVMwareEngine_Hcx : GTLRObject + +/** Fully qualified domain name of the appliance. */ +@property(nonatomic, copy, nullable) NSString *fqdn; + +/** Internal IP address of the appliance. */ @property(nonatomic, copy, nullable) NSString *internalIp; /** @@ -973,6 +1634,30 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci @end +/** + * An IP range provided in any one of the supported formats. + */ +@interface GTLRVMwareEngine_IpRange : GTLRObject + +/** + * The name of an `ExternalAddress` resource. The external address must have + * been reserved in the scope of this external access rule's parent network + * policy. Provide the external address name in the form of + * `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`. + * For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`. + */ +@property(nonatomic, copy, nullable) NSString *externalAddress; + +/** A single IP address. For example: `10.0.0.5`. */ +@property(nonatomic, copy, nullable) NSString *ipAddress; + +/** An IP address range in the CIDR format. For example: `10.0.0.0/24`. */ +@property(nonatomic, copy, nullable) NSString *ipAddressRange; + +@end + + /** * Response message for VmwareEngine.ListClusters * @@ -1006,6 +1691,72 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci @end +/** + * Response message for VmwareEngine.ListExternalAccessRules + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "externalAccessRules" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRVMwareEngine_ListExternalAccessRulesResponse : GTLRCollectionObject + +/** + * A list of external access firewall rules. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *externalAccessRules; + +/** + * 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; + +/** + * Locations that could not be reached when making an aggregated query using + * wildcards. + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * Response message for VmwareEngine.ListExternalAddresses + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "externalAddresses" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRVMwareEngine_ListExternalAddressesResponse : GTLRCollectionObject + +/** + * A list of external IP addresses. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *externalAddresses; + +/** + * 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; + +/** + * Locations that could not be reached when making an aggregated query using + * wildcards. + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * Response message for VmwareEngine.ListHcxActivationKeys * @@ -1063,6 +1814,102 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci @end +/** + * Response message for VmwareEngine.ListLoggingServers + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "loggingServers" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRVMwareEngine_ListLoggingServersResponse : GTLRCollectionObject + +/** + * A list of Logging Servers. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *loggingServers; + +/** + * A token, which can be send as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * Locations that could not be reached when making an aggregated query using + * wildcards. + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * Response message for VmwareEngine.ListManagementDnsZoneBindings + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "managementDnsZoneBindings" property. If returned as the result of + * a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRVMwareEngine_ListManagementDnsZoneBindingsResponse : GTLRCollectionObject + +/** + * A list of management DNS zone bindings. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *managementDnsZoneBindings; + +/** + * 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; + +/** + * Locations that could not be reached when making an aggregated query using + * wildcards. + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * Response message for VmwareEngine.ListNetworkPeerings + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "networkPeerings" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRVMwareEngine_ListNetworkPeeringsResponse : GTLRCollectionObject + +/** + * A list of network peerings. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *networkPeerings; + +/** + * 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; + +/** Unreachable resources. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * Response message for VmwareEngine.ListNetworkPolicies * @@ -1096,6 +1943,33 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci @end +/** + * Response message for VmwareEngine.ListNodes + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "nodes" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRVMwareEngine_ListNodesResponse : 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 nodes. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *nodes; + +@end + + /** * Response message for VmwareEngine.ListNodeTypes * @@ -1153,6 +2027,33 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci @end +/** + * Response message for VmwareEngine.ListPeeringRoutes + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "peeringRoutes" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRVMwareEngine_ListPeeringRoutesResponse : 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; + +/** + * A list of peering routes. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *peeringRoutes; + +@end + + /** * Response message for VmwareEngine.ListPrivateClouds * @@ -1354,16 +2255,94 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci @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 GTLRVMwareEngine_Location_Metadata : GTLRObject +/** + * 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 GTLRVMwareEngine_Location_Metadata : GTLRObject +@end + + +/** + * VmwareEngine specific metadata for the given google.cloud.location.Location. + * It is returned as a content of the `google.cloud.location.Location.metadata` + * field. + */ +@interface GTLRVMwareEngine_LocationMetadata : GTLRObject + +/** Output only. Capabilities of this location. */ +@property(nonatomic, strong, nullable) NSArray *capabilities; + +@end + + +/** + * Logging server to receive vCenter or ESXi logs. + */ +@interface GTLRVMwareEngine_LoggingServer : GTLRObject + +/** Output only. Creation time of this resource. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Required. Fully-qualified domain name (FQDN) or IP Address of the logging + * server. + */ +@property(nonatomic, copy, nullable) NSString *hostname; + +/** + * Output only. The resource name of this logging server. Resource names are + * schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Port number at which the logging server receives logs. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *port; + +/** + * Required. Protocol used by vCenter to send logs to a logging server. + * + * Likely values: + * @arg @c kGTLRVMwareEngine_LoggingServer_Protocol_ProtocolUnspecified + * Unspecified communications protocol. This is the default value. + * (Value: "PROTOCOL_UNSPECIFIED") + * @arg @c kGTLRVMwareEngine_LoggingServer_Protocol_Tcp TCP (Value: "TCP") + * @arg @c kGTLRVMwareEngine_LoggingServer_Protocol_Udp UDP (Value: "UDP") + */ +@property(nonatomic, copy, nullable) NSString *protocol; + +/** + * Required. The type of component that produces logs that will be forwarded to + * this logging server. + * + * Likely values: + * @arg @c kGTLRVMwareEngine_LoggingServer_SourceType_Esxi Logs produced by + * ESXI hosts (Value: "ESXI") + * @arg @c kGTLRVMwareEngine_LoggingServer_SourceType_SourceTypeUnspecified + * The default value. This value should never be used. (Value: + * "SOURCE_TYPE_UNSPECIFIED") + * @arg @c kGTLRVMwareEngine_LoggingServer_SourceType_Vcsa Logs produced by + * vCenter server (Value: "VCSA") + */ +@property(nonatomic, copy, nullable) NSString *sourceType; + +/** Output only. System-generated unique identifier for the resource. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Last update time of this resource. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + @end @@ -1387,6 +2366,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci */ @property(nonatomic, strong, nullable) GTLRVMwareEngine_ManagementCluster_NodeTypeConfigs *nodeTypeConfigs; +/** + * Optional. Configuration of a stretched cluster. Required for STRETCHED + * private clouds. + */ +@property(nonatomic, strong, nullable) GTLRVMwareEngine_StretchedClusterConfig *stretchedClusterConfig; + @end @@ -1403,6 +2388,78 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci @end +/** + * Represents a binding between a network and the management DNS zone. A + * management DNS zone is the Cloud DNS cross-project binding zone that VMware + * Engine creates for each private cloud. It contains FQDNs and corresponding + * IP addresses for the private cloud's ESXi hosts and management VM appliances + * like vCenter and NSX Manager. + */ +@interface GTLRVMwareEngine_ManagementDnsZoneBinding : GTLRObject + +/** Output only. Creation time of this resource. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * User-provided description for this resource. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Output only. The resource name of this binding. Resource names are + * schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The state of the resource. + * + * Likely values: + * @arg @c kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Active The + * binding is ready. (Value: "ACTIVE") + * @arg @c kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Creating The + * binding is being created. (Value: "CREATING") + * @arg @c kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Deleting The + * binding is being deleted. (Value: "DELETING") + * @arg @c kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Failed The + * binding has failed. (Value: "FAILED") + * @arg @c kGTLRVMwareEngine_ManagementDnsZoneBinding_State_StateUnspecified + * The default value. This value should never be used. (Value: + * "STATE_UNSPECIFIED") + * @arg @c kGTLRVMwareEngine_ManagementDnsZoneBinding_State_Updating The + * binding is being updated. (Value: "UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. System-generated unique identifier for the resource. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Last update time of this resource. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Network to bind is a VMware Engine network. Specify the name in the + * following form for VMware engine network: + * `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. + * `{project}` can either be a project number or a project ID. + */ +@property(nonatomic, copy, nullable) NSString *vmwareEngineNetwork; + +/** + * Network to bind is a standard consumer VPC. Specify the name in the + * following form for consumer VPC network: + * `projects/{project}/global/networks/{network_id}`. `{project}` can either be + * a project number or a project ID. + */ +@property(nonatomic, copy, nullable) NSString *vpcNetwork; + +@end + + /** * VMware Engine network resource that provides connectivity for VMware Engine * private clouds. @@ -1460,6 +2517,8 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci * clouds created in projects without a network of type `STANDARD`. This * network type is no longer used for new VMware Engine private cloud * deployments. (Value: "LEGACY") + * @arg @c kGTLRVMwareEngine_Network_Type_Standard Standard network type used + * for private cloud connectivity. (Value: "STANDARD") * @arg @c kGTLRVMwareEngine_Network_Type_TypeUnspecified The default value. * This value should never be used. (Value: "TYPE_UNSPECIFIED") */ @@ -1487,6 +2546,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci */ @interface GTLRVMwareEngine_NetworkConfig : GTLRObject +/** + * Output only. DNS Server IP of the Private Cloud. All DNS queries can be + * forwarded to this address for name resolution of Private Cloud's management + * entities like vCenter, NSX-T Manager and ESXi hosts. + */ +@property(nonatomic, copy, nullable) NSString *dnsServerIp; + /** Required. Management CIDR used by VMware management appliances. */ @property(nonatomic, copy, nullable) NSString *managementCidr; @@ -1520,6 +2586,172 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci @end +/** + * Details of a network peering. + */ +@interface GTLRVMwareEngine_NetworkPeering : GTLRObject + +/** Output only. Creation time of this resource. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. User-provided description for this network peering. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. True if full mesh connectivity is created and managed + * automatically between peered networks; false otherwise. Currently this field + * is always true because Google Compute Engine automatically creates and + * manages subnetwork routes between two VPC networks when peering state is + * 'ACTIVE'. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exchangeSubnetRoutes; + +/** + * Optional. True if custom routes are exported to the peered network; false + * otherwise. The default value is true. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exportCustomRoutes; + +/** + * Optional. True if all subnet routes with a public IP address range are + * exported; false otherwise. The default value is true. IPv4 special-use + * ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always + * exported to peers and are not controlled by this field. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exportCustomRoutesWithPublicIp; + +/** + * Optional. True if custom routes are imported from the peered network; false + * otherwise. The default value is true. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *importCustomRoutes; + +/** + * Optional. True if all subnet routes with public IP address range are + * imported; false otherwise. The default value is true. IPv4 special-use + * ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always + * imported to peers and are not controlled by this field. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *importCustomRoutesWithPublicIp; + +/** + * Output only. The resource name of the network peering. Resource names are + * scheme-less URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/global/networkPeerings/my-peering` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Maximum transmission unit (MTU) in bytes. The default value is + * `1500`. If a value of `0` is provided for this field, VMware Engine uses the + * default value instead. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *peerMtu; + +/** + * Required. The relative resource name of the network to peer with a standard + * VMware Engine network. The provided network can be a consumer VPC network or + * another standard VMware Engine network. If the `peer_network_type` is + * VMWARE_ENGINE_NETWORK, specify the name in the form: + * `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. + * Otherwise specify the name in the form: + * `projects/{project}/global/networks/{network_id}`, where `{project}` can + * either be a project number or a project ID. + */ +@property(nonatomic, copy, nullable) NSString *peerNetwork; + +/** + * Required. The type of the network to peer with the VMware Engine network. + * + * Likely values: + * @arg @c kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_DellPowerscale + * Peering connection used for connecting to Dell PowerScale Filers + * (Value: "DELL_POWERSCALE") + * @arg @c kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_NetappCloudVolumes + * Peering connection used for connecting to NetApp Cloud Volumes. + * (Value: "NETAPP_CLOUD_VOLUMES") + * @arg @c kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_PeerNetworkTypeUnspecified + * Unspecified (Value: "PEER_NETWORK_TYPE_UNSPECIFIED") + * @arg @c kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_PrivateServicesAccess + * Peering connection used for establishing [private services + * access](https://cloud.google.com/vpc/docs/private-services-access). + * (Value: "PRIVATE_SERVICES_ACCESS") + * @arg @c kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_Standard Peering + * connection used for connecting to another VPC network established by + * the same user. For example, a peering connection to another VPC + * network in the same project or to an on-premises network. (Value: + * "STANDARD") + * @arg @c kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_ThirdPartyService + * Peering connection used for connecting to third-party services. Most + * third-party services require manual setup of reverse peering on the + * VPC network associated with the third-party service. (Value: + * "THIRD_PARTY_SERVICE") + * @arg @c kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_VmwareEngineNetwork + * Peering connection used for connecting to another VMware Engine + * network. (Value: "VMWARE_ENGINE_NETWORK") + */ +@property(nonatomic, copy, nullable) NSString *peerNetworkType; + +/** + * Output only. State of the network peering. This field has a value of + * 'ACTIVE' when there's a matching configuration in the peer network. New + * values may be added to this enum when appropriate. + * + * Likely values: + * @arg @c kGTLRVMwareEngine_NetworkPeering_State_Active The peering is + * active. (Value: "ACTIVE") + * @arg @c kGTLRVMwareEngine_NetworkPeering_State_Creating The peering is + * being created. (Value: "CREATING") + * @arg @c kGTLRVMwareEngine_NetworkPeering_State_Deleting The peering is + * being deleted. (Value: "DELETING") + * @arg @c kGTLRVMwareEngine_NetworkPeering_State_Inactive The peering is not + * active. (Value: "INACTIVE") + * @arg @c kGTLRVMwareEngine_NetworkPeering_State_StateUnspecified + * Unspecified network peering state. This is the default value. (Value: + * "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. Output Only. Details about the current state of the network + * peering. + */ +@property(nonatomic, copy, nullable) NSString *stateDetails; + +/** Output only. System-generated unique identifier for the resource. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Last update time of this resource. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Required. The relative resource name of the VMware Engine network. Specify + * the name in the following form: + * `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` + * where `{project}` can either be a project number or a project ID. + */ +@property(nonatomic, copy, nullable) NSString *vmwareEngineNetwork; + +@end + + /** * Represents a network policy resource. Network policies are regional * resources. You can use a network policy to enable or disable internet access @@ -1625,6 +2857,64 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci @end +/** + * Node in a cluster. + */ +@interface GTLRVMwareEngine_Node : GTLRObject + +/** + * Output only. Customized number of cores + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *customCoreCount; + +/** Output only. Fully qualified domain name of the node. */ +@property(nonatomic, copy, nullable) NSString *fqdn; + +/** Output only. Internal IP address of the node. */ +@property(nonatomic, copy, nullable) NSString *internalIp; + +/** + * Output only. The resource name of this node. Resource names are schemeless + * URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster/nodes/my-node + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The canonical identifier of the node type (corresponds to the + * `NodeType`). For example: standard-72. + */ +@property(nonatomic, copy, nullable) NSString *nodeTypeId; + +/** + * Output only. The state of the appliance. + * + * Likely values: + * @arg @c kGTLRVMwareEngine_Node_State_Active Node is operational and can be + * used by the user. (Value: "ACTIVE") + * @arg @c kGTLRVMwareEngine_Node_State_Creating Node is being provisioned. + * (Value: "CREATING") + * @arg @c kGTLRVMwareEngine_Node_State_Failed Node is in a failed state. + * (Value: "FAILED") + * @arg @c kGTLRVMwareEngine_Node_State_StateUnspecified The default value. + * This value should never be used. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRVMwareEngine_Node_State_Upgrading Node is undergoing + * maintenance, e.g.: during private cloud upgrade. (Value: "UPGRADING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. The version number of the VMware ESXi management component in + * this cluster. + */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + /** * Describes node type. */ @@ -1637,6 +2927,9 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci */ @property(nonatomic, strong, nullable) NSArray *availableCustomCoreCounts; +/** Output only. Capabilities of this node type. */ +@property(nonatomic, strong, nullable) NSArray *capabilities; + /** * Output only. The amount of storage available, defined in GB. * @@ -2022,6 +3315,21 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci @end +/** + * Users/Service accounts which have access for DNS binding on the intranet VPC + * corresponding to the consumer project. + */ +@interface GTLRVMwareEngine_Principal : GTLRObject + +/** The service account which needs to be granted the permission. */ +@property(nonatomic, copy, nullable) NSString *serviceAccount; + +/** The user who needs to be granted permission. */ +@property(nonatomic, copy, nullable) NSString *user; + +@end + + /** * Represents a private cloud resource. Private clouds of type `STANDARD` and * `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are regional. @@ -2100,6 +3408,9 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci * Likely values: * @arg @c kGTLRVMwareEngine_PrivateCloud_Type_Standard Standard private is a * zonal resource, with 3+ nodes. Default type. (Value: "STANDARD") + * @arg @c kGTLRVMwareEngine_PrivateCloud_Type_Stretched Stretched private + * cloud is a regional resource with redundancy, with a minimum of 6 + * nodes, nodes count has to be even. (Value: "STRETCHED") * @arg @c kGTLRVMwareEngine_PrivateCloud_Type_TimeLimited Time limited * private cloud is a zonal resource, can have only 1 node and has * limited life span. Will be deleted after defined period of time, can @@ -2268,6 +3579,29 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci @end +/** + * Request message for VmwareEngine.RepairManagementDnsZoneBindings + */ +@interface GTLRVMwareEngine_RepairManagementDnsZoneBindingRequest : GTLRObject + +/** + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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 the 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; + +@end + + /** * Request message for VmwareEngine.ResetNsxCredentials */ @@ -2311,6 +3645,46 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci */ @property(nonatomic, copy, nullable) NSString *requestId; +/** + * Optional. The username of the user to be to reset the credentials. The + * default value of this field is CloudOwner\@gve.local. The provided value + * should be one of the following: solution-user-01\@gve.local, + * solution-user-02\@gve.local, solution-user-03\@gve.local, + * solution-user-04\@gve.local, solution-user-05\@gve.local, + * zertoadmin\@gve.local. + */ +@property(nonatomic, copy, nullable) NSString *username; + +@end + + +/** + * Request message for VmwareEngine.RevokeDnsBindPermission + */ +@interface GTLRVMwareEngine_RevokeDnsBindPermissionRequest : GTLRObject + +/** + * Required. The consumer provided user/service account which needs to be + * granted permission to bind with the intranet VPC corresponding to the + * consumer project. + */ +@property(nonatomic, strong, nullable) GTLRVMwareEngine_Principal *principal; + +/** + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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; + @end @@ -2383,6 +3757,32 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci @end +/** + * Configuration of a stretched cluster. + */ +@interface GTLRVMwareEngine_StretchedClusterConfig : GTLRObject + +/** + * Required. Zone that will remain operational when connection between the two + * zones is lost. Specify the resource name of a zone that belongs to the + * region of the private cloud. For example: + * `projects/{project}/locations/europe-west3-a` where `{project}` can either + * be a project number or a project ID. + */ +@property(nonatomic, copy, nullable) NSString *preferredLocation; + +/** + * Required. Additional zone for a higher level of availability and load + * balancing. Specify the resource name of a zone that belongs to the region of + * the private cloud. For example: + * `projects/{project}/locations/europe-west3-b` where `{project}` can either + * be a project number or a project ID. + */ +@property(nonatomic, copy, nullable) NSString *secondaryLocation; + +@end + + /** * Subnet in a private cloud. Either `management` subnets (such as vMotion) * that are read-only, or `userDefined`, which can also be updated. @@ -2434,6 +3834,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci */ @property(nonatomic, copy, nullable) NSString *type; +/** + * Output only. VLAN ID of the VLAN on which the subnet is configured + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *vlanId; + @end diff --git a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineQuery.h b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineQuery.h index dece06786..c8ac9b6f7 100644 --- a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineQuery.h +++ b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineQuery.h @@ -61,83 +61,161 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Lists information about the supported locations for this service. + * Grants the bind permission to the customer provided principal(user / service + * account) to bind their DNS zone with the intranet VPC associated with the + * project. * - * Method: vmwareengine.projects.locations.list + * Method: vmwareengine.projects.locations.global.dnsBindPermission.grant * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsList : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsGlobalDnsBindPermissionGrant : GTLRVMwareEngineQuery /** - * 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). + * Required. The name of the resource which stores the users/service accounts + * having the permission to bind to the corresponding intranet VPC of the + * consumer project. DnsBindPermission is a global resource. Resource names are + * schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/global/dnsBindPermission` */ -@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. + * Fetches a @c GTLRVMwareEngine_Operation. + * + * Grants the bind permission to the customer provided principal(user / service + * account) to bind their DNS zone with the intranet VPC associated with the + * project. + * + * @param object The @c GTLRVMwareEngine_GrantDnsBindPermissionRequest to + * include in the query. + * @param name Required. The name of the resource which stores the + * users/service accounts having the permission to bind to the corresponding + * intranet VPC of the consumer project. DnsBindPermission is a global + * resource. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/global/dnsBindPermission` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsGlobalDnsBindPermissionGrant */ -@property(nonatomic, assign) NSInteger pageSize; ++ (instancetype)queryWithObject:(GTLRVMwareEngine_GrantDnsBindPermissionRequest *)object + name:(NSString *)name; + +@end /** - * A page token received from the `next_page_token` field in the response. Send - * that page token to receive the subsequent page. + * Revokes the bind permission from the customer provided principal(user / + * service account) on the intranet VPC associated with the consumer project. + * + * Method: vmwareengine.projects.locations.global.dnsBindPermission.revoke + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@interface GTLRVMwareEngineQuery_ProjectsLocationsGlobalDnsBindPermissionRevoke : GTLRVMwareEngineQuery /** - * Fetches a @c GTLRVMwareEngine_ListLocationsResponse. + * Required. The name of the resource which stores the users/service accounts + * having the permission to bind to the corresponding intranet VPC of the + * consumer project. DnsBindPermission is a global resource. Resource names are + * schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/global/dnsBindPermission` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. * - * Lists information about the supported locations for this service. + * Revokes the bind permission from the customer provided principal(user / + * service account) on the intranet VPC associated with the consumer project. * - * @param name The resource that owns the locations collection, if applicable. + * @param object The @c GTLRVMwareEngine_RevokeDnsBindPermissionRequest to + * include in the query. + * @param name Required. The name of the resource which stores the + * users/service accounts having the permission to bind to the corresponding + * intranet VPC of the consumer project. DnsBindPermission is a global + * resource. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/global/dnsBindPermission` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsList + * @return GTLRVMwareEngineQuery_ProjectsLocationsGlobalDnsBindPermissionRevoke + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_RevokeDnsBindPermissionRequest *)object + name:(NSString *)name; + +@end + +/** + * Gets all the principals having bind permission on the intranet VPC + * associated with the consumer project granted by the Grant API. * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * Method: vmwareengine.projects.locations.global.getDnsBindPermission + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsGlobalGetDnsBindPermission : GTLRVMwareEngineQuery + +/** + * Required. The name of the resource which stores the users/service accounts + * having the permission to bind to the corresponding intranet VPC of the + * consumer project. DnsBindPermission is a global resource. Resource names are + * schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/global/dnsBindPermission` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_DnsBindPermission. + * + * Gets all the principals having bind permission on the intranet VPC + * associated with the consumer project granted by the Grant API. + * + * @param name Required. The name of the resource which stores the + * users/service accounts having the permission to bind to the corresponding + * intranet VPC of the consumer project. DnsBindPermission is a global + * resource. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/global/dnsBindPermission` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsGlobalGetDnsBindPermission */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Creates a new network policy in a given VMware Engine network of a project - * and location (region). A new network policy cannot be created if another - * network policy already exists in the same scope. + * Creates a new network peering between the peer network and VMware Engine + * network provided in a `NetworkPeering` resource. * - * Method: vmwareengine.projects.locations.networkPolicies.create + * Method: vmwareengine.projects.locations.global.networkPeerings.create * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesCreate : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsCreate : GTLRVMwareEngineQuery /** - * Required. The user-provided identifier of the network policy to be created. - * This identifier must be unique within parent - * `projects/{my-project}/locations/{us-central1}/networkPolicies` and becomes - * the final token in the name URI. The identifier must meet the following - * requirements: * Only contains 1-63 alphanumeric characters and hyphens * - * Begins with an alphabetical character * Ends with a non-hyphen character * - * Not formatted as a UUID * Complies with [RFC + * Required. The user-provided identifier of the new `NetworkPeering`. This + * identifier must be unique among `NetworkPeering` resources within the parent + * and becomes the final token in the name URI. The identifier must meet the + * following requirements: * Only contains 1-63 alphanumeric characters and + * hyphens * Begins with an alphabetical character * Ends with a non-hyphen + * character * Not formatted as a UUID * Complies with [RFC * 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) */ -@property(nonatomic, copy, nullable) NSString *networkPolicyId; +@property(nonatomic, copy, nullable) NSString *networkPeeringId; /** - * Required. The resource name of the location (region) to create the new - * network policy in. Resource names are schemeless URIs that follow the + * Required. The resource name of the location to create the new network + * peering in. This value is always `global`, because `NetworkPeering` is a + * global resource. Resource names are schemeless URIs that follow the * conventions in https://cloud.google.com/apis/design/resource_names. For - * example: `projects/my-project/locations/us-central1` + * example: `projects/my-project/locations/global` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -159,40 +237,42 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRVMwareEngine_Operation. * - * Creates a new network policy in a given VMware Engine network of a project - * and location (region). A new network policy cannot be created if another - * network policy already exists in the same scope. + * Creates a new network peering between the peer network and VMware Engine + * network provided in a `NetworkPeering` resource. * - * @param object The @c GTLRVMwareEngine_NetworkPolicy to include in the query. - * @param parent Required. The resource name of the location (region) to create - * the new network policy in. Resource names are schemeless URIs that follow - * the conventions in https://cloud.google.com/apis/design/resource_names. - * For example: `projects/my-project/locations/us-central1` + * @param object The @c GTLRVMwareEngine_NetworkPeering to include in the + * query. + * @param parent Required. The resource name of the location to create the new + * network peering in. This value is always `global`, because + * `NetworkPeering` is a global resource. Resource names are schemeless URIs + * that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/global` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesCreate + * @return GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsCreate */ -+ (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPolicy *)object ++ (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPeering *)object parent:(NSString *)parent; @end /** - * Deletes a `NetworkPolicy` resource. A network policy cannot be deleted when - * `NetworkService.state` is set to `RECONCILING` for either its external IP or - * internet access service. + * Deletes a `NetworkPeering` resource. When a network peering is deleted for a + * VMware Engine network, the peer network becomes inaccessible to that VMware + * Engine network. * - * Method: vmwareengine.projects.locations.networkPolicies.delete + * Method: vmwareengine.projects.locations.global.networkPeerings.delete * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesDelete : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsDelete : GTLRVMwareEngineQuery /** - * Required. The resource name of the network policy to delete. Resource names - * are schemeless URIs that follow the conventions in + * Required. The resource name of the network peering to be deleted. Resource + * names are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + * `projects/my-project/locations/global/networkPeerings/my-peering` */ @property(nonatomic, copy, nullable) NSString *name; @@ -214,78 +294,82 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRVMwareEngine_Operation. * - * Deletes a `NetworkPolicy` resource. A network policy cannot be deleted when - * `NetworkService.state` is set to `RECONCILING` for either its external IP or - * internet access service. + * Deletes a `NetworkPeering` resource. When a network peering is deleted for a + * VMware Engine network, the peer network becomes inaccessible to that VMware + * Engine network. * - * @param name Required. The resource name of the network policy to delete. - * Resource names are schemeless URIs that follow the conventions in + * @param name Required. The resource name of the network peering to be + * deleted. Resource names are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + * `projects/my-project/locations/global/networkPeerings/my-peering` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesDelete + * @return GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Retrieves a `NetworkPolicy` resource by its resource name. + * Retrieves a `NetworkPeering` resource by its resource name. The resource + * contains details of the network peering, such as peered networks, import and + * export custom route configurations, and peering state. * - * Method: vmwareengine.projects.locations.networkPolicies.get + * Method: vmwareengine.projects.locations.global.networkPeerings.get * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesGet : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsGet : GTLRVMwareEngineQuery /** - * Required. The resource name of the network policy to retrieve. Resource + * Required. The resource name of the network peering to retrieve. Resource * names are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + * `projects/my-project/locations/global/networkPeerings/my-peering` */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRVMwareEngine_NetworkPolicy. + * Fetches a @c GTLRVMwareEngine_NetworkPeering. * - * Retrieves a `NetworkPolicy` resource by its resource name. + * Retrieves a `NetworkPeering` resource by its resource name. The resource + * contains details of the network peering, such as peered networks, import and + * export custom route configurations, and peering state. * - * @param name Required. The resource name of the network policy to retrieve. + * @param name Required. The resource name of the network peering to retrieve. * Resource names are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + * `projects/my-project/locations/global/networkPeerings/my-peering` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesGet + * @return GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Lists `NetworkPolicy` resources in a specified project and location. + * Lists `NetworkPeering` resources in a given project. * - * Method: vmwareengine.projects.locations.networkPolicies.list + * Method: vmwareengine.projects.locations.global.networkPeerings.list * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesList : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsList : GTLRVMwareEngineQuery /** * A filter expression that matches resources returned in the response. The * expression must specify the field name, a comparison operator, and the value * that you want to use for filtering. The value must be a string, a number, or * a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For - * example, if you are filtering a list of network policies, you can exclude - * the ones named `example-policy` by specifying `name != "example-policy"`. To - * filter on multiple expressions, provide each separate expression within - * parentheses. For example: ``` (name = "example-policy") (createTime > + * example, if you are filtering a list of network peerings, you can exclude + * the ones named `example-peering` by specifying `name != "example-peering"`. + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example: ``` (name = "example-peering") (createTime > * "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND` * expression. However, you can include `AND` and `OR` expressions explicitly. - * For example: ``` (name = "example-policy-1") AND (createTime > - * "2021-04-12T08:15:10.40Z") OR (name = "example-policy-2") ``` + * For example: ``` (name = "example-peering-1") AND (createTime > + * "2021-04-12T08:15:10.40Z") OR (name = "example-peering-2") ``` */ @property(nonatomic, copy, nullable) NSString *filter; @@ -298,39 +382,38 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *orderBy; /** - * The maximum number of network policies to return in one page. The service - * may return fewer than this value. The maximum value is coerced to 1000. The - * default value of this field is 500. + * The maximum number of network peerings to return in one page. The maximum + * value is coerced to 1000. The default value of this field is 500. */ @property(nonatomic, assign) NSInteger pageSize; /** - * A page token, received from a previous `ListNetworkPolicies` call. Provide + * A page token, received from a previous `ListNetworkPeerings` call. Provide * this to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListNetworkPolicies` must match the call that provided the page + * provided to `ListNetworkPeerings` must match the call that provided the page * token. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The resource name of the location (region) to query for network - * policies. Resource names are schemeless URIs that follow the conventions in + * Required. The resource name of the location (global) to query for network + * peerings. Resource names are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1` + * `projects/my-project/locations/global` */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRVMwareEngine_ListNetworkPoliciesResponse. + * Fetches a @c GTLRVMwareEngine_ListNetworkPeeringsResponse. * - * Lists `NetworkPolicy` resources in a specified project and location. + * Lists `NetworkPeering` resources in a given project. * - * @param parent Required. The resource name of the location (region) to query - * for network policies. Resource names are schemeless URIs that follow the + * @param parent Required. The resource name of the location (global) to query + * for network peerings. Resource names are schemeless URIs that follow the * conventions in https://cloud.google.com/apis/design/resource_names. For - * example: `projects/my-project/locations/us-central1` + * example: `projects/my-project/locations/global` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesList + * @return GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -341,29 +424,21 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Modifies a `NetworkPolicy` resource. Only the following fields can be - * updated: `internet_access`, `external_ip`, `edge_services_cidr`. Only fields - * specified in `updateMask` are applied. When updating a network policy, the - * external IP network service can only be disabled if there are no external IP - * addresses present in the scope of the policy. Also, a `NetworkService` - * cannot be updated when `NetworkService.state` is set to `RECONCILING`. - * During operation processing, the resource is temporarily in the `ACTIVE` - * state before the operation fully completes. For that period of time, you - * can't update the resource. Use the operation status to determine when the - * processing fully completes. + * Modifies a `NetworkPeering` resource. Only the `description` field can be + * updated. Only fields specified in `updateMask` are applied. * - * Method: vmwareengine.projects.locations.networkPolicies.patch + * Method: vmwareengine.projects.locations.global.networkPeerings.patch * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesPatch : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsPatch : GTLRVMwareEngineQuery /** - * Output only. The resource name of this network policy. Resource names are - * schemeless URIs that follow the conventions in + * Output only. The resource name of the network peering. Resource names are + * scheme-less URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + * `projects/my-project/locations/global/networkPeerings/my-peering` */ @property(nonatomic, copy, nullable) NSString *name; @@ -384,7 +459,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Field mask is used to specify the fields to be overwritten in the - * `NetworkPolicy` resource by the update. The fields specified in the + * `NetworkPeering` 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. @@ -396,444 +471,426 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRVMwareEngine_Operation. * - * Modifies a `NetworkPolicy` resource. Only the following fields can be - * updated: `internet_access`, `external_ip`, `edge_services_cidr`. Only fields - * specified in `updateMask` are applied. When updating a network policy, the - * external IP network service can only be disabled if there are no external IP - * addresses present in the scope of the policy. Also, a `NetworkService` - * cannot be updated when `NetworkService.state` is set to `RECONCILING`. - * During operation processing, the resource is temporarily in the `ACTIVE` - * state before the operation fully completes. For that period of time, you - * can't update the resource. Use the operation status to determine when the - * processing fully completes. + * Modifies a `NetworkPeering` resource. Only the `description` field can be + * updated. Only fields specified in `updateMask` are applied. * - * @param object The @c GTLRVMwareEngine_NetworkPolicy to include in the query. - * @param name Output only. The resource name of this network policy. Resource - * names are schemeless URIs that follow the conventions in + * @param object The @c GTLRVMwareEngine_NetworkPeering to include in the + * query. + * @param name Output only. The resource name of the network peering. Resource + * names are scheme-less URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + * `projects/my-project/locations/global/networkPeerings/my-peering` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesPatch + * @return GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsPatch */ -+ (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPolicy *)object ++ (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPeering *)object name:(NSString *)name; @end /** - * Gets details of a single `NodeType`. + * Lists the network peering routes exchanged over a peering connection. * - * Method: vmwareengine.projects.locations.nodeTypes.get + * Method: vmwareengine.projects.locations.global.networkPeerings.peeringRoutes.list * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesGet : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesList : GTLRVMwareEngineQuery /** - * Required. The resource name of the node type to retrieve. Resource names are - * schemeless URIs that follow the conventions in - * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72` + * A filter expression that matches resources returned in the response. + * Currently, only filtering on the `direction` field is supported. To return + * routes imported from the peer network, provide "direction=INCOMING". To + * return routes exported from the VMware Engine network, provide + * "direction=OUTGOING". Other filter expressions return an error. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *filter; /** - * Fetches a @c GTLRVMwareEngine_NodeType. + * The maximum number of peering routes to return in one page. The service may + * return fewer than this value. The maximum value is coerced to 1000. The + * default value of this field is 500. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListPeeringRoutes` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListPeeringRoutes` must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the network peering to retrieve peering + * routes from. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/global/networkPeerings/my-peering` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVMwareEngine_ListPeeringRoutesResponse. * - * Gets details of a single `NodeType`. + * Lists the network peering routes exchanged over a peering connection. * - * @param name Required. The resource name of the node type to retrieve. - * Resource names are schemeless URIs that follow the conventions in - * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72` + * @param parent Required. The resource name of the network peering to retrieve + * peering routes from. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/global/networkPeerings/my-peering` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesGet + * @return GTLRVMwareEngineQuery_ProjectsLocationsGlobalNetworkPeeringsPeeringRoutesList + * + * @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 node types + * Lists information about the supported locations for this service. * - * Method: vmwareengine.projects.locations.nodeTypes.list + * Method: vmwareengine.projects.locations.list * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesList : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsList : GTLRVMwareEngineQuery /** - * A filter expression that matches resources returned in the response. The - * expression must specify the field name, a comparison operator, and the value - * that you want to use for filtering. The value must be a string, a number, or - * a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For - * example, if you are filtering a list of node types, you can exclude the ones - * named `standard-72` by specifying `name != "standard-72"`. To filter on - * multiple expressions, provide each separate expression within parentheses. - * For example: ``` (name = "standard-72") (virtual_cpu_count > 2) ``` By - * default, each expression is an `AND` expression. However, you can include - * `AND` and `OR` expressions explicitly. For example: ``` (name = - * "standard-96") AND (virtual_cpu_count > 2) OR (name = "standard-72") ``` + * 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 node types to return in one page. The service may - * return fewer than this value. The maximum value is coerced to 1000. The - * default value of this field is 500. + * 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 a previous `ListNodeTypes` call. Provide this to - * retrieve the subsequent page. When paginating, all other parameters provided - * to `ListNodeTypes` must match the call that provided the page token. + * 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; /** - * Required. The resource name of the location to be queried for node types. - * Resource names are schemeless URIs that follow the conventions in - * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a` - */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c GTLRVMwareEngine_ListNodeTypesResponse. + * Fetches a @c GTLRVMwareEngine_ListLocationsResponse. * - * Lists node types + * Lists information about the supported locations for this service. * - * @param parent Required. The resource name of the location to be queried for - * node types. Resource names are schemeless URIs that follow the conventions - * in https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a` + * @param name The resource that owns the locations collection, if applicable. * - * @return GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesList + * @return GTLRVMwareEngineQuery_ProjectsLocationsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more * information. */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (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`. + * Creates a new network policy in a given VMware Engine network of a project + * and location (region). A new network policy cannot be created if another + * network policy already exists in the same scope. * - * Method: vmwareengine.projects.locations.operations.delete + * Method: vmwareengine.projects.locations.networkPolicies.create * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsOperationsDelete : GTLRVMwareEngineQuery - -/** The name of the operation resource to be deleted. */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesCreate : GTLRVMwareEngineQuery /** - * Fetches a @c GTLRVMwareEngine_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 GTLRVMwareEngineQuery_ProjectsLocationsOperationsDelete + * Required. The user-provided identifier of the network policy to be created. + * This identifier must be unique within parent + * `projects/{my-project}/locations/{us-central1}/networkPolicies` and becomes + * the final token in the name URI. The identifier must meet the following + * requirements: * Only contains 1-63 alphanumeric characters and hyphens * + * Begins with an alphabetical character * Ends with a non-hyphen character * + * Not formatted as a UUID * Complies with [RFC + * 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) */ -+ (instancetype)queryWithName:(NSString *)name; - -@end +@property(nonatomic, copy, nullable) NSString *networkPolicyId; /** - * 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: vmwareengine.projects.locations.operations.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeVMwareEngineCloudPlatform + * Required. The resource name of the location (region) to create the new + * network policy in. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1` */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsOperationsGet : GTLRVMwareEngineQuery +@property(nonatomic, copy, nullable) NSString *parent; -/** The name of the operation resource. */ -@property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. For example, consider a situation where you make an initial request + * and the request times out. If you make the request again with the same + * request ID, the server can check if original operation with the same request + * ID was received, and if so, will ignore the second request. This prevents + * clients from accidentally creating duplicate commitments. The request ID + * must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; /** * Fetches a @c GTLRVMwareEngine_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. + * Creates a new network policy in a given VMware Engine network of a project + * and location (region). A new network policy cannot be created if another + * network policy already exists in the same scope. * - * @param name The name of the operation resource. + * @param object The @c GTLRVMwareEngine_NetworkPolicy to include in the query. + * @param parent Required. The resource name of the location (region) to create + * the new network policy in. Resource names are schemeless URIs that follow + * the conventions in https://cloud.google.com/apis/design/resource_names. + * For example: `projects/my-project/locations/us-central1` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsOperationsGet + * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesCreate */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPolicy *)object + parent:(NSString *)parent; @end /** - * Lists operations that match the specified filter in the request. If the - * server doesn't support this method, it returns `UNIMPLEMENTED`. + * Deletes a `NetworkPolicy` resource. A network policy cannot be deleted when + * `NetworkService.state` is set to `RECONCILING` for either its external IP or + * internet access service. * - * Method: vmwareengine.projects.locations.operations.list + * Method: vmwareengine.projects.locations.networkPolicies.delete * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsOperationsList : GTLRVMwareEngineQuery - -/** The standard list filter. */ -@property(nonatomic, copy, nullable) NSString *filter; +@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesDelete : GTLRVMwareEngineQuery -/** The name of the operation's parent resource. */ +/** + * Required. The resource name of the network policy to delete. Resource names + * are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + */ @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; +/** + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. For example, consider a situation where you make an initial request + * and the request times out. If you make the request again with the same + * request ID, the server can check if original operation with the same request + * ID was received, and if so, will ignore the second request. This prevents + * clients from accidentally creating duplicate commitments. The request ID + * must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; /** - * Fetches a @c GTLRVMwareEngine_ListOperationsResponse. - * - * Lists operations that match the specified filter in the request. If the - * server doesn't support this method, it returns `UNIMPLEMENTED`. + * Fetches a @c GTLRVMwareEngine_Operation. * - * @param name The name of the operation's parent resource. + * Deletes a `NetworkPolicy` resource. A network policy cannot be deleted when + * `NetworkService.state` is set to `RECONCILING` for either its external IP or + * internet access service. * - * @return GTLRVMwareEngineQuery_ProjectsLocationsOperationsList + * @param name Required. The resource name of the network policy to delete. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Creates a new cluster in a given private cloud. Creating a new cluster - * provides additional nodes for use in the parent private cloud and requires - * sufficient [node quota](https://cloud.google.com/vmware-engine/quotas). + * Creates a new external access rule in a given network policy. * - * Method: vmwareengine.projects.locations.privateClouds.clusters.create + * Method: vmwareengine.projects.locations.networkPolicies.externalAccessRules.create * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersCreate : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesCreate : GTLRVMwareEngineQuery /** - * Required. The user-provided identifier of the new `Cluster`. This identifier - * must be unique among clusters within the parent and becomes the final token - * in the name URI. The identifier must meet the following requirements: * Only - * contains 1-63 alphanumeric characters and hyphens * Begins with an - * alphabetical character * Ends with a non-hyphen character * Not formatted as - * a UUID * Complies with [RFC - * 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) + * Required. The user-provided identifier of the `ExternalAccessRule` to be + * created. This identifier must be unique among `ExternalAccessRule` resources + * within the parent and becomes the final token in the name URI. The + * identifier must meet the following requirements: * Only contains 1-63 + * alphanumeric characters and hyphens * Begins with an alphabetical character + * * Ends with a non-hyphen character * Not formatted as a UUID * Complies with + * [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) */ -@property(nonatomic, copy, nullable) NSString *clusterId; +@property(nonatomic, copy, nullable) NSString *externalAccessRuleId; /** - * Required. The resource name of the private cloud to create a new cluster in. - * Resource names are schemeless URIs that follow the conventions in - * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * Required. The resource name of the network policy to create a new external + * access firewall rule in. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: + * `projects/my-project/locations/us-central1/networkPolicies/my-policy` */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Optional. The request ID must be a valid UUID with the exception that zero - * UUID is not supported (00000000-0000-0000-0000-000000000000). + * A 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 guarantees that a request doesn't + * result in creation of duplicate commitments for at least 60 minutes. 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 the 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. True if you want the request to be validated and not executed; - * false otherwise. - */ -@property(nonatomic, assign) BOOL validateOnly; - /** * Fetches a @c GTLRVMwareEngine_Operation. * - * Creates a new cluster in a given private cloud. Creating a new cluster - * provides additional nodes for use in the parent private cloud and requires - * sufficient [node quota](https://cloud.google.com/vmware-engine/quotas). + * Creates a new external access rule in a given network policy. * - * @param object The @c GTLRVMwareEngine_Cluster to include in the query. - * @param parent Required. The resource name of the private cloud to create a - * new cluster in. Resource names are schemeless URIs that follow the - * conventions in https://cloud.google.com/apis/design/resource_names. For - * example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * @param object The @c GTLRVMwareEngine_ExternalAccessRule to include in the + * query. + * @param parent Required. The resource name of the network policy to create a + * new external access firewall rule in. Resource names are schemeless URIs + * that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-policy` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersCreate + * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesCreate */ -+ (instancetype)queryWithObject:(GTLRVMwareEngine_Cluster *)object ++ (instancetype)queryWithObject:(GTLRVMwareEngine_ExternalAccessRule *)object parent:(NSString *)parent; @end /** - * Deletes a `Cluster` resource. To avoid unintended data loss, migrate or - * gracefully shut down any workloads running on the cluster before deletion. - * You cannot delete the management cluster of a private cloud using this - * method. + * Deletes a single external access rule. * - * Method: vmwareengine.projects.locations.privateClouds.clusters.delete + * Method: vmwareengine.projects.locations.networkPolicies.externalAccessRules.delete * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersDelete : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesDelete : GTLRVMwareEngineQuery /** - * Required. The resource name of the cluster to delete. Resource names are - * schemeless URIs that follow the conventions in + * Required. The resource name of the external access firewall rule to delete. + * Resource names are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + * `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule` */ @property(nonatomic, copy, nullable) NSString *name; /** - * Optional. The request ID must be a valid UUID with the exception that zero - * UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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 the original operation with the same + * request ID was received, and if so, will ignore the second request. This + * prevents clients from accidentally creating duplicate commitments. The + * request ID must be a valid UUID with the exception that zero UUID is not + * supported (00000000-0000-0000-0000-000000000000). */ @property(nonatomic, copy, nullable) NSString *requestId; /** * Fetches a @c GTLRVMwareEngine_Operation. * - * Deletes a `Cluster` resource. To avoid unintended data loss, migrate or - * gracefully shut down any workloads running on the cluster before deletion. - * You cannot delete the management cluster of a private cloud using this - * method. + * Deletes a single external access rule. * - * @param name Required. The resource name of the cluster to delete. Resource - * names are schemeless URIs that follow the conventions in - * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + * @param name Required. The resource name of the external access firewall rule + * to delete. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersDelete + * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Retrieves a `Cluster` resource by its resource name. + * Gets details of a single external access rule. * - * Method: vmwareengine.projects.locations.privateClouds.clusters.get + * Method: vmwareengine.projects.locations.networkPolicies.externalAccessRules.get * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGet : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesGet : GTLRVMwareEngineQuery /** - * Required. The cluster resource name to retrieve. Resource names are - * schemeless URIs that follow the conventions in + * Required. The resource name of the external access firewall rule to + * retrieve. Resource names are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + * `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule` */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRVMwareEngine_Cluster. + * Fetches a @c GTLRVMwareEngine_ExternalAccessRule. * - * Retrieves a `Cluster` resource by its resource name. + * Gets details of a single external access rule. * - * @param name Required. The cluster resource name to retrieve. Resource names - * are schemeless URIs that follow the conventions in - * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + * @param name Required. The resource name of the external access firewall rule + * to retrieve. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: + * `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGet + * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * Method: vmwareengine.projects.locations.privateClouds.clusters.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeVMwareEngineCloudPlatform - */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGetIamPolicy : GTLRVMwareEngineQuery - -/** - * 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 GTLRVMwareEngine_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 GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGetIamPolicy - */ -+ (instancetype)queryWithResource:(NSString *)resource; - -@end - -/** - * Lists `Cluster` resources in a given private cloud. + * Lists `ExternalAccessRule` resources in the specified network policy. * - * Method: vmwareengine.projects.locations.privateClouds.clusters.list + * Method: vmwareengine.projects.locations.networkPolicies.externalAccessRules.list * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersList : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesList : GTLRVMwareEngineQuery /** - * To filter on multiple expressions, provide each separate expression within - * parentheses. For example: ``` (name = "example-cluster") (nodeCount = "3") - * ``` By default, each expression is an `AND` expression. However, you can - * include `AND` and `OR` expressions explicitly. For example: ``` (name = - * "example-cluster-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name = - * "example-cluster-2") ``` + * A filter expression that matches resources returned in the response. The + * expression must specify the field name, a comparison operator, and the value + * that you want to use for filtering. The value must be a string, a number, or + * a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For + * example, if you are filtering a list of external access rules, you can + * exclude the ones named `example-rule` by specifying `name != + * "example-rule"`. To filter on multiple expressions, provide each separate + * expression within parentheses. For example: ``` (name = "example-rule") + * (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is + * an `AND` expression. However, you can include `AND` and `OR` expressions + * explicitly. For example: ``` (name = "example-rule-1") AND (createTime > + * "2021-04-12T08:15:10.40Z") OR (name = "example-rule-2") ``` */ @property(nonatomic, copy, nullable) NSString *filter; @@ -846,38 +903,41 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *orderBy; /** - * The maximum number of clusters to return in one page. The service may return - * fewer than this value. The maximum value is coerced to 1000. The default - * value of this field is 500. + * The maximum number of external access rules to return in one page. The + * service may return fewer than this value. The maximum value is coerced to + * 1000. The default value of this field is 500. */ @property(nonatomic, assign) NSInteger pageSize; /** - * A page token, received from a previous `ListClusters` call. Provide this to - * retrieve the subsequent page. When paginating, all other parameters provided - * to `ListClusters` must match the call that provided the page token. + * A page token, received from a previous `ListExternalAccessRulesRequest` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListExternalAccessRulesRequest` must match the + * call that provided the page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The resource name of the private cloud to query for clusters. - * Resource names are schemeless URIs that follow the conventions in - * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * Required. The resource name of the network policy to query for external + * access firewall rules. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: + * `projects/my-project/locations/us-central1/networkPolicies/my-policy` */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRVMwareEngine_ListClustersResponse. + * Fetches a @c GTLRVMwareEngine_ListExternalAccessRulesResponse. * - * Lists `Cluster` resources in a given private cloud. + * Lists `ExternalAccessRule` resources in the specified network policy. * - * @param parent Required. The resource name of the private cloud to query for - * clusters. Resource names are schemeless URIs that follow the conventions - * in https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * @param parent Required. The resource name of the network policy to query for + * external access firewall rules. Resource names are schemeless URIs that + * follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-policy` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersList + * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -888,702 +948,2439 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Modifies a `Cluster` resource. Only fields specified in `updateMask` are - * applied. During operation processing, the resource is temporarily in the - * `ACTIVE` state before the operation fully completes. For that period of - * time, you can't update the resource. Use the operation status to determine - * when the processing fully completes. + * Updates the parameters of a single external access rule. Only fields + * specified in `update_mask` are applied. * - * Method: vmwareengine.projects.locations.privateClouds.clusters.patch + * Method: vmwareengine.projects.locations.networkPolicies.externalAccessRules.patch * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersPatch : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesPatch : GTLRVMwareEngineQuery /** - * Output only. The resource name of this cluster. Resource names are - * schemeless URIs that follow the conventions in + * Output only. The resource name of this external access rule. Resource names + * are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + * `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule` */ @property(nonatomic, copy, nullable) NSString *name; /** - * Optional. The request ID must be a valid UUID with the exception that zero - * UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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 the 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. Field mask is used to specify the fields to be overwritten in the - * `Cluster` resource by the update. The fields specified in the `updateMask` - * 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. + * `ExternalAccessRule` 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. True if you want the request to be validated and not executed; - * false otherwise. - */ -@property(nonatomic, assign) BOOL validateOnly; - /** * Fetches a @c GTLRVMwareEngine_Operation. * - * Modifies a `Cluster` resource. Only fields specified in `updateMask` are - * applied. During operation processing, the resource is temporarily in the - * `ACTIVE` state before the operation fully completes. For that period of - * time, you can't update the resource. Use the operation status to determine - * when the processing fully completes. + * Updates the parameters of a single external access rule. Only fields + * specified in `update_mask` are applied. * - * @param object The @c GTLRVMwareEngine_Cluster to include in the query. - * @param name Output only. The resource name of this cluster. Resource names - * are schemeless URIs that follow the conventions in + * @param object The @c GTLRVMwareEngine_ExternalAccessRule to include in the + * query. + * @param name Output only. The resource name of this external access rule. + * Resource names are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + * `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersPatch + * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesExternalAccessRulesPatch */ -+ (instancetype)queryWithObject:(GTLRVMwareEngine_Cluster *)object ++ (instancetype)queryWithObject:(GTLRVMwareEngine_ExternalAccessRule *)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 - * `PERMISSION_DENIED` errors. + * Lists external IP addresses assigned to VMware workload VMs within the scope + * of the given network policy. * - * Method: vmwareengine.projects.locations.privateClouds.clusters.setIamPolicy + * Method: vmwareengine.projects.locations.networkPolicies.fetchExternalAddresses * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersSetIamPolicy : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesFetchExternalAddresses : GTLRVMwareEngineQuery /** - * 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. + * Required. The resource name of the network policy to query for assigned + * external IP addresses. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: + * `projects/my-project/locations/us-central1/networkPolicies/my-policy` */ -@property(nonatomic, copy, nullable) NSString *resource; +@property(nonatomic, copy, nullable) NSString *networkPolicy; /** - * Fetches a @c GTLRVMwareEngine_Policy. + * The maximum number of external IP addresses to return in one page. The + * service may return fewer than this value. The maximum value is coerced to + * 1000. The default value of this field is 500. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `FetchNetworkPolicyExternalAddresses` + * call. Provide this to retrieve the subsequent page. When paginating, all + * parameters provided to `FetchNetworkPolicyExternalAddresses`, except for + * `page_size` and `page_token`, must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRVMwareEngine_FetchNetworkPolicyExternalAddressesResponse. * - * Sets the access control policy on the specified resource. Replaces any - * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and - * `PERMISSION_DENIED` errors. + * Lists external IP addresses assigned to VMware workload VMs within the scope + * of the given network policy. * - * @param object The @c GTLRVMwareEngine_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. + * @param networkPolicy Required. The resource name of the network policy to + * query for assigned external IP addresses. Resource names are schemeless + * URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-policy` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersSetIamPolicy + * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesFetchExternalAddresses + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRVMwareEngine_SetIamPolicyRequest *)object - resource:(NSString *)resource; ++ (instancetype)queryWithNetworkPolicy:(NSString *)networkPolicy; @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. + * Retrieves a `NetworkPolicy` resource by its resource name. * - * Method: vmwareengine.projects.locations.privateClouds.clusters.testIamPermissions + * Method: vmwareengine.projects.locations.networkPolicies.get * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersTestIamPermissions : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesGet : GTLRVMwareEngineQuery /** - * 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. + * Required. The resource name of the network policy to retrieve. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` */ -@property(nonatomic, copy, nullable) NSString *resource; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRVMwareEngine_TestIamPermissionsResponse. + * Fetches a @c GTLRVMwareEngine_NetworkPolicy. * - * 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. + * Retrieves a `NetworkPolicy` resource by its resource name. * - * @param object The @c GTLRVMwareEngine_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. + * @param name Required. The resource name of the network policy to retrieve. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersTestIamPermissions + * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesGet */ -+ (instancetype)queryWithObject:(GTLRVMwareEngine_TestIamPermissionsRequest *)object - resource:(NSString *)resource; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Creates a new `PrivateCloud` resource in a given project and location. - * Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, - * `STRETCHED` private clouds are regional. Creating a private cloud also - * creates a [management - * cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) - * for that private cloud. + * Lists `NetworkPolicy` resources in a specified project and location. * - * Method: vmwareengine.projects.locations.privateClouds.create + * Method: vmwareengine.projects.locations.networkPolicies.list * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsCreate : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesList : GTLRVMwareEngineQuery /** - * Required. The resource name of the location to create the new private cloud - * in. Resource names are schemeless URIs that follow the conventions in - * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a` + * A filter expression that matches resources returned in the response. The + * expression must specify the field name, a comparison operator, and the value + * that you want to use for filtering. The value must be a string, a number, or + * a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For + * example, if you are filtering a list of network policies, you can exclude + * the ones named `example-policy` by specifying `name != "example-policy"`. To + * filter on multiple expressions, provide each separate expression within + * parentheses. For example: ``` (name = "example-policy") (createTime > + * "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND` + * expression. However, you can include `AND` and `OR` expressions explicitly. + * For example: ``` (name = "example-policy-1") AND (createTime > + * "2021-04-12T08:15:10.40Z") OR (name = "example-policy-2") ``` */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *filter; /** - * Required. The user-provided identifier of the private cloud to be created. - * This identifier must be unique among each `PrivateCloud` within the parent - * and becomes the final token in the name URI. The identifier must meet the - * following requirements: * Only contains 1-63 alphanumeric characters and - * hyphens * Begins with an alphabetical character * Ends with a non-hyphen - * character * Not formatted as a UUID * Complies with [RFC - * 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) - */ -@property(nonatomic, copy, nullable) NSString *privateCloudId; - + * Sorts list results by a certain order. By default, returned results are + * ordered by `name` in ascending order. You can also sort results in + * descending order based on the `name` value using `orderBy="name desc"`. + * Currently, only ordering by `name` is supported. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * The maximum number of network policies to return in one page. The service + * may return fewer than this value. The maximum value is coerced to 1000. The + * default value of this field is 500. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListNetworkPolicies` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListNetworkPolicies` must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the location (region) to query for network + * policies. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVMwareEngine_ListNetworkPoliciesResponse. + * + * Lists `NetworkPolicy` resources in a specified project and location. + * + * @param parent Required. The resource name of the location (region) to query + * for network policies. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesList + * + * @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 + +/** + * Modifies a `NetworkPolicy` resource. Only the following fields can be + * updated: `internet_access`, `external_ip`, `edge_services_cidr`. Only fields + * specified in `updateMask` are applied. When updating a network policy, the + * external IP network service can only be disabled if there are no external IP + * addresses present in the scope of the policy. Also, a `NetworkService` + * cannot be updated when `NetworkService.state` is set to `RECONCILING`. + * During operation processing, the resource is temporarily in the `ACTIVE` + * state before the operation fully completes. For that period of time, you + * can't update the resource. Use the operation status to determine when the + * processing fully completes. + * + * Method: vmwareengine.projects.locations.networkPolicies.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesPatch : GTLRVMwareEngineQuery + +/** + * Output only. The resource name of this network policy. Resource names are + * schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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. Field mask is used to specify the fields to be overwritten in the + * `NetworkPolicy` 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 GTLRVMwareEngine_Operation. + * + * Modifies a `NetworkPolicy` resource. Only the following fields can be + * updated: `internet_access`, `external_ip`, `edge_services_cidr`. Only fields + * specified in `updateMask` are applied. When updating a network policy, the + * external IP network service can only be disabled if there are no external IP + * addresses present in the scope of the policy. Also, a `NetworkService` + * cannot be updated when `NetworkService.state` is set to `RECONCILING`. + * During operation processing, the resource is temporarily in the `ACTIVE` + * state before the operation fully completes. For that period of time, you + * can't update the resource. Use the operation status to determine when the + * processing fully completes. + * + * @param object The @c GTLRVMwareEngine_NetworkPolicy to include in the query. + * @param name Output only. The resource name of this network policy. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsNetworkPoliciesPatch + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_NetworkPolicy *)object + name:(NSString *)name; + +@end + +/** + * Gets details of a single `NodeType`. + * + * Method: vmwareengine.projects.locations.nodeTypes.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesGet : GTLRVMwareEngineQuery + +/** + * Required. The resource name of the node type to retrieve. Resource names are + * schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_NodeType. + * + * Gets details of a single `NodeType`. + * + * @param name Required. The resource name of the node type to retrieve. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists node types + * + * Method: vmwareengine.projects.locations.nodeTypes.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesList : GTLRVMwareEngineQuery + +/** + * A filter expression that matches resources returned in the response. The + * expression must specify the field name, a comparison operator, and the value + * that you want to use for filtering. The value must be a string, a number, or + * a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For + * example, if you are filtering a list of node types, you can exclude the ones + * named `standard-72` by specifying `name != "standard-72"`. To filter on + * multiple expressions, provide each separate expression within parentheses. + * For example: ``` (name = "standard-72") (virtual_cpu_count > 2) ``` By + * default, each expression is an `AND` expression. However, you can include + * `AND` and `OR` expressions explicitly. For example: ``` (name = + * "standard-96") AND (virtual_cpu_count > 2) OR (name = "standard-72") ``` + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of node types to return in one page. The service may + * return fewer than this value. The maximum value is coerced to 1000. The + * default value of this field is 500. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListNodeTypes` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided + * to `ListNodeTypes` must match the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the location to be queried for node types. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVMwareEngine_ListNodeTypesResponse. + * + * Lists node types + * + * @param parent Required. The resource name of the location to be queried for + * node types. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsNodeTypesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Deletes a 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: vmwareengine.projects.locations.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsOperationsDelete : GTLRVMwareEngineQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_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 GTLRVMwareEngineQuery_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: vmwareengine.projects.locations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsOperationsGet : GTLRVMwareEngineQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_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 GTLRVMwareEngineQuery_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: vmwareengine.projects.locations.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsOperationsList : GTLRVMwareEngineQuery + +/** 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 GTLRVMwareEngine_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 GTLRVMwareEngineQuery_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 + +/** + * Creates a new cluster in a given private cloud. Creating a new cluster + * provides additional nodes for use in the parent private cloud and requires + * sufficient [node quota](https://cloud.google.com/vmware-engine/quotas). + * + * Method: vmwareengine.projects.locations.privateClouds.clusters.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersCreate : GTLRVMwareEngineQuery + +/** + * Required. The user-provided identifier of the new `Cluster`. This identifier + * must be unique among clusters within the parent and becomes the final token + * in the name URI. The identifier must meet the following requirements: * Only + * contains 1-63 alphanumeric characters and hyphens * Begins with an + * alphabetical character * Ends with a non-hyphen character * Not formatted as + * a UUID * Complies with [RFC + * 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) + */ +@property(nonatomic, copy, nullable) NSString *clusterId; + +/** + * Required. The resource name of the private cloud to create a new cluster in. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. The request ID must be a valid UUID with the exception that zero + * UUID is not supported (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. True if you want the request to be validated and not executed; + * false otherwise. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. + * + * Creates a new cluster in a given private cloud. Creating a new cluster + * provides additional nodes for use in the parent private cloud and requires + * sufficient [node quota](https://cloud.google.com/vmware-engine/quotas). + * + * @param object The @c GTLRVMwareEngine_Cluster to include in the query. + * @param parent Required. The resource name of the private cloud to create a + * new cluster in. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersCreate + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_Cluster *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a `Cluster` resource. To avoid unintended data loss, migrate or + * gracefully shut down any workloads running on the cluster before deletion. + * You cannot delete the management cluster of a private cloud using this + * method. + * + * Method: vmwareengine.projects.locations.privateClouds.clusters.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersDelete : GTLRVMwareEngineQuery + +/** + * Required. The resource name of the cluster to delete. Resource names are + * schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The request ID must be a valid UUID with the exception that zero + * UUID is not supported (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. + * + * Deletes a `Cluster` resource. To avoid unintended data loss, migrate or + * gracefully shut down any workloads running on the cluster before deletion. + * You cannot delete the management cluster of a private cloud using this + * method. + * + * @param name Required. The resource name of the cluster to delete. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieves a `Cluster` resource by its resource name. + * + * Method: vmwareengine.projects.locations.privateClouds.clusters.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGet : GTLRVMwareEngineQuery + +/** + * Required. The cluster resource name to retrieve. Resource names are + * schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_Cluster. + * + * Retrieves a `Cluster` resource by its resource name. + * + * @param name Required. The cluster resource name to retrieve. Resource names + * are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * Method: vmwareengine.projects.locations.privateClouds.clusters.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGetIamPolicy : GTLRVMwareEngineQuery + +/** + * 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 GTLRVMwareEngine_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 GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Lists `Cluster` resources in a given private cloud. + * + * Method: vmwareengine.projects.locations.privateClouds.clusters.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersList : GTLRVMwareEngineQuery + +/** + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example: ``` (name = "example-cluster") (nodeCount = "3") + * ``` By default, each expression is an `AND` expression. However, you can + * include `AND` and `OR` expressions explicitly. For example: ``` (name = + * "example-cluster-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name = + * "example-cluster-2") ``` + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Sorts list results by a certain order. By default, returned results are + * ordered by `name` in ascending order. You can also sort results in + * descending order based on the `name` value using `orderBy="name desc"`. + * Currently, only ordering by `name` is supported. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * The maximum number of clusters to return in one page. The service may return + * fewer than this value. The maximum value is coerced to 1000. The default + * value of this field is 500. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListClusters` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided + * to `ListClusters` must match the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the private cloud to query for clusters. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVMwareEngine_ListClustersResponse. + * + * Lists `Cluster` resources in a given private cloud. + * + * @param parent Required. The resource name of the private cloud to query for + * clusters. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersList + * + * @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 node. + * + * Method: vmwareengine.projects.locations.privateClouds.clusters.nodes.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersNodesGet : GTLRVMwareEngineQuery + +/** + * Required. The resource name of the node to retrieve. For example: + * `projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_Node. + * + * Gets details of a single node. + * + * @param name Required. The resource name of the node to retrieve. For + * example: + * `projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersNodesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists nodes in a given cluster. + * + * Method: vmwareengine.projects.locations.privateClouds.clusters.nodes.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersNodesList : GTLRVMwareEngineQuery + +/** + * The maximum number of nodes to return in one page. The service may return + * fewer than this value. The maximum value is coerced to 1000. The default + * value of this field is 500. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListNodes` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided + * to `ListNodes` must match the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the cluster to be queried for nodes. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVMwareEngine_ListNodesResponse. + * + * Lists nodes in a given cluster. + * + * @param parent Required. The resource name of the cluster to be queried for + * nodes. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersNodesList + * + * @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 + +/** + * Modifies a `Cluster` resource. Only fields specified in `updateMask` are + * applied. During operation processing, the resource is temporarily in the + * `ACTIVE` state before the operation fully completes. For that period of + * time, you can't update the resource. Use the operation status to determine + * when the processing fully completes. + * + * Method: vmwareengine.projects.locations.privateClouds.clusters.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersPatch : GTLRVMwareEngineQuery + +/** + * Output only. The resource name of this cluster. Resource names are + * schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The request ID must be a valid UUID with the exception that zero + * UUID is not supported (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Required. Field mask is used to specify the fields to be overwritten in the + * `Cluster` resource by the update. The fields specified in the `updateMask` + * 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. True if you want the request to be validated and not executed; + * false otherwise. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. + * + * Modifies a `Cluster` resource. Only fields specified in `updateMask` are + * applied. During operation processing, the resource is temporarily in the + * `ACTIVE` state before the operation fully completes. For that period of + * time, you can't update the resource. Use the operation status to determine + * when the processing fully completes. + * + * @param object The @c GTLRVMwareEngine_Cluster to include in the query. + * @param name Output only. The resource name of this cluster. Resource names + * are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersPatch + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_Cluster *)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 + * `PERMISSION_DENIED` errors. + * + * Method: vmwareengine.projects.locations.privateClouds.clusters.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersSetIamPolicy : GTLRVMwareEngineQuery + +/** + * 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 GTLRVMwareEngine_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 GTLRVMwareEngine_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 GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_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: vmwareengine.projects.locations.privateClouds.clusters.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersTestIamPermissions : GTLRVMwareEngineQuery + +/** + * 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 GTLRVMwareEngine_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 GTLRVMwareEngine_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 GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsClustersTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Creates a new `PrivateCloud` resource in a given project and location. + * Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, + * `STRETCHED` private clouds are regional. Creating a private cloud also + * creates a [management + * cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) + * for that private cloud. + * + * Method: vmwareengine.projects.locations.privateClouds.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsCreate : GTLRVMwareEngineQuery + +/** + * Required. The resource name of the location to create the new private cloud + * in. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Required. The user-provided identifier of the private cloud to be created. + * This identifier must be unique among each `PrivateCloud` within the parent + * and becomes the final token in the name URI. The identifier must meet the + * following requirements: * Only contains 1-63 alphanumeric characters and + * hyphens * Begins with an alphabetical character * Ends with a non-hyphen + * character * Not formatted as a UUID * Complies with [RFC + * 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) + */ +@property(nonatomic, copy, nullable) NSString *privateCloudId; + +/** + * Optional. The request ID must be a valid UUID with the exception that zero + * UUID is not supported (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. True if you want the request to be validated and not executed; + * false otherwise. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. + * + * Creates a new `PrivateCloud` resource in a given project and location. + * Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, + * `STRETCHED` private clouds are regional. Creating a private cloud also + * creates a [management + * cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) + * for that private cloud. + * + * @param object The @c GTLRVMwareEngine_PrivateCloud to include in the query. + * @param parent Required. The resource name of the location to create the new + * private cloud in. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1-a` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsCreate + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_PrivateCloud *)object + parent:(NSString *)parent; + +@end + +/** + * Schedules a `PrivateCloud` resource for deletion. A `PrivateCloud` resource + * scheduled for deletion has `PrivateCloud.state` set to `DELETED` and + * `expireTime` set to the time when deletion is final and can no longer be + * reversed. The delete operation is marked as done as soon as the + * `PrivateCloud` is successfully scheduled for deletion (this also applies + * when `delayHours` is set to zero), and the operation is not kept in pending + * state until `PrivateCloud` is purged. `PrivateCloud` can be restored using + * `UndeletePrivateCloud` method before the `expireTime` elapses. When + * `expireTime` is reached, deletion is final and all private cloud resources + * are irreversibly removed and billing stops. During the final removal + * process, `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be + * polled using standard `GET` method for the whole period of deletion and + * purging. It will not be returned only when it is completely purged. + * + * Method: vmwareengine.projects.locations.privateClouds.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsDelete : GTLRVMwareEngineQuery + +/** + * Optional. Time delay of the deletion specified in hours. The default value + * is `3`. Specifying a non-zero value for this field changes the value of + * `PrivateCloud.state` to `DELETED` and sets `expire_time` to the planned + * deletion time. Deletion can be cancelled before `expire_time` elapses using + * VmwareEngine.UndeletePrivateCloud. Specifying a value of `0` for this field + * instead begins the deletion process and ceases billing immediately. During + * the final deletion process, the value of `PrivateCloud.state` becomes + * `PURGING`. + */ +@property(nonatomic, assign) NSInteger delayHours; + +/** + * Optional. If set to true, cascade delete is enabled and all children of this + * private cloud resource are also deleted. When this flag is set to false, the + * private cloud will not be deleted if there are any children other than the + * management cluster. The management cluster is always deleted. + */ +@property(nonatomic, assign) BOOL force; + +/** + * Required. The resource name of the private cloud to delete. Resource names + * are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The request ID must be a valid UUID with the exception that zero + * UUID is not supported (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. + * + * Schedules a `PrivateCloud` resource for deletion. A `PrivateCloud` resource + * scheduled for deletion has `PrivateCloud.state` set to `DELETED` and + * `expireTime` set to the time when deletion is final and can no longer be + * reversed. The delete operation is marked as done as soon as the + * `PrivateCloud` is successfully scheduled for deletion (this also applies + * when `delayHours` is set to zero), and the operation is not kept in pending + * state until `PrivateCloud` is purged. `PrivateCloud` can be restored using + * `UndeletePrivateCloud` method before the `expireTime` elapses. When + * `expireTime` is reached, deletion is final and all private cloud resources + * are irreversibly removed and billing stops. During the final removal + * process, `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be + * polled using standard `GET` method for the whole period of deletion and + * purging. It will not be returned only when it is completely purged. + * + * @param name Required. The resource name of the private cloud to delete. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates a new `ExternalAddress` resource in a given private cloud. The + * network policy that corresponds to the private cloud must have the external + * IP address network service enabled (`NetworkPolicy.external_ip`). + * + * Method: vmwareengine.projects.locations.privateClouds.externalAddresses.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesCreate : GTLRVMwareEngineQuery + +/** + * Required. The user-provided identifier of the `ExternalAddress` to be + * created. This identifier must be unique among `ExternalAddress` resources + * within the parent and becomes the final token in the name URI. The + * identifier must meet the following requirements: * Only contains 1-63 + * alphanumeric characters and hyphens * Begins with an alphabetical character + * * Ends with a non-hyphen character * Not formatted as a UUID * Complies with + * [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) + */ +@property(nonatomic, copy, nullable) NSString *externalAddressId; + +/** + * Required. The resource name of the private cloud to create a new external IP + * address in. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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 the original operation with the same + * request ID was received, and if so, will ignore the second request. This + * prevents clients from accidentally creating duplicate commitments. The + * request ID must be a valid UUID with the exception that zero UUID is not + * supported (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. + * + * Creates a new `ExternalAddress` resource in a given private cloud. The + * network policy that corresponds to the private cloud must have the external + * IP address network service enabled (`NetworkPolicy.external_ip`). + * + * @param object The @c GTLRVMwareEngine_ExternalAddress to include in the + * query. + * @param parent Required. The resource name of the private cloud to create a + * new external IP address in. Resource names are schemeless URIs that follow + * the conventions in https://cloud.google.com/apis/design/resource_names. + * For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesCreate + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_ExternalAddress *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single external IP address. When you delete an external IP + * address, connectivity between the external IP address and the corresponding + * internal IP address is lost. + * + * Method: vmwareengine.projects.locations.privateClouds.externalAddresses.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesDelete : GTLRVMwareEngineQuery + +/** + * Required. The resource name of the external IP address to delete. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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 the original operation with the same + * request ID was received, and if so, will ignore the second request. This + * prevents clients from accidentally creating duplicate commitments. The + * request ID must be a valid UUID with the exception that zero UUID is not + * supported (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. + * + * Deletes a single external IP address. When you delete an external IP + * address, connectivity between the external IP address and the corresponding + * internal IP address is lost. + * + * @param name Required. The resource name of the external IP address to + * delete. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single external IP address. + * + * Method: vmwareengine.projects.locations.privateClouds.externalAddresses.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesGet : GTLRVMwareEngineQuery + +/** + * Required. The resource name of the external IP address to retrieve. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_ExternalAddress. + * + * Gets details of a single external IP address. + * + * @param name Required. The resource name of the external IP address to + * retrieve. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists external IP addresses assigned to VMware workload VMs in a given + * private cloud. + * + * Method: vmwareengine.projects.locations.privateClouds.externalAddresses.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesList : GTLRVMwareEngineQuery + +/** + * A filter expression that matches resources returned in the response. The + * expression must specify the field name, a comparison operator, and the value + * that you want to use for filtering. The value must be a string, a number, or + * a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For + * example, if you are filtering a list of IP addresses, you can exclude the + * ones named `example-ip` by specifying `name != "example-ip"`. To filter on + * multiple expressions, provide each separate expression within parentheses. + * For example: ``` (name = "example-ip") (createTime > + * "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND` + * expression. However, you can include `AND` and `OR` expressions explicitly. + * For example: ``` (name = "example-ip-1") AND (createTime > + * "2021-04-12T08:15:10.40Z") OR (name = "example-ip-2") ``` + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Sorts list results by a certain order. By default, returned results are + * ordered by `name` in ascending order. You can also sort results in + * descending order based on the `name` value using `orderBy="name desc"`. + * Currently, only ordering by `name` is supported. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * The maximum number of external IP addresses to return in one page. The + * service may return fewer than this value. The maximum value is coerced to + * 1000. The default value of this field is 500. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListExternalAddresses` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListExternalAddresses` must match the call that provided the + * page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the private cloud to be queried for external + * IP addresses. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVMwareEngine_ListExternalAddressesResponse. + * + * Lists external IP addresses assigned to VMware workload VMs in a given + * private cloud. + * + * @param parent Required. The resource name of the private cloud to be queried + * for external IP addresses. Resource names are schemeless URIs that follow + * the conventions in https://cloud.google.com/apis/design/resource_names. + * For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesList + * + * @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 external IP address. Only fields + * specified in `update_mask` are applied. During operation processing, the + * resource is temporarily in the `ACTIVE` state before the operation fully + * completes. For that period of time, you can't update the resource. Use the + * operation status to determine when the processing fully completes. + * + * Method: vmwareengine.projects.locations.privateClouds.externalAddresses.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesPatch : GTLRVMwareEngineQuery + +/** + * Output only. The resource name of this external IP address. Resource names + * are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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 the 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. Field mask is used to specify the fields to be overwritten in the + * `ExternalAddress` 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 GTLRVMwareEngine_Operation. + * + * Updates the parameters of a single external IP address. Only fields + * specified in `update_mask` are applied. During operation processing, the + * resource is temporarily in the `ACTIVE` state before the operation fully + * completes. For that period of time, you can't update the resource. Use the + * operation status to determine when the processing fully completes. + * + * @param object The @c GTLRVMwareEngine_ExternalAddress to include in the + * query. + * @param name Output only. The resource name of this external IP address. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsExternalAddressesPatch + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_ExternalAddress *)object + name:(NSString *)name; + +@end + +/** + * Retrieves a `PrivateCloud` resource by its resource name. + * + * Method: vmwareengine.projects.locations.privateClouds.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGet : GTLRVMwareEngineQuery + +/** + * Required. The resource name of the private cloud to retrieve. Resource names + * are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_PrivateCloud. + * + * Retrieves a `PrivateCloud` resource by its resource name. + * + * @param name Required. The resource name of the private cloud to retrieve. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of the `DnsForwarding` config. + * + * Method: vmwareengine.projects.locations.privateClouds.getDnsForwarding + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGetDnsForwarding : GTLRVMwareEngineQuery + +/** + * Required. The resource name of a `DnsForwarding` to retrieve. Resource names + * are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_DnsForwarding. + * + * Gets details of the `DnsForwarding` config. + * + * @param name Required. The resource name of a `DnsForwarding` to retrieve. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGetDnsForwarding + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * Method: vmwareengine.projects.locations.privateClouds.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGetIamPolicy : GTLRVMwareEngineQuery + +/** + * 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 GTLRVMwareEngine_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 GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Creates a new HCX activation key in a given private cloud. + * + * Method: vmwareengine.projects.locations.privateClouds.hcxActivationKeys.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysCreate : GTLRVMwareEngineQuery + +/** + * Required. The user-provided identifier of the `HcxActivationKey` to be + * created. This identifier must be unique among `HcxActivationKey` resources + * within the parent and becomes the final token in the name URI. The + * identifier must meet the following requirements: * Only contains 1-63 + * alphanumeric characters and hyphens * Begins with an alphabetical character + * * Ends with a non-hyphen character * Not formatted as a UUID * Complies with + * [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) + */ +@property(nonatomic, copy, nullable) NSString *hcxActivationKeyId; + +/** + * Required. The resource name of the private cloud to create the key for. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/privateClouds/my-cloud` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * A 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 guarantees that a request doesn't + * result in creation of duplicate commitments for at least 60 minutes. For + * example, consider a situation where you make an initial request and the + * request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was + * received, and if so, will ignore the second request. This prevents clients + * from accidentally creating duplicate commitments. The request ID must be a + * valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. + * + * Creates a new HCX activation key in a given private cloud. + * + * @param object The @c GTLRVMwareEngine_HcxActivationKey to include in the + * query. + * @param parent Required. The resource name of the private cloud to create the + * key for. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/privateClouds/my-cloud` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysCreate + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_HcxActivationKey *)object + parent:(NSString *)parent; + +@end + +/** + * Retrieves a `HcxActivationKey` resource by its resource name. + * + * Method: vmwareengine.projects.locations.privateClouds.hcxActivationKeys.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGet : GTLRVMwareEngineQuery + +/** + * Required. The resource name of the HCX activation key to retrieve. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_HcxActivationKey. + * + * Retrieves a `HcxActivationKey` resource by its resource name. + * + * @param name Required. The resource name of the HCX activation key to + * retrieve. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * Method: vmwareengine.projects.locations.privateClouds.hcxActivationKeys.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicy : GTLRVMwareEngineQuery + +/** + * 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 GTLRVMwareEngine_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 GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Lists `HcxActivationKey` resources in a given private cloud. + * + * Method: vmwareengine.projects.locations.privateClouds.hcxActivationKeys.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysList : GTLRVMwareEngineQuery + +/** + * The maximum number of HCX activation keys to return in one page. The service + * may return fewer than this value. The maximum value is coerced to 1000. The + * default value of this field is 500. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListHcxActivationKeys` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListHcxActivationKeys` must match the call that provided the + * page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the private cloud to be queried for HCX + * activation keys. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1/privateClouds/my-cloud` + */ +@property(nonatomic, copy, nullable) NSString *parent; + /** - * Optional. The request ID must be a valid UUID with the exception that zero - * UUID is not supported (00000000-0000-0000-0000-000000000000). + * Fetches a @c GTLRVMwareEngine_ListHcxActivationKeysResponse. + * + * Lists `HcxActivationKey` resources in a given private cloud. + * + * @param parent Required. The resource name of the private cloud to be queried + * for HCX activation keys. Resource names are schemeless URIs that follow + * the conventions in https://cloud.google.com/apis/design/resource_names. + * For example: + * `projects/my-project/locations/us-central1/privateClouds/my-cloud` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -@property(nonatomic, copy, nullable) NSString *requestId; ++ (instancetype)queryWithParent:(NSString *)parent; + +@end /** - * Optional. True if you want the request to be validated and not executed; - * false otherwise. + * Sets the access control policy on the specified resource. Replaces any + * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and + * `PERMISSION_DENIED` errors. + * + * Method: vmwareengine.projects.locations.privateClouds.hcxActivationKeys.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@property(nonatomic, assign) BOOL validateOnly; +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicy : GTLRVMwareEngineQuery /** - * Fetches a @c GTLRVMwareEngine_Operation. + * 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 GTLRVMwareEngine_Policy. * - * Creates a new `PrivateCloud` resource in a given project and location. - * Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, - * `STRETCHED` private clouds are regional. Creating a private cloud also - * creates a [management - * cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) - * for that private cloud. + * 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 GTLRVMwareEngine_PrivateCloud to include in the query. - * @param parent Required. The resource name of the location to create the new - * private cloud in. Resource names are schemeless URIs that follow the + * @param object The @c GTLRVMwareEngine_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 GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_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: vmwareengine.projects.locations.privateClouds.hcxActivationKeys.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissions : GTLRVMwareEngineQuery + +/** + * 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 GTLRVMwareEngine_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 GTLRVMwareEngine_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 GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Lists `PrivateCloud` resources in a given project and location. + * + * Method: vmwareengine.projects.locations.privateClouds.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsList : GTLRVMwareEngineQuery + +/** + * A filter expression that matches resources returned in the response. The + * expression must specify the field name, a comparison operator, and the value + * that you want to use for filtering. The value must be a string, a number, or + * a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For + * example, if you are filtering a list of private clouds, you can exclude the + * ones named `example-pc` by specifying `name != "example-pc"`. You can also + * filter nested fields. For example, you could specify + * `networkConfig.managementCidr = "192.168.0.0/24"` to include private clouds + * only if they have a matching address in their network configuration. To + * filter on multiple expressions, provide each separate expression within + * parentheses. For example: ``` (name = "example-pc") (createTime > + * "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND` + * expression. However, you can include `AND` and `OR` expressions explicitly. + * For example: ``` (name = "private-cloud-1") AND (createTime > + * "2021-04-12T08:15:10.40Z") OR (name = "private-cloud-2") ``` + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Sorts list results by a certain order. By default, returned results are + * ordered by `name` in ascending order. You can also sort results in + * descending order based on the `name` value using `orderBy="name desc"`. + * Currently, only ordering by `name` is supported. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * The maximum number of private clouds to return in one page. The service may + * return fewer than this value. The maximum value is coerced to 1000. The + * default value of this field is 500. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListPrivateClouds` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListPrivateClouds` must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the private cloud to be queried for clusters. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVMwareEngine_ListPrivateCloudsResponse. + * + * Lists `PrivateCloud` resources in a given project and location. + * + * @param parent Required. The resource name of the private cloud to be queried + * for clusters. Resource names are schemeless URIs that follow the * conventions in https://cloud.google.com/apis/design/resource_names. For * example: `projects/my-project/locations/us-central1-a` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsCreate + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRVMwareEngine_PrivateCloud *)object - parent:(NSString *)parent; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Schedules a `PrivateCloud` resource for deletion. A `PrivateCloud` resource - * scheduled for deletion has `PrivateCloud.state` set to `DELETED` and - * `expireTime` set to the time when deletion is final and can no longer be - * reversed. The delete operation is marked as done as soon as the - * `PrivateCloud` is successfully scheduled for deletion (this also applies - * when `delayHours` is set to zero), and the operation is not kept in pending - * state until `PrivateCloud` is purged. `PrivateCloud` can be restored using - * `UndeletePrivateCloud` method before the `expireTime` elapses. When - * `expireTime` is reached, deletion is final and all private cloud resources - * are irreversibly removed and billing stops. During the final removal - * process, `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be - * polled using standard `GET` method for the whole period of deletion and - * purging. It will not be returned only when it is completely purged. + * Create a new logging server for a given private cloud. * - * Method: vmwareengine.projects.locations.privateClouds.delete + * Method: vmwareengine.projects.locations.privateClouds.loggingServers.create * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsDelete : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersCreate : GTLRVMwareEngineQuery /** - * Optional. Time delay of the deletion specified in hours. The default value - * is `3`. Specifying a non-zero value for this field changes the value of - * `PrivateCloud.state` to `DELETED` and sets `expire_time` to the planned - * deletion time. Deletion can be cancelled before `expire_time` elapses using - * VmwareEngine.UndeletePrivateCloud. Specifying a value of `0` for this field - * instead begins the deletion process and ceases billing immediately. During - * the final deletion process, the value of `PrivateCloud.state` becomes - * `PURGING`. + * Required. The user-provided identifier of the `LoggingServer` to be created. + * This identifier must be unique among `LoggingServer` resources within the + * parent and becomes the final token in the name URI. The identifier must meet + * the following requirements: * Only contains 1-63 alphanumeric characters and + * hyphens * Begins with an alphabetical character * Ends with a non-hyphen + * character * Not formatted as a UUID * Complies with [RFC + * 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) */ -@property(nonatomic, assign) NSInteger delayHours; +@property(nonatomic, copy, nullable) NSString *loggingServerId; /** - * Optional. If set to true, cascade delete is enabled and all children of this - * private cloud resource are also deleted. When this flag is set to false, the - * private cloud will not be deleted if there are any children other than the - * management cluster. The management cluster is always deleted. + * Required. The resource name of the private cloud to create a new Logging + * Server in. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. For example, consider a situation where you make an initial request + * and the request times out. If you make the request again with the same + * request ID, the server can check if original operation with the same request + * ID was received, and if so, will ignore the second request. This prevents + * clients from accidentally creating duplicate commitments. The request ID + * must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. + * + * Create a new logging server for a given private cloud. + * + * @param object The @c GTLRVMwareEngine_LoggingServer to include in the query. + * @param parent Required. The resource name of the private cloud to create a + * new Logging Server in. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersCreate + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_LoggingServer *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single logging server. + * + * Method: vmwareengine.projects.locations.privateClouds.loggingServers.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@property(nonatomic, assign) BOOL force; +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersDelete : GTLRVMwareEngineQuery /** - * Required. The resource name of the private cloud to delete. Resource names + * Required. The resource name of the logging server to delete. Resource names * are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` */ @property(nonatomic, copy, nullable) NSString *name; /** - * Optional. The request ID must be a valid UUID with the exception that zero - * UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. For example, consider a situation where you make an initial request + * and the request times out. If you make the request again with the same + * request ID, the server can check if original operation with the same request + * ID was received, and if so, will ignore the second request. This prevents + * clients from accidentally creating duplicate commitments. The request ID + * must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). */ @property(nonatomic, copy, nullable) NSString *requestId; /** * Fetches a @c GTLRVMwareEngine_Operation. * - * Schedules a `PrivateCloud` resource for deletion. A `PrivateCloud` resource - * scheduled for deletion has `PrivateCloud.state` set to `DELETED` and - * `expireTime` set to the time when deletion is final and can no longer be - * reversed. The delete operation is marked as done as soon as the - * `PrivateCloud` is successfully scheduled for deletion (this also applies - * when `delayHours` is set to zero), and the operation is not kept in pending - * state until `PrivateCloud` is purged. `PrivateCloud` can be restored using - * `UndeletePrivateCloud` method before the `expireTime` elapses. When - * `expireTime` is reached, deletion is final and all private cloud resources - * are irreversibly removed and billing stops. During the final removal - * process, `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be - * polled using standard `GET` method for the whole period of deletion and - * purging. It will not be returned only when it is completely purged. + * Deletes a single logging server. * - * @param name Required. The resource name of the private cloud to delete. + * @param name Required. The resource name of the logging server to delete. * Resource names are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsDelete + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Retrieves a `PrivateCloud` resource by its resource name. + * Gets details of a logging server. * - * Method: vmwareengine.projects.locations.privateClouds.get + * Method: vmwareengine.projects.locations.privateClouds.loggingServers.get * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGet : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersGet : GTLRVMwareEngineQuery /** - * Required. The resource name of the private cloud to retrieve. Resource names - * are schemeless URIs that follow the conventions in + * Required. The resource name of the Logging Server to retrieve. Resource + * names are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRVMwareEngine_PrivateCloud. + * Fetches a @c GTLRVMwareEngine_LoggingServer. * - * Retrieves a `PrivateCloud` resource by its resource name. + * Gets details of a logging server. * - * @param name Required. The resource name of the private cloud to retrieve. + * @param name Required. The resource name of the Logging Server to retrieve. * Resource names are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGet + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersGet */ + (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. + * Lists logging servers configured for a given private cloud. * - * Method: vmwareengine.projects.locations.privateClouds.getIamPolicy + * Method: vmwareengine.projects.locations.privateClouds.loggingServers.list * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGetIamPolicy : GTLRVMwareEngineQuery - -/** - * 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 GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersList : GTLRVMwareEngineQuery /** - * 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. + * A filter expression that matches resources returned in the response. The + * expression must specify the field name, a comparison operator, and the value + * that you want to use for filtering. The value must be a string, a number, or + * a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For + * example, if you are filtering a list of logging servers, you can exclude the + * ones named `example-server` by specifying `name != "example-server"`. To + * filter on multiple expressions, provide each separate expression within + * parentheses. For example: ``` (name = "example-server") (createTime > + * "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND` + * expression. However, you can include `AND` and `OR` expressions explicitly. + * For example: ``` (name = "example-server-1") AND (createTime > + * "2021-04-12T08:15:10.40Z") OR (name = "example-server-2") ``` */ -@property(nonatomic, copy, nullable) NSString *resource; +@property(nonatomic, copy, nullable) NSString *filter; /** - * Fetches a @c GTLRVMwareEngine_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 GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsGetIamPolicy + * Sorts list results by a certain order. By default, returned results are + * ordered by `name` in ascending order. You can also sort results in + * descending order based on the `name` value using `orderBy="name desc"`. + * Currently, only ordering by `name` is supported. */ -+ (instancetype)queryWithResource:(NSString *)resource; - -@end +@property(nonatomic, copy, nullable) NSString *orderBy; /** - * Creates a new HCX activation key in a given private cloud. - * - * Method: vmwareengine.projects.locations.privateClouds.hcxActivationKeys.create - * - * Authorization scope(s): - * @c kGTLRAuthScopeVMwareEngineCloudPlatform + * The maximum number of logging servers to return in one page. The service may + * return fewer than this value. The maximum value is coerced to 1000. The + * default value of this field is 500. */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysCreate : GTLRVMwareEngineQuery +@property(nonatomic, assign) NSInteger pageSize; /** - * Required. The user-provided identifier of the `HcxActivationKey` to be - * created. This identifier must be unique among `HcxActivationKey` resources - * within the parent and becomes the final token in the name URI. The - * identifier must meet the following requirements: * Only contains 1-63 - * alphanumeric characters and hyphens * Begins with an alphabetical character - * * Ends with a non-hyphen character * Not formatted as a UUID * Complies with - * [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) + * A page token, received from a previous `ListLoggingServersRequest` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListLoggingServersRequest` must match the call that + * provided the page token. */ -@property(nonatomic, copy, nullable) NSString *hcxActivationKeyId; +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The resource name of the private cloud to create the key for. - * Resource names are schemeless URIs that follow the conventions in + * Required. The resource name of the private cloud to be queried for logging + * servers. Resource names are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1/privateClouds/my-cloud` + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` */ @property(nonatomic, copy, nullable) NSString *parent; /** - * A 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 guarantees that a request doesn't - * result in creation of duplicate commitments for at least 60 minutes. For - * example, consider a situation where you make an initial request and the - * request times out. If you make the request again with the same request ID, - * the server can check if original operation with the same request ID was - * received, and if so, will ignore the second request. This prevents clients - * from accidentally creating duplicate commitments. The request ID must be a - * valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). - */ -@property(nonatomic, copy, nullable) NSString *requestId; - -/** - * Fetches a @c GTLRVMwareEngine_Operation. + * Fetches a @c GTLRVMwareEngine_ListLoggingServersResponse. * - * Creates a new HCX activation key in a given private cloud. + * Lists logging servers configured for a given private cloud. * - * @param object The @c GTLRVMwareEngine_HcxActivationKey to include in the - * query. - * @param parent Required. The resource name of the private cloud to create the - * key for. Resource names are schemeless URIs that follow the conventions in - * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1/privateClouds/my-cloud` + * @param parent Required. The resource name of the private cloud to be queried + * for logging servers. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysCreate + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRVMwareEngine_HcxActivationKey *)object - parent:(NSString *)parent; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Retrieves a `HcxActivationKey` resource by its resource name. + * Updates the parameters of a single logging server. Only fields specified in + * `update_mask` are applied. * - * Method: vmwareengine.projects.locations.privateClouds.hcxActivationKeys.get + * Method: vmwareengine.projects.locations.privateClouds.loggingServers.patch * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGet : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersPatch : GTLRVMwareEngineQuery /** - * Required. The resource name of the HCX activation key to retrieve. Resource - * names are schemeless URIs that follow the conventions in + * Output only. The resource name of this logging server. Resource names are + * schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key` + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRVMwareEngine_HcxActivationKey. - * - * Retrieves a `HcxActivationKey` resource by its resource name. - * - * @param name Required. The resource name of the HCX activation key to - * retrieve. Resource names are schemeless URIs that follow the conventions - * in https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key` - * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGet + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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). */ -+ (instancetype)queryWithName:(NSString *)name; - -@end +@property(nonatomic, copy, nullable) NSString *requestId; /** - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * Method: vmwareengine.projects.locations.privateClouds.hcxActivationKeys.getIamPolicy + * Required. Field mask is used to specify the fields to be overwritten in the + * `LoggingServer` 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. * - * Authorization scope(s): - * @c kGTLRAuthScopeVMwareEngineCloudPlatform - */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicy : GTLRVMwareEngineQuery - -/** - * 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. + * String format is a comma-separated list of fields. */ -@property(nonatomic, copy, nullable) NSString *resource; +@property(nonatomic, copy, nullable) NSString *updateMask; /** - * Fetches a @c GTLRVMwareEngine_Policy. + * Fetches a @c GTLRVMwareEngine_Operation. * - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. + * Updates the parameters of a single logging server. Only fields specified in + * `update_mask` are applied. * - * @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 object The @c GTLRVMwareEngine_LoggingServer to include in the query. + * @param name Output only. The resource name of this logging server. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicy + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsLoggingServersPatch */ -+ (instancetype)queryWithResource:(NSString *)resource; ++ (instancetype)queryWithObject:(GTLRVMwareEngine_LoggingServer *)object + name:(NSString *)name; @end /** - * Lists `HcxActivationKey` resources in a given private cloud. + * Creates a new `ManagementDnsZoneBinding` resource in a private cloud. This + * RPC creates the DNS binding and the resource that represents the DNS binding + * of the consumer VPC network to the management DNS zone. A management DNS + * zone is the Cloud DNS cross-project binding zone that VMware Engine creates + * for each private cloud. It contains FQDNs and corresponding IP addresses for + * the private cloud's ESXi hosts and management VM appliances like vCenter and + * NSX Manager. * - * Method: vmwareengine.projects.locations.privateClouds.hcxActivationKeys.list + * Method: vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.create * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysList : GTLRVMwareEngineQuery - -/** - * The maximum number of HCX activation keys to return in one page. The service - * may return fewer than this value. The maximum value is coerced to 1000. The - * default value of this field is 500. - */ -@property(nonatomic, assign) NSInteger pageSize; +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreate : GTLRVMwareEngineQuery /** - * A page token, received from a previous `ListHcxActivationKeys` call. Provide - * this to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListHcxActivationKeys` must match the call that provided the - * page token. + * Required. The user-provided identifier of the `ManagementDnsZoneBinding` + * resource to be created. This identifier must be unique among + * `ManagementDnsZoneBinding` resources within the parent and becomes the final + * token in the name URI. The identifier must meet the following requirements: + * * Only contains 1-63 alphanumeric characters and hyphens * Begins with an + * alphabetical character * Ends with a non-hyphen character * Not formatted as + * a UUID * Complies with [RFC + * 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@property(nonatomic, copy, nullable) NSString *managementDnsZoneBindingId; /** - * Required. The resource name of the private cloud to be queried for HCX - * activation keys. Resource names are schemeless URIs that follow the + * Required. The resource name of the private cloud to create a new management + * DNS zone binding for. Resource names are schemeless URIs that follow the * conventions in https://cloud.google.com/apis/design/resource_names. For - * example: `projects/my-project/locations/us-central1/privateClouds/my-cloud` + * example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRVMwareEngine_ListHcxActivationKeysResponse. - * - * Lists `HcxActivationKey` resources in a given private cloud. + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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 the original operation with the same + * request ID was received, and if so, will ignore the second request. This + * prevents clients from accidentally creating duplicate commitments. The + * request ID must be a valid UUID with the exception that zero UUID is not + * supported (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. * - * @param parent Required. The resource name of the private cloud to be queried - * for HCX activation keys. Resource names are schemeless URIs that follow - * the conventions in https://cloud.google.com/apis/design/resource_names. - * For example: - * `projects/my-project/locations/us-central1/privateClouds/my-cloud` + * Creates a new `ManagementDnsZoneBinding` resource in a private cloud. This + * RPC creates the DNS binding and the resource that represents the DNS binding + * of the consumer VPC network to the management DNS zone. A management DNS + * zone is the Cloud DNS cross-project binding zone that VMware Engine creates + * for each private cloud. It contains FQDNs and corresponding IP addresses for + * the private cloud's ESXi hosts and management VM appliances like vCenter and + * NSX Manager. * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysList + * @param object The @c GTLRVMwareEngine_ManagementDnsZoneBinding to include in + * the query. + * @param parent Required. The resource name of the private cloud to create a + * new management DNS zone binding for. Resource names are schemeless URIs + * that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreate */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRVMwareEngine_ManagementDnsZoneBinding *)object + parent:(NSString *)parent; @end /** - * Sets the access control policy on the specified resource. Replaces any - * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and - * `PERMISSION_DENIED` errors. + * Deletes a `ManagementDnsZoneBinding` resource. When a management DNS zone + * binding is deleted, the corresponding consumer VPC network is no longer + * bound to the management DNS zone. * - * Method: vmwareengine.projects.locations.privateClouds.hcxActivationKeys.setIamPolicy + * Method: vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.delete * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicy : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDelete : GTLRVMwareEngineQuery /** - * 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. + * Required. The resource name of the management DNS zone binding to delete. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` */ -@property(nonatomic, copy, nullable) NSString *resource; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRVMwareEngine_Policy. + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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 the original operation with the same + * request ID was received, and if so, will ignore the second request. This + * prevents clients from accidentally creating duplicate commitments. The + * request ID must be a valid UUID with the exception that zero UUID is not + * supported (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. * - * Sets the access control policy on the specified resource. Replaces any - * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and - * `PERMISSION_DENIED` errors. + * Deletes a `ManagementDnsZoneBinding` resource. When a management DNS zone + * binding is deleted, the corresponding consumer VPC network is no longer + * bound to the management DNS zone. * - * @param object The @c GTLRVMwareEngine_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. + * @param name Required. The resource name of the management DNS zone binding + * to delete. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicy + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDelete */ -+ (instancetype)queryWithObject:(GTLRVMwareEngine_SetIamPolicyRequest *)object - resource:(NSString *)resource; ++ (instancetype)queryWithName:(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. + * Retrieves a 'ManagementDnsZoneBinding' resource by its resource name. * - * Method: vmwareengine.projects.locations.privateClouds.hcxActivationKeys.testIamPermissions + * Method: vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.get * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissions : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGet : GTLRVMwareEngineQuery /** - * 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. + * Required. The resource name of the management DNS zone binding to retrieve. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` */ -@property(nonatomic, copy, nullable) NSString *resource; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRVMwareEngine_TestIamPermissionsResponse. + * Fetches a @c GTLRVMwareEngine_ManagementDnsZoneBinding. * - * 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. + * Retrieves a 'ManagementDnsZoneBinding' resource by its resource name. * - * @param object The @c GTLRVMwareEngine_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. + * @param name Required. The resource name of the management DNS zone binding + * to retrieve. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissions + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGet */ -+ (instancetype)queryWithObject:(GTLRVMwareEngine_TestIamPermissionsRequest *)object - resource:(NSString *)resource; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Lists `PrivateCloud` resources in a given project and location. + * Lists Consumer VPCs bound to Management DNS Zone of a given private cloud. * - * Method: vmwareengine.projects.locations.privateClouds.list + * Method: vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.list * * Authorization scope(s): * @c kGTLRAuthScopeVMwareEngineCloudPlatform */ -@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsList : GTLRVMwareEngineQuery +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsList : GTLRVMwareEngineQuery /** * A filter expression that matches resources returned in the response. The * expression must specify the field name, a comparison operator, and the value * that you want to use for filtering. The value must be a string, a number, or * a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For - * example, if you are filtering a list of private clouds, you can exclude the - * ones named `example-pc` by specifying `name != "example-pc"`. You can also - * filter nested fields. For example, you could specify - * `networkConfig.managementCidr = "192.168.0.0/24"` to include private clouds - * only if they have a matching address in their network configuration. To - * filter on multiple expressions, provide each separate expression within - * parentheses. For example: ``` (name = "example-pc") (createTime > - * "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND` + * example, if you are filtering a list of Management DNS Zone Bindings, you + * can exclude the ones named `example-management-dns-zone-binding` by + * specifying `name != "example-management-dns-zone-binding"`. To filter on + * multiple expressions, provide each separate expression within parentheses. + * For example: ``` (name = "example-management-dns-zone-binding") (createTime + * > "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND` * expression. However, you can include `AND` and `OR` expressions explicitly. - * For example: ``` (name = "private-cloud-1") AND (createTime > - * "2021-04-12T08:15:10.40Z") OR (name = "private-cloud-2") ``` + * For example: ``` (name = "example-management-dns-zone-binding-1") AND + * (createTime > "2021-04-12T08:15:10.40Z") OR (name = + * "example-management-dns-zone-binding-2") ``` */ @property(nonatomic, copy, nullable) NSString *filter; @@ -1596,39 +3393,41 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *orderBy; /** - * The maximum number of private clouds to return in one page. The service may - * return fewer than this value. The maximum value is coerced to 1000. The - * default value of this field is 500. + * The maximum number of management DNS zone bindings to return in one page. + * The service may return fewer than this value. The maximum value is coerced + * to 1000. The default value of this field is 500. */ @property(nonatomic, assign) NSInteger pageSize; /** - * A page token, received from a previous `ListPrivateClouds` call. Provide - * this to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListPrivateClouds` must match the call that provided the page - * token. + * A page token, received from a previous `ListManagementDnsZoneBindings` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListManagementDnsZoneBindings` must match the call + * that provided the page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The resource name of the private cloud to be queried for clusters. - * Resource names are schemeless URIs that follow the conventions in - * https://cloud.google.com/apis/design/resource_names. For example: - * `projects/my-project/locations/us-central1-a` + * Required. The resource name of the private cloud to be queried for + * management DNS zone bindings. Resource names are schemeless URIs that follow + * the conventions in https://cloud.google.com/apis/design/resource_names. For + * example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRVMwareEngine_ListPrivateCloudsResponse. + * Fetches a @c GTLRVMwareEngine_ListManagementDnsZoneBindingsResponse. * - * Lists `PrivateCloud` resources in a given project and location. + * Lists Consumer VPCs bound to Management DNS Zone of a given private cloud. * * @param parent Required. The resource name of the private cloud to be queried - * for clusters. Resource names are schemeless URIs that follow the - * conventions in https://cloud.google.com/apis/design/resource_names. For - * example: `projects/my-project/locations/us-central1-a` + * for management DNS zone bindings. Resource names are schemeless URIs that + * follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` * - * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsList + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -1638,6 +3437,110 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Updates a `ManagementDnsZoneBinding` resource. Only fields specified in + * `update_mask` are applied. + * + * Method: vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatch : GTLRVMwareEngineQuery + +/** + * Output only. The resource name of this binding. Resource names are + * schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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 the 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. Field mask is used to specify the fields to be overwritten in the + * `ManagementDnsZoneBinding` 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 GTLRVMwareEngine_Operation. + * + * Updates a `ManagementDnsZoneBinding` resource. Only fields specified in + * `update_mask` are applied. + * + * @param object The @c GTLRVMwareEngine_ManagementDnsZoneBinding to include in + * the query. + * @param name Output only. The resource name of this binding. Resource names + * are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatch + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_ManagementDnsZoneBinding *)object + name:(NSString *)name; + +@end + +/** + * Retries to create a `ManagementDnsZoneBinding` resource that is in failed + * state. + * + * Method: vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.repair + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepair : GTLRVMwareEngineQuery + +/** + * Required. The resource name of the management DNS zone binding to repair. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. + * + * Retries to create a `ManagementDnsZoneBinding` resource that is in failed + * state. + * + * @param object The @c GTLRVMwareEngine_RepairManagementDnsZoneBindingRequest + * to include in the query. + * @param name Required. The resource name of the management DNS zone binding + * to repair. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepair + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_RepairManagementDnsZoneBindingRequest *)object + name:(NSString *)name; + +@end + /** * Modifies a `PrivateCloud` resource. Only the following fields can be * updated: `description`. Only fields specified in `updateMask` are applied. @@ -1870,6 +3773,16 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *privateCloud; +/** + * Optional. The username of the user to be queried for credentials. The + * default value of this field is CloudOwner\@gve.local. The provided value + * must be one of the following: CloudOwner\@gve.local, + * solution-user-01\@gve.local, solution-user-02\@gve.local, + * solution-user-03\@gve.local, solution-user-04\@gve.local, + * solution-user-05\@gve.local, zertoadmin\@gve.local. + */ +@property(nonatomic, copy, nullable) NSString *username; + /** * Fetches a @c GTLRVMwareEngine_Credentials. * @@ -2115,6 +4028,70 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Updates the parameters of the `DnsForwarding` config, like associated + * domains. Only fields specified in `update_mask` are applied. + * + * Method: vmwareengine.projects.locations.privateClouds.updateDnsForwarding + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsUpdateDnsForwarding : GTLRVMwareEngineQuery + +/** + * Output only. The resource name of this DNS profile. Resource names are + * schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. A 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 guarantees that a + * request doesn't result in creation of duplicate commitments for at least 60 + * minutes. 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. Field mask is used to specify the fields to be overwritten in the + * `DnsForwarding` 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 GTLRVMwareEngine_Operation. + * + * Updates the parameters of the `DnsForwarding` config, like associated + * domains. Only fields specified in `update_mask` are applied. + * + * @param object The @c GTLRVMwareEngine_DnsForwarding to include in the query. + * @param name Output only. The resource name of this DNS profile. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsUpdateDnsForwarding + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_DnsForwarding *)object + name:(NSString *)name; + +@end + /** * Creates a new private connection that can be used for accessing private * Clouds. diff --git a/Sources/GeneratedServices/WebSecurityScanner/GTLRWebSecurityScannerObjects.m b/Sources/GeneratedServices/WebSecurityScanner/GTLRWebSecurityScannerObjects.m index d4a6c9aa9..ffbaf812a 100644 --- a/Sources/GeneratedServices/WebSecurityScanner/GTLRWebSecurityScannerObjects.m +++ b/Sources/GeneratedServices/WebSecurityScanner/GTLRWebSecurityScannerObjects.m @@ -42,6 +42,7 @@ NSString * const kGTLRWebSecurityScanner_ScanConfigError_Code_AppengineDefaultHostMissing = @"APPENGINE_DEFAULT_HOST_MISSING"; NSString * const kGTLRWebSecurityScanner_ScanConfigError_Code_CannotUseGoogleComAccount = @"CANNOT_USE_GOOGLE_COM_ACCOUNT"; NSString * const kGTLRWebSecurityScanner_ScanConfigError_Code_CannotUseOwnerAccount = @"CANNOT_USE_OWNER_ACCOUNT"; +NSString * const kGTLRWebSecurityScanner_ScanConfigError_Code_CloudAssetInventoryAssetNotFound = @"CLOUD_ASSET_INVENTORY_ASSET_NOT_FOUND"; NSString * const kGTLRWebSecurityScanner_ScanConfigError_Code_CodeUnspecified = @"CODE_UNSPECIFIED"; NSString * const kGTLRWebSecurityScanner_ScanConfigError_Code_ComputeApiBackendError = @"COMPUTE_API_BACKEND_ERROR"; NSString * const kGTLRWebSecurityScanner_ScanConfigError_Code_ComputeApiNotAccessible = @"COMPUTE_API_NOT_ACCESSIBLE"; diff --git a/Sources/GeneratedServices/WebSecurityScanner/Public/GoogleAPIClientForREST/GTLRWebSecurityScannerObjects.h b/Sources/GeneratedServices/WebSecurityScanner/Public/GoogleAPIClientForREST/GTLRWebSecurityScannerObjects.h index 8fc330366..e477c1ef3 100644 --- a/Sources/GeneratedServices/WebSecurityScanner/Public/GoogleAPIClientForREST/GTLRWebSecurityScannerObjects.h +++ b/Sources/GeneratedServices/WebSecurityScanner/Public/GoogleAPIClientForREST/GTLRWebSecurityScannerObjects.h @@ -190,6 +190,12 @@ FOUNDATION_EXTERN NSString * const kGTLRWebSecurityScanner_ScanConfigError_Code_ * Value: "CANNOT_USE_OWNER_ACCOUNT" */ FOUNDATION_EXTERN NSString * const kGTLRWebSecurityScanner_ScanConfigError_Code_CannotUseOwnerAccount; +/** + * CAI is not able to list assets. + * + * Value: "CLOUD_ASSET_INVENTORY_ASSET_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRWebSecurityScanner_ScanConfigError_Code_CloudAssetInventoryAssetNotFound; /** * There is no error. * @@ -1275,6 +1281,9 @@ GTLR_DEPRECATED * @arg @c kGTLRWebSecurityScanner_ScanConfigError_Code_CannotUseOwnerAccount * The account of the scan creator can not be used for scanning. (Value: * "CANNOT_USE_OWNER_ACCOUNT") + * @arg @c kGTLRWebSecurityScanner_ScanConfigError_Code_CloudAssetInventoryAssetNotFound + * CAI is not able to list assets. (Value: + * "CLOUD_ASSET_INVENTORY_ASSET_NOT_FOUND") * @arg @c kGTLRWebSecurityScanner_ScanConfigError_Code_CodeUnspecified There * is no error. (Value: "CODE_UNSPECIFIED") * @arg @c kGTLRWebSecurityScanner_ScanConfigError_Code_ComputeApiBackendError diff --git a/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m b/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m index 354b5c7cf..f1083454d 100644 --- a/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m +++ b/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m @@ -32,6 +32,42 @@ NSString * const kGTLRWorkflowExecutions_StateError_Type_KmsError = @"KMS_ERROR"; NSString * const kGTLRWorkflowExecutions_StateError_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRWorkflowExecutions_StepEntry.state +NSString * const kGTLRWorkflowExecutions_StepEntry_State_StateFailed = @"STATE_FAILED"; +NSString * const kGTLRWorkflowExecutions_StepEntry_State_StateInProgress = @"STATE_IN_PROGRESS"; +NSString * const kGTLRWorkflowExecutions_StepEntry_State_StateSucceeded = @"STATE_SUCCEEDED"; +NSString * const kGTLRWorkflowExecutions_StepEntry_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRWorkflowExecutions_StepEntry.stepType +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepAssign = @"STEP_ASSIGN"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepCall = @"STEP_CALL"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepCondition = @"STEP_CONDITION"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepConnectorCall = @"STEP_CONNECTOR_CALL"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepExcept = @"STEP_EXCEPT"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepFor = @"STEP_FOR"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepForIteration = @"STEP_FOR_ITERATION"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepGoto = @"STEP_GOTO"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepParallelBranch = @"STEP_PARALLEL_BRANCH"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepParallelBranchEntry = @"STEP_PARALLEL_BRANCH_ENTRY"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepParallelFor = @"STEP_PARALLEL_FOR"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepRaise = @"STEP_RAISE"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepRetry = @"STEP_RETRY"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepReturn = @"STEP_RETURN"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepStdLibCall = @"STEP_STD_LIB_CALL"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepSubworkflowCall = @"STEP_SUBWORKFLOW_CALL"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepSwitch = @"STEP_SWITCH"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepTry = @"STEP_TRY"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepTryRetryExcept = @"STEP_TRY_RETRY_EXCEPT"; +NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepTypeUnspecified = @"STEP_TYPE_UNSPECIFIED"; + +// GTLRWorkflowExecutions_StepEntryMetadata.progressType +NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeFor = @"PROGRESS_TYPE_FOR"; +NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeParallelBranch = @"PROGRESS_TYPE_PARALLEL_BRANCH"; +NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeParallelFor = @"PROGRESS_TYPE_PARALLEL_FOR"; +NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeRetry = @"PROGRESS_TYPE_RETRY"; +NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeSwitch = @"PROGRESS_TYPE_SWITCH"; +NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeUnspecified = @"PROGRESS_TYPE_UNSPECIFIED"; + // ---------------------------------------------------------------------------- // // GTLRWorkflowExecutions_Callback @@ -69,6 +105,16 @@ @implementation GTLRWorkflowExecutions_Error @end +// ---------------------------------------------------------------------------- +// +// GTLRWorkflowExecutions_Exception +// + +@implementation GTLRWorkflowExecutions_Exception +@dynamic payload; +@end + + // ---------------------------------------------------------------------------- // // GTLRWorkflowExecutions_Execution @@ -148,6 +194,46 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRWorkflowExecutions_ListStepEntriesResponse +// + +@implementation GTLRWorkflowExecutions_ListStepEntriesResponse +@dynamic nextPageToken, stepEntries, totalSize; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"stepEntries" : [GTLRWorkflowExecutions_StepEntry class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"stepEntries"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWorkflowExecutions_NavigationInfo +// + +@implementation GTLRWorkflowExecutions_NavigationInfo +@dynamic children, next, parent, previous; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"children" : [NSNumber class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRWorkflowExecutions_Position @@ -248,6 +334,27 @@ @implementation GTLRWorkflowExecutions_Step @end +// ---------------------------------------------------------------------------- +// +// GTLRWorkflowExecutions_StepEntry +// + +@implementation GTLRWorkflowExecutions_StepEntry +@dynamic createTime, entryId, exception, name, navigationInfo, routine, state, + step, stepEntryMetadata, stepType, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWorkflowExecutions_StepEntryMetadata +// + +@implementation GTLRWorkflowExecutions_StepEntryMetadata +@dynamic progressNumber, progressType, threadId; +@end + + // ---------------------------------------------------------------------------- // // GTLRWorkflowExecutions_TriggerPubsubExecutionRequest diff --git a/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsQuery.m b/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsQuery.m index dbeb3dc00..b44faf18b 100644 --- a/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsQuery.m +++ b/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsQuery.m @@ -158,6 +158,44 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRWorkflowExecutionsQuery_ProjectsLocationsWorkflowsExecutionsStepEntriesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRWorkflowExecutionsQuery_ProjectsLocationsWorkflowsExecutionsStepEntriesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRWorkflowExecutions_StepEntry class]; + query.loggingName = @"workflowexecutions.projects.locations.workflows.executions.stepEntries.get"; + return query; +} + +@end + +@implementation GTLRWorkflowExecutionsQuery_ProjectsLocationsWorkflowsExecutionsStepEntriesList + +@dynamic filter, orderBy, pageSize, pageToken, parent, skip; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/stepEntries"; + GTLRWorkflowExecutionsQuery_ProjectsLocationsWorkflowsExecutionsStepEntriesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRWorkflowExecutions_ListStepEntriesResponse class]; + query.loggingName = @"workflowexecutions.projects.locations.workflows.executions.stepEntries.list"; + return query; +} + +@end + @implementation GTLRWorkflowExecutionsQuery_ProjectsLocationsWorkflowsTriggerPubsubExecution @dynamic workflow; diff --git a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h index 96dbf5d3f..c8fb0efc3 100644 --- a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h +++ b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h @@ -16,8 +16,10 @@ @class GTLRWorkflowExecutions_Callback; @class GTLRWorkflowExecutions_Error; +@class GTLRWorkflowExecutions_Exception; @class GTLRWorkflowExecutions_Execution; @class GTLRWorkflowExecutions_Execution_Labels; +@class GTLRWorkflowExecutions_NavigationInfo; @class GTLRWorkflowExecutions_Position; @class GTLRWorkflowExecutions_PubsubMessage; @class GTLRWorkflowExecutions_PubsubMessage_Attributes; @@ -26,6 +28,8 @@ @class GTLRWorkflowExecutions_StateError; @class GTLRWorkflowExecutions_Status; @class GTLRWorkflowExecutions_Step; +@class GTLRWorkflowExecutions_StepEntry; +@class GTLRWorkflowExecutions_StepEntryMetadata; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -128,6 +132,198 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StateError_Type_KmsEr */ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StateError_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRWorkflowExecutions_StepEntry.state + +/** + * The step entry failed with an error. + * + * Value: "STATE_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_State_StateFailed; +/** + * The step entry is in progress. + * + * Value: "STATE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_State_StateInProgress; +/** + * The step entry finished successfully. + * + * Value: "STATE_SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_State_StateSucceeded; +/** + * Invalid state. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWorkflowExecutions_StepEntry.stepType + +/** + * The step entry assigns new variable(s). + * + * Value: "STEP_ASSIGN" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepAssign; +/** + * The step entry calls a subworkflow/stdlib. + * + * Value: "STEP_CALL" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepCall; +/** + * The step entry executes a condition inside a switch. + * + * Value: "STEP_CONDITION" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepCondition; +/** + * The step entry calls a connector. + * + * Value: "STEP_CONNECTOR_CALL" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepConnectorCall; +/** + * The step entry executes the except part of a try/retry/except block. + * + * Value: "STEP_EXCEPT" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepExcept; +/** + * The step entry executes a for loop. + * + * Value: "STEP_FOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepFor; +/** + * The step entry executes a iteration of a for loop. + * + * Value: "STEP_FOR_ITERATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepForIteration; +/** + * The step entry jumps to another step. + * + * Value: "STEP_GOTO" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepGoto; +/** + * The step entry executes a series of parallel branch(es). + * + * Value: "STEP_PARALLEL_BRANCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepParallelBranch; +/** + * The step entry executes a branch of a parallel branch. + * + * Value: "STEP_PARALLEL_BRANCH_ENTRY" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepParallelBranchEntry; +/** + * The step entry executes a parallel for loop. + * + * Value: "STEP_PARALLEL_FOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepParallelFor; +/** + * The step entry raises an error. + * + * Value: "STEP_RAISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepRaise; +/** + * The step entry executes the retry part of a try/retry/except block. + * + * Value: "STEP_RETRY" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepRetry; +/** + * The step entry returns. + * + * Value: "STEP_RETURN" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepReturn; +/** + * The step entry calls a standard library routine. + * + * Value: "STEP_STD_LIB_CALL" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepStdLibCall; +/** + * The step entry calls a subworklfow. + * + * Value: "STEP_SUBWORKFLOW_CALL" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepSubworkflowCall; +/** + * The step entry executes a switch-case block. + * + * Value: "STEP_SWITCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepSwitch; +/** + * The step entry executes the try part of a try/retry/except block. + * + * Value: "STEP_TRY" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepTry; +/** + * The step entry executes a try/retry/except block. + * + * Value: "STEP_TRY_RETRY_EXCEPT" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepTryRetryExcept; +/** + * Invalid step type. + * + * Value: "STEP_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntry_StepType_StepTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWorkflowExecutions_StepEntryMetadata.progressType + +/** + * Current step entry is in progress of a FOR step. + * + * Value: "PROGRESS_TYPE_FOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeFor; +/** + * Current step entry is in progress of a PARALLEL BRANCH step. + * + * Value: "PROGRESS_TYPE_PARALLEL_BRANCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeParallelBranch; +/** + * Current step entry is in progress of a PARALLEL FOR step. + * + * Value: "PROGRESS_TYPE_PARALLEL_FOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeParallelFor; +/** + * Current step entry is in progress of a RETRY step. + * + * Value: "PROGRESS_TYPE_RETRY" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeRetry; +/** + * Current step entry is in progress of a SWITCH step. + * + * Value: "PROGRESS_TYPE_SWITCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeSwitch; +/** + * Current step entry does not have any progress data. + * + * Value: "PROGRESS_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeUnspecified; + /** * An instance of a Callback created by an execution. */ @@ -185,6 +381,17 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StateError_Type_TypeU @end +/** + * Exception describes why the step entry failed. + */ +@interface GTLRWorkflowExecutions_Exception : GTLRObject + +/** Error message represented as a JSON string. */ +@property(nonatomic, copy, nullable) NSString *payload; + +@end + + /** * A running instance of a * [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows). @@ -379,6 +586,81 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StateError_Type_TypeU @end +/** + * Response message for ExecutionHistory.ListStepEntries. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "stepEntries" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRWorkflowExecutions_ListStepEntriesResponse : GTLRCollectionObject + +/** + * A token to retrieve next page of results. Pass this value in the + * ListStepEntriesRequest.page_token field in the subsequent call to + * `ListStepEntries` method to retrieve the next page of results. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of entries. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *stepEntries; + +/** + * Indicates the total number of StepEntries that matched the request filter. + * For running executions, this number shows the number of StepEntries that are + * executed thus far. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalSize; + +@end + + +/** + * NavigationInfo describes what steps if any come before or after this step, + * or what steps are parents or children of this step. + */ +@interface GTLRWorkflowExecutions_NavigationInfo : GTLRObject + +/** + * Step entries that can be reached by "stepping into" e.g. a subworkflow call. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *children; + +/** + * The index of the next step in the current workflow, if any. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *next; + +/** + * The step entry, if any, that can be reached by "stepping out" of the current + * workflow being executed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *parent; + +/** + * The index of the previous step in the current workflow, if any. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *previous; + +@end + + /** * Position contains source position information about the stack trace element * such as line number, column number and length of the code block in bytes. @@ -565,6 +847,167 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StateError_Type_TypeU @end +/** + * An StepEntry contains debugging information for a step transition in a + * workflow execution. + */ +@interface GTLRWorkflowExecutions_StepEntry : GTLRObject + +/** Output only. The creation time of the step entry. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. The numeric ID of this step entry, used for navigation. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *entryId; + +/** Output only. The exception thrown by the step entry. */ +@property(nonatomic, strong, nullable) GTLRWorkflowExecutions_Exception *exception; + +/** + * Output only. The full resource name of the step entry. Each step entry has a + * unique entry ID, which is a monotonically increasing counter. Step entry + * names have the format: + * `projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/{step_entry}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The NavigationInfo associated to this step. */ +@property(nonatomic, strong, nullable) GTLRWorkflowExecutions_NavigationInfo *navigationInfo; + +/** + * Output only. The name of the routine this step entry belongs to. A routine + * name is the subworkflow name defined in the YAML source code. The top level + * routine name is `main`. + */ +@property(nonatomic, copy, nullable) NSString *routine; + +/** + * Output only. The state of the step entry. + * + * Likely values: + * @arg @c kGTLRWorkflowExecutions_StepEntry_State_StateFailed The step entry + * failed with an error. (Value: "STATE_FAILED") + * @arg @c kGTLRWorkflowExecutions_StepEntry_State_StateInProgress The step + * entry is in progress. (Value: "STATE_IN_PROGRESS") + * @arg @c kGTLRWorkflowExecutions_StepEntry_State_StateSucceeded The step + * entry finished successfully. (Value: "STATE_SUCCEEDED") + * @arg @c kGTLRWorkflowExecutions_StepEntry_State_StateUnspecified Invalid + * state. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. The name of the step this step entry belongs to. */ +@property(nonatomic, copy, nullable) NSString *step; + +/** Output only. The StepEntryMetadata associated to this step. */ +@property(nonatomic, strong, nullable) GTLRWorkflowExecutions_StepEntryMetadata *stepEntryMetadata; + +/** + * Output only. The type of the step this step entry belongs to. + * + * Likely values: + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepAssign The step + * entry assigns new variable(s). (Value: "STEP_ASSIGN") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepCall The step entry + * calls a subworkflow/stdlib. (Value: "STEP_CALL") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepCondition The step + * entry executes a condition inside a switch. (Value: "STEP_CONDITION") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepConnectorCall The + * step entry calls a connector. (Value: "STEP_CONNECTOR_CALL") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepExcept The step + * entry executes the except part of a try/retry/except block. (Value: + * "STEP_EXCEPT") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepFor The step entry + * executes a for loop. (Value: "STEP_FOR") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepForIteration The + * step entry executes a iteration of a for loop. (Value: + * "STEP_FOR_ITERATION") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepGoto The step entry + * jumps to another step. (Value: "STEP_GOTO") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepParallelBranch The + * step entry executes a series of parallel branch(es). (Value: + * "STEP_PARALLEL_BRANCH") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepParallelBranchEntry + * The step entry executes a branch of a parallel branch. (Value: + * "STEP_PARALLEL_BRANCH_ENTRY") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepParallelFor The + * step entry executes a parallel for loop. (Value: "STEP_PARALLEL_FOR") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepRaise The step + * entry raises an error. (Value: "STEP_RAISE") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepRetry The step + * entry executes the retry part of a try/retry/except block. (Value: + * "STEP_RETRY") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepReturn The step + * entry returns. (Value: "STEP_RETURN") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepStdLibCall The step + * entry calls a standard library routine. (Value: "STEP_STD_LIB_CALL") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepSubworkflowCall The + * step entry calls a subworklfow. (Value: "STEP_SUBWORKFLOW_CALL") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepSwitch The step + * entry executes a switch-case block. (Value: "STEP_SWITCH") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepTry The step entry + * executes the try part of a try/retry/except block. (Value: "STEP_TRY") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepTryRetryExcept The + * step entry executes a try/retry/except block. (Value: + * "STEP_TRY_RETRY_EXCEPT") + * @arg @c kGTLRWorkflowExecutions_StepEntry_StepType_StepTypeUnspecified + * Invalid step type. (Value: "STEP_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *stepType; + +/** Output only. The most recently updated time of the step entry. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * StepEntryMetadata contains metadata information about this step. + */ +@interface GTLRWorkflowExecutions_StepEntryMetadata : GTLRObject + +/** + * Progress number represents the current state of the current progress. eg: A + * step entry represents the 4th iteration in a progress of PROGRESS_TYPE_FOR. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *progressNumber; + +/** + * Progress type of this step entry. + * + * Likely values: + * @arg @c kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeFor + * Current step entry is in progress of a FOR step. (Value: + * "PROGRESS_TYPE_FOR") + * @arg @c kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeParallelBranch + * Current step entry is in progress of a PARALLEL BRANCH step. (Value: + * "PROGRESS_TYPE_PARALLEL_BRANCH") + * @arg @c kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeParallelFor + * Current step entry is in progress of a PARALLEL FOR step. (Value: + * "PROGRESS_TYPE_PARALLEL_FOR") + * @arg @c kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeRetry + * Current step entry is in progress of a RETRY step. (Value: + * "PROGRESS_TYPE_RETRY") + * @arg @c kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeSwitch + * Current step entry is in progress of a SWITCH step. (Value: + * "PROGRESS_TYPE_SWITCH") + * @arg @c kGTLRWorkflowExecutions_StepEntryMetadata_ProgressType_ProgressTypeUnspecified + * Current step entry does not have any progress data. (Value: + * "PROGRESS_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *progressType; + +/** Child thread id that this step entry belongs to. */ +@property(nonatomic, copy, nullable) NSString *threadId; + +@end + + /** * Request for the TriggerPubsubExecution method. */ diff --git a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h index 8c5903deb..7aeafa598 100644 --- a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h +++ b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h @@ -353,6 +353,112 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutionsViewFull; @end +/** + * Gets a step entry. + * + * Method: workflowexecutions.projects.locations.workflows.executions.stepEntries.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWorkflowExecutionsCloudPlatform + */ +@interface GTLRWorkflowExecutionsQuery_ProjectsLocationsWorkflowsExecutionsStepEntriesGet : GTLRWorkflowExecutionsQuery + +/** + * Required. The name of the step entry to retrieve. Format: + * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/{step_entry} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRWorkflowExecutions_StepEntry. + * + * Gets a step entry. + * + * @param name Required. The name of the step entry to retrieve. Format: + * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/{step_entry} + * + * @return GTLRWorkflowExecutionsQuery_ProjectsLocationsWorkflowsExecutionsStepEntriesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists step entries for the corresponding workflow execution. Returned + * entries are ordered by their create_time. + * + * Method: workflowexecutions.projects.locations.workflows.executions.stepEntries.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWorkflowExecutionsCloudPlatform + */ +@interface GTLRWorkflowExecutionsQuery_ProjectsLocationsWorkflowsExecutionsStepEntriesList : GTLRWorkflowExecutionsQuery + +/** + * Optional. Filters applied to the `[StepEntries.ListStepEntries]` results. + * The following fields are supported for filtering: `entryId`, `createTime`, + * `updateTime`, `routine`, `step`, `stepType`, `state`. For details, see + * AIP-160. For example, if you are using the Google APIs Explorer: + * `state="SUCCEEDED"` or `createTime>"2023-08-01" AND state="FAILED"` + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Comma-separated list of fields that specify the ordering applied + * to the `[StepEntries.ListStepEntries]` results. By default the ordering is + * based on ascending `entryId`. The following fields are supported for + * ordering: `entryId`, `createTime`, `updateTime`, `routine`, `step`, + * `stepType`, `state`. For details, see AIP-132. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. Number of step entries to return per call. The default max is + * 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListStepEntries` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListStepEntries` must match the call that provided + * the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Name of the workflow execution to list entries for. Format: + * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/ + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. The number of step entries to skip. It can be used with or without + * a pageToken. If used with a pageToken, then it indicates the number of step + * entries to skip starting from the requested page. + */ +@property(nonatomic, assign) NSInteger skip; + +/** + * Fetches a @c GTLRWorkflowExecutions_ListStepEntriesResponse. + * + * Lists step entries for the corresponding workflow execution. Returned + * entries are ordered by their create_time. + * + * @param parent Required. Name of the workflow execution to list entries for. + * Format: + * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/ + * + * @return GTLRWorkflowExecutionsQuery_ProjectsLocationsWorkflowsExecutionsStepEntriesList + * + * @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 + /** * Triggers a new execution using the latest revision of the given workflow by * a Pub/Sub push notification.