From a91e1a0fad3740f42fa214cef9e60459ac9fd80a Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Fri, 5 Jan 2024 15:45:04 -0500 Subject: [PATCH] Generate current service sources. --- GoogleAPIClientForREST.podspec | 10 + Package.swift | 20 + .../GTLRAIPlatformNotebooksObjects.m | 2 +- .../GTLRAIPlatformNotebooksObjects.h | 33 +- .../GTLRAccessApprovalObjects.m | 1 + .../GTLRAccessApprovalObjects.h | 22 +- .../GTLRAccessContextManagerObjects.m | 51 + .../GTLRAccessContextManagerQuery.m | 36 + .../GTLRAccessContextManagerObjects.h | 225 +- .../GTLRAccessContextManagerQuery.h | 66 + .../GTLRAdExchangeBuyerIIQuery.m | 282 + .../GTLRAdExchangeBuyerIIQuery.h | 784 ++ .../GTLRAdvisorynotificationsQuery.m | 38 + .../GTLRAdvisorynotificationsObjects.h | 5 +- .../GTLRAdvisorynotificationsQuery.h | 136 +- .../Aiplatform/GTLRAiplatformObjects.m | 1227 ++- .../Aiplatform/GTLRAiplatformQuery.m | 251 +- .../GTLRAiplatformObjects.h | 2739 ++++- .../GTLRAiplatformQuery.h | 402 +- .../AnalyticsData/GTLRAnalyticsDataObjects.m | 184 + .../AnalyticsData/GTLRAnalyticsDataQuery.m | 92 + .../GTLRAnalyticsDataObjects.h | 390 + .../GTLRAnalyticsDataQuery.h | 248 + .../AnalyticsHub/GTLRAnalyticsHubQuery.m | 54 + .../GTLRAnalyticsHubQuery.h | 74 + .../GTLRAndroidManagementObjects.h | 6 +- .../GTLRAndroidPublisherObjects.m | 431 +- .../GTLRAndroidPublisherQuery.m | 312 +- .../GTLRAndroidPublisherObjects.h | 891 ++ .../GTLRAndroidPublisherQuery.h | 619 ++ .../Apigee/GTLRApigeeObjects.m | 66 +- .../Apigee/GTLRApigeeQuery.m | 100 + .../GTLRApigeeObjects.h | 180 +- .../GoogleAPIClientForREST/GTLRApigeeQuery.h | 158 + .../AppHub/GTLRAppHubObjects.m | 325 + .../AppHub/GTLRAppHubQuery.m | 214 + .../AppHub/GTLRAppHubService.m | 33 + .../GoogleAPIClientForREST/GTLRAppHub.h | 11 + .../GTLRAppHubObjects.h | 640 ++ .../GoogleAPIClientForREST/GTLRAppHubQuery.h | 391 + .../GTLRAppHubService.h | 69 + .../GTLRArtifactRegistryObjects.m | 2 +- .../GTLRArtifactRegistryObjects.h | 3 - .../GTLRAssuredworkloadsObjects.m | 9 + .../GTLRAssuredworkloadsQuery.m | 19 + .../GTLRAssuredworkloadsObjects.h | 9 +- .../GTLRAssuredworkloadsQuery.h | 32 + .../GTLRAuthorizedBuyersMarketplaceObjects.m | 1 + .../GTLRAuthorizedBuyersMarketplaceObjects.h | 10 + .../Backupdr/GTLRBackupdrQuery.m | 27 + .../GTLRBackupdrObjects.h | 29 +- .../GTLRBackupdrQuery.h | 44 + .../GTLRBackupforGKEObjects.h | 4 +- .../GTLRBareMetalSolutionObjects.m | 54 +- .../GTLRBareMetalSolutionQuery.m | 19 + .../GTLRBareMetalSolutionObjects.h | 60 +- .../GTLRBareMetalSolutionQuery.h | 26 + .../Bigquery/GTLRBigqueryObjects.m | 27 +- .../GTLRBigqueryObjects.h | 95 + .../GTLRBinaryAuthorizationObjects.h | 46 +- .../GTLRBlockchainNodeEngineObjects.m | 20 +- .../GTLRBlockchainNodeEngineObjects.h | 29 +- .../Calendar/GTLRCalendarObjects.m | 33 +- .../GTLRCalendarObjects.h | 64 + .../GTLRCalendarQuery.h | 58 +- .../GTLRCertificateAuthorityServiceObjects.h | 4 +- .../GTLRCertificateAuthorityServiceQuery.h | 8 +- .../ChecksService/GTLRChecksServiceObjects.m | 8 +- .../GTLRChecksServiceObjects.h | 44 + .../ChromePolicy/GTLRChromePolicyObjects.m | 11 +- .../GTLRChromePolicyObjects.h | 68 +- .../GTLRChromeUXReportObjects.m | 34 +- .../GTLRChromeUXReportObjects.h | 36 + .../GTLRClassroomObjects.h | 8 +- .../GTLRClassroomQuery.h | 10 +- .../GTLRCloudAlloyDBAdminObjects.m | 23 +- .../GTLRCloudAlloyDBAdminObjects.h | 180 +- .../GTLRCloudAssetObjects.h | 30 +- .../GTLRCloudAssetQuery.h | 24 +- .../CloudBatch/GTLRCloudBatchObjects.m | 20 +- .../GTLRCloudBatchObjects.h | 34 +- .../CloudBuild/GTLRCloudBuildObjects.m | 6 +- .../GTLRCloudBuildObjects.h | 32 +- .../CloudDataplex/GTLRCloudDataplexObjects.m | 1 + .../GTLRCloudDataplexObjects.h | 47 +- .../CloudDeploy/GTLRCloudDeployObjects.m | 206 +- .../CloudDeploy/GTLRCloudDeployQuery.m | 115 + .../GTLRCloudDeployObjects.h | 416 +- .../GTLRCloudDeployQuery.h | 303 +- .../GTLRCloudFilestoreObjects.m | 8 +- .../GTLRCloudFilestoreObjects.h | 31 +- .../GTLRCloudFilestoreQuery.h | 6 +- .../GTLRCloudFunctionsObjects.m | 47 +- .../GTLRCloudFunctionsObjects.h | 273 +- .../GTLRCloudIAPObjects.h | 41 +- .../GTLRCloudIdentityObjects.h | 10 +- .../GTLRCloudIdentityQuery.h | 26 +- .../GTLRCloudKMSObjects.h | 53 +- .../CloudOSLogin/GTLRCloudOSLoginQuery.m | 9 +- .../GTLRCloudOSLoginQuery.h | 7 + .../CloudProfiler/GTLRCloudProfilerObjects.m | 22 + .../CloudProfiler/GTLRCloudProfilerQuery.m | 19 + .../GTLRCloudProfilerObjects.h | 39 + .../GTLRCloudProfilerQuery.h | 51 + .../CloudRedis/GTLRCloudRedisObjects.m | 4 +- .../GTLRCloudRedisObjects.h | 9 + .../CloudRetail/GTLRCloudRetailObjects.m | 18 + .../GTLRCloudRetailObjects.h | 47 +- .../CloudRun/GTLRCloudRunObjects.m | 22 +- .../GTLRCloudRunObjects.h | 63 +- .../GTLRCloudSchedulerObjects.h | 48 +- .../GTLRCloudSourceRepositoriesObjects.h | 27 +- .../CloudSupport/GTLRCloudSupportObjects.m | 2 +- .../GTLRCloudSupportObjects.h | 51 +- .../GTLRCloudTasksObjects.h | 24 +- .../GTLRCloudVideoIntelligenceObjects.h | 8 +- .../GTLRCloudWorkstationsObjects.m | 14 +- .../GTLRCloudWorkstationsObjects.h | 23 + .../GTLRCloudbillingObjects.h | 41 +- .../GTLRCloudbillingQuery.h | 62 +- .../Cloudchannel/GTLRCloudchannelQuery.m | 5 + .../GTLRCloudchannelObjects.h | 20 + .../GTLRCloudchannelQuery.h | 29 +- .../Compute/GTLRComputeObjects.m | 156 +- .../Compute/GTLRComputeQuery.m | 24 + .../GTLRComputeObjects.h | 494 +- .../GoogleAPIClientForREST/GTLRComputeQuery.h | 146 +- .../Connectors/GTLRConnectorsObjects.m | 468 + .../Connectors/GTLRConnectorsQuery.m | 92 + .../GTLRConnectorsObjects.h | 1120 ++ .../GTLRConnectorsQuery.h | 120 + .../GTLRContactcenterinsightsObjects.h | 34 +- .../Container/GTLRContainerObjects.m | 3 +- .../GTLRContainerObjects.h | 17 + .../GTLRCustomSearchAPIQuery.h | 14 +- .../GeneratedServices/DLP/GTLRDLPObjects.m | 2 +- .../GoogleAPIClientForREST/GTLRDLPObjects.h | 14 +- .../GTLRDataCatalogObjects.h | 4 +- .../GTLRDataCatalogQuery.h | 8 +- .../DataFusion/GTLRDataFusionObjects.m | 71 +- .../GTLRDataFusionObjects.h | 203 +- .../GTLRDatabaseMigrationServiceObjects.m | 1 + .../GTLRDatabaseMigrationServiceObjects.h | 36 +- .../Dataflow/GTLRDataflowObjects.m | 29 +- .../GTLRDataflowObjects.h | 132 +- .../Dataform/GTLRDataformObjects.m | 2 +- .../GTLRDataformObjects.h | 7 + .../GTLRDataformQuery.h | 5 +- .../Dataproc/GTLRDataprocObjects.m | 5 +- .../GTLRDataprocObjects.h | 83 +- .../GTLRDataprocMetastoreObjects.m | 26 +- .../GTLRDataprocMetastoreQuery.m | 27 + .../GTLRDataprocMetastoreObjects.h | 90 +- .../GTLRDataprocMetastoreQuery.h | 36 + .../Datastream/GTLRDatastreamObjects.m | 1 + .../GTLRDatastreamObjects.h | 8 + .../GTLRDeploymentManagerObjects.h | 27 +- .../Dialogflow/GTLRDialogflowObjects.m | 148 +- .../Dialogflow/GTLRDialogflowQuery.m | 111 + .../GTLRDialogflowObjects.h | 311 +- .../GTLRDialogflowQuery.h | 210 + .../Directory/GTLRDirectoryObjects.m | 106 + .../Directory/GTLRDirectoryQuery.m | 32 + .../GTLRDirectoryObjects.h | 304 + .../GTLRDirectoryQuery.h | 42 +- .../GTLRDiscoveryEngineObjects.m | 273 +- .../GTLRDiscoveryEngineQuery.m | 138 + .../GTLRDiscoveryEngineObjects.h | 426 + .../GTLRDiscoveryEngineQuery.h | 263 + .../DisplayVideo/GTLRDisplayVideoObjects.m | 2 +- .../GTLRDisplayVideoObjects.h | 33 +- .../GTLRDisplayVideoQuery.h | 78 +- .../GeneratedServices/Dns/GTLRDnsObjects.m | 5 +- .../GoogleAPIClientForREST/GTLRDnsObjects.h | 46 +- .../Drive/GTLRDriveObjects.m | 2 +- .../GoogleAPIClientForREST/GTLRDriveObjects.h | 17 +- .../DriveLabels/GTLRDriveLabelsObjects.m | 14 +- .../GTLRDriveLabelsObjects.h | 26 - .../GTLREventarcObjects.h | 27 +- .../FirebaseRules/GTLRFirebaseRulesObjects.m | 2 +- .../GTLRFirebaseRulesObjects.h | 7 + .../GKEHub/GTLRGKEHubObjects.m | 3 +- .../GTLRGKEHubObjects.h | 19 +- .../GKEOnPrem/GTLRGKEOnPremObjects.m | 2 +- .../GTLRGKEOnPremObjects.h | 7 +- .../Gmail/GTLRGmailObjects.m | 2 +- .../GoogleAPIClientForREST/GTLRGmailObjects.h | 7 - .../GTLRGoogleAnalyticsAdminQuery.h | 60 +- .../HangoutsChat/GTLRHangoutsChatObjects.m | 49 +- .../HangoutsChat/GTLRHangoutsChatQuery.m | 2 +- .../GTLRHangoutsChatObjects.h | 115 +- .../GTLRHangoutsChatQuery.h | 138 +- .../GTLRLoggingObjects.h | 82 +- .../GoogleAPIClientForREST/GTLRLoggingQuery.h | 658 +- .../GTLRMapsPlacesObjects.h | 80 +- .../GTLRMapsPlacesQuery.h | 20 +- .../GTLRMigrationCenterAPIObjects.m | 10 +- .../GTLRMigrationCenterAPIObjects.h | 5 +- .../GTLRMonitoringObjects.h | 8 +- ...GTLRMyBusinessBusinessInformationObjects.h | 1 + .../GTLRNetworkManagementObjects.m | 71 +- .../GTLRNetworkManagementObjects.h | 505 +- .../GTLRNetworkServicesObjects.m | 50 +- .../GTLRNetworkServicesObjects.h | 218 +- .../GTLROnDemandScanningObjects.m | 4 + .../GTLROnDemandScanningObjects.h | 32 + .../OrgPolicyAPI/GTLROrgPolicyAPIObjects.m | 7 +- .../OrgPolicyAPI/GTLROrgPolicyAPIQuery.m | 18 +- .../GTLROrgPolicyAPIObjects.h | 16 +- .../GTLROrgPolicyAPIQuery.h | 21 + .../GTLRPaymentsResellerSubscriptionService.m | 9 + .../GTLRPaymentsResellerSubscriptionObjects.h | 38 +- .../GTLRPaymentsResellerSubscriptionQuery.h | 38 +- .../GTLRPaymentsResellerSubscriptionService.h | 14 + .../PlayIntegrity/GTLRPlayIntegrityObjects.m | 21 +- .../GTLRPlayIntegrityObjects.h | 85 +- .../GTLRPlaydeveloperreportingObjects.m | 3 +- .../GTLRPlaydeveloperreportingObjects.h | 40 +- .../GTLRPolicySimulatorObjects.m | 7 +- .../GTLRPolicySimulatorObjects.h | 43 +- .../GTLRPolicyTroubleshooterObjects.h | 27 +- .../Pubsub/GTLRPubsubObjects.m | 3 +- .../GTLRPubsubObjects.h | 39 +- .../GTLRRecaptchaEnterpriseObjects.m | 4 +- .../GTLRRecaptchaEnterpriseObjects.h | 34 +- .../Recommender/GTLRRecommenderObjects.m | 2 +- .../GTLRRecommenderObjects.h | 5 +- .../SASPortal/GTLRSASPortalObjects.m | 18 + .../SASPortal/GTLRSASPortalQuery.m | 15 + .../GTLRSASPortalObjects.h | 16 + .../GTLRSASPortalQuery.h | 22 + .../SQLAdmin/GTLRSQLAdminObjects.m | 2 + .../GTLRSQLAdminObjects.h | 39 +- .../Script/GTLRScriptObjects.m | 2 +- .../GTLRScriptObjects.h | 9 + .../GTLRSecretManagerObjects.h | 27 +- .../GTLRSecurityCommandCenterObjects.m | 174 +- .../GTLRSecurityCommandCenterQuery.m | 466 + .../GTLRSecurityCommandCenterObjects.h | 443 +- .../GTLRSecurityCommandCenterQuery.h | 6829 +++++++----- .../GTLRServerlessVPCAccessObjects.h | 18 +- .../GTLRServiceConsumerManagementObjects.m | 13 +- .../GTLRServiceConsumerManagementObjects.h | 18 +- .../GTLRServiceDirectoryObjects.h | 27 +- .../GTLRServiceManagementObjects.m | 13 +- .../GTLRServiceManagementObjects.h | 16 + .../GTLRServiceNetworkingObjects.m | 13 +- .../GTLRServiceNetworkingObjects.h | 18 +- .../ServiceUsage/GTLRServiceUsageObjects.m | 13 +- .../GTLRServiceUsageObjects.h | 18 +- .../GTLRShoppingContentObjects.m | 322 +- .../GTLRShoppingContentQuery.m | 259 +- .../GTLRShoppingContentObjects.h | 951 +- .../GTLRShoppingContentQuery.h | 483 +- .../GTLRSmartDeviceManagementService.m | 3 +- .../GTLRSmartDeviceManagementQuery.h | 7 - .../GTLRSmartDeviceManagementService.h | 9 +- .../GTLRSpannerObjects.h | 29 +- .../Storage/GTLRStorageQuery.m | 2 +- .../GTLRStorageTransferObjects.h | 14 +- .../GTLRStreetViewPublishObjects.m | 1 + .../GTLRStreetViewPublishObjects.h | 8 + .../Translate/GTLRTranslateObjects.m | 173 + .../Translate/GTLRTranslateQuery.m | 233 + .../GTLRTranslateObjects.h | 273 + .../GTLRTranslateQuery.h | 456 + .../GTLRVMMigrationServiceQuery.h | 12 +- .../Vault/GTLRVaultObjects.m | 61 +- .../GoogleAPIClientForREST/GTLRVaultObjects.h | 201 + .../GTLRVisionObjects.h | 24 +- .../Walletobjects/GTLRWalletobjectsObjects.m | 2866 +++++ .../Walletobjects/GTLRWalletobjectsQuery.m | 2264 ++++ .../Walletobjects/GTLRWalletobjectsService.m | 36 + .../GTLRWalletobjects.h | 13 + .../GTLRWalletobjectsObjects.h | 9436 +++++++++++++++++ .../GTLRWalletobjectsQuery.h | 3461 ++++++ .../GTLRWalletobjectsService.h | 73 + .../GTLRWorkflowExecutionsQuery.h | 6 +- .../GTLRWorkloadManagerObjects.m | 45 +- .../GTLRWorkloadManagerObjects.h | 98 + ...erateCheckedInServices-message_filter.json | 1 + 281 files changed, 47421 insertions(+), 6743 deletions(-) create mode 100644 Sources/GeneratedServices/AppHub/GTLRAppHubObjects.m create mode 100644 Sources/GeneratedServices/AppHub/GTLRAppHubQuery.m create mode 100644 Sources/GeneratedServices/AppHub/GTLRAppHubService.m create mode 100644 Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHub.h create mode 100644 Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubObjects.h create mode 100644 Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubQuery.h create mode 100644 Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubService.h create mode 100644 Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m create mode 100644 Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsQuery.m create mode 100644 Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsService.m create mode 100644 Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjects.h create mode 100644 Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h create mode 100644 Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsQuery.h create mode 100644 Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsService.h diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index 75e524ef1..0f2d4a798 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -184,6 +184,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/Appengine/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'AppHub' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/AppHub/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'Area120Tables' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/Area120Tables/**/*.{h,m}' @@ -1359,6 +1364,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/VMwareEngine/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'Walletobjects' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/Walletobjects/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'Webfonts' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/Webfonts/**/*.{h,m}' diff --git a/Package.swift b/Package.swift index 5ff4b2d83..69cd33970 100644 --- a/Package.swift +++ b/Package.swift @@ -125,6 +125,10 @@ let package = Package( name: "GoogleAPIClientForREST_Appengine", targets: ["GoogleAPIClientForREST_Appengine"] ), + .library( + name: "GoogleAPIClientForREST_AppHub", + targets: ["GoogleAPIClientForREST_AppHub"] + ), .library( name: "GoogleAPIClientForREST_Area120Tables", targets: ["GoogleAPIClientForREST_Area120Tables"] @@ -1065,6 +1069,10 @@ let package = Package( name: "GoogleAPIClientForREST_VMwareEngine", targets: ["GoogleAPIClientForREST_VMwareEngine"] ), + .library( + name: "GoogleAPIClientForREST_Walletobjects", + targets: ["GoogleAPIClientForREST_Walletobjects"] + ), .library( name: "GoogleAPIClientForREST_Webfonts", targets: ["GoogleAPIClientForREST_Webfonts"] @@ -1292,6 +1300,12 @@ let package = Package( path: "Sources/GeneratedServices/Appengine", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_AppHub", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/AppHub", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_Area120Tables", dependencies: ["GoogleAPIClientForRESTCore"], @@ -2702,6 +2716,12 @@ let package = Package( path: "Sources/GeneratedServices/VMwareEngine", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_Walletobjects", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/Walletobjects", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_Webfonts", dependencies: ["GoogleAPIClientForRESTCore"], diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m index 6e5c8409f..ead1395c8 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m +++ b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m @@ -335,7 +335,7 @@ @implementation GTLRAIPlatformNotebooks_ImageRelease @implementation GTLRAIPlatformNotebooks_Instance @dynamic createTime, creator, disableProxyAccess, gceSetup, healthInfo, healthState, identifier, instanceOwners, labels, name, proxyUri, state, - updateTime, upgradeHistory; + thirdPartyProxyUrl, updateTime, upgradeHistory; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h index 12c3794bd..364964f67 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h +++ b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h @@ -553,9 +553,25 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -569,7 +585,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -1216,6 +1235,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ */ @property(nonatomic, copy, nullable) NSString *state; +/** + * Output only. The workforce pools proxy endpoint that is used to access the + * Jupyter notebook. + */ +@property(nonatomic, copy, nullable) NSString *thirdPartyProxyUrl; + /** Output only. Instance update time. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; diff --git a/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m b/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m index f3ea1d9c7..9b1f2529c 100644 --- a/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m +++ b/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m @@ -14,6 +14,7 @@ // Constants // GTLRAccessApproval_AccessReason.type +NSString * const kGTLRAccessApproval_AccessReason_Type_CloudInitiatedAccess = @"CLOUD_INITIATED_ACCESS"; NSString * const kGTLRAccessApproval_AccessReason_Type_CustomerInitiatedSupport = @"CUSTOMER_INITIATED_SUPPORT"; NSString * const kGTLRAccessApproval_AccessReason_Type_GoogleInitiatedReview = @"GOOGLE_INITIATED_REVIEW"; NSString * const kGTLRAccessApproval_AccessReason_Type_GoogleInitiatedService = @"GOOGLE_INITIATED_SERVICE"; diff --git a/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h b/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h index 149909773..da3f38df4 100644 --- a/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h +++ b/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h @@ -36,6 +36,16 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // GTLRAccessApproval_AccessReason.type +/** + * Similar to 'GOOGLE_INITIATED_SERVICE' or 'GOOGLE_INITIATED_REVIEW', but + * meant to reflect when the cloud operator is not Google (namely, a TPC + * operator), and accessed customer data in order to diagnose or resolve a + * suspected issue in services or a known outage, or for security, fraud, + * abuse, or compliance review purposes. + * + * Value: "CLOUD_INITIATED_ACCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_AccessReason_Type_CloudInitiatedAccess; /** * Customer made a request or raised an issue that required the principal to * access customer data. `detail` is of the form ("#####" is the issue ID): * @@ -360,6 +370,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl * Type of access justification. * * Likely values: + * @arg @c kGTLRAccessApproval_AccessReason_Type_CloudInitiatedAccess Similar + * to 'GOOGLE_INITIATED_SERVICE' or 'GOOGLE_INITIATED_REVIEW', but meant + * to reflect when the cloud operator is not Google (namely, a TPC + * operator), and accessed customer data in order to diagnose or resolve + * a suspected issue in services or a known outage, or for security, + * fraud, abuse, or compliance review purposes. (Value: + * "CLOUD_INITIATED_ACCESS") * @arg @c kGTLRAccessApproval_AccessReason_Type_CustomerInitiatedSupport * Customer made a request or raised an issue that required the principal * to access customer data. `detail` is of the form ("#####" is the issue @@ -866,8 +883,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl @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. + * The ApprovalRequest that is serialized without the SignatureInfo message + * field. This data is used with the hashing algorithm to generate the digital + * signature, and it can be used for signature verification. * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). diff --git a/Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerObjects.m b/Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerObjects.m index f0e5ea07e..5dbba5505 100644 --- a/Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerObjects.m +++ b/Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerObjects.m @@ -80,6 +80,16 @@ NSString * const kGTLRAccessContextManager_ServicePerimeter_PerimeterType_PerimeterTypeBridge = @"PERIMETER_TYPE_BRIDGE"; NSString * const kGTLRAccessContextManager_ServicePerimeter_PerimeterType_PerimeterTypeRegular = @"PERIMETER_TYPE_REGULAR"; +// GTLRAccessContextManager_SupportedService.supportStage +NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Alpha = @"ALPHA"; +NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Beta = @"BETA"; +NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Deprecated = @"DEPRECATED"; +NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_EarlyAccess = @"EARLY_ACCESS"; +NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Ga = @"GA"; +NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_LaunchStageUnspecified = @"LAUNCH_STAGE_UNSPECIFIED"; +NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Prelaunch = @"PRELAUNCH"; +NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Unimplemented = @"UNIMPLEMENTED"; + // ---------------------------------------------------------------------------- // // GTLRAccessContextManager_AccessLevel @@ -643,6 +653,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAccessContextManager_ListSupportedServicesResponse +// + +@implementation GTLRAccessContextManager_ListSupportedServicesResponse +@dynamic nextPageToken, supportedServices; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"supportedServices" : [GTLRAccessContextManager_SupportedService class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"supportedServices"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAccessContextManager_MethodSelector @@ -894,6 +926,25 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAccessContextManager_SupportedService +// + +@implementation GTLRAccessContextManager_SupportedService +@dynamic availableOnRestrictedVip, knownLimitations, name, supportedMethods, + supportStage, title; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"supportedMethods" : [GTLRAccessContextManager_MethodSelector class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAccessContextManager_TestIamPermissionsRequest diff --git a/Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerQuery.m b/Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerQuery.m index 025add4c2..736a099fe 100644 --- a/Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerQuery.m +++ b/Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerQuery.m @@ -876,3 +876,39 @@ + (instancetype)queryWithObject:(GTLRAccessContextManager_GcpUserAccessBinding * } @end + +@implementation GTLRAccessContextManagerQuery_ServicesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/services/{name}"; + GTLRAccessContextManagerQuery_ServicesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAccessContextManager_SupportedService class]; + query.loggingName = @"accesscontextmanager.services.get"; + return query; +} + +@end + +@implementation GTLRAccessContextManagerQuery_ServicesList + +@dynamic pageSize, pageToken; + ++ (instancetype)query { + NSString *pathURITemplate = @"v1/services"; + GTLRAccessContextManagerQuery_ServicesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRAccessContextManager_ListSupportedServicesResponse class]; + query.loggingName = @"accesscontextmanager.services.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h b/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h index 1be4f7ade..bc49ed493 100644 --- a/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h +++ b/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h @@ -47,6 +47,7 @@ @class GTLRAccessContextManager_ServicePerimeterConfig; @class GTLRAccessContextManager_Status; @class GTLRAccessContextManager_Status_Details_Item; +@class GTLRAccessContextManager_SupportedService; @class GTLRAccessContextManager_VpcAccessibleServices; @class GTLRAccessContextManager_VpcNetworkSource; @class GTLRAccessContextManager_VpcSubNetwork; @@ -369,6 +370,78 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_ServicePerimeter_Pe */ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_ServicePerimeter_PerimeterType_PerimeterTypeRegular; +// ---------------------------------------------------------------------------- +// GTLRAccessContextManager_SupportedService.supportStage + +/** + * Alpha is a limited availability test for releases before they are cleared + * for widespread use. By Alpha, all significant design issues are resolved and + * we are in the process of verifying functionality. Alpha customers need to + * apply for access, agree to applicable terms, and have their projects + * allowlisted. Alpha releases don't have to be feature complete, no SLAs are + * provided, and there are no technical support obligations, but they will be + * far enough along that customers can actually use them in test environments + * or for limited-use tests -- just like they would in normal production cases. + * + * Value: "ALPHA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Alpha; +/** + * Beta is the point at which we are ready to open a release for any customer + * to use. There are no SLA or technical support obligations in a Beta release. + * Products will be complete from a feature perspective, but may have some open + * outstanding issues. Beta releases are suitable for limited production use + * cases. + * + * Value: "BETA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Beta; +/** + * Deprecated features are scheduled to be shut down and removed. For more + * information, see the "Deprecation Policy" section of our [Terms of + * Service](https://cloud.google.com/terms/) and the [Google Cloud Platform + * Subject to the Deprecation + * Policy](https://cloud.google.com/terms/deprecation) documentation. + * + * Value: "DEPRECATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Deprecated; +/** + * Early Access features are limited to a closed group of testers. To use these + * features, you must sign up in advance and sign a Trusted Tester agreement + * (which includes confidentiality provisions). These features may be unstable, + * changed in backward-incompatible ways, and are not guaranteed to be + * released. + * + * Value: "EARLY_ACCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_EarlyAccess; +/** + * GA features are open to all developers and are considered stable and fully + * qualified for production use. + * + * Value: "GA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Ga; +/** + * Do not use this default value. + * + * Value: "LAUNCH_STAGE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_LaunchStageUnspecified; +/** + * Prelaunch features are hidden from users and are only visible internally. + * + * Value: "PRELAUNCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Prelaunch; +/** + * The feature is not yet implemented. Users can not use it. + * + * Value: "UNIMPLEMENTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_SupportStage_Unimplemented; + /** * An `AccessLevel` is a label that can be applied to requests to Google Cloud * services, along with a list of requirements necessary for the label to be @@ -684,9 +757,25 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_ServicePerimeter_Pe * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -700,7 +789,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_ServicePerimeter_Pe * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -1474,21 +1566,48 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_ServicePerimeter_Pe @end +/** + * A response to `ListSupportedServicesRequest`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "supportedServices" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRAccessContextManager_ListSupportedServicesResponse : GTLRCollectionObject + +/** + * The pagination token to retrieve the next page of results. If the value is + * empty, no further results remain. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * List of services supported by VPC Service Controls instances. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *supportedServices; + +@end + + /** * An allowed method or permission of a service specified in ApiOperation. */ @interface GTLRAccessContextManager_MethodSelector : GTLRObject /** - * Value for `method` should be a valid method name for the corresponding - * `service_name` in ApiOperation. If `*` used as value for `method`, then ALL - * methods and permissions are allowed. + * A valid method name for the corresponding `service_name` in ApiOperation. If + * `*` is used as the value for the `method`, then ALL methods and permissions + * are allowed. */ @property(nonatomic, copy, nullable) NSString *method; /** - * Value for `permission` should be a valid Cloud IAM permission for the - * corresponding `service_name` in ApiOperation. + * A valid Cloud IAM permission for the corresponding `service_name` in + * ApiOperation. */ @property(nonatomic, copy, nullable) NSString *permission; @@ -2001,6 +2120,94 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_ServicePerimeter_Pe @end +/** + * `SupportedService` specifies the VPC Service Controls and its properties. + */ +@interface GTLRAccessContextManager_SupportedService : GTLRObject + +/** + * True if the service is available on the restricted VIP. Services on the + * restricted VIP typically either support VPC Service Controls or are core + * infrastructure services required for the functioning of Google Cloud. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *availableOnRestrictedVip; + +/** + * True if the service is supported with some limitations. Check + * [documentation](https://cloud.google.com/vpc-service-controls/docs/supported-products) + * for details. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *knownLimitations; + +/** + * The service name or address of the supported service, such as + * `service.googleapis.com`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The list of the supported methods. This field exists only in response to + * GetSupportedService + */ +@property(nonatomic, strong, nullable) NSArray *supportedMethods; + +/** + * The support stage of the service. + * + * Likely values: + * @arg @c kGTLRAccessContextManager_SupportedService_SupportStage_Alpha + * Alpha is a limited availability test for releases before they are + * cleared for widespread use. By Alpha, all significant design issues + * are resolved and we are in the process of verifying functionality. + * Alpha customers need to apply for access, agree to applicable terms, + * and have their projects allowlisted. Alpha releases don't have to be + * feature complete, no SLAs are provided, and there are no technical + * support obligations, but they will be far enough along that customers + * can actually use them in test environments or for limited-use tests -- + * just like they would in normal production cases. (Value: "ALPHA") + * @arg @c kGTLRAccessContextManager_SupportedService_SupportStage_Beta Beta + * is the point at which we are ready to open a release for any customer + * to use. There are no SLA or technical support obligations in a Beta + * release. Products will be complete from a feature perspective, but may + * have some open outstanding issues. Beta releases are suitable for + * limited production use cases. (Value: "BETA") + * @arg @c kGTLRAccessContextManager_SupportedService_SupportStage_Deprecated + * Deprecated features are scheduled to be shut down and removed. For + * more information, see the "Deprecation Policy" section of our [Terms + * of Service](https://cloud.google.com/terms/) and the [Google Cloud + * Platform Subject to the Deprecation + * Policy](https://cloud.google.com/terms/deprecation) documentation. + * (Value: "DEPRECATED") + * @arg @c kGTLRAccessContextManager_SupportedService_SupportStage_EarlyAccess + * Early Access features are limited to a closed group of testers. To use + * these features, you must sign up in advance and sign a Trusted Tester + * agreement (which includes confidentiality provisions). These features + * may be unstable, changed in backward-incompatible ways, and are not + * guaranteed to be released. (Value: "EARLY_ACCESS") + * @arg @c kGTLRAccessContextManager_SupportedService_SupportStage_Ga GA + * features are open to all developers and are considered stable and + * fully qualified for production use. (Value: "GA") + * @arg @c kGTLRAccessContextManager_SupportedService_SupportStage_LaunchStageUnspecified + * Do not use this default value. (Value: "LAUNCH_STAGE_UNSPECIFIED") + * @arg @c kGTLRAccessContextManager_SupportedService_SupportStage_Prelaunch + * Prelaunch features are hidden from users and are only visible + * internally. (Value: "PRELAUNCH") + * @arg @c kGTLRAccessContextManager_SupportedService_SupportStage_Unimplemented + * The feature is not yet implemented. Users can not use it. (Value: + * "UNIMPLEMENTED") + */ +@property(nonatomic, copy, nullable) NSString *supportStage; + +/** The name of the supported product, such as 'Cloud Product API'. */ +@property(nonatomic, copy, nullable) NSString *title; + +@end + + /** * Request message for `TestIamPermissions` method. */ diff --git a/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerQuery.h b/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerQuery.h index f386f810d..e11f5516e 100644 --- a/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerQuery.h +++ b/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerQuery.h @@ -1570,6 +1570,72 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManagerAccessLevelFormatLev @end +/** + * Returns a VPC-SC supported service based on the service name. + * + * Method: accesscontextmanager.services.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAccessContextManagerCloudPlatform + */ +@interface GTLRAccessContextManagerQuery_ServicesGet : GTLRAccessContextManagerQuery + +/** + * The name of the service to get information about. The names must be in the + * same format as used in defining a service perimeter, for example, + * `storage.googleapis.com`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAccessContextManager_SupportedService. + * + * Returns a VPC-SC supported service based on the service name. + * + * @param name The name of the service to get information about. The names must + * be in the same format as used in defining a service perimeter, for + * example, `storage.googleapis.com`. + * + * @return GTLRAccessContextManagerQuery_ServicesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all VPC-SC supported services. + * + * Method: accesscontextmanager.services.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAccessContextManagerCloudPlatform + */ +@interface GTLRAccessContextManagerQuery_ServicesList : GTLRAccessContextManagerQuery + +/** + * This flag specifies the maximum number of services to return per page. + * Default is 100. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Token to start on a later page. Default is the first page. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAccessContextManager_ListSupportedServicesResponse. + * + * Lists all VPC-SC supported services. + * + * @return GTLRAccessContextManagerQuery_ServicesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)query; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/AdExchangeBuyerII/GTLRAdExchangeBuyerIIQuery.m b/Sources/GeneratedServices/AdExchangeBuyerII/GTLRAdExchangeBuyerIIQuery.m index f413cc136..5712919c1 100644 --- a/Sources/GeneratedServices/AdExchangeBuyerII/GTLRAdExchangeBuyerIIQuery.m +++ b/Sources/GeneratedServices/AdExchangeBuyerII/GTLRAdExchangeBuyerIIQuery.m @@ -1555,3 +1555,285 @@ + (instancetype)queryWithFilterSetName:(NSString *)filterSetName { } @end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsBidMetricsList + +@dynamic filterSetName, pageSize, pageToken; + ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName { + NSArray *pathParams = @[ @"filterSetName" ]; + NSString *pathURITemplate = @"v2beta1/{+filterSetName}/bidMetrics"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsBidMetricsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.filterSetName = filterSetName; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_ListBidMetricsResponse class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.bidMetrics.list"; + return query; +} + +@end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsBidResponseErrorsList + +@dynamic filterSetName, pageSize, pageToken; + ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName { + NSArray *pathParams = @[ @"filterSetName" ]; + NSString *pathURITemplate = @"v2beta1/{+filterSetName}/bidResponseErrors"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsBidResponseErrorsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.filterSetName = filterSetName; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_ListBidResponseErrorsResponse class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.bidResponseErrors.list"; + return query; +} + +@end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsBidResponsesWithoutBidsList + +@dynamic filterSetName, pageSize, pageToken; + ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName { + NSArray *pathParams = @[ @"filterSetName" ]; + NSString *pathURITemplate = @"v2beta1/{+filterSetName}/bidResponsesWithoutBids"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsBidResponsesWithoutBidsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.filterSetName = filterSetName; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_ListBidResponsesWithoutBidsResponse class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.bidResponsesWithoutBids.list"; + return query; +} + +@end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsCreate + +@dynamic isTransient, ownerName; + ++ (instancetype)queryWithObject:(GTLRAdExchangeBuyerII_FilterSet *)object + ownerName:(NSString *)ownerName { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"ownerName" ]; + NSString *pathURITemplate = @"v2beta1/{+ownerName}/filterSets"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.ownerName = ownerName; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_FilterSet class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.create"; + return query; +} + +@end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2beta1/{+name}"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_Empty class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.delete"; + return query; +} + +@end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidRequestsList + +@dynamic filterSetName, pageSize, pageToken; + ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName { + NSArray *pathParams = @[ @"filterSetName" ]; + NSString *pathURITemplate = @"v2beta1/{+filterSetName}/filteredBidRequests"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidRequestsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.filterSetName = filterSetName; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_ListFilteredBidRequestsResponse class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.filteredBidRequests.list"; + return query; +} + +@end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidsCreativesList + +@dynamic creativeStatusId, filterSetName, pageSize, pageToken; + ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName + creativeStatusId:(NSInteger)creativeStatusId { + NSArray *pathParams = @[ + @"creativeStatusId", @"filterSetName" + ]; + NSString *pathURITemplate = @"v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidsCreativesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.filterSetName = filterSetName; + query.creativeStatusId = creativeStatusId; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_ListCreativeStatusBreakdownByCreativeResponse class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.filteredBids.creatives.list"; + return query; +} + +@end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidsDetailsList + +@dynamic creativeStatusId, filterSetName, pageSize, pageToken; + ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName + creativeStatusId:(NSInteger)creativeStatusId { + NSArray *pathParams = @[ + @"creativeStatusId", @"filterSetName" + ]; + NSString *pathURITemplate = @"v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidsDetailsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.filterSetName = filterSetName; + query.creativeStatusId = creativeStatusId; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_ListCreativeStatusBreakdownByDetailResponse class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.filteredBids.details.list"; + return query; +} + +@end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidsList + +@dynamic filterSetName, pageSize, pageToken; + ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName { + NSArray *pathParams = @[ @"filterSetName" ]; + NSString *pathURITemplate = @"v2beta1/{+filterSetName}/filteredBids"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.filterSetName = filterSetName; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_ListFilteredBidsResponse class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.filteredBids.list"; + return query; +} + +@end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2beta1/{+name}"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_FilterSet class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.get"; + return query; +} + +@end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsImpressionMetricsList + +@dynamic filterSetName, pageSize, pageToken; + ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName { + NSArray *pathParams = @[ @"filterSetName" ]; + NSString *pathURITemplate = @"v2beta1/{+filterSetName}/impressionMetrics"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsImpressionMetricsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.filterSetName = filterSetName; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_ListImpressionMetricsResponse class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.impressionMetrics.list"; + return query; +} + +@end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsList + +@dynamic ownerName, pageSize, pageToken; + ++ (instancetype)queryWithOwnerName:(NSString *)ownerName { + NSArray *pathParams = @[ @"ownerName" ]; + NSString *pathURITemplate = @"v2beta1/{+ownerName}/filterSets"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.ownerName = ownerName; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_ListFilterSetsResponse class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.list"; + return query; +} + +@end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsLosingBidsList + +@dynamic filterSetName, pageSize, pageToken; + ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName { + NSArray *pathParams = @[ @"filterSetName" ]; + NSString *pathURITemplate = @"v2beta1/{+filterSetName}/losingBids"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsLosingBidsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.filterSetName = filterSetName; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_ListLosingBidsResponse class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.losingBids.list"; + return query; +} + +@end + +@implementation GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsNonBillableWinningBidsList + +@dynamic filterSetName, pageSize, pageToken; + ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName { + NSArray *pathParams = @[ @"filterSetName" ]; + NSString *pathURITemplate = @"v2beta1/{+filterSetName}/nonBillableWinningBids"; + GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsNonBillableWinningBidsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.filterSetName = filterSetName; + query.expectedObjectClass = [GTLRAdExchangeBuyerII_ListNonBillableWinningBidsResponse class]; + query.loggingName = @"adexchangebuyer2.buyers.filterSets.nonBillableWinningBids.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/AdExchangeBuyerII/Public/GoogleAPIClientForREST/GTLRAdExchangeBuyerIIQuery.h b/Sources/GeneratedServices/AdExchangeBuyerII/Public/GoogleAPIClientForREST/GTLRAdExchangeBuyerIIQuery.h index 58c77aead..5bd34666c 100644 --- a/Sources/GeneratedServices/AdExchangeBuyerII/Public/GoogleAPIClientForREST/GTLRAdExchangeBuyerIIQuery.h +++ b/Sources/GeneratedServices/AdExchangeBuyerII/Public/GoogleAPIClientForREST/GTLRAdExchangeBuyerIIQuery.h @@ -3251,6 +3251,790 @@ FOUNDATION_EXTERN NSString * const kGTLRAdExchangeBuyerIIFilterSyntaxPql; @end +/** + * Lists all metrics that are measured in terms of number of bids. + * + * Method: adexchangebuyer2.buyers.filterSets.bidMetrics.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsBidMetricsList : GTLRAdExchangeBuyerIIQuery + +/** + * Name of the filter set that should be applied to the requested metrics. For + * example: - For a bidder-level filter set for bidder 123: + * `bidders/123/filterSets/abc` - For an account-level filter set for the buyer + * account representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - + * For an account-level filter set for the child seat buyer account 456 whose + * bidder is 123: `bidders/123/accounts/456/filterSets/abc` + */ +@property(nonatomic, copy, nullable) NSString *filterSetName; + +/** + * Requested page size. The server may return fewer results than requested. If + * unspecified, the server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of ListBidMetricsResponse.nextPageToken returned from the + * previous call to the bidMetrics.list method. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAdExchangeBuyerII_ListBidMetricsResponse. + * + * Lists all metrics that are measured in terms of number of bids. + * + * @param filterSetName Name of the filter set that should be applied to the + * requested metrics. For example: - For a bidder-level filter set for bidder + * 123: `bidders/123/filterSets/abc` - For an account-level filter set for + * the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter + * set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsBidMetricsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName; + +@end + +/** + * List all errors that occurred in bid responses, with the number of bid + * responses affected for each reason. + * + * Method: adexchangebuyer2.buyers.filterSets.bidResponseErrors.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsBidResponseErrorsList : GTLRAdExchangeBuyerIIQuery + +/** + * Name of the filter set that should be applied to the requested metrics. For + * example: - For a bidder-level filter set for bidder 123: + * `bidders/123/filterSets/abc` - For an account-level filter set for the buyer + * account representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - + * For an account-level filter set for the child seat buyer account 456 whose + * bidder is 123: `bidders/123/accounts/456/filterSets/abc` + */ +@property(nonatomic, copy, nullable) NSString *filterSetName; + +/** + * Requested page size. The server may return fewer results than requested. If + * unspecified, the server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of ListBidResponseErrorsResponse.nextPageToken returned + * from the previous call to the bidResponseErrors.list method. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAdExchangeBuyerII_ListBidResponseErrorsResponse. + * + * List all errors that occurred in bid responses, with the number of bid + * responses affected for each reason. + * + * @param filterSetName Name of the filter set that should be applied to the + * requested metrics. For example: - For a bidder-level filter set for bidder + * 123: `bidders/123/filterSets/abc` - For an account-level filter set for + * the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter + * set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsBidResponseErrorsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName; + +@end + +/** + * List all reasons for which bid responses were considered to have no + * applicable bids, with the number of bid responses affected for each reason. + * + * Method: adexchangebuyer2.buyers.filterSets.bidResponsesWithoutBids.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsBidResponsesWithoutBidsList : GTLRAdExchangeBuyerIIQuery + +/** + * Name of the filter set that should be applied to the requested metrics. For + * example: - For a bidder-level filter set for bidder 123: + * `bidders/123/filterSets/abc` - For an account-level filter set for the buyer + * account representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - + * For an account-level filter set for the child seat buyer account 456 whose + * bidder is 123: `bidders/123/accounts/456/filterSets/abc` + */ +@property(nonatomic, copy, nullable) NSString *filterSetName; + +/** + * Requested page size. The server may return fewer results than requested. If + * unspecified, the server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of ListBidResponsesWithoutBidsResponse.nextPageToken + * returned from the previous call to the bidResponsesWithoutBids.list method. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAdExchangeBuyerII_ListBidResponsesWithoutBidsResponse. + * + * List all reasons for which bid responses were considered to have no + * applicable bids, with the number of bid responses affected for each reason. + * + * @param filterSetName Name of the filter set that should be applied to the + * requested metrics. For example: - For a bidder-level filter set for bidder + * 123: `bidders/123/filterSets/abc` - For an account-level filter set for + * the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter + * set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsBidResponsesWithoutBidsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName; + +@end + +/** + * Creates the specified filter set for the account with the given account ID. + * + * Method: adexchangebuyer2.buyers.filterSets.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsCreate : GTLRAdExchangeBuyerIIQuery + +/** + * Whether the filter set is transient, or should be persisted indefinitely. By + * default, filter sets are not transient. If transient, it will be available + * for at least 1 hour after creation. + */ +@property(nonatomic, assign) BOOL isTransient; + +/** + * Name of the owner (bidder or account) of the filter set to be created. For + * example: - For a bidder-level filter set for bidder 123: `bidders/123` - For + * an account-level filter set for the buyer account representing bidder 123: + * `bidders/123/accounts/123` - For an account-level filter set for the child + * seat buyer account 456 whose bidder is 123: `bidders/123/accounts/456` + */ +@property(nonatomic, copy, nullable) NSString *ownerName; + +/** + * Fetches a @c GTLRAdExchangeBuyerII_FilterSet. + * + * Creates the specified filter set for the account with the given account ID. + * + * @param object The @c GTLRAdExchangeBuyerII_FilterSet to include in the + * query. + * @param ownerName Name of the owner (bidder or account) of the filter set to + * be created. For example: - For a bidder-level filter set for bidder 123: + * `bidders/123` - For an account-level filter set for the buyer account + * representing bidder 123: `bidders/123/accounts/123` - For an account-level + * filter set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456` + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsCreate + */ ++ (instancetype)queryWithObject:(GTLRAdExchangeBuyerII_FilterSet *)object + ownerName:(NSString *)ownerName; + +@end + +/** + * Deletes the requested filter set from the account with the given account ID. + * + * Method: adexchangebuyer2.buyers.filterSets.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsDelete : GTLRAdExchangeBuyerIIQuery + +/** + * Full name of the resource to delete. For example: - For a bidder-level + * filter set for bidder 123: `bidders/123/filterSets/abc` - For an + * account-level filter set for the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter set + * for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAdExchangeBuyerII_Empty. + * + * Deletes the requested filter set from the account with the given account ID. + * + * @param name Full name of the resource to delete. For example: - For a + * bidder-level filter set for bidder 123: `bidders/123/filterSets/abc` - For + * an account-level filter set for the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter + * set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List all reasons that caused a bid request not to be sent for an impression, + * with the number of bid requests not sent for each reason. + * + * Method: adexchangebuyer2.buyers.filterSets.filteredBidRequests.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidRequestsList : GTLRAdExchangeBuyerIIQuery + +/** + * Name of the filter set that should be applied to the requested metrics. For + * example: - For a bidder-level filter set for bidder 123: + * `bidders/123/filterSets/abc` - For an account-level filter set for the buyer + * account representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - + * For an account-level filter set for the child seat buyer account 456 whose + * bidder is 123: `bidders/123/accounts/456/filterSets/abc` + */ +@property(nonatomic, copy, nullable) NSString *filterSetName; + +/** + * Requested page size. The server may return fewer results than requested. If + * unspecified, the server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of ListFilteredBidRequestsResponse.nextPageToken returned + * from the previous call to the filteredBidRequests.list method. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAdExchangeBuyerII_ListFilteredBidRequestsResponse. + * + * List all reasons that caused a bid request not to be sent for an impression, + * with the number of bid requests not sent for each reason. + * + * @param filterSetName Name of the filter set that should be applied to the + * requested metrics. For example: - For a bidder-level filter set for bidder + * 123: `bidders/123/filterSets/abc` - For an account-level filter set for + * the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter + * set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidRequestsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName; + +@end + +/** + * List all creatives associated with a specific reason for which bids were + * filtered, with the number of bids filtered for each creative. + * + * Method: adexchangebuyer2.buyers.filterSets.filteredBids.creatives.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidsCreativesList : GTLRAdExchangeBuyerIIQuery + +/** + * The ID of the creative status for which to retrieve a breakdown by creative. + * See + * [creative-status-codes](https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes). + */ +@property(nonatomic, assign) NSInteger creativeStatusId; + +/** + * Name of the filter set that should be applied to the requested metrics. For + * example: - For a bidder-level filter set for bidder 123: + * `bidders/123/filterSets/abc` - For an account-level filter set for the buyer + * account representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - + * For an account-level filter set for the child seat buyer account 456 whose + * bidder is 123: `bidders/123/accounts/456/filterSets/abc` + */ +@property(nonatomic, copy, nullable) NSString *filterSetName; + +/** + * Requested page size. The server may return fewer results than requested. If + * unspecified, the server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of + * ListCreativeStatusBreakdownByCreativeResponse.nextPageToken returned from + * the previous call to the filteredBids.creatives.list method. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c + * GTLRAdExchangeBuyerII_ListCreativeStatusBreakdownByCreativeResponse. + * + * List all creatives associated with a specific reason for which bids were + * filtered, with the number of bids filtered for each creative. + * + * @param filterSetName Name of the filter set that should be applied to the + * requested metrics. For example: - For a bidder-level filter set for bidder + * 123: `bidders/123/filterSets/abc` - For an account-level filter set for + * the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter + * set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + * @param creativeStatusId The ID of the creative status for which to retrieve + * a breakdown by creative. See + * [creative-status-codes](https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes). + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidsCreativesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName + creativeStatusId:(NSInteger)creativeStatusId; + +@end + +/** + * List all details associated with a specific reason for which bids were + * filtered, with the number of bids filtered for each detail. + * + * Method: adexchangebuyer2.buyers.filterSets.filteredBids.details.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidsDetailsList : GTLRAdExchangeBuyerIIQuery + +/** + * The ID of the creative status for which to retrieve a breakdown by detail. + * See + * [creative-status-codes](https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes). + * Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87. + */ +@property(nonatomic, assign) NSInteger creativeStatusId; + +/** + * Name of the filter set that should be applied to the requested metrics. For + * example: - For a bidder-level filter set for bidder 123: + * `bidders/123/filterSets/abc` - For an account-level filter set for the buyer + * account representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - + * For an account-level filter set for the child seat buyer account 456 whose + * bidder is 123: `bidders/123/accounts/456/filterSets/abc` + */ +@property(nonatomic, copy, nullable) NSString *filterSetName; + +/** + * Requested page size. The server may return fewer results than requested. If + * unspecified, the server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of + * ListCreativeStatusBreakdownByDetailResponse.nextPageToken returned from the + * previous call to the filteredBids.details.list method. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c + * GTLRAdExchangeBuyerII_ListCreativeStatusBreakdownByDetailResponse. + * + * List all details associated with a specific reason for which bids were + * filtered, with the number of bids filtered for each detail. + * + * @param filterSetName Name of the filter set that should be applied to the + * requested metrics. For example: - For a bidder-level filter set for bidder + * 123: `bidders/123/filterSets/abc` - For an account-level filter set for + * the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter + * set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + * @param creativeStatusId The ID of the creative status for which to retrieve + * a breakdown by detail. See + * [creative-status-codes](https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes). + * Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and + * 87. + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidsDetailsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName + creativeStatusId:(NSInteger)creativeStatusId; + +@end + +/** + * List all reasons for which bids were filtered, with the number of bids + * filtered for each reason. + * + * Method: adexchangebuyer2.buyers.filterSets.filteredBids.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidsList : GTLRAdExchangeBuyerIIQuery + +/** + * Name of the filter set that should be applied to the requested metrics. For + * example: - For a bidder-level filter set for bidder 123: + * `bidders/123/filterSets/abc` - For an account-level filter set for the buyer + * account representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - + * For an account-level filter set for the child seat buyer account 456 whose + * bidder is 123: `bidders/123/accounts/456/filterSets/abc` + */ +@property(nonatomic, copy, nullable) NSString *filterSetName; + +/** + * Requested page size. The server may return fewer results than requested. If + * unspecified, the server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of ListFilteredBidsResponse.nextPageToken returned from + * the previous call to the filteredBids.list method. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAdExchangeBuyerII_ListFilteredBidsResponse. + * + * List all reasons for which bids were filtered, with the number of bids + * filtered for each reason. + * + * @param filterSetName Name of the filter set that should be applied to the + * requested metrics. For example: - For a bidder-level filter set for bidder + * 123: `bidders/123/filterSets/abc` - For an account-level filter set for + * the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter + * set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsFilteredBidsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName; + +@end + +/** + * Retrieves the requested filter set for the account with the given account + * ID. + * + * Method: adexchangebuyer2.buyers.filterSets.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsGet : GTLRAdExchangeBuyerIIQuery + +/** + * Full name of the resource being requested. For example: - For a bidder-level + * filter set for bidder 123: `bidders/123/filterSets/abc` - For an + * account-level filter set for the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter set + * for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAdExchangeBuyerII_FilterSet. + * + * Retrieves the requested filter set for the account with the given account + * ID. + * + * @param name Full name of the resource being requested. For example: - For a + * bidder-level filter set for bidder 123: `bidders/123/filterSets/abc` - For + * an account-level filter set for the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter + * set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all metrics that are measured in terms of number of impressions. + * + * Method: adexchangebuyer2.buyers.filterSets.impressionMetrics.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsImpressionMetricsList : GTLRAdExchangeBuyerIIQuery + +/** + * Name of the filter set that should be applied to the requested metrics. For + * example: - For a bidder-level filter set for bidder 123: + * `bidders/123/filterSets/abc` - For an account-level filter set for the buyer + * account representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - + * For an account-level filter set for the child seat buyer account 456 whose + * bidder is 123: `bidders/123/accounts/456/filterSets/abc` + */ +@property(nonatomic, copy, nullable) NSString *filterSetName; + +/** + * Requested page size. The server may return fewer results than requested. If + * unspecified, the server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of ListImpressionMetricsResponse.nextPageToken returned + * from the previous call to the impressionMetrics.list method. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAdExchangeBuyerII_ListImpressionMetricsResponse. + * + * Lists all metrics that are measured in terms of number of impressions. + * + * @param filterSetName Name of the filter set that should be applied to the + * requested metrics. For example: - For a bidder-level filter set for bidder + * 123: `bidders/123/filterSets/abc` - For an account-level filter set for + * the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter + * set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsImpressionMetricsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName; + +@end + +/** + * Lists all filter sets for the account with the given account ID. + * + * Method: adexchangebuyer2.buyers.filterSets.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsList : GTLRAdExchangeBuyerIIQuery + +/** + * Name of the owner (bidder or account) of the filter sets to be listed. For + * example: - For a bidder-level filter set for bidder 123: `bidders/123` - For + * an account-level filter set for the buyer account representing bidder 123: + * `bidders/123/accounts/123` - For an account-level filter set for the child + * seat buyer account 456 whose bidder is 123: `bidders/123/accounts/456` + */ +@property(nonatomic, copy, nullable) NSString *ownerName; + +/** + * Requested page size. The server may return fewer results than requested. If + * unspecified, the server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of ListFilterSetsResponse.nextPageToken returned from the + * previous call to the accounts.filterSets.list method. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAdExchangeBuyerII_ListFilterSetsResponse. + * + * Lists all filter sets for the account with the given account ID. + * + * @param ownerName Name of the owner (bidder or account) of the filter sets to + * be listed. For example: - For a bidder-level filter set for bidder 123: + * `bidders/123` - For an account-level filter set for the buyer account + * representing bidder 123: `bidders/123/accounts/123` - For an account-level + * filter set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456` + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithOwnerName:(NSString *)ownerName; + +@end + +/** + * List all reasons for which bids lost in the auction, with the number of bids + * that lost for each reason. + * + * Method: adexchangebuyer2.buyers.filterSets.losingBids.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsLosingBidsList : GTLRAdExchangeBuyerIIQuery + +/** + * Name of the filter set that should be applied to the requested metrics. For + * example: - For a bidder-level filter set for bidder 123: + * `bidders/123/filterSets/abc` - For an account-level filter set for the buyer + * account representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - + * For an account-level filter set for the child seat buyer account 456 whose + * bidder is 123: `bidders/123/accounts/456/filterSets/abc` + */ +@property(nonatomic, copy, nullable) NSString *filterSetName; + +/** + * Requested page size. The server may return fewer results than requested. If + * unspecified, the server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of ListLosingBidsResponse.nextPageToken returned from the + * previous call to the losingBids.list method. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAdExchangeBuyerII_ListLosingBidsResponse. + * + * List all reasons for which bids lost in the auction, with the number of bids + * that lost for each reason. + * + * @param filterSetName Name of the filter set that should be applied to the + * requested metrics. For example: - For a bidder-level filter set for bidder + * 123: `bidders/123/filterSets/abc` - For an account-level filter set for + * the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter + * set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsLosingBidsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName; + +@end + +/** + * List all reasons for which winning bids were not billable, with the number + * of bids not billed for each reason. + * + * Method: adexchangebuyer2.buyers.filterSets.nonBillableWinningBids.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdExchangeBuyerIIAdexchangeBuyer + */ +@interface GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsNonBillableWinningBidsList : GTLRAdExchangeBuyerIIQuery + +/** + * Name of the filter set that should be applied to the requested metrics. For + * example: - For a bidder-level filter set for bidder 123: + * `bidders/123/filterSets/abc` - For an account-level filter set for the buyer + * account representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - + * For an account-level filter set for the child seat buyer account 456 whose + * bidder is 123: `bidders/123/accounts/456/filterSets/abc` + */ +@property(nonatomic, copy, nullable) NSString *filterSetName; + +/** + * Requested page size. The server may return fewer results than requested. If + * unspecified, the server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of ListNonBillableWinningBidsResponse.nextPageToken + * returned from the previous call to the nonBillableWinningBids.list method. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAdExchangeBuyerII_ListNonBillableWinningBidsResponse. + * + * List all reasons for which winning bids were not billable, with the number + * of bids not billed for each reason. + * + * @param filterSetName Name of the filter set that should be applied to the + * requested metrics. For example: - For a bidder-level filter set for bidder + * 123: `bidders/123/filterSets/abc` - For an account-level filter set for + * the buyer account representing bidder 123: + * `bidders/123/accounts/123/filterSets/abc` - For an account-level filter + * set for the child seat buyer account 456 whose bidder is 123: + * `bidders/123/accounts/456/filterSets/abc` + * + * @return GTLRAdExchangeBuyerIIQuery_BuyersFilterSetsNonBillableWinningBidsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithFilterSetName:(NSString *)filterSetName; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Advisorynotifications/GTLRAdvisorynotificationsQuery.m b/Sources/GeneratedServices/Advisorynotifications/GTLRAdvisorynotificationsQuery.m index 26d20430e..1119899cc 100644 --- a/Sources/GeneratedServices/Advisorynotifications/GTLRAdvisorynotificationsQuery.m +++ b/Sources/GeneratedServices/Advisorynotifications/GTLRAdvisorynotificationsQuery.m @@ -111,3 +111,41 @@ + (instancetype)queryWithObject:(GTLRAdvisorynotifications_GoogleCloudAdvisoryno } @end + +@implementation GTLRAdvisorynotificationsQuery_ProjectsLocationsNotificationsGet + +@dynamic languageCode, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAdvisorynotificationsQuery_ProjectsLocationsNotificationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAdvisorynotifications_GoogleCloudAdvisorynotificationsV1Notification class]; + query.loggingName = @"advisorynotifications.projects.locations.notifications.get"; + return query; +} + +@end + +@implementation GTLRAdvisorynotificationsQuery_ProjectsLocationsNotificationsList + +@dynamic languageCode, pageSize, pageToken, parent, view; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/notifications"; + GTLRAdvisorynotificationsQuery_ProjectsLocationsNotificationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAdvisorynotifications_GoogleCloudAdvisorynotificationsV1ListNotificationsResponse class]; + query.loggingName = @"advisorynotifications.projects.locations.notifications.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/Advisorynotifications/Public/GoogleAPIClientForREST/GTLRAdvisorynotificationsObjects.h b/Sources/GeneratedServices/Advisorynotifications/Public/GoogleAPIClientForREST/GTLRAdvisorynotificationsObjects.h index 2294a7d94..c25e7995b 100644 --- a/Sources/GeneratedServices/Advisorynotifications/Public/GoogleAPIClientForREST/GTLRAdvisorynotificationsObjects.h +++ b/Sources/GeneratedServices/Advisorynotifications/Public/GoogleAPIClientForREST/GTLRAdvisorynotificationsObjects.h @@ -226,7 +226,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdvisorynotifications_GoogleCloudAdvisor /** * The resource name of the notification. Format: - * organizations/{organization}/locations/{location}/notifications/{notification}. + * organizations/{organization}/locations/{location}/notifications/{notification} + * or projects/{project}/locations/{location}/notifications/{notification}. */ @property(nonatomic, copy, nullable) NSString *name; @@ -284,7 +285,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAdvisorynotifications_GoogleCloudAdvisor @property(nonatomic, copy, nullable) NSString *ETag; /** - * Output only. The resource name of the settings to retrieve. Format: + * Identifier. The resource name of the settings to retrieve. Format: * organizations/{organization}/locations/{location}/settings. */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/Advisorynotifications/Public/GoogleAPIClientForREST/GTLRAdvisorynotificationsQuery.h b/Sources/GeneratedServices/Advisorynotifications/Public/GoogleAPIClientForREST/GTLRAdvisorynotificationsQuery.h index e40a78861..e12a2d9ef 100644 --- a/Sources/GeneratedServices/Advisorynotifications/Public/GoogleAPIClientForREST/GTLRAdvisorynotificationsQuery.h +++ b/Sources/GeneratedServices/Advisorynotifications/Public/GoogleAPIClientForREST/GTLRAdvisorynotificationsQuery.h @@ -116,7 +116,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdvisorynotificationsViewNotificationVie /** * Required. A name of the notification to retrieve. Format: - * organizations/{organization}/locations/{location}/notifications/{notification}. + * organizations/{organization}/locations/{location}/notifications/{notification} + * or projects/{projects}/locations/{location}/notifications/{notification}. */ @property(nonatomic, copy, nullable) NSString *name; @@ -127,7 +128,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdvisorynotificationsViewNotificationVie * Gets a notification. * * @param name Required. A name of the notification to retrieve. Format: - * organizations/{organization}/locations/{location}/notifications/{notification}. + * organizations/{organization}/locations/{location}/notifications/{notification} + * or projects/{projects}/locations/{location}/notifications/{notification}. * * @return GTLRAdvisorynotificationsQuery_OrganizationsLocationsNotificationsGet */ @@ -170,7 +172,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdvisorynotificationsViewNotificationVie /** * Required. The parent, which owns this collection of notifications. Must be - * of the form "organizations/{organization}/locations/{location}" + * of the form "organizations/{organization}/locations/{location}" or + * "projects/{project}/locations/{location}" */ @property(nonatomic, copy, nullable) NSString *parent; @@ -199,7 +202,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdvisorynotificationsViewNotificationVie * * @param parent Required. The parent, which owns this collection of * notifications. Must be of the form - * "organizations/{organization}/locations/{location}" + * "organizations/{organization}/locations/{location}" or + * "projects/{project}/locations/{location}" * * @return GTLRAdvisorynotificationsQuery_OrganizationsLocationsNotificationsList * @@ -222,7 +226,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAdvisorynotificationsViewNotificationVie @interface GTLRAdvisorynotificationsQuery_OrganizationsLocationsUpdateSettings : GTLRAdvisorynotificationsQuery /** - * Output only. The resource name of the settings to retrieve. Format: + * Identifier. The resource name of the settings to retrieve. Format: * organizations/{organization}/locations/{location}/settings. */ @property(nonatomic, copy, nullable) NSString *name; @@ -236,7 +240,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAdvisorynotificationsViewNotificationVie * @param object The @c * GTLRAdvisorynotifications_GoogleCloudAdvisorynotificationsV1Settings to * include in the query. - * @param name Output only. The resource name of the settings to retrieve. + * @param name Identifier. The resource name of the settings to retrieve. * Format: organizations/{organization}/locations/{location}/settings. * * @return GTLRAdvisorynotificationsQuery_OrganizationsLocationsUpdateSettings @@ -246,6 +250,126 @@ FOUNDATION_EXTERN NSString * const kGTLRAdvisorynotificationsViewNotificationVie @end +/** + * Gets a notification. + * + * Method: advisorynotifications.projects.locations.notifications.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdvisorynotificationsCloudPlatform + */ +@interface GTLRAdvisorynotificationsQuery_ProjectsLocationsNotificationsGet : GTLRAdvisorynotificationsQuery + +/** + * ISO code for requested localization language. If unset, will be interpereted + * as "en". If the requested language is valid, but not supported for this + * notification, English will be returned with an "Not applicable" + * LocalizationState. If the ISO code is invalid (i.e. not a real language), + * this RPC will throw an error. + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** + * Required. A name of the notification to retrieve. Format: + * organizations/{organization}/locations/{location}/notifications/{notification} + * or projects/{projects}/locations/{location}/notifications/{notification}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRAdvisorynotifications_GoogleCloudAdvisorynotificationsV1Notification. + * + * Gets a notification. + * + * @param name Required. A name of the notification to retrieve. Format: + * organizations/{organization}/locations/{location}/notifications/{notification} + * or projects/{projects}/locations/{location}/notifications/{notification}. + * + * @return GTLRAdvisorynotificationsQuery_ProjectsLocationsNotificationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists notifications under a given parent. + * + * Method: advisorynotifications.projects.locations.notifications.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAdvisorynotificationsCloudPlatform + */ +@interface GTLRAdvisorynotificationsQuery_ProjectsLocationsNotificationsList : GTLRAdvisorynotificationsQuery + +/** + * ISO code for requested localization language. If unset, will be interpereted + * as "en". If the requested language is valid, but not supported for this + * notification, English will be returned with an "Not applicable" + * LocalizationState. If the ISO code is invalid (i.e. not a real language), + * this RPC will throw an error. + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** + * The maximum number of notifications to return. The service may return fewer + * than this value. If unspecified or equal to 0, at most 50 notifications will + * be returned. The maximum value is 50; values above 50 will be coerced to 50. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token returned from a previous request. When paginating, all other + * parameters provided in the request must match the call that returned the + * page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of notifications. Must be + * of the form "organizations/{organization}/locations/{location}" or + * "projects/{project}/locations/{location}" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Specifies which parts of the notification resource should be returned in the + * response. + * + * Likely values: + * @arg @c kGTLRAdvisorynotificationsViewNotificationViewUnspecified Not + * specified, equivalent to BASIC. (Value: + * "NOTIFICATION_VIEW_UNSPECIFIED") + * @arg @c kGTLRAdvisorynotificationsViewBasic Server responses only include + * title, creation time and Notification ID. Note: for internal use + * responses also include the last update time, the latest message text + * and whether notification has attachments. (Value: "BASIC") + * @arg @c kGTLRAdvisorynotificationsViewFull Include everything. (Value: + * "FULL") + */ +@property(nonatomic, copy, nullable) NSString *view; + +/** + * Fetches a @c + * GTLRAdvisorynotifications_GoogleCloudAdvisorynotificationsV1ListNotificationsResponse. + * + * Lists notifications under a given parent. + * + * @param parent Required. The parent, which owns this collection of + * notifications. Must be of the form + * "organizations/{organization}/locations/{location}" or + * "projects/{project}/locations/{location}" + * + * @return GTLRAdvisorynotificationsQuery_ProjectsLocationsNotificationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m index 3c40c436f..60fb1a08a 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m @@ -14,6 +14,75 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRAiplatform_CloudAiLargeModelsVisionFilteredText.category +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Celebrity = @"CELEBRITY"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ChildImg = @"CHILD_IMG"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ChildText = @"CHILD_TEXT"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Csai = @"CSAI"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_CsaiImg = @"CSAI_IMG"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_DangerousContent = @"DANGEROUS_CONTENT"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_DeathHarmTragedy = @"DEATH_HARM_TRAGEDY"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_FaceImg = @"FACE_IMG"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_FirearmsWeapons = @"FIREARMS_WEAPONS"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_HateSymbolImg = @"HATE_SYMBOL_IMG"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Health = @"HEALTH"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IcaImg = @"ICA_IMG"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IdentityAttack = @"IDENTITY_ATTACK"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IllicitDrugs = @"ILLICIT_DRUGS"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IuImg = @"IU_IMG"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_MemorizationImg = @"MEMORIZATION_IMG"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Obscene = @"OBSCENE"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PedoImg = @"PEDO_IMG"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PersonImg = @"PERSON_IMG"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Politics = @"POLITICS"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PornImg = @"PORN_IMG"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RacyImg = @"RACY_IMG"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RaiCategoryUnspecified = @"RAI_CATEGORY_UNSPECIFIED"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RecitationText = @"RECITATION_TEXT"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ReligiousBelief = @"RELIGIOUS_BELIEF"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SensitiveWord = @"SENSITIVE_WORD"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SexualImg = @"SEXUAL_IMG"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SexuallyExplicit = @"SEXUALLY_EXPLICIT"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Spii = @"SPII"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Toxic = @"TOXIC"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ViolenceAbuse = @"VIOLENCE_ABUSE"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ViolenceImg = @"VIOLENCE_IMG"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WarConflict = @"WAR_CONFLICT"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WatermarkImg = @"WATERMARK_IMG"; + +// GTLRAiplatform_CloudAiLargeModelsVisionFilteredText.confidence +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceHigh = @"CONFIDENCE_HIGH"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceLow = @"CONFIDENCE_LOW"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceMedium = @"CONFIDENCE_MEDIUM"; +NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceUnspecified = @"CONFIDENCE_UNSPECIFIED"; + +// GTLRAiplatform_CloudAiNlLlmProtoServiceCandidate.finishReason +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonMaxTokens = @"FINISH_REASON_MAX_TOKENS"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonOther = @"FINISH_REASON_OTHER"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonRecitation = @"FINISH_REASON_RECITATION"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonSafety = @"FINISH_REASON_SAFETY"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonStop = @"FINISH_REASON_STOP"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonUnspecified = @"FINISH_REASON_UNSPECIFIED"; + +// GTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback.blockReason +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback_BlockReason_BlockedReasonUnspecified = @"BLOCKED_REASON_UNSPECIFIED"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback_BlockReason_Other = @"OTHER"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback_BlockReason_Safety = @"SAFETY"; + +// GTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating.category +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategoryDangerousContent = @"HARM_CATEGORY_DANGEROUS_CONTENT"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategoryHarassment = @"HARM_CATEGORY_HARASSMENT"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategoryHateSpeech = @"HARM_CATEGORY_HATE_SPEECH"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategorySexuallyExplicit = @"HARM_CATEGORY_SEXUALLY_EXPLICIT"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategoryUnspecified = @"HARM_CATEGORY_UNSPECIFIED"; + +// GTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating.probability +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_HarmProbabilityUnspecified = @"HARM_PROBABILITY_UNSPECIFIED"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_High = @"HIGH"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_Low = @"LOW"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_Medium = @"MEDIUM"; +NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_Negligible = @"NEGLIGIBLE"; + // GTLRAiplatform_GoogleCloudAiplatformV1Artifact.state NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Artifact_State_Live = @"LIVE"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Artifact_State_Pending = @"PENDING"; @@ -33,6 +102,14 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BatchPredictionJob_State_JobStateUnspecified = @"JOB_STATE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BatchPredictionJob_State_JobStateUpdating = @"JOB_STATE_UPDATING"; +// GTLRAiplatform_GoogleCloudAiplatformV1Candidate.finishReason +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_FinishReasonUnspecified = @"FINISH_REASON_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MaxTokens = @"MAX_TOKENS"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Other = @"OTHER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Recitation = @"RECITATION"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Safety = @"SAFETY"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Stop = @"STOP"; + // GTLRAiplatform_GoogleCloudAiplatformV1CustomJob.state NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CustomJob_State_JobStateCancelled = @"JOB_STATE_CANCELLED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CustomJob_State_JobStateCancelling = @"JOB_STATE_CANCELLING"; @@ -132,6 +209,10 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization_Type_Pixels = @"PIXELS"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig.exportUse +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig_ExportUse_CustomCodeTraining = @"CUSTOM_CODE_TRAINING"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig_ExportUse_ExportUseUnspecified = @"EXPORT_USE_UNSPECIFIED"; + // GTLRAiplatform_GoogleCloudAiplatformV1Feature.valueType NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_Bool = @"BOOL"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_BoolArray = @"BOOL_ARRAY"; @@ -176,6 +257,11 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_KeyValue = @"KEY_VALUE"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_ProtoStruct = @"PROTO_STRUCT"; +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback.blockReason +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_BlockedReasonUnspecified = @"BLOCKED_REASON_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Other = @"OTHER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Safety = @"SAFETY"; + // GTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob.state NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob_State_JobStateCancelled = @"JOB_STATE_CANCELLED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob_State_JobStateCancelling = @"JOB_STATE_CANCELLING"; @@ -280,6 +366,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo_SourceType_Automl = @"AUTOML"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo_SourceType_Bqml = @"BQML"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo_SourceType_Custom = @"CUSTOM"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo_SourceType_CustomTextEmbedding = @"CUSTOM_TEXT_EMBEDDING"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo_SourceType_Genie = @"GENIE"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo_SourceType_ModelGarden = @"MODEL_GARDEN"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo_SourceType_ModelSourceTypeUnspecified = @"MODEL_SOURCE_TYPE_UNSPECIFIED"; @@ -326,6 +413,12 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidJsonSyntax = @"INVALID_JSON_SYNTAX"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_NamespaceMissing = @"NAMESPACE_MISSING"; +// GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity.consumeReservationType +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationAffinityTypeUnspecified = @"RESERVATION_AFFINITY_TYPE_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationAny = @"RESERVATION_ANY"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationNone = @"RESERVATION_NONE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationSpecific = @"RESERVATION_SPECIFIC"; + // GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime.healthState NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime_HealthState_HealthStateUnspecified = @"HEALTH_STATE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime_HealthState_Healthy = @"HEALTHY"; @@ -414,6 +507,39 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_OpenSourceCategory_ThirdPartyOwnedOss = @"THIRD_PARTY_OWNED_OSS"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_OpenSourceCategory_ThirdPartyOwnedOssWithGoogleCheckpoint = @"THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT"; +// GTLRAiplatform_GoogleCloudAiplatformV1PublisherModel.versionState +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_VersionState_VersionStateStable = @"VERSION_STATE_STABLE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_VersionState_VersionStateUnspecified = @"VERSION_STATE_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_VersionState_VersionStateUnstable = @"VERSION_STATE_UNSTABLE"; + +// GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating.category +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryDangerousContent = @"HARM_CATEGORY_DANGEROUS_CONTENT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryHarassment = @"HARM_CATEGORY_HARASSMENT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryHateSpeech = @"HARM_CATEGORY_HATE_SPEECH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategorySexuallyExplicit = @"HARM_CATEGORY_SEXUALLY_EXPLICIT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryUnspecified = @"HARM_CATEGORY_UNSPECIFIED"; + +// GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating.probability +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_HarmProbabilityUnspecified = @"HARM_PROBABILITY_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_High = @"HIGH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_Low = @"LOW"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_Medium = @"MEDIUM"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_Negligible = @"NEGLIGIBLE"; + +// GTLRAiplatform_GoogleCloudAiplatformV1SafetySetting.category +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryDangerousContent = @"HARM_CATEGORY_DANGEROUS_CONTENT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryHarassment = @"HARM_CATEGORY_HARASSMENT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryHateSpeech = @"HARM_CATEGORY_HATE_SPEECH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategorySexuallyExplicit = @"HARM_CATEGORY_SEXUALLY_EXPLICIT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryUnspecified = @"HARM_CATEGORY_UNSPECIFIED"; + +// GTLRAiplatform_GoogleCloudAiplatformV1SafetySetting.threshold +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockLowAndAbove = @"BLOCK_LOW_AND_ABOVE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockMediumAndAbove = @"BLOCK_MEDIUM_AND_ABOVE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockNone = @"BLOCK_NONE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockOnlyHigh = @"BLOCK_ONLY_HIGH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_HarmBlockThresholdUnspecified = @"HARM_BLOCK_THRESHOLD_UNSPECIFIED"; + // GTLRAiplatform_GoogleCloudAiplatformV1SampleConfig.sampleStrategy NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SampleConfig_SampleStrategy_SampleStrategyUnspecified = @"SAMPLE_STRATEGY_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SampleConfig_SampleStrategy_Uncertainty = @"UNCERTAINTY"; @@ -424,6 +550,15 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schedule_State_Paused = @"PAUSED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schedule_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRAiplatform_GoogleCloudAiplatformV1Schema.type +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Array = @"ARRAY"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Boolean = @"BOOLEAN"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Integer = @"INTEGER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Number = @"NUMBER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Object = @"OBJECT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_String = @"STRING"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + // GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictionResultError.status NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictionResultError_Status_Aborted = @"ABORTED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictionResultError_Status_AlreadyExists = @"ALREADY_EXISTS"; @@ -445,6 +580,7 @@ // GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry.type NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Enterprise = @"ENTERPRISE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Inline = @"INLINE"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Unspecified = @"UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_VertexAiSearch = @"VERTEX_AI_SEARCH"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Web = @"WEB"; @@ -612,9 +748,412 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_Stopping = @"STOPPING"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_Succeeded = @"SUCCEEDED"; -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wdeprecated-declarations" -#pragma clang diagnostic ignored "-Wdeprecated-implementations" +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionEmbedVideoResponse +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionEmbedVideoResponse +@dynamic videoEmbeddings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"videoEmbeddings" : [NSObject class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionFilteredText +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionFilteredText +@dynamic category, confidence, prompt, score; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionGenerateVideoResponse +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionGenerateVideoResponse +@dynamic generatedSamples, raiMediaFilteredCount, raiMediaFilteredReasons, + raiTextFilteredReason; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"generatedSamples" : [GTLRAiplatform_CloudAiLargeModelsVisionMedia class], + @"raiMediaFilteredReasons" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionImage +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionImage +@dynamic encoding, image, imageRaiScores, raiInfo, semanticFilterResponse, uri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionImageRAIScores +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionImageRAIScores +@dynamic agileWatermarkDetectionScore; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionMedia +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionMedia +@dynamic image, video; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionMediaGenerateContentResponse +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionMediaGenerateContentResponse +@dynamic response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionNamedBoundingBox +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionNamedBoundingBox +@dynamic classes, entities, scores, x1, x2, y1, y2; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"classes" : [NSString class], + @"entities" : [NSString class], + @"scores" : [NSNumber class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionRaiInfo +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionRaiInfo +@dynamic raiCategories, scores; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"raiCategories" : [NSString class], + @"scores" : [NSNumber class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionReasonVideoResponse +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionReasonVideoResponse +@dynamic responses; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"responses" : [GTLRAiplatform_CloudAiLargeModelsVisionReasonVideoResponseTextResponse class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionReasonVideoResponseTextResponse +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionReasonVideoResponseTextResponse +@dynamic relativeTemporalPartition, text; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionRelativeTemporalPartition +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionRelativeTemporalPartition +@dynamic endOffset, startOffset; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionSemanticFilterResponse +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionSemanticFilterResponse +@dynamic namedBoundingBoxes, passedSemanticFilter; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"namedBoundingBoxes" : [GTLRAiplatform_CloudAiLargeModelsVisionNamedBoundingBox class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionVideo +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionVideo +@dynamic uri, video; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServiceCandidate +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServiceCandidate +@dynamic citationMetadata, content, finishMessage, finishReason, index, + safetyRatings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"safetyRatings" : [GTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServiceCitation +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServiceCitation +@dynamic endIndex, license, publicationDate, startIndex, title, uri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServiceCitationMetadata +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServiceCitationMetadata +@dynamic citations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"citations" : [GTLRAiplatform_CloudAiNlLlmProtoServiceCitation class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServiceContent +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServiceContent +@dynamic parts, role; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"parts" : [GTLRAiplatform_CloudAiNlLlmProtoServicePart class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionCall +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionCall +@dynamic args, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionCall_Args +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionCall_Args + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionResponse +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionResponse +@dynamic name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionResponse_Response +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionResponse_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServiceGenerateMultiModalResponse +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServiceGenerateMultiModalResponse +@dynamic candidates, promptFeedback, reportingMetrics, usageMetadata; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"candidates" : [GTLRAiplatform_CloudAiNlLlmProtoServiceCandidate class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServicePart +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServicePart +@dynamic fileData, functionCall, functionResponse, inlineData, text, + videoMetadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServicePartBlob +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServicePartBlob +@dynamic data, mimeType, originalFileData; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServicePartFileData +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServicePartFileData +@dynamic fileUri, mimeType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServicePartVideoMetadata +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServicePartVideoMetadata +@dynamic endOffset, startOffset; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback +@dynamic blockReason, blockReasonMessage, safetyRatings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"safetyRatings" : [GTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating +@dynamic blocked, category, probability; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServiceUsageMetadata +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServiceUsageMetadata +@dynamic candidatesTokenCount, promptTokenCount, totalTokenCount; +@end + // ---------------------------------------------------------------------------- // @@ -1360,6 +1899,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1BigQuerySource @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1Blob +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1Blob +@dynamic data, mimeType; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1BlurBaselineConfig @@ -1451,6 +2000,25 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CancelTrainingPipelineRequ @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1Candidate +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1Candidate +@dynamic citationMetadata, content, finishMessage, finishReason, index, + safetyRatings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"safetyRatings" : [GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata @@ -1480,6 +2048,34 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CheckTrialEarlyStoppingSta @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1Citation +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1Citation +@dynamic endIndex, license, publicationDate, startIndex, title, uri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1CitationMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1CitationMetadata +@dynamic citations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"citations" : [GTLRAiplatform_GoogleCloudAiplatformV1Citation class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1CompleteTrialRequest @@ -1567,6 +2163,24 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ContainerSpec @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1Content +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1Content +@dynamic parts, role; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"parts" : [GTLRAiplatform_GoogleCloudAiplatformV1Part class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1Context @@ -1658,10 +2272,11 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CopyModelResponse // @implementation GTLRAiplatform_GoogleCloudAiplatformV1CountTokensRequest -@dynamic instances; +@dynamic contents, instances, model; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"contents" : [GTLRAiplatform_GoogleCloudAiplatformV1Content class], @"instances" : [NSObject class] }; return map; @@ -1966,12 +2581,13 @@ + (Class)classForAdditionalProperties { @implementation GTLRAiplatform_GoogleCloudAiplatformV1CustomJobSpec @dynamic baseOutputDirectory, enableDashboardAccess, enableWebAccess, - experiment, experimentRun, network, protectedArtifactLocationId, - reservedIpRanges, scheduling, serviceAccount, tensorboard, - workerPoolSpecs; + experiment, experimentRun, models, network, + protectedArtifactLocationId, reservedIpRanges, scheduling, + serviceAccount, tensorboard, workerPoolSpecs; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"models" : [NSString class], @"reservedIpRanges" : [NSString class], @"workerPoolSpecs" : [GTLRAiplatform_GoogleCloudAiplatformV1WorkerPoolSpec class] }; @@ -2304,7 +2920,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployedIndexAuthConfigAut // @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployedIndexRef -@dynamic deployedIndexId, indexEndpoint; +@dynamic deployedIndexId, displayName, indexEndpoint; @end @@ -2317,7 +2933,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployedModel @dynamic automaticResources, createTime, dedicatedResources, disableContainerLogging, displayName, enableAccessLogging, explanationSpec, identifier, model, modelVersionId, privateEndpoints, - serviceAccount; + serviceAccount, sharedResources; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -2430,6 +3046,62 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DestinationFeatureSetting @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DirectPredictRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DirectPredictRequest +@dynamic inputs, parameters; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"inputs" : [GTLRAiplatform_GoogleCloudAiplatformV1Tensor class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DirectPredictResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DirectPredictResponse +@dynamic outputs, parameters; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"outputs" : [GTLRAiplatform_GoogleCloudAiplatformV1Tensor class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DirectRawPredictRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DirectRawPredictRequest +@dynamic input, methodName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DirectRawPredictResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DirectRawPredictResponse +@dynamic output; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1DiskSpec @@ -3003,7 +3675,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ExplanationSpecOverride // @implementation GTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig -@dynamic annotationsFilter, fractionSplit, gcsDestination; +@dynamic annotationSchemaUri, annotationsFilter, exportUse, filterSplit, + fractionSplit, gcsDestination, savedQueryId; @end @@ -3033,7 +3706,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ExportDataRequest // @implementation GTLRAiplatform_GoogleCloudAiplatformV1ExportDataResponse -@dynamic exportedFiles; +@dynamic dataStats, exportedFiles; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3102,6 +3775,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ExportFeatureValuesRespons @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ExportFilterSplit +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ExportFilterSplit +@dynamic testFilter, trainingFilter, validationFilter; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ExportFractionSplit @@ -3691,11 +4374,154 @@ + (Class)classForAdditionalProperties { @implementation GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList @dynamic features; -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"features" : [GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair class] - }; - return map; ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"features" : [GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair +@dynamic name, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FileData +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FileData +@dynamic fileUri, mimeType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FilterSplit +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FilterSplit +@dynamic testFilter, trainingFilter, validationFilter; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsRequest +@dynamic deployedIndexId, queries, returnFullDatapoint; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"queries" : [GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsRequestQuery class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsRequestQuery +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsRequestQuery +@dynamic approximateNeighborCount, datapoint, fractionLeafNodesToSearchOverride, + neighborCount, perCrowdingAttributeNeighborCount; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponse +@dynamic nearestNeighbors; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"nearestNeighbors" : [GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors +@dynamic identifier, neighbors; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"neighbors" : [GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNeighbor class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNeighbor +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNeighbor +@dynamic datapoint, distance; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FractionSplit +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FractionSplit +@dynamic testFraction, trainingFraction, validationFraction; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FunctionCall +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FunctionCall +@dynamic args, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FunctionCall_Args +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FunctionCall_Args + ++ (Class)classForAdditionalProperties { + return [NSObject class]; } @end @@ -3703,37 +4529,38 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponse // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair +// GTLRAiplatform_GoogleCloudAiplatformV1FunctionDeclaration // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair -@dynamic name, value; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FunctionDeclaration +@dynamic descriptionProperty, name, parameters; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FilterSplit +// GTLRAiplatform_GoogleCloudAiplatformV1FunctionResponse // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FilterSplit -@dynamic testFilter, trainingFilter, validationFilter; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FunctionResponse +@dynamic name, response; @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsRequest +// GTLRAiplatform_GoogleCloudAiplatformV1FunctionResponse_Response // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsRequest -@dynamic deployedIndexId, queries, returnFullDatapoint; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FunctionResponse_Response -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"queries" : [GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsRequestQuery class] - }; - return map; ++ (Class)classForAdditionalProperties { + return [NSObject class]; } @end @@ -3741,26 +4568,25 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsRequest // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsRequestQuery +// GTLRAiplatform_GoogleCloudAiplatformV1GcsDestination // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsRequestQuery -@dynamic approximateNeighborCount, datapoint, fractionLeafNodesToSearchOverride, - neighborCount, perCrowdingAttributeNeighborCount; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GcsDestination +@dynamic outputUriPrefix; @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponse +// GTLRAiplatform_GoogleCloudAiplatformV1GcsSource // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponse -@dynamic nearestNeighbors; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GcsSource +@dynamic uris; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"nearestNeighbors" : [GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors class] + @"uris" : [NSString class] }; return map; } @@ -3770,19 +4596,17 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponse // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors -@dynamic identifier, neighbors; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest +@dynamic contents, endpoint, generationConfig, safetySettings, tools; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"neighbors" : [GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNeighbor class] + @"contents" : [GTLRAiplatform_GoogleCloudAiplatformV1Content class], + @"safetySettings" : [GTLRAiplatform_GoogleCloudAiplatformV1SafetySetting class], + @"tools" : [GTLRAiplatform_GoogleCloudAiplatformV1Tool class] }; return map; } @@ -3792,45 +4616,62 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNeare // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNeighbor +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNeighbor -@dynamic datapoint, distance; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse +@dynamic candidates, promptFeedback, usageMetadata; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"candidates" : [GTLRAiplatform_GoogleCloudAiplatformV1Candidate class] + }; + return map; +} + @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1FractionSplit +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1FractionSplit -@dynamic testFraction, trainingFraction, validationFraction; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback +@dynamic blockReason, blockReasonMessage, safetyRatings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"safetyRatings" : [GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating class] + }; + return map; +} + @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1GcsDestination +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1GcsDestination -@dynamic outputUriPrefix; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata +@dynamic candidatesTokenCount, promptTokenCount, totalTokenCount; @end // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1GcsSource +// GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1GcsSource -@dynamic uris; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig +@dynamic candidateCount, maxOutputTokens, stopSequences, temperature, topK, + topP; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"uris" : [NSString class] + @"stopSequences" : [NSString class] }; return map; } @@ -5571,7 +6412,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1MigrateResourceResponse // @implementation GTLRAiplatform_GoogleCloudAiplatformV1Model -@dynamic artifactUri, containerSpec, createTime, deployedModels, +@dynamic artifactUri, containerSpec, createTime, dataStats, deployedModels, descriptionProperty, displayName, encryptionSpec, ETag, explanationSpec, labels, metadata, metadataArtifact, metadataSchemaUri, modelSourceInfo, name, originalModelInfo, pipelineJob, predictSchemata, @@ -5623,14 +6464,16 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAiplatform_GoogleCloudAiplatformV1ModelContainerSpec -@dynamic args, command, deploymentTimeout, env, healthProbe, healthRoute, - imageUri, ports, predictRoute, sharedMemorySizeMb, startupProbe; +@dynamic args, command, deploymentTimeout, env, grpcPorts, healthProbe, + healthRoute, imageUri, ports, predictRoute, sharedMemorySizeMb, + startupProbe; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"args" : [NSString class], @"command" : [NSString class], @"env" : [GTLRAiplatform_GoogleCloudAiplatformV1EnvVar class], + @"grpcPorts" : [GTLRAiplatform_GoogleCloudAiplatformV1Port class], @"ports" : [GTLRAiplatform_GoogleCloudAiplatformV1Port class] }; return map; @@ -5639,6 +6482,18 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ModelContainerSpec @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ModelDataStats +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ModelDataStats +@dynamic testAnnotationsCount, testDataItemsCount, trainingAnnotationsCount, + trainingDataItemsCount, validationAnnotationsCount, + validationDataItemsCount; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable @@ -6357,6 +7212,24 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookIdleShutdownConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity +@dynamic consumeReservationType, key, values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime @@ -6364,14 +7237,22 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookIdleShutdownConfig @implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime @dynamic createTime, descriptionProperty, displayName, expirationTime, - healthState, labels, name, notebookRuntimeTemplateRef, - notebookRuntimeType, proxyUri, runtimeState, runtimeUser, - serviceAccount, updateTime, version; + healthState, isUpgradable, labels, name, networkTags, + notebookRuntimeTemplateRef, notebookRuntimeType, proxyUri, + reservationAffinity, runtimeState, runtimeUser, serviceAccount, + updateTime, version; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; } ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"networkTags" : [NSString class] + }; + return map; +} + @end @@ -6397,7 +7278,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate @dynamic createTime, dataPersistentDiskSpec, descriptionProperty, displayName, ETag, eucConfig, idleShutdownConfig, isDefault, labels, machineSpec, - name, networkSpec, notebookRuntimeType, serviceAccount, updateTime; + name, networkSpec, networkTags, notebookRuntimeType, + reservationAffinity, serviceAccount, shieldedVmConfig, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -6407,6 +7289,13 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate return map; } ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"networkTags" : [NSString class] + }; + return map; +} + @end @@ -6434,6 +7323,17 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplateRef @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1Part +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1Part +@dynamic fileData, functionCall, functionResponse, inlineData, text, + videoMetadata; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest @@ -6874,7 +7774,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ProbeExecAction @implementation GTLRAiplatform_GoogleCloudAiplatformV1PublisherModel @dynamic frameworks, launchStage, name, openSourceCategory, predictSchemata, - publisherModelTemplate, supportedActions, versionId; + publisherModelTemplate, supportedActions, versionId, versionState; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6905,7 +7805,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToAction @implementation GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToActionDeploy @dynamic artifactUri, automaticResources, containerSpec, dedicatedResources, - largeModelReference, modelDisplayName, sharedResources, title; + largeModelReference, modelDisplayName, publicArtifactUri, + sharedResources, title; @end @@ -6967,7 +7868,12 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelDocumentatio // @implementation GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelResourceReference -@dynamic resourceName, uri; +@dynamic descriptionProperty, resourceName, uri, useCase; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + @end @@ -7435,6 +8341,26 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ResumeScheduleRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating +@dynamic blocked, category, probability; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1SafetySetting +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1SafetySetting +@dynamic category, threshold; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1SampleConfig @@ -7531,7 +8457,49 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ScheduleRunResponse // @implementation GTLRAiplatform_GoogleCloudAiplatformV1Scheduling -@dynamic disableRetries, restartJobOnWorkerRestart, timeout; +@dynamic disableRetries, maxWaitDuration, restartJobOnWorkerRestart, timeout; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1Schema +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1Schema +@dynamic descriptionProperty, enumProperty, example, format, items, nullable, + properties, required, type; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"enumProperty" : @"enum" + }; + return map; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"enum" : [NSString class], + @"required" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1Schema_Properties +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1Schema_Properties + ++ (Class)classForAdditionalProperties { + return [GTLRAiplatform_GoogleCloudAiplatformV1Schema class]; +} + @end @@ -8152,7 +9120,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundi // @implementation GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry -@dynamic enterpriseDatastore, type, vertexAiSearchDatastore; +@dynamic enterpriseDatastore, inlineContext, type, vertexAiSearchDatastore; @end @@ -8540,8 +9508,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1SchemaTextExtractionAnnota // @implementation GTLRAiplatform_GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata -@dynamic candidateCount, gcsUri, groundingConfig, maxOutputTokens, promptType, - stopSequences, temperature, text, topK, topP; +@dynamic candidateCount, gcsUri, groundingConfig, maxOutputTokens, note, + promptType, stopSequences, temperature, text, topK, topP; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -9702,6 +10670,16 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ShieldedVmConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ShieldedVmConfig +@dynamic enableSecureBoot; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1SmoothGradConfig @@ -10447,6 +11425,24 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1Tool +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1Tool +@dynamic functionDeclarations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"functionDeclarations" : [GTLRAiplatform_GoogleCloudAiplatformV1FunctionDeclaration class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1TrainingConfig @@ -10766,6 +11762,25 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1UpdateTensorboardOperation @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1UpgradeNotebookRuntimeOperationMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1UpgradeNotebookRuntimeOperationMetadata +@dynamic genericMetadata, progressMessage; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1UploadModelOperationMetadata @@ -10843,6 +11858,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1Value @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1VideoMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1VideoMetadata +@dynamic endOffset, startOffset; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1WorkerPoolSpec @@ -11216,6 +12241,16 @@ @implementation GTLRAiplatform_GoogleTypeColor @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleTypeDate +// + +@implementation GTLRAiplatform_GoogleTypeDate +@dynamic day, month, year; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleTypeExpr @@ -11250,4 +12285,50 @@ @implementation GTLRAiplatform_GoogleTypeMoney @dynamic currencyCode, nanos, units; @end + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_IntelligenceCloudAutomlXpsMetricEntry +// + +@implementation GTLRAiplatform_IntelligenceCloudAutomlXpsMetricEntry +@dynamic argentumMetricId, doubleValue, int64Value, metricName, systemLabels; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"systemLabels" : [GTLRAiplatform_IntelligenceCloudAutomlXpsMetricEntryLabel class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_IntelligenceCloudAutomlXpsMetricEntryLabel +// + +@implementation GTLRAiplatform_IntelligenceCloudAutomlXpsMetricEntryLabel +@dynamic labelName, labelValue; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_IntelligenceCloudAutomlXpsReportingMetrics +// + +@implementation GTLRAiplatform_IntelligenceCloudAutomlXpsReportingMetrics +@dynamic effectiveTrainingDuration, metricEntries; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"metricEntries" : [GTLRAiplatform_IntelligenceCloudAutomlXpsMetricEntry class] + }; + return map; +} + +@end + #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m index e3233c1ff..f5f5d8406 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m @@ -1753,6 +1753,60 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1DeployMod @end +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsDirectPredict + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1DirectPredictRequest *)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}:directPredict"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsDirectPredict *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1DirectPredictResponse class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.directPredict"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsDirectRawPredict + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1DirectRawPredictRequest *)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}:directRawPredict"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsDirectRawPredict *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1DirectRawPredictResponse class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.directRawPredict"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsExplain @dynamic endpoint; @@ -2048,6 +2102,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1Streaming @end +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsStreamGenerateContent + +@dynamic model; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest *)object + model:(NSString *)model { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"model" ]; + NSString *pathURITemplate = @"v1/{+model}:streamGenerateContent"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsStreamGenerateContent *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.model = model; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.streamGenerateContent"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsUndeployModel @dynamic endpoint; @@ -6780,6 +6861,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1StartNote @end +@implementation GTLRAiplatformQuery_ProjectsLocationsNotebookRuntimesUpgrade + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:upgrade"; + GTLRAiplatformQuery_ProjectsLocationsNotebookRuntimesUpgrade *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.notebookRuntimes.upgrade"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsNotebookRuntimeTemplatesCreate @dynamic notebookRuntimeTemplateId, parent; @@ -7376,6 +7484,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1Streaming @end +@implementation GTLRAiplatformQuery_ProjectsLocationsPublishersModelsStreamGenerateContent + +@dynamic model; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest *)object + model:(NSString *)model { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"model" ]; + NSString *pathURITemplate = @"v1/{+model}:streamGenerateContent"; + GTLRAiplatformQuery_ProjectsLocationsPublishersModelsStreamGenerateContent *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.model = model; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse class]; + query.loggingName = @"aiplatform.projects.locations.publishers.models.streamGenerateContent"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsSchedulesCreate @dynamic parent; @@ -8389,6 +8524,32 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1SuggestTr @end +@implementation GTLRAiplatformQuery_ProjectsLocationsTensorboardsBatchRead + +@dynamic tensorboard, timeSeries; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"timeSeries" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithTensorboard:(NSString *)tensorboard { + NSArray *pathParams = @[ @"tensorboard" ]; + NSString *pathURITemplate = @"v1/{+tensorboard}:batchRead"; + GTLRAiplatformQuery_ProjectsLocationsTensorboardsBatchRead *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.tensorboard = tensorboard; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse class]; + query.loggingName = @"aiplatform.projects.locations.tensorboards.batchRead"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsTensorboardsCreate @dynamic parent; @@ -8435,6 +8596,33 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsBatchCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest *)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}:batchCreate"; + GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsBatchCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse class]; + query.loggingName = @"aiplatform.projects.locations.tensorboards.experiments.batchCreate"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsCreate @dynamic parent, tensorboardExperimentId; @@ -8874,69 +9062,6 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1Tensorboa @end -@implementation GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesBatchCreate - -@dynamic parent, runsId; - -+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest *)object - parent:(NSString *)parent - runsId:(NSString *)runsId { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ - @"parent", @"runsId" - ]; - NSString *pathURITemplate = @"v1/{+parent}/runs/{runsId}/timeSeries:batchCreate"; - GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesBatchCreate *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.parent = parent; - query.runsId = runsId; - query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse class]; - query.loggingName = @"aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.batchCreate"; - return query; -} - -@end - -@implementation GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesBatchRead - -@dynamic experimentsId, runsId, tensorboard, timeSeries; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"timeSeries" : [NSString class] - }; - return map; -} - -+ (instancetype)queryWithTensorboard:(NSString *)tensorboard - experimentsId:(NSString *)experimentsId - runsId:(NSString *)runsId { - NSArray *pathParams = @[ - @"experimentsId", @"runsId", @"tensorboard" - ]; - NSString *pathURITemplate = @"v1/{+tensorboard}/experiments/{experimentsId}/runs/{runsId}/timeSeries:batchRead"; - GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesBatchRead *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.tensorboard = tensorboard; - query.experimentsId = experimentsId; - query.runsId = runsId; - query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse class]; - query.loggingName = @"aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.batchRead"; - return query; -} - -@end - @implementation GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesCreate @dynamic parent, tensorboardTimeSeriesId; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h index a539556fa..b8b9acf7f 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h @@ -15,6 +15,32 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif +@class GTLRAiplatform_CloudAiLargeModelsVisionFilteredText; +@class GTLRAiplatform_CloudAiLargeModelsVisionImage; +@class GTLRAiplatform_CloudAiLargeModelsVisionImageRAIScores; +@class GTLRAiplatform_CloudAiLargeModelsVisionMedia; +@class GTLRAiplatform_CloudAiLargeModelsVisionNamedBoundingBox; +@class GTLRAiplatform_CloudAiLargeModelsVisionRaiInfo; +@class GTLRAiplatform_CloudAiLargeModelsVisionReasonVideoResponseTextResponse; +@class GTLRAiplatform_CloudAiLargeModelsVisionRelativeTemporalPartition; +@class GTLRAiplatform_CloudAiLargeModelsVisionSemanticFilterResponse; +@class GTLRAiplatform_CloudAiLargeModelsVisionVideo; +@class GTLRAiplatform_CloudAiNlLlmProtoServiceCandidate; +@class GTLRAiplatform_CloudAiNlLlmProtoServiceCitation; +@class GTLRAiplatform_CloudAiNlLlmProtoServiceCitationMetadata; +@class GTLRAiplatform_CloudAiNlLlmProtoServiceContent; +@class GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionCall; +@class GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionCall_Args; +@class GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionResponse; +@class GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionResponse_Response; +@class GTLRAiplatform_CloudAiNlLlmProtoServiceGenerateMultiModalResponse; +@class GTLRAiplatform_CloudAiNlLlmProtoServicePart; +@class GTLRAiplatform_CloudAiNlLlmProtoServicePartBlob; +@class GTLRAiplatform_CloudAiNlLlmProtoServicePartFileData; +@class GTLRAiplatform_CloudAiNlLlmProtoServicePartVideoMetadata; +@class GTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback; +@class GTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating; +@class GTLRAiplatform_CloudAiNlLlmProtoServiceUsageMetadata; @class GTLRAiplatform_GoogleApiHttpBody; @class GTLRAiplatform_GoogleApiHttpBody_Extensions_Item; @class GTLRAiplatform_GoogleCloudAiplatformV1ActiveLearningConfig; @@ -39,11 +65,16 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField; @class GTLRAiplatform_GoogleCloudAiplatformV1BigQueryDestination; @class GTLRAiplatform_GoogleCloudAiplatformV1BigQuerySource; +@class GTLRAiplatform_GoogleCloudAiplatformV1Blob; @class GTLRAiplatform_GoogleCloudAiplatformV1BlurBaselineConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1BoolArray; +@class GTLRAiplatform_GoogleCloudAiplatformV1Candidate; +@class GTLRAiplatform_GoogleCloudAiplatformV1Citation; +@class GTLRAiplatform_GoogleCloudAiplatformV1CitationMetadata; @class GTLRAiplatform_GoogleCloudAiplatformV1CompletionStats; @class GTLRAiplatform_GoogleCloudAiplatformV1ContainerRegistryDestination; @class GTLRAiplatform_GoogleCloudAiplatformV1ContainerSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1Content; @class GTLRAiplatform_GoogleCloudAiplatformV1Context; @class GTLRAiplatform_GoogleCloudAiplatformV1Context_Labels; @class GTLRAiplatform_GoogleCloudAiplatformV1Context_Metadata; @@ -120,6 +151,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1ExportFeatureValuesRequestFullExport; @class GTLRAiplatform_GoogleCloudAiplatformV1ExportFeatureValuesRequestSnapshotExport; +@class GTLRAiplatform_GoogleCloudAiplatformV1ExportFilterSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1ExportFractionSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1ExportModelOperationMetadataOutputInfo; @class GTLRAiplatform_GoogleCloudAiplatformV1ExportModelRequestOutputConfig; @@ -160,13 +192,22 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponse_ProtoStruct; @class GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList; @class GTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair; +@class GTLRAiplatform_GoogleCloudAiplatformV1FileData; @class GTLRAiplatform_GoogleCloudAiplatformV1FilterSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsRequestQuery; @class GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors; @class GTLRAiplatform_GoogleCloudAiplatformV1FindNeighborsResponseNeighbor; @class GTLRAiplatform_GoogleCloudAiplatformV1FractionSplit; +@class GTLRAiplatform_GoogleCloudAiplatformV1FunctionCall; +@class GTLRAiplatform_GoogleCloudAiplatformV1FunctionCall_Args; +@class GTLRAiplatform_GoogleCloudAiplatformV1FunctionDeclaration; +@class GTLRAiplatform_GoogleCloudAiplatformV1FunctionResponse; +@class GTLRAiplatform_GoogleCloudAiplatformV1FunctionResponse_Response; @class GTLRAiplatform_GoogleCloudAiplatformV1GcsDestination; @class GTLRAiplatform_GoogleCloudAiplatformV1GcsSource; +@class GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback; +@class GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata; +@class GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata; @class GTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob; @class GTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob_Labels; @@ -212,6 +253,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1Model; @class GTLRAiplatform_GoogleCloudAiplatformV1Model_Labels; @class GTLRAiplatform_GoogleCloudAiplatformV1ModelContainerSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1ModelDataStats; @class GTLRAiplatform_GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable; @class GTLRAiplatform_GoogleCloudAiplatformV1ModelDeploymentMonitoringJob; @class GTLRAiplatform_GoogleCloudAiplatformV1ModelDeploymentMonitoringJob_Labels; @@ -264,11 +306,13 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1NfsMount; @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookEucConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookIdleShutdownConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity; @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime; @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime_Labels; @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate; @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate_Labels; @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplateRef; +@class GTLRAiplatform_GoogleCloudAiplatformV1Part; @class GTLRAiplatform_GoogleCloudAiplatformV1PersistentDiskSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1PipelineJob; @class GTLRAiplatform_GoogleCloudAiplatformV1PipelineJob_Labels; @@ -313,6 +357,8 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData; @class GTLRAiplatform_GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData; @class GTLRAiplatform_GoogleCloudAiplatformV1ResourcesConsumed; +@class GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating; +@class GTLRAiplatform_GoogleCloudAiplatformV1SafetySetting; @class GTLRAiplatform_GoogleCloudAiplatformV1SampleConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1SampledShapleyAttribution; @class GTLRAiplatform_GoogleCloudAiplatformV1SamplingStrategy; @@ -322,6 +368,8 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1Schedule; @class GTLRAiplatform_GoogleCloudAiplatformV1ScheduleRunResponse; @class GTLRAiplatform_GoogleCloudAiplatformV1Scheduling; +@class GTLRAiplatform_GoogleCloudAiplatformV1Schema; +@class GTLRAiplatform_GoogleCloudAiplatformV1Schema_Properties; @class GTLRAiplatform_GoogleCloudAiplatformV1SchemaAnnotationSpecColor; @class GTLRAiplatform_GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation; @class GTLRAiplatform_GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolygonAnnotation; @@ -413,6 +461,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1SchemaTrainingjobDefinitionWindowConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1SchemaVertex; @class GTLRAiplatform_GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective; +@class GTLRAiplatform_GoogleCloudAiplatformV1ShieldedVmConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1SmoothGradConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1SpecialistPool; @class GTLRAiplatform_GoogleCloudAiplatformV1StratifiedSplit; @@ -454,6 +503,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1TimeSeriesDataPoint; @class GTLRAiplatform_GoogleCloudAiplatformV1TimestampSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo; +@class GTLRAiplatform_GoogleCloudAiplatformV1Tool; @class GTLRAiplatform_GoogleCloudAiplatformV1TrainingConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline; @class GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_Labels; @@ -465,6 +515,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1UnmanagedContainerModel; @class GTLRAiplatform_GoogleCloudAiplatformV1UserActionReference; @class GTLRAiplatform_GoogleCloudAiplatformV1Value; +@class GTLRAiplatform_GoogleCloudAiplatformV1VideoMetadata; @class GTLRAiplatform_GoogleCloudAiplatformV1WorkerPoolSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1WriteFeatureValuesPayload; @class GTLRAiplatform_GoogleCloudAiplatformV1WriteFeatureValuesPayload_FeatureValues; @@ -481,9 +532,13 @@ @class GTLRAiplatform_GoogleRpcStatus; @class GTLRAiplatform_GoogleRpcStatus_Details_Item; @class GTLRAiplatform_GoogleTypeColor; +@class GTLRAiplatform_GoogleTypeDate; @class GTLRAiplatform_GoogleTypeExpr; @class GTLRAiplatform_GoogleTypeInterval; @class GTLRAiplatform_GoogleTypeMoney; +@class GTLRAiplatform_IntelligenceCloudAutomlXpsMetricEntry; +@class GTLRAiplatform_IntelligenceCloudAutomlXpsMetricEntryLabel; +@class GTLRAiplatform_IntelligenceCloudAutomlXpsReportingMetrics; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -496,6 +551,243 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRAiplatform_CloudAiLargeModelsVisionFilteredText.category + +/** Value: "CELEBRITY" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Celebrity; +/** Value: "CHILD_IMG" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ChildImg; +/** Value: "CHILD_TEXT" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ChildText; +/** Value: "CSAI" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Csai; +/** Value: "CSAI_IMG" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_CsaiImg; +/** + * Text category from SafetyCat v3 + * + * Value: "DANGEROUS_CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_DangerousContent; +/** + * SafetyAttributes returned but not filtered on + * + * Value: "DEATH_HARM_TRAGEDY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_DeathHarmTragedy; +/** Value: "FACE_IMG" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_FaceImg; +/** Value: "FIREARMS_WEAPONS" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_FirearmsWeapons; +/** + * End of list + * + * Value: "HATE_SYMBOL_IMG" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_HateSymbolImg; +/** Value: "HEALTH" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Health; +/** Value: "ICA_IMG" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IcaImg; +/** + * Hate + * + * Value: "IDENTITY_ATTACK" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IdentityAttack; +/** Value: "ILLICIT_DRUGS" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IllicitDrugs; +/** Value: "IU_IMG" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IuImg; +/** Value: "MEMORIZATION_IMG" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_MemorizationImg; +/** Value: "OBSCENE" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Obscene; +/** Value: "PEDO_IMG" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PedoImg; +/** Value: "PERSON_IMG" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PersonImg; +/** Value: "POLITICS" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Politics; +/** Value: "PORN_IMG" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PornImg; +/** Value: "RACY_IMG" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RacyImg; +/** Value: "RAI_CATEGORY_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RaiCategoryUnspecified; +/** Value: "RECITATION_TEXT" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RecitationText; +/** Value: "RELIGIOUS_BELIEF" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ReligiousBelief; +/** Value: "SENSITIVE_WORD" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SensitiveWord; +/** Value: "SEXUAL_IMG" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SexualImg; +/** + * Porn + * + * Value: "SEXUALLY_EXPLICIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SexuallyExplicit; +/** Value: "SPII" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Spii; +/** Value: "TOXIC" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Toxic; +/** Value: "VIOLENCE_ABUSE" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ViolenceAbuse; +/** Value: "VIOLENCE_IMG" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ViolenceImg; +/** Value: "WAR_CONFLICT" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WarConflict; +/** Value: "WATERMARK_IMG" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WatermarkImg; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_CloudAiLargeModelsVisionFilteredText.confidence + +/** Value: "CONFIDENCE_HIGH" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceHigh; +/** Value: "CONFIDENCE_LOW" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceLow; +/** Value: "CONFIDENCE_MEDIUM" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceMedium; +/** Value: "CONFIDENCE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_CloudAiNlLlmProtoServiceCandidate.finishReason + +/** + * The maximum number of tokens as specified in the request was reached. + * + * Value: "FINISH_REASON_MAX_TOKENS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonMaxTokens; +/** + * All other reasons that stopped the token generation. + * + * Value: "FINISH_REASON_OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonOther; +/** + * The token generation was stopped as the response was flagged for + * unauthorized citations. + * + * Value: "FINISH_REASON_RECITATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonRecitation; +/** + * The token generation was stopped as the response was flagged for safety + * reasons. NOTE: When streaming the Candidate.content will be empty if content + * filters blocked the output. + * + * Value: "FINISH_REASON_SAFETY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonSafety; +/** + * Natural stop point of the model or provided stop sequence. + * + * Value: "FINISH_REASON_STOP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonStop; +/** + * The finish reason is unspecified. + * + * Value: "FINISH_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback.blockReason + +/** + * Unspecified blocked reason. + * + * Value: "BLOCKED_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback_BlockReason_BlockedReasonUnspecified; +/** + * Candidates blocked due to other reason. + * + * Value: "OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback_BlockReason_Other; +/** + * Candidates blocked due to safety. + * + * Value: "SAFETY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback_BlockReason_Safety; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating.category + +/** + * The harm category is dengerous content. + * + * Value: "HARM_CATEGORY_DANGEROUS_CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategoryDangerousContent; +/** + * The harm category is harassment. + * + * Value: "HARM_CATEGORY_HARASSMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategoryHarassment; +/** + * The harm category is hate speech. + * + * Value: "HARM_CATEGORY_HATE_SPEECH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategoryHateSpeech; +/** + * The harm category is sexually explicit. + * + * Value: "HARM_CATEGORY_SEXUALLY_EXPLICIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategorySexuallyExplicit; +/** + * The harm category is unspecified. + * + * Value: "HARM_CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategoryUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating.probability + +/** + * Harm probability unspecified. + * + * Value: "HARM_PROBABILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_HarmProbabilityUnspecified; +/** + * High level of harm. + * + * Value: "HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_High; +/** + * Low level of harm. + * + * Value: "LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_Low; +/** + * Medium level of harm. + * + * Value: "MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_Medium; +/** + * Negligible level of harm. + * + * Value: "NEGLIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_Negligible; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1Artifact.state @@ -598,6 +890,49 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BatchP */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BatchPredictionJob_State_JobStateUpdating; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1Candidate.finishReason + +/** + * The finish reason is unspecified. + * + * Value: "FINISH_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_FinishReasonUnspecified; +/** + * The maximum number of tokens as specified in the request was reached. + * + * Value: "MAX_TOKENS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MaxTokens; +/** + * All other reasons that stopped the token generation + * + * Value: "OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Other; +/** + * The token generation was stopped as the response was flagged for + * unauthorized citations. + * + * Value: "RECITATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Recitation; +/** + * The token generation was stopped as the response was flagged for safety + * reasons. NOTE: When streaming the Candidate.content will be empty if content + * filters blocked the output. + * + * Value: "SAFETY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Safety; +/** + * Natural stop point of the model or provided stop sequence. + * + * Value: "STOP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Stop; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1CustomJob.state @@ -1121,6 +1456,22 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Explan */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig.exportUse + +/** + * Export for custom code training. + * + * Value: "CUSTOM_CODE_TRAINING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig_ExportUse_CustomCodeTraining; +/** + * Regular user export. + * + * Value: "EXPORT_USE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig_ExportUse_ExportUseUnspecified; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1Feature.valueType @@ -1355,6 +1706,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchF */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_ProtoStruct; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback.blockReason + +/** + * Unspecified blocked reason. + * + * Value: "BLOCKED_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_BlockedReasonUnspecified; +/** + * Candidates blocked due to other reason. + * + * Value: "OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Other; +/** + * Candidates blocked due to safety. + * + * Value: "SAFETY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Safety; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob.state @@ -1890,6 +2263,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ModelS * Value: "CUSTOM" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo_SourceType_Custom; +/** + * The Model is uploaded by text embedding finetuning pipeline. + * + * Value: "CUSTOM_TEXT_EMBEDDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo_SourceType_CustomTextEmbedding; /** * The Model is saved or tuned from Genie. * @@ -2128,6 +2507,35 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Neares */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_NamespaceMissing; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity.consumeReservationType + +/** + * Default type. + * + * Value: "RESERVATION_AFFINITY_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationAffinityTypeUnspecified; +/** + * Consume any reservation available. + * + * Value: "RESERVATION_ANY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationAny; +/** + * Do not consume from any allocated capacity. + * + * Value: "RESERVATION_NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationNone; +/** + * Must consume from a specific reservation. Must specify key value fields for + * specifying the reservations. + * + * Value: "RESERVATION_SPECIFIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationSpecific; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime.healthState @@ -2574,6 +2982,164 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Publis */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_OpenSourceCategory_ThirdPartyOwnedOssWithGoogleCheckpoint; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1PublisherModel.versionState + +/** + * Used to indicate the version is stable. + * + * Value: "VERSION_STATE_STABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_VersionState_VersionStateStable; +/** + * The version state is unspecified. + * + * Value: "VERSION_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_VersionState_VersionStateUnspecified; +/** + * Used to indicate the version is unstable. + * + * Value: "VERSION_STATE_UNSTABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_VersionState_VersionStateUnstable; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating.category + +/** + * The harm category is dangerous content. + * + * Value: "HARM_CATEGORY_DANGEROUS_CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryDangerousContent; +/** + * The harm category is harassment. + * + * Value: "HARM_CATEGORY_HARASSMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryHarassment; +/** + * The harm category is hate speech. + * + * Value: "HARM_CATEGORY_HATE_SPEECH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryHateSpeech; +/** + * The harm category is sexually explicit content. + * + * Value: "HARM_CATEGORY_SEXUALLY_EXPLICIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategorySexuallyExplicit; +/** + * The harm category is unspecified. + * + * Value: "HARM_CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating.probability + +/** + * Harm probability unspecified. + * + * Value: "HARM_PROBABILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_HarmProbabilityUnspecified; +/** + * High level of harm. + * + * Value: "HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_High; +/** + * Low level of harm. + * + * Value: "LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_Low; +/** + * Medium level of harm. + * + * Value: "MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_Medium; +/** + * Negligible level of harm. + * + * Value: "NEGLIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_Negligible; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1SafetySetting.category + +/** + * The harm category is dangerous content. + * + * Value: "HARM_CATEGORY_DANGEROUS_CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryDangerousContent; +/** + * The harm category is harassment. + * + * Value: "HARM_CATEGORY_HARASSMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryHarassment; +/** + * The harm category is hate speech. + * + * Value: "HARM_CATEGORY_HATE_SPEECH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryHateSpeech; +/** + * The harm category is sexually explicit content. + * + * Value: "HARM_CATEGORY_SEXUALLY_EXPLICIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategorySexuallyExplicit; +/** + * The harm category is unspecified. + * + * Value: "HARM_CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1SafetySetting.threshold + +/** + * Block low threshold and above (i.e. block more). + * + * Value: "BLOCK_LOW_AND_ABOVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockLowAndAbove; +/** + * Block medium threshold and above. + * + * Value: "BLOCK_MEDIUM_AND_ABOVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockMediumAndAbove; +/** + * Block none. + * + * Value: "BLOCK_NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockNone; +/** + * Block only high threshold (i.e. block less). + * + * Value: "BLOCK_ONLY_HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockOnlyHigh; +/** + * Unspecified harm block threshold. + * + * Value: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_HarmBlockThresholdUnspecified; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1SampleConfig.sampleStrategy @@ -2622,6 +3188,52 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schedu */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schedule_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1Schema.type + +/** + * OpenAPI array type + * + * Value: "ARRAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Array; +/** + * OpenAPI boolean type + * + * Value: "BOOLEAN" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Boolean; +/** + * OpenAPI integer type + * + * Value: "INTEGER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Integer; +/** + * OpenAPI number type + * + * Value: "NUMBER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Number; +/** + * OpenAPI object type + * + * Value: "OBJECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Object; +/** + * OpenAPI string type + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_String; +/** + * Not specified, should not be used. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_TypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictionResultError.status @@ -2796,6 +3408,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Schema * Value: "ENTERPRISE" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Enterprise GTLR_DEPRECATED; +/** + * Uses inline context to check the grounding. + * + * Value: "INLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Inline; /** Value: "UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Unspecified; /** @@ -3580,67 +4198,818 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Traini * * Value: "PIPELINE_STATE_QUEUED" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateQueued; +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateQueued; +/** + * The pipeline is in progress. + * + * Value: "PIPELINE_STATE_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateRunning; +/** + * The pipeline completed successfully. + * + * Value: "PIPELINE_STATE_SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateSucceeded; +/** + * The pipeline state is unspecified. + * + * Value: "PIPELINE_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1Trial.state + +/** + * Indicates that the Trial has been suggested. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_Active; +/** + * Indicates that the Trial should not be attempted again. The service will set + * a Trial to INFEASIBLE when it's done but missing the final_measurement. + * + * Value: "INFEASIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_Infeasible; +/** + * Indicates that a specific Trial has been requested, but it has not yet been + * suggested by the service. + * + * Value: "REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_Requested; +/** + * The Trial state is unspecified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_StateUnspecified; +/** + * Indicates that the Trial should stop according to the service. + * + * Value: "STOPPING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_Stopping; +/** + * Indicates that the Trial is completed successfully. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_Succeeded; + +/** + * Video embedding response. + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionEmbedVideoResponse : GTLRObject + +/** + * The embedding vector for the video. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) NSArray *videoEmbeddings; + +@end + + +/** + * Details for filtered input text. + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionFilteredText : GTLRObject + +/** + * Confidence level + * + * Likely values: + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Celebrity + * Value "CELEBRITY" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ChildImg + * Value "CHILD_IMG" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ChildText + * Value "CHILD_TEXT" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Csai + * Value "CSAI" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_CsaiImg + * Value "CSAI_IMG" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_DangerousContent + * Text category from SafetyCat v3 (Value: "DANGEROUS_CONTENT") + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_DeathHarmTragedy + * SafetyAttributes returned but not filtered on (Value: + * "DEATH_HARM_TRAGEDY") + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_FaceImg + * Value "FACE_IMG" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_FirearmsWeapons + * Value "FIREARMS_WEAPONS" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_HateSymbolImg + * End of list (Value: "HATE_SYMBOL_IMG") + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Health + * Value "HEALTH" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IcaImg + * Value "ICA_IMG" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IdentityAttack + * Hate (Value: "IDENTITY_ATTACK") + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IllicitDrugs + * Value "ILLICIT_DRUGS" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IuImg + * Value "IU_IMG" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_MemorizationImg + * Value "MEMORIZATION_IMG" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Obscene + * Value "OBSCENE" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PedoImg + * Value "PEDO_IMG" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PersonImg + * Value "PERSON_IMG" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Politics + * Value "POLITICS" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PornImg + * Value "PORN_IMG" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RacyImg + * Value "RACY_IMG" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RaiCategoryUnspecified + * Value "RAI_CATEGORY_UNSPECIFIED" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RecitationText + * Value "RECITATION_TEXT" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ReligiousBelief + * Value "RELIGIOUS_BELIEF" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SensitiveWord + * Value "SENSITIVE_WORD" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SexualImg + * Value "SEXUAL_IMG" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SexuallyExplicit + * Porn (Value: "SEXUALLY_EXPLICIT") + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Spii + * Value "SPII" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Toxic + * Value "TOXIC" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ViolenceAbuse + * Value "VIOLENCE_ABUSE" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ViolenceImg + * Value "VIOLENCE_IMG" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WarConflict + * Value "WAR_CONFLICT" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WatermarkImg + * Value "WATERMARK_IMG" + */ +@property(nonatomic, copy, nullable) NSString *category; + +/** + * Filtered category + * + * Likely values: + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceHigh + * Value "CONFIDENCE_HIGH" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceLow + * Value "CONFIDENCE_LOW" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceMedium + * Value "CONFIDENCE_MEDIUM" + * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceUnspecified + * Value "CONFIDENCE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *confidence; + +/** Input prompt */ +@property(nonatomic, copy, nullable) NSString *prompt; + +/** + * Score for category + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + +/** + * Generate video response. + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionGenerateVideoResponse : GTLRObject + +/** The generates samples. */ +@property(nonatomic, strong, nullable) NSArray *generatedSamples; + +/** + * Returns if any videos were filtered due to RAI policies. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *raiMediaFilteredCount; + +/** Returns rai failure reasons if any. */ +@property(nonatomic, strong, nullable) NSArray *raiMediaFilteredReasons; + +/** Returns filtered text rai info. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiLargeModelsVisionFilteredText *raiTextFilteredReason; + +@end + + +/** + * Image. + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionImage : GTLRObject + +/** Image encoding, encoded as "image/png" or "image/jpg". */ +@property(nonatomic, copy, nullable) NSString *encoding; + +/** + * Raw bytes. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *image; + +/** RAI scores for generated image. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiLargeModelsVisionImageRAIScores *imageRaiScores; + +/** RAI info for image */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiLargeModelsVisionRaiInfo *raiInfo; + +/** Semantic filter info for image. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiLargeModelsVisionSemanticFilterResponse *semanticFilterResponse; + +/** Path to another storage (typically Google Cloud Storage). */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * RAI scores for generated image returned. + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionImageRAIScores : GTLRObject + +/** + * Agile watermark score for image. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *agileWatermarkDetectionScore; + +@end + + +/** + * Media. + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionMedia : GTLRObject + +/** Image. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiLargeModelsVisionImage *image; + +/** Video */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiLargeModelsVisionVideo *video; + +@end + + +/** + * Generate media content response + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionMediaGenerateContentResponse : GTLRObject + +/** Response to the user's request. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServiceGenerateMultiModalResponse *response; + +@end + + +/** + * GTLRAiplatform_CloudAiLargeModelsVisionNamedBoundingBox + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionNamedBoundingBox : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *classes; +@property(nonatomic, strong, nullable) NSArray *entities; + +/** + * scores + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSArray *scores; + +/** + * x1 + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *x1; + +/** + * x2 + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *x2; + +/** + * y1 + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *y1; + +/** + * y2 + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *y2; + +@end + + +/** + * GTLRAiplatform_CloudAiLargeModelsVisionRaiInfo + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionRaiInfo : GTLRObject + +/** List of rai categories' information to return */ +@property(nonatomic, strong, nullable) NSArray *raiCategories; + +/** + * List of rai scores mapping to the rai categories. Rounded to 1 decimal + * place. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSArray *scores; + +@end + + +/** + * Video reasoning response. + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionReasonVideoResponse : GTLRObject + +/** + * Generated text responses. The generated responses for different segments + * within the same video. + */ +@property(nonatomic, strong, nullable) NSArray *responses; + +@end + + +/** + * Contains text that is the response of the video captioning. + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionReasonVideoResponseTextResponse : GTLRObject + +/** + * Partition of the caption's video in time. This field is intended for video + * captioning. To represent the start time and end time of the caption's video. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiLargeModelsVisionRelativeTemporalPartition *relativeTemporalPartition; + +/** Text information */ +@property(nonatomic, copy, nullable) NSString *text; + +@end + + +/** + * For ease of use, assume that the start_offset is inclusive and the + * end_offset is exclusive. In mathematical terms, the partition would be + * written as [start_offset, end_offset). + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionRelativeTemporalPartition : GTLRObject + +/** End time offset of the partition. */ +@property(nonatomic, strong, nullable) GTLRDuration *endOffset; + +/** Start time offset of the partition. */ +@property(nonatomic, strong, nullable) GTLRDuration *startOffset; + +@end + + +/** + * GTLRAiplatform_CloudAiLargeModelsVisionSemanticFilterResponse + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionSemanticFilterResponse : GTLRObject + +/** + * Class labels of the bounding boxes that failed the semantic filtering. + * Bounding box coordinates. + */ +@property(nonatomic, strong, nullable) NSArray *namedBoundingBoxes; + +/** + * This response is added when semantic filter config is turned on in + * EditConfig. It reports if this image is passed semantic filter response. If + * passed_semantic_filter is false, the bounding box information will be + * populated for user to check what caused the semantic filter to fail. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *passedSemanticFilter; + +@end + + +/** + * Video + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionVideo : GTLRObject + +/** Path to another storage (typically Google Cloud Storage). */ +@property(nonatomic, copy, nullable) NSString *uri; + +/** + * Raw bytes. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *video; + +@end + + +/** + * GTLRAiplatform_CloudAiNlLlmProtoServiceCandidate + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServiceCandidate : GTLRObject + +/** Source attribution of the generated content. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServiceCitationMetadata *citationMetadata; + +/** Content of the candidate. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServiceContent *content; + +/** + * A string that describes the filtering behavior in more detail. Only filled + * when reason is set. + */ +@property(nonatomic, copy, nullable) NSString *finishMessage; + +/** + * The reason why the model stopped generating tokens. + * + * Likely values: + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonMaxTokens + * The maximum number of tokens as specified in the request was reached. + * (Value: "FINISH_REASON_MAX_TOKENS") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonOther + * All other reasons that stopped the token generation. (Value: + * "FINISH_REASON_OTHER") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonRecitation + * The token generation was stopped as the response was flagged for + * unauthorized citations. (Value: "FINISH_REASON_RECITATION") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonSafety + * The token generation was stopped as the response was flagged for + * safety reasons. NOTE: When streaming the Candidate.content will be + * empty if content filters blocked the output. (Value: + * "FINISH_REASON_SAFETY") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonStop + * Natural stop point of the model or provided stop sequence. (Value: + * "FINISH_REASON_STOP") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceCandidate_FinishReason_FinishReasonUnspecified + * The finish reason is unspecified. (Value: "FINISH_REASON_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *finishReason; + +/** + * Index of the candidate. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *index; + +/** Safety ratings of the generated content. */ +@property(nonatomic, strong, nullable) NSArray *safetyRatings; + +@end + + +/** + * Source attributions for content. + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServiceCitation : GTLRObject + +/** + * End index into the content. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *endIndex; + +/** License of the attribution. */ +@property(nonatomic, copy, nullable) NSString *license; + +/** Publication date of the attribution. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleTypeDate *publicationDate; + +/** + * Start index into the content. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *startIndex; + +/** Title of the attribution. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Url reference of the attribution. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * A collection of source attributions for a piece of content. + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServiceCitationMetadata : GTLRObject + +/** List of citations. */ +@property(nonatomic, strong, nullable) NSArray *citations; + +@end + + +/** + * The content of a single message from a participant. + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServiceContent : GTLRObject + +/** The parts of the message. */ +@property(nonatomic, strong, nullable) NSArray *parts; + +/** The role of the current conversation participant. */ +@property(nonatomic, copy, nullable) NSString *role; + +@end + + +/** + * Function call details. + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionCall : GTLRObject + +/** The function parameters and values in JSON format. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionCall_Args *args; + +/** Required. The name of the function to call. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * The function parameters and values in JSON 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_CloudAiNlLlmProtoServiceFunctionCall_Args : GTLRObject +@end + + +/** + * Function response details. + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionResponse : GTLRObject + +/** Required. The name of the function to call. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Required. The function response in JSON object format. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionResponse_Response *response; + +@end + + +/** + * Required. The function response in JSON object 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_CloudAiNlLlmProtoServiceFunctionResponse_Response : GTLRObject +@end + + +/** + * GTLRAiplatform_CloudAiNlLlmProtoServiceGenerateMultiModalResponse + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServiceGenerateMultiModalResponse : GTLRObject + +/** Possible candidate responses to the conversation up until this point. */ +@property(nonatomic, strong, nullable) NSArray *candidates; + +/** + * Content filter results for a prompt sent in the request. Note: Sent only in + * the first stream chunk. Only happens when no candidates were generated due + * to content violations. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback *promptFeedback; + +/** Billable prediction metrics. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_IntelligenceCloudAutomlXpsReportingMetrics *reportingMetrics; + +/** Usage metadata about the response(s). */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServiceUsageMetadata *usageMetadata; + +@end + + +/** + * A single part of a message. + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServicePart : GTLRObject + +/** URI-based data. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServicePartFileData *fileData; + +/** Function call data. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionCall *functionCall; + +/** Function response data. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionResponse *functionResponse; + +/** Inline bytes data */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServicePartBlob *inlineData; + +/** Text input. */ +@property(nonatomic, copy, nullable) NSString *text; + +/** + * Video metadata. The metadata should only be specified while the video data + * is presented in inline_data or file_data. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServicePartVideoMetadata *videoMetadata; + +@end + + +/** + * Represents arbitrary blob data input. + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServicePartBlob : GTLRObject + +/** + * Inline data. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *data; + +/** The mime type corresponding to this input. */ +@property(nonatomic, copy, nullable) NSString *mimeType; + +/** Original file data where the blob comes from. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServicePartFileData *originalFileData; + +@end + + +/** + * Represents file data. + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServicePartFileData : GTLRObject + +/** Inline data. */ +@property(nonatomic, copy, nullable) NSString *fileUri; + +/** The mime type corresponding to this input. */ +@property(nonatomic, copy, nullable) NSString *mimeType; + +@end + + +/** + * Metadata describes the input video content. + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServicePartVideoMetadata : GTLRObject + +/** The end offset of the video. */ +@property(nonatomic, strong, nullable) GTLRDuration *endOffset; + +/** The start offset of the video. */ +@property(nonatomic, strong, nullable) GTLRDuration *startOffset; + +@end + + +/** + * Content filter results for a prompt sent in the request. + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback : GTLRObject + /** - * The pipeline is in progress. + * Blocked reason. * - * Value: "PIPELINE_STATE_RUNNING" + * Likely values: + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback_BlockReason_BlockedReasonUnspecified + * Unspecified blocked reason. (Value: "BLOCKED_REASON_UNSPECIFIED") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback_BlockReason_Other + * Candidates blocked due to other reason. (Value: "OTHER") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback_BlockReason_Safety + * Candidates blocked due to safety. (Value: "SAFETY") */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateRunning; +@property(nonatomic, copy, nullable) NSString *blockReason; + +/** A readable block reason message. */ +@property(nonatomic, copy, nullable) NSString *blockReasonMessage; + +/** Safety ratings. */ +@property(nonatomic, strong, nullable) NSArray *safetyRatings; + +@end + + /** - * The pipeline completed successfully. - * - * Value: "PIPELINE_STATE_SUCCEEDED" + * Safety rating corresponding to the generated content. */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateSucceeded; +@interface GTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating : GTLRObject + /** - * The pipeline state is unspecified. + * Indicates whether the content was filtered out because of this rating. * - * Value: "PIPELINE_STATE_UNSPECIFIED" + * Uses NSNumber of boolValue. */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRAiplatform_GoogleCloudAiplatformV1Trial.state +@property(nonatomic, strong, nullable) NSNumber *blocked; /** - * Indicates that the Trial has been suggested. + * Harm category. * - * Value: "ACTIVE" + * Likely values: + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategoryDangerousContent + * The harm category is dengerous content. (Value: + * "HARM_CATEGORY_DANGEROUS_CONTENT") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategoryHarassment + * The harm category is harassment. (Value: "HARM_CATEGORY_HARASSMENT") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategoryHateSpeech + * The harm category is hate speech. (Value: "HARM_CATEGORY_HATE_SPEECH") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategorySexuallyExplicit + * The harm category is sexually explicit. (Value: + * "HARM_CATEGORY_SEXUALLY_EXPLICIT") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Category_HarmCategoryUnspecified + * The harm category is unspecified. (Value: "HARM_CATEGORY_UNSPECIFIED") */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_Active; +@property(nonatomic, copy, nullable) NSString *category; + /** - * Indicates that the Trial should not be attempted again. The service will set - * a Trial to INFEASIBLE when it's done but missing the final_measurement. + * Harm probability levels in the content. * - * Value: "INFEASIBLE" + * Likely values: + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_HarmProbabilityUnspecified + * Harm probability unspecified. (Value: "HARM_PROBABILITY_UNSPECIFIED") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_High + * High level of harm. (Value: "HIGH") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_Low + * Low level of harm. (Value: "LOW") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_Medium + * Medium level of harm. (Value: "MEDIUM") + * @arg @c kGTLRAiplatform_CloudAiNlLlmProtoServiceSafetyRating_Probability_Negligible + * Negligible level of harm. (Value: "NEGLIGIBLE") */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_Infeasible; +@property(nonatomic, copy, nullable) NSString *probability; + +@end + + /** - * Indicates that a specific Trial has been requested, but it has not yet been - * suggested by the service. - * - * Value: "REQUESTED" + * Usage metadata about response(s). */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_Requested; +@interface GTLRAiplatform_CloudAiNlLlmProtoServiceUsageMetadata : GTLRObject + /** - * The Trial state is unspecified. + * Number of tokens in the response(s). * - * Value: "STATE_UNSPECIFIED" + * Uses NSNumber of intValue. */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_StateUnspecified; +@property(nonatomic, strong, nullable) NSNumber *candidatesTokenCount; + /** - * Indicates that the Trial should stop according to the service. + * Number of tokens in the request. * - * Value: "STOPPING" + * Uses NSNumber of intValue. */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_Stopping; +@property(nonatomic, strong, nullable) NSNumber *promptTokenCount; + /** - * Indicates that the Trial is completed successfully. + * totalTokenCount * - * Value: "SUCCEEDED" + * Uses NSNumber of intValue. */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_State_Succeeded; +@property(nonatomic, strong, nullable) NSNumber *totalTokenCount; + +@end + /** * Message that represents an arbitrary HTTP body. It should only be used for @@ -4768,7 +6137,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ * Fields that will be excluded in the prediction instance that is sent to the * Model. Excluded will be attached to the batch prediction output if key_field * is not specified. When excluded_fields is populated, included_fields must be - * empty. The input must be JSONL with objects at each line, CSV, BigQuery or + * empty. The input must be JSONL with objects at each line, BigQuery or * TfRecord. */ @property(nonatomic, strong, nullable) NSArray *excludedFields; @@ -4778,7 +6147,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ * Model. If instance_type is `array`, the order of field names in * included_fields also determines the order of the values in the array. When * included_fields is populated, excluded_fields must be empty. The input must - * be JSONL with objects at each line, CSV, BigQuery or TfRecord. + * be JSONL with objects at each line, BigQuery or TfRecord. */ @property(nonatomic, strong, nullable) NSArray *includedFields; @@ -5054,6 +6423,25 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Raw media bytes. Text should not be sent as raw bytes, use the 'text' field. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1Blob : GTLRObject + +/** + * Required. Raw bytes for media formats. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *data; + +/** Required. The IANA standard MIME type of the source data. */ +@property(nonatomic, copy, nullable) NSString *mimeType; + +@end + + /** * Config for blur baseline. When enabled, a linear path from the maximally * blurred image to the input image is created. Using a blurred baseline @@ -5138,6 +6526,64 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * A response candidate generated from the model. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1Candidate : GTLRObject + +/** Output only. Source attribution of the generated content. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1CitationMetadata *citationMetadata; + +/** Output only. Content parts of the candidate. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Content *content; + +/** + * Output only. Describes the reason the mode stopped generating tokens in more + * detail. This is only filled when `finish_reason` is set. + */ +@property(nonatomic, copy, nullable) NSString *finishMessage; + +/** + * Output only. The reason why the model stopped generating tokens. If empty, + * the model has not stopped generating the tokens. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_FinishReasonUnspecified + * The finish reason is unspecified. (Value: "FINISH_REASON_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MaxTokens + * The maximum number of tokens as specified in the request was reached. + * (Value: "MAX_TOKENS") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Other + * All other reasons that stopped the token generation (Value: "OTHER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Recitation + * The token generation was stopped as the response was flagged for + * unauthorized citations. (Value: "RECITATION") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Safety + * The token generation was stopped as the response was flagged for + * safety reasons. NOTE: When streaming the Candidate.content will be + * empty if content filters blocked the output. (Value: "SAFETY") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Stop + * Natural stop point of the model or provided stop sequence. (Value: + * "STOP") + */ +@property(nonatomic, copy, nullable) NSString *finishReason; + +/** + * Output only. Index of the candidate. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *index; + +/** + * Output only. List of ratings for the safety of a response candidate. There + * is at most one rating per category. + */ +@property(nonatomic, strong, nullable) NSArray *safetyRatings; + +@end + + /** * This message will be placed in the metadata field of a * google.longrunning.Operation associated with a CheckTrialEarlyStoppingState @@ -5179,6 +6625,51 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Source attributions for content. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1Citation : GTLRObject + +/** + * Output only. End index into the content. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *endIndex; + +/** Output only. License of the attribution. */ +@property(nonatomic, copy, nullable) NSString *license; + +/** Output only. Publication date of the attribution. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleTypeDate *publicationDate; + +/** + * Output only. Start index into the content. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *startIndex; + +/** Output only. Title of the attribution. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Output only. Url reference of the attribution. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * A collection of source attributions for a piece of content. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1CitationMetadata : GTLRObject + +/** Output only. List of citations. */ +@property(nonatomic, strong, nullable) NSArray *citations; + +@end + + /** * Request message for VizierService.CompleteTrial. */ @@ -5329,6 +6820,30 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * The base structured datatype containing multi-part content of a message. A + * `Content` includes a `role` field designating the producer of the `Content` + * and a `parts` field containing multi-part data that contains the content of + * the message turn. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1Content : GTLRObject + +/** + * Required. Ordered `Parts` that constitute a single message. Parts may have + * different IANA MIME types. + */ +@property(nonatomic, strong, nullable) NSArray *parts; + +/** + * Optional. The producer of the content. Must be either 'user' or 'model'. + * Useful to set for multi-turn conversations, otherwise can be left blank or + * unset. + */ +@property(nonatomic, copy, nullable) NSString *role; + +@end + + /** * Instance of a general context. */ @@ -5500,6 +7015,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @interface GTLRAiplatform_GoogleCloudAiplatformV1CountTokensRequest : GTLRObject +/** Required. Input content. */ +@property(nonatomic, strong, nullable) NSArray *contents; + /** * Required. The instances that are the input to token counting call. Schema is * identical to the prediction schema of the underlying model. @@ -5508,6 +7026,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @property(nonatomic, strong, nullable) NSArray *instances; +/** + * Required. The name of the publisher model requested to serve the prediction. + * Format: `projects/{project}/locations/{location}/publishers/ * /models/ *` + */ +@property(nonatomic, copy, nullable) NSString *model; + @end @@ -6070,6 +7594,21 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @property(nonatomic, copy, nullable) NSString *experimentRun; +/** + * Optional. The name of the Model resources for which to generate a mapping to + * artifact URIs. Applicable only to some of the Google-provided custom jobs. + * Format: `projects/{project}/locations/{location}/models/{model}` In order to + * retrieve a specific version of the model, also provide the version ID or + * version alias. Example: + * `projects/{project}/locations/{location}/models/{model}\@2` or + * `projects/{project}/locations/{location}/models/{model}\@golden` If no + * version ID or alias is specified, the "default" version will be returned. + * The "default" version alias is created for the first version of the model, + * and can be moved to other versions later on. There will be exactly one + * default version. + */ +@property(nonatomic, strong, nullable) NSArray *models; + /** * Optional. The full name of the Compute Engine * [network](/compute/docs/networks-and-firewalls#networks) to which the Job @@ -6967,6 +8506,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ /** Immutable. The ID of the DeployedIndex in the above IndexEndpoint. */ @property(nonatomic, copy, nullable) NSString *deployedIndexId; +/** Output only. The display name of the DeployedIndex. */ +@property(nonatomic, copy, nullable) NSString *displayName; + /** Immutable. A resource name of the IndexEndpoint. */ @property(nonatomic, copy, nullable) NSString *indexEndpoint; @@ -7071,6 +8613,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @property(nonatomic, copy, nullable) NSString *serviceAccount; +/** + * The resource name of the shared DeploymentResourcePool to deploy on. Format: + * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` + */ +@property(nonatomic, copy, nullable) NSString *sharedResources; + @end @@ -7232,6 +8780,73 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Request message for PredictionService.DirectPredict. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DirectPredictRequest : GTLRObject + +/** The prediction input. */ +@property(nonatomic, strong, nullable) NSArray *inputs; + +/** The parameters that govern the prediction. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Tensor *parameters; + +@end + + +/** + * Response message for PredictionService.DirectPredict. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DirectPredictResponse : GTLRObject + +/** The prediction output. */ +@property(nonatomic, strong, nullable) NSArray *outputs; + +/** The parameters that govern the prediction. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Tensor *parameters; + +@end + + +/** + * Request message for PredictionService.DirectRawPredict. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DirectRawPredictRequest : GTLRObject + +/** + * The prediction input. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *input; + +/** + * Fully qualified name of the API method being invoked to perform predictions. + * Format: `/namespace.Service/Method/` Example: + * `/tensorflow.serving.PredictionService/Predict` + */ +@property(nonatomic, copy, nullable) NSString *methodName; + +@end + + +/** + * Response message for PredictionService.DirectRawPredict. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DirectRawPredictResponse : GTLRObject + +/** + * The prediction output. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *output; + +@end + + /** * Represents the spec of disk options. */ @@ -8707,6 +10322,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @interface GTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig : GTLRObject +/** + * The Cloud Storage URI that points to a YAML file describing the annotation + * schema. The schema is defined as an OpenAPI 3.0.2 [Schema + * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). + * The schema files that can be used here are found in + * gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the + * chosen schema must be consistent with metadata of the Dataset specified by + * dataset_id. Only used for custom training data export use cases. Only + * applicable to Datasets that have DataItems and Annotations. Only Annotations + * that both match this schema and belong to DataItems not ignored by the split + * method are used in respectively training, validation or test role, depending + * on the role of the DataItem they are on. When used in conjunction with + * annotations_filter, the Annotations used for training are filtered by both + * annotations_filter and annotation_schema_uri. + */ +@property(nonatomic, copy, nullable) NSString *annotationSchemaUri; + /** * An expression for filtering what part of the Dataset is to be exported. Only * Annotations that match this filter will be exported. The filter syntax is @@ -8714,6 +10346,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @property(nonatomic, copy, nullable) NSString *annotationsFilter; +/** + * Indicates the usage of the exported files. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig_ExportUse_CustomCodeTraining + * Export for custom code training. (Value: "CUSTOM_CODE_TRAINING") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig_ExportUse_ExportUseUnspecified + * Regular user export. (Value: "EXPORT_USE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *exportUse; + +/** Split based on the provided filters for each set. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ExportFilterSplit *filterSplit; + /** Split based on fractions defining the size of each set. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ExportFractionSplit *fractionSplit; @@ -8729,6 +10375,19 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GcsDestination *gcsDestination; +/** + * The ID of a SavedQuery (annotation set) under the Dataset specified by + * dataset_id used for filtering Annotations for training. Only used for custom + * training data export use cases. Only applicable to Datasets that have + * SavedQueries. Only Annotations that are associated with this SavedQuery are + * used in respectively training. When used in conjunction with + * annotations_filter, the Annotations used for training are filtered by both + * saved_query_id and annotations_filter. Only one of saved_query_id and + * annotation_schema_uri should be specified as both of them represent the same + * thing: problem type. + */ +@property(nonatomic, copy, nullable) NSString *savedQueryId; + @end @@ -8765,7 +10424,18 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @interface GTLRAiplatform_GoogleCloudAiplatformV1ExportDataResponse : GTLRObject -/** All of the files that are exported in this export operation. */ +/** + * Only present for custom code training export use case. Records data stats, + * i.e., train/validation/test item/annotation counts calculated during the + * export operation. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ModelDataStats *dataStats; + +/** + * All of the files that are exported in this export operation. For custom code + * training export, only three (training, validation and test) Cloud Storage + * paths in wildcard format are populated (for example, gs://.../training-*). + */ @property(nonatomic, strong, nullable) NSArray *exportedFiles; @end @@ -8858,9 +10528,48 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ /** - * Response message for FeaturestoreService.ExportFeatureValues. + * Response message for FeaturestoreService.ExportFeatureValues. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ExportFeatureValuesResponse : GTLRObject +@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 + * supported for Datasets containing DataItems. If any of the filters in this + * message are to match nothing, then they can be set as '-' (the minus sign). + * Supported only for unstructured Datasets. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ExportFilterSplit : GTLRObject + +/** + * Required. A filter on DataItems of the Dataset. DataItems that match this + * filter are used to test the Model. A filter with same syntax as the one used + * in DatasetService.ListDataItems may be used. If a single DataItem is matched + * by more than one of the FilterSplit filters, then it is assigned to the + * first set that applies to it in the training, validation, test order. + */ +@property(nonatomic, copy, nullable) NSString *testFilter; + +/** + * Required. A filter on DataItems of the Dataset. DataItems that match this + * filter are used to train the Model. A filter with same syntax as the one + * used in DatasetService.ListDataItems may be used. If a single DataItem is + * matched by more than one of the FilterSplit filters, then it is assigned to + * the first set that applies to it in the training, validation, test order. + */ +@property(nonatomic, copy, nullable) NSString *trainingFilter; + +/** + * Required. A filter on DataItems of the Dataset. DataItems that match this + * filter are used to validate the Model. A filter with same syntax as the one + * used in DatasetService.ListDataItems may be used. If a single DataItem is + * matched by more than one of the FilterSplit filters, then it is assigned to + * the first set that applies to it in the training, validation, test order. */ -@interface GTLRAiplatform_GoogleCloudAiplatformV1ExportFeatureValuesResponse : GTLRObject +@property(nonatomic, copy, nullable) NSString *validationFilter; + @end @@ -9151,7 +10860,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ /** * 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, + * Table/View column hosting data for this version. If no value is provided, * will use feature_id. */ @property(nonatomic, copy, nullable) NSString *versionColumnName; @@ -9219,7 +10928,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup_Labels *labels; /** - * Output only. Name of the FeatureGroup. Format: + * Identifier. Name of the FeatureGroup. Format: * `projects/{project}/locations/{location}/featureGroups/{featureGroup}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -9370,7 +11079,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore_Labels *labels; /** - * Output only. Name of the FeatureOnlineStore. Format: + * Identifier. Name of the FeatureOnlineStore. Format: * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -10027,7 +11736,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureView_Labels *labels; /** - * Output only. Name of the FeatureView. Format: + * Identifier. Name of the FeatureView. Format: * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -10139,7 +11848,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleRpcStatus *finalStatus; /** - * Output only. Name of the FeatureViewSync. Format: + * Identifier. 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; @@ -10151,7 +11860,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ /** - * GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSyncConfig + * Configuration for Sync. Only one option is set. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewSyncConfig : GTLRObject @@ -10247,6 +11956,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * URI based data. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FileData : GTLRObject + +/** Required. URI. */ +@property(nonatomic, copy, nullable) NSString *fileUri; + +/** Required. The IANA standard MIME type of the source data. */ +@property(nonatomic, copy, nullable) NSString *mimeType; + +@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 @@ -10456,6 +12179,111 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * A predicted [FunctionCall] returned from the model that contains a string + * representing the [FunctionDeclaration.name] and a structured JSON object + * containing the parameters and their values. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FunctionCall : GTLRObject + +/** + * Optional. Required. The function parameters and values in JSON object + * format. See [FunctionDeclaration.parameters] for parameter details. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FunctionCall_Args *args; + +/** + * Required. The name of the function to call. Matches + * [FunctionDeclaration.name]. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * Optional. Required. The function parameters and values in JSON object + * format. See [FunctionDeclaration.parameters] for parameter details. + * + * @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_GoogleCloudAiplatformV1FunctionCall_Args : GTLRObject +@end + + +/** + * Structured representation of a function declaration as defined by the + * [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included + * in this declaration are the function name and parameters. This + * FunctionDeclaration is a representation of a block of code that can be used + * as a `Tool` by the model and executed by the client. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FunctionDeclaration : GTLRObject + +/** + * Optional. Description and purpose of the function. Model uses it to decide + * how and whether to call the function. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Required. The name of the function to call. Must start with a letter or an + * underscore. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a + * maximum length of 64. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Describes the parameters to this function in JSON Schema Object + * format. Reflects the Open API 3.03 Parameter Object. string Key: the name of + * the parameter. Parameter names are case sensitive. Schema Value: the Schema + * defining the type used for the parameter. For function with no parameters, + * this can be left unset. Example with 1 required and 1 optional parameter: + * type: OBJECT properties: param1: type: STRING param2: type: INTEGER + * required: - param1 + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Schema *parameters; + +@end + + +/** + * The result output from a [FunctionCall] that contains a string representing + * the [FunctionDeclaration.name] and a structured JSON object containing any + * output from the function is used as context to the model. This should + * contain the result of a [FunctionCall] made based on model prediction. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FunctionResponse : GTLRObject + +/** + * Required. The name of the function to call. Matches + * [FunctionDeclaration.name] and [FunctionCall.name]. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Required. The function response in JSON object format. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FunctionResponse_Response *response; + +@end + + +/** + * Required. The function response in JSON object 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_GoogleCloudAiplatformV1FunctionResponse_Response : GTLRObject +@end + + /** * The Google Cloud Storage location where the output is to be written to. */ @@ -10486,6 +12314,168 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Request message for [PredictionService.GenerateContent]. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest : GTLRObject + +/** + * Required. The content of the current conversation with the model. For + * single-turn queries, this is a single instance. For multi-turn queries, this + * is a repeated field that contains conversation history + latest request. + */ +@property(nonatomic, strong, nullable) NSArray *contents; + +/** + * Required. The name of the Endpoint requested to serve the prediction. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint GTLR_DEPRECATED; + +/** Optional. Generation config. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig *generationConfig; + +/** + * Optional. Per request settings for blocking unsafe content. Enforced on + * GenerateContentResponse.candidates. + */ +@property(nonatomic, strong, nullable) NSArray *safetySettings; + +/** + * Optional. A list of `Tools` the model may use to generate the next response. + * A `Tool` is a piece of code that enables the system to interact with + * external systems to perform an action, or set of actions, outside of + * knowledge and scope of the model. The only supported tool is currently + * `Function` + */ +@property(nonatomic, strong, nullable) NSArray *tools; + +@end + + +/** + * Response message for [PredictionService.GenerateContent]. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse : GTLRObject + +/** Output only. Generated candidates. */ +@property(nonatomic, strong, nullable) NSArray *candidates; + +/** + * Output only. Content filter results for a prompt sent in the request. Note: + * Sent only in the first stream chunk. Only happens when no candidates were + * generated due to content violations. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback *promptFeedback; + +/** Usage metadata about the response(s). */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata *usageMetadata; + +@end + + +/** + * Content filter results for a prompt sent in the request. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback : GTLRObject + +/** + * Output only. Blocked reason. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_BlockedReasonUnspecified + * Unspecified blocked reason. (Value: "BLOCKED_REASON_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Other + * Candidates blocked due to other reason. (Value: "OTHER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Safety + * Candidates blocked due to safety. (Value: "SAFETY") + */ +@property(nonatomic, copy, nullable) NSString *blockReason; + +/** Output only. A readable block reason message. */ +@property(nonatomic, copy, nullable) NSString *blockReasonMessage; + +/** Output only. Safety ratings. */ +@property(nonatomic, strong, nullable) NSArray *safetyRatings; + +@end + + +/** + * Usage metadata about response(s). + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata : GTLRObject + +/** + * Number of tokens in the response(s). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *candidatesTokenCount; + +/** + * Number of tokens in the request. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *promptTokenCount; + +/** + * totalTokenCount + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalTokenCount; + +@end + + +/** + * Generation config. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig : GTLRObject + +/** + * Optional. Number of candidates to generate. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *candidateCount; + +/** + * Optional. The maximum number of output tokens to generate per message. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxOutputTokens; + +/** Optional. Stop sequences. */ +@property(nonatomic, strong, nullable) NSArray *stopSequences; + +/** + * Optional. Controls the randomness of predictions. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *temperature; + +/** + * Optional. If specified, top-k sampling will be used. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *topK; + +/** + * Optional. If specified, nucleus sampling will be used. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *topP; + +@end + + /** * Generic Metadata shared by all operations. */ @@ -13396,6 +15386,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ /** Output only. Timestamp when this Model was uploaded into Vertex AI. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Stats of data used for training or evaluating the Model. Only populated when + * the Model is trained by a TrainingPipeline with data_input_config. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ModelDataStats *dataStats; + /** * Output only. The pointers to DeployedModels created from this Model. Note * that Model could have been deployed to Endpoints in different Locations. @@ -13693,10 +15689,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @property(nonatomic, strong, nullable) NSArray *command; -/** - * Immutable. Deployment timeout. TODO (b/306244185): Revise documentation - * before exposing. - */ +/** Immutable. Deployment timeout. Limit for deployment timeout is 2 hours. */ @property(nonatomic, strong, nullable) GTLRDuration *deploymentTimeout; /** @@ -13715,9 +15708,16 @@ 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. + * Immutable. List of ports to expose from the container. Vertex AI sends gRPC + * prediction requests that it receives to the first port on this list. Vertex + * AI also sends liveness and health checks to this port. If you do not specify + * this field, gRPC requests to the container will be disabled. Vertex AI does + * not use ports other than the first one listed. This field corresponds to the + * `ports` field of the Kubernetes Containers v1 core API. */ +@property(nonatomic, strong, nullable) NSArray *grpcPorts; + +/** Immutable. Specification for Kubernetes readiness probe. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Probe *healthProbe; /** @@ -13798,18 +15798,71 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ /** * 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. + * the model in megabytes. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *sharedMemorySizeMb; +/** Immutable. Specification for Kubernetes startup probe. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Probe *startupProbe; + +@end + + /** - * Immutable. Specification for Kubernetes startup probe. TODO (b/306244185): - * Revise documentation before exposing. + * Stats of data used for train or evaluate the Model. */ -@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Probe *startupProbe; +@interface GTLRAiplatform_GoogleCloudAiplatformV1ModelDataStats : GTLRObject + +/** + * Number of Annotations that are used for evaluating this Model. If the Model + * is evaluated multiple times, this will be the number of test Annotations + * used by the first evaluation. If the Model is not evaluated, the number is + * 0. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *testAnnotationsCount; + +/** + * Number of DataItems that were used for evaluating this Model. If the Model + * is evaluated multiple times, this will be the number of test DataItems used + * by the first evaluation. If the Model is not evaluated, the number is 0. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *testDataItemsCount; + +/** + * Number of Annotations that are used for training this Model. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *trainingAnnotationsCount; + +/** + * Number of DataItems that were used for training this Model. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *trainingDataItemsCount; + +/** + * Number of Annotations that are used for validating this Model during + * training. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *validationAnnotationsCount; + +/** + * Number of DataItems that were used for validating this Model during + * training. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *validationDataItemsCount; @end @@ -14170,7 +16223,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ /** * The metadata of the ModelEvaluation. For the ModelEvaluation uploaded from * Managed Pipeline, metadata contains a structured value with keys of - * "pipeline_job_id", "evaluation_dataset_type", "evaluation_dataset_path". + * "pipeline_job_id", "evaluation_dataset_type", "evaluation_dataset_path", + * "row_based_metrics_path". * * Can be any valid JSON type. */ @@ -14844,6 +16898,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo_SourceType_Custom * The Model is uploaded by user or custom training pipeline. (Value: * "CUSTOM") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo_SourceType_CustomTextEmbedding + * The Model is uploaded by text embedding finetuning pipeline. (Value: + * "CUSTOM_TEXT_EMBEDDING") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo_SourceType_Genie * The Model is saved or tuned from Genie. (Value: "GENIE") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo_SourceType_ModelGarden @@ -15540,6 +17597,47 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * Notebook Reservation Affinity for consuming Zonal reservation. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity : GTLRObject + +/** + * Required. Specifies the type of reservation from which this instance can + * consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or + * RESERVATION_NONE. See Consuming reserved instances for examples. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationAffinityTypeUnspecified + * Default type. (Value: "RESERVATION_AFFINITY_TYPE_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationAny + * Consume any reservation available. (Value: "RESERVATION_ANY") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationNone + * Do not consume from any allocated capacity. (Value: + * "RESERVATION_NONE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationSpecific + * Must consume from a specific reservation. Must specify key value + * fields for specifying the reservations. (Value: + * "RESERVATION_SPECIFIC") + */ +@property(nonatomic, copy, nullable) NSString *consumeReservationType; + +/** + * Optional. Corresponds to the label key of a reservation resource. To target + * a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name + * as the key and specify the name of your reservation as its value. + */ +@property(nonatomic, copy, nullable) NSString *key; + +/** + * Optional. Corresponds to the label values of a reservation resource. This + * must be the full path name of Reservation. + */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + /** * A runtime is a virtual machine allocated to a particular user for a * particular Notebook file on temporary basis with lifetime limited to 24 @@ -15585,7 +17683,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ * NotebookRuntime is in unhealthy state. Applies to ACTIVE state. * (Value: "UNHEALTHY") */ -@property(nonatomic, copy, nullable) NSString *healthState; +@property(nonatomic, copy, nullable) NSString *healthState; + +/** + * Output only. Whether NotebookRuntime is upgradable. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isUpgradable; /** * The labels with user-defined metadata to organize your NotebookRuntime. @@ -15608,6 +17713,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ /** Output only. The resource name of the NotebookRuntime. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. The Compute Engine tags to add to runtime (see [Tagging + * instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)). + */ +@property(nonatomic, strong, nullable) NSArray *networkTags; + /** * Output only. The pointer to NotebookRuntimeTemplate this NotebookRuntime is * created from. @@ -15633,6 +17744,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ /** Output only. The proxy endpoint used to access the NotebookRuntime. */ @property(nonatomic, copy, nullable) NSString *proxyUri; +/** Output only. Reservation Affinity of the notebook runtime. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity *reservationAffinity; + /** * Output only. The runtime (instance) state of the NotebookRuntime. * @@ -15768,6 +17882,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ /** Optional. Network spec. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1NetworkSpec *networkSpec; +/** + * Optional. The Compute Engine tags to add to runtime (see [Tagging + * instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)). + */ +@property(nonatomic, strong, nullable) NSArray *networkTags; + /** * Optional. Immutable. The type of the notebook runtime template. * @@ -15784,6 +17904,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @property(nonatomic, copy, nullable) NSString *notebookRuntimeType; +/** Optional. Reservation Affinity of the notebook runtime template. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity *reservationAffinity; + /** * The service account that the runtime workload runs as. You can use any * service account within the same project, but you must have the service @@ -15794,6 +17917,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ */ @property(nonatomic, copy, nullable) NSString *serviceAccount; +/** Optional. Immutable. Runtime Shielded VM spec. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ShieldedVmConfig *shieldedVmConfig; + /** * Output only. Timestamp when this NotebookRuntimeTemplate was most recently * updated. @@ -15830,6 +17956,48 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Trial_ @end +/** + * A datatype containing media that is part of a multi-part `Content` message. + * A `Part` consists of data which has an associated datatype. A `Part` can + * only contain one of the accepted types in `Part.data`. A `Part` must have a + * fixed IANA MIME type identifying the type and subtype of the media if + * `inline_data` or `file_data` field is filled with raw bytes. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1Part : GTLRObject + +/** Optional. URI based data. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FileData *fileData; + +/** + * Optional. A predicted [FunctionCall] returned from the model that contains a + * string representing the [FunctionDeclaration.name] with the parameters and + * their values. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FunctionCall *functionCall; + +/** + * Optional. The result output of a [FunctionCall] that contains a string + * representing the [FunctionDeclaration.name] and a structured JSON object + * containing any output from the function call. It is used as context to the + * model. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FunctionResponse *functionResponse; + +/** Optional. Inlined bytes data. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Blob *inlineData; + +/** Optional. Text part (can be code). */ +@property(nonatomic, copy, nullable) NSString *text; + +/** + * Optional. Video metadata. The metadata should only be specified while the + * video data is presented in inline_data or file_data. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1VideoMetadata *videoMetadata; + +@end + + /** * Request message for JobService.PauseModelDeploymentMonitoringJob. */ @@ -16868,6 +19036,21 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *versionId; +/** + * Optional. Indicates the state of the model version. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_VersionState_VersionStateStable + * Used to indicate the version is stable. (Value: + * "VERSION_STATE_STABLE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_VersionState_VersionStateUnspecified + * The version state is unspecified. (Value: "VERSION_STATE_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_VersionState_VersionStateUnstable + * Used to indicate the version is unstable. (Value: + * "VERSION_STATE_UNSTABLE") + */ +@property(nonatomic, copy, nullable) NSString *versionState; + @end @@ -16948,6 +19131,12 @@ GTLR_DEPRECATED /** Optional. Default model display name. */ @property(nonatomic, copy, nullable) NSString *modelDisplayName; +/** + * Optional. The signed URI for ephemeral Cloud Storage access to model + * artifact. + */ +@property(nonatomic, copy, nullable) NSString *publicArtifactUri; + /** * The resource name of the shared DeploymentResourcePool to deploy on. Format: * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` @@ -17024,12 +19213,22 @@ GTLR_DEPRECATED */ @interface GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelResourceReference : GTLRObject +/** + * Description of the resource. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + /** The resource name of the Google Cloud resource. */ @property(nonatomic, copy, nullable) NSString *resourceName; /** The URI of the resource. */ @property(nonatomic, copy, nullable) NSString *uri; +/** Use case (CUJ) of the resource. */ +@property(nonatomic, copy, nullable) NSString *useCase; + @end @@ -17614,6 +19813,105 @@ GTLR_DEPRECATED @end +/** + * Safety rating corresponding to the generated content. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating : GTLRObject + +/** + * Output only. Indicates whether the content was filtered out because of this + * rating. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *blocked; + +/** + * Output only. Harm category. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryDangerousContent + * The harm category is dangerous content. (Value: + * "HARM_CATEGORY_DANGEROUS_CONTENT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryHarassment + * The harm category is harassment. (Value: "HARM_CATEGORY_HARASSMENT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryHateSpeech + * The harm category is hate speech. (Value: "HARM_CATEGORY_HATE_SPEECH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategorySexuallyExplicit + * The harm category is sexually explicit content. (Value: + * "HARM_CATEGORY_SEXUALLY_EXPLICIT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryUnspecified + * The harm category is unspecified. (Value: "HARM_CATEGORY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *category; + +/** + * Output only. Harm probability levels in the content. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_HarmProbabilityUnspecified + * Harm probability unspecified. (Value: "HARM_PROBABILITY_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_High + * High level of harm. (Value: "HIGH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_Low + * Low level of harm. (Value: "LOW") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_Medium + * Medium level of harm. (Value: "MEDIUM") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_Negligible + * Negligible level of harm. (Value: "NEGLIGIBLE") + */ +@property(nonatomic, copy, nullable) NSString *probability; + +@end + + +/** + * Safety settings. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1SafetySetting : GTLRObject + +/** + * Required. Harm category. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryDangerousContent + * The harm category is dangerous content. (Value: + * "HARM_CATEGORY_DANGEROUS_CONTENT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryHarassment + * The harm category is harassment. (Value: "HARM_CATEGORY_HARASSMENT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryHateSpeech + * The harm category is hate speech. (Value: "HARM_CATEGORY_HATE_SPEECH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategorySexuallyExplicit + * The harm category is sexually explicit content. (Value: + * "HARM_CATEGORY_SEXUALLY_EXPLICIT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryUnspecified + * The harm category is unspecified. (Value: "HARM_CATEGORY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *category; + +/** + * Required. The harm block threshold. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockLowAndAbove + * Block low threshold and above (i.e. block more). (Value: + * "BLOCK_LOW_AND_ABOVE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockMediumAndAbove + * Block medium threshold and above. (Value: "BLOCK_MEDIUM_AND_ABOVE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockNone + * Block none. (Value: "BLOCK_NONE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_BlockOnlyHigh + * Block only high threshold (i.e. block less). (Value: + * "BLOCK_ONLY_HIGH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Threshold_HarmBlockThresholdUnspecified + * Unspecified harm block threshold. (Value: + * "HARM_BLOCK_THRESHOLD_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *threshold; + +@end + + /** * Active learning data sampling config. For every active learning labeling * iteration, it will select a batch of data based on the sampling strategy. @@ -17951,6 +20249,12 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *disableRetries; +/** + * Optional. This is the maximum time a user will wait in the QRM queue for + * resources. Default is 1 day + */ +@property(nonatomic, strong, nullable) GTLRDuration *maxWaitDuration; + /** * Restarts the entire CustomJob if a worker gets restarted. This feature can * be used by distributed training jobs that are not resilient to workers @@ -17966,6 +20270,97 @@ GTLR_DEPRECATED @end +/** + * Schema is used to define the format of input/output data. Represents a + * select subset of an [OpenAPI 3.0 schema + * object](https://spec.openapis.org/oas/v3.0.3#schema). More fields may be + * added in the future as needed. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1Schema : GTLRObject + +/** + * Optional. The description of the data. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. Possible values of the element of Type.STRING with enum format. + * For example we can define an Enum Direction as : {type:STRING, format:enum, + * enum:["EAST", NORTH", "SOUTH", "WEST"]} + * + * Remapped to 'enumProperty' to avoid language reserved word 'enum'. + */ +@property(nonatomic, strong, nullable) NSArray *enumProperty; + +/** + * Optional. Example of the object. Will only populated when the object is the + * root. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id example; + +/** + * Optional. The format of the data. Supported formats: for NUMBER type: float, + * double for INTEGER type: int32, int64 + */ +@property(nonatomic, copy, nullable) NSString *format; + +/** Optional. Schema of the elements of Type.ARRAY. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Schema *items; + +/** + * Optional. Indicates if the value may be null. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nullable; + +/** Optional. Properties of Type.OBJECT. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Schema_Properties *properties; + +/** Optional. Required properties of Type.OBJECT. */ +@property(nonatomic, strong, nullable) NSArray *required; + +/** + * Optional. The type of the data. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Array OpenAPI + * array type (Value: "ARRAY") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Boolean OpenAPI + * boolean type (Value: "BOOLEAN") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Integer OpenAPI + * integer type (Value: "INTEGER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Number OpenAPI + * number type (Value: "NUMBER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_Object OpenAPI + * object type (Value: "OBJECT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_String OpenAPI + * string type (Value: "STRING") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Schema_Type_TypeUnspecified + * Not specified, should not be used. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * Optional. Properties of Type.OBJECT. + * + * @note This class is documented as having more properties of + * GTLRAiplatform_GoogleCloudAiplatformV1Schema. 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_GoogleCloudAiplatformV1Schema_Properties : GTLRObject +@end + + /** * An entry of mapping between color and AnnotationSpec. The mapping is used in * segmentation mask. @@ -19559,6 +21954,12 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *enterpriseDatastore GTLR_DEPRECATED; +/** + * The grounding text passed inline with the Predict API. It can support up to + * 1 million token context. + */ +@property(nonatomic, copy, nullable) NSString *inlineContext; + /** * The type of the grounding checking source. * @@ -19566,6 +21967,8 @@ GTLR_DEPRECATED * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Enterprise * Uses Vertex AI Search to check the grounding. Deprecated. Use * VERTEX_AI_SEARCH instead. (Value: "ENTERPRISE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Inline + * Uses inline context to check the grounding. (Value: "INLINE") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_Unspecified * Value "UNSPECIFIED" * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry_Type_VertexAiSearch @@ -20399,6 +22802,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *maxOutputTokens; +/** User-created prompt note. Note size limit is 2KB. */ +@property(nonatomic, copy, nullable) NSString *note; + /** Type of the prompt dataset. */ @property(nonatomic, copy, nullable) NSString *promptType; @@ -23196,6 +25602,26 @@ GTLR_DEPRECATED @end +/** + * A set of Shielded Instance options. See [Images using supported Shielded VM + * features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm). + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ShieldedVmConfig : GTLRObject + +/** + * Defines whether the instance has [Secure + * Boot](https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot) + * enabled. Secure Boot helps ensure that the system only runs authentic + * software by verifying the digital signature of all boot components, and + * halting the boot process if signature verification fails. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableSecureBoot; + +@end + + /** * Config for SmoothGrad approximation of gradients. When enabled, the * gradients are approximated by averaging the gradients from noisy samples in @@ -24918,6 +27344,27 @@ GTLR_DEPRECATED @end +/** + * Tool details that the model may use to generate response. A `Tool` is a + * piece of code that enables the system to interact with external systems to + * perform an action, or set of actions, outside of knowledge and scope of the + * model. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1Tool : GTLRObject + +/** + * Optional. One or more function declarations to be passed to the model along + * with the current user query. Model may decide to call a subset of these + * functions by populating FunctionCall in the response. User should provide a + * FunctionResponse for each function call in the next turn. Based on the + * function responses, Model will generate the final response back to the user. + * Maximum 64 function declarations can be provided. + */ +@property(nonatomic, strong, nullable) NSArray *functionDeclarations; + +@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 @@ -25553,6 +28000,30 @@ GTLR_DEPRECATED @end +/** + * Metadata information for NotebookService.UpgradeNotebookRuntime. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1UpgradeNotebookRuntimeOperationMetadata : GTLRObject + +/** The operation generic information. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; + +/** + * A human-readable message that shows the intermediate progress details of + * NotebookRuntime. + */ +@property(nonatomic, copy, nullable) NSString *progressMessage; + +@end + + +/** + * Request message for NotebookService.UpgradeNotebookRuntime. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest : GTLRObject +@end + + /** * Details of ModelService.UploadModel operation. */ @@ -25689,6 +28160,20 @@ GTLR_DEPRECATED @end +/** + * Metadata describes the input video content. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1VideoMetadata : GTLRObject + +/** Optional. The end offset of the video. */ +@property(nonatomic, strong, nullable) GTLRDuration *endOffset; + +/** Optional. The start offset of the video. */ +@property(nonatomic, strong, nullable) GTLRDuration *startOffset; + +@end + + /** * Represents the spec of a worker pool in a job. */ @@ -25981,9 +28466,25 @@ GTLR_DEPRECATED * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -25997,7 +28498,10 @@ GTLR_DEPRECATED * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -26375,6 +28879,46 @@ GTLR_DEPRECATED @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 GTLRAiplatform_GoogleTypeDate : 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 + + /** * Represents a textual expression in the Common Expression Language (CEL) * syntax. CEL is a C-like expression language. The syntax and semantics of CEL @@ -26476,6 +29020,75 @@ GTLR_DEPRECATED @end + +/** + * GTLRAiplatform_IntelligenceCloudAutomlXpsMetricEntry + */ +@interface GTLRAiplatform_IntelligenceCloudAutomlXpsMetricEntry : GTLRObject + +/** + * For billing metrics that are using legacy sku's, set the legacy billing + * metric id here. This will be sent to Chemist as the + * "cloudbilling.googleapis.com/argentum_metric_id" label. Otherwise leave + * empty. + */ +@property(nonatomic, copy, nullable) NSString *argentumMetricId; + +/** + * A double value. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *doubleValue; + +/** + * A signed 64-bit integer value. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *int64Value; + +/** The metric name defined in the service configuration. */ +@property(nonatomic, copy, nullable) NSString *metricName; + +/** Billing system labels for this (metric, value) pair. */ +@property(nonatomic, strong, nullable) NSArray *systemLabels; + +@end + + +/** + * GTLRAiplatform_IntelligenceCloudAutomlXpsMetricEntryLabel + */ +@interface GTLRAiplatform_IntelligenceCloudAutomlXpsMetricEntryLabel : GTLRObject + +/** The name of the label. */ +@property(nonatomic, copy, nullable) NSString *labelName; + +/** The value of the label. */ +@property(nonatomic, copy, nullable) NSString *labelValue; + +@end + + +/** + * GTLRAiplatform_IntelligenceCloudAutomlXpsReportingMetrics + */ +@interface GTLRAiplatform_IntelligenceCloudAutomlXpsReportingMetrics : GTLRObject + +/** + * The effective time training used. If set, this is used for quota management + * and billing. Deprecated. AutoML BE doesn't use this. Don't set. + */ +@property(nonatomic, strong, nullable) GTLRDuration *effectiveTrainingDuration GTLR_DEPRECATED; + +/** + * One entry per metric name. The values must be aggregated per metric name. + */ +@property(nonatomic, strong, nullable) NSArray *metricEntries; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h index 3b367a72e..91a0c2c89 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h @@ -3431,6 +3431,78 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Perform an unary online prediction request for Vertex first-party products + * and frameworks. + * + * Method: aiplatform.projects.locations.endpoints.directPredict + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsDirectPredict : 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_GoogleCloudAiplatformV1DirectPredictResponse. + * + * Perform an unary online prediction request for Vertex first-party products + * and frameworks. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1DirectPredictRequest 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_ProjectsLocationsEndpointsDirectPredict + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1DirectPredictRequest *)object + endpoint:(NSString *)endpoint; + +@end + +/** + * Perform an online prediction request through gRPC. + * + * Method: aiplatform.projects.locations.endpoints.directRawPredict + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsDirectRawPredict : 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_GoogleCloudAiplatformV1DirectRawPredictResponse. + * + * Perform an online prediction request through gRPC. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1DirectRawPredictRequest 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_ProjectsLocationsEndpointsDirectRawPredict + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1DirectRawPredictRequest *)object + endpoint:(NSString *)endpoint; + +@end + /** * Perform an online explanation. If deployed_model_id is specified, the * corresponding DeployModel must have explanation_spec populated. If @@ -3955,6 +4027,41 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Generate content with multimodal inputs with streaming support. + * + * Method: aiplatform.projects.locations.endpoints.streamGenerateContent + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsStreamGenerateContent : GTLRAiplatformQuery + +/** + * Required. The name of the publisher model requested to serve the prediction. + * Format: `projects/{project}/locations/{location}/publishers/ * /models/ *` + */ +@property(nonatomic, copy, nullable) NSString *model; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse. + * + * Generate content with multimodal inputs with streaming support. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest to include in + * the query. + * @param model Required. The name of the publisher model requested to serve + * the prediction. Format: + * `projects/{project}/locations/{location}/publishers/ * /models/ *` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEndpointsStreamGenerateContent + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest *)object + model:(NSString *)model; + +@end + /** * Undeploys a Model from an Endpoint, removing a DeployedModel from it, and * freeing all resources it's using. @@ -4237,8 +4344,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * 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. + * FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must + * match the call that provided the page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -4746,7 +4853,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @interface GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsPatch : GTLRAiplatformQuery /** - * Output only. Name of the FeatureGroup. Format: + * Identifier. Name of the FeatureGroup. Format: * `projects/{project}/locations/{location}/featureGroups/{featureGroup}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -4770,7 +4877,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1FeatureGroup to * include in the query. - * @param name Output only. Name of the FeatureGroup. Format: + * @param name Identifier. Name of the FeatureGroup. Format: * `projects/{project}/locations/{location}/featureGroups/{featureGroup}` * * @return GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsPatch @@ -5344,7 +5451,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsPatch : GTLRAiplatformQuery /** - * Output only. Name of the FeatureView. Format: + * Identifier. Name of the FeatureView. Format: * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -5368,7 +5475,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1FeatureView to * include in the query. - * @param name Output only. Name of the FeatureView. Format: + * @param name Identifier. Name of the FeatureView. Format: * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` * * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsPatch @@ -5672,7 +5779,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresPatch : GTLRAiplatformQuery /** - * Output only. Name of the FeatureOnlineStore. Format: + * Identifier. Name of the FeatureOnlineStore. Format: * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -5698,7 +5805,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * @param object The @c * GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore to include in the * query. - * @param name Output only. Name of the FeatureOnlineStore. Format: + * @param name Identifier. Name of the FeatureOnlineStore. Format: * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}` * * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresPatch @@ -6201,8 +6308,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * 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. + * FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must + * match the call that provided the page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -13082,6 +13189,44 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Upgrades a NotebookRuntime. + * + * Method: aiplatform.projects.locations.notebookRuntimes.upgrade + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsNotebookRuntimesUpgrade : GTLRAiplatformQuery + +/** + * Required. The name of the NotebookRuntime resource to be upgrade. Instead of + * checking whether the name is in valid NotebookRuntime resource name format, + * directly throw NotFound exception if there is no such NotebookRuntime in + * spanner. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Upgrades a NotebookRuntime. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest to + * include in the query. + * @param name Required. The name of the NotebookRuntime resource to be + * upgrade. Instead of checking whether the name is in valid NotebookRuntime + * resource name format, directly throw NotFound exception if there is no + * such NotebookRuntime in spanner. + * + * @return GTLRAiplatformQuery_ProjectsLocationsNotebookRuntimesUpgrade + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest *)object + name:(NSString *)name; + +@end + /** * Creates a NotebookRuntimeTemplate. * @@ -14202,6 +14347,41 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Generate content with multimodal inputs with streaming support. + * + * Method: aiplatform.projects.locations.publishers.models.streamGenerateContent + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsPublishersModelsStreamGenerateContent : GTLRAiplatformQuery + +/** + * Required. The name of the publisher model requested to serve the prediction. + * Format: `projects/{project}/locations/{location}/publishers/ * /models/ *` + */ +@property(nonatomic, copy, nullable) NSString *model; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse. + * + * Generate content with multimodal inputs with streaming support. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest to include in + * the query. + * @param model Required. The name of the publisher model requested to serve + * the prediction. Format: + * `projects/{project}/locations/{location}/publishers/ * /models/ *` + * + * @return GTLRAiplatformQuery_ProjectsLocationsPublishersModelsStreamGenerateContent + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest *)object + model:(NSString *)model; + +@end + /** * Creates a Schedule. * @@ -15997,6 +16177,58 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Reads multiple TensorboardTimeSeries' data. The data point number limit is + * 1000 for scalars, 100 for tensors and blob references. If the number of data + * points stored is less than the limit, all data is returned. Otherwise, the + * number limit of data points is randomly selected from this time series and + * returned. + * + * Method: aiplatform.projects.locations.tensorboards.batchRead + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsTensorboardsBatchRead : GTLRAiplatformQuery + +/** + * Required. The resource name of the Tensorboard containing + * TensorboardTimeSeries to read data from. Format: + * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. The + * TensorboardTimeSeries referenced by time_series must be sub resources of + * this Tensorboard. + */ +@property(nonatomic, copy, nullable) NSString *tensorboard; + +/** + * Required. The resource names of the TensorboardTimeSeries to read data from. + * Format: + * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` + */ +@property(nonatomic, strong, nullable) NSArray *timeSeries; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse. + * + * Reads multiple TensorboardTimeSeries' data. The data point number limit is + * 1000 for scalars, 100 for tensors and blob references. If the number of data + * points stored is less than the limit, all data is returned. Otherwise, the + * number limit of data points is randomly selected from this time series and + * returned. + * + * @param tensorboard Required. The resource name of the Tensorboard containing + * TensorboardTimeSeries to read data from. Format: + * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. The + * TensorboardTimeSeries referenced by time_series must be sub resources of + * this Tensorboard. + * + * @return GTLRAiplatformQuery_ProjectsLocationsTensorboardsBatchRead + */ ++ (instancetype)queryWithTensorboard:(NSString *)tensorboard; + +@end + /** * Creates a Tensorboard. * @@ -16060,6 +16292,49 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Batch create TensorboardTimeSeries that belong to a TensorboardExperiment. + * + * Method: aiplatform.projects.locations.tensorboards.experiments.batchCreate + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsBatchCreate : GTLRAiplatformQuery + +/** + * Required. The resource name of the TensorboardExperiment to create the + * TensorboardTimeSeries in. Format: + * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` + * The TensorboardRuns referenced by the parent fields in the + * CreateTensorboardTimeSeriesRequest messages must be sub resources of this + * TensorboardExperiment. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse. + * + * Batch create TensorboardTimeSeries that belong to a TensorboardExperiment. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest + * to include in the query. + * @param parent Required. The resource name of the TensorboardExperiment to + * create the TensorboardTimeSeries in. Format: + * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` + * The TensorboardRuns referenced by the parent fields in the + * CreateTensorboardTimeSeriesRequest messages must be sub resources of this + * TensorboardExperiment. + * + * @return GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsBatchCreate + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest *)object + parent:(NSString *)parent; + +@end + /** * Creates a TensorboardExperiment. * @@ -16922,113 +17197,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end -/** - * Batch create TensorboardTimeSeries that belong to a TensorboardExperiment. - * - * Method: aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.batchCreate - * - * Authorization scope(s): - * @c kGTLRAuthScopeAiplatformCloudPlatform - */ -@interface GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesBatchCreate : GTLRAiplatformQuery - -/** - * Required. The resource name of the TensorboardExperiment to create the - * TensorboardTimeSeries in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * The TensorboardRuns referenced by the parent fields in the - * CreateTensorboardTimeSeriesRequest messages must be sub resources of this - * TensorboardExperiment. - */ -@property(nonatomic, copy, nullable) NSString *parent; - -@property(nonatomic, copy, nullable) NSString *runsId; - -/** - * Fetches a @c - * GTLRAiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse. - * - * Batch create TensorboardTimeSeries that belong to a TensorboardExperiment. - * - * @param object The @c - * GTLRAiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest - * to include in the query. - * @param parent Required. The resource name of the TensorboardExperiment to - * create the TensorboardTimeSeries in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * The TensorboardRuns referenced by the parent fields in the - * CreateTensorboardTimeSeriesRequest messages must be sub resources of this - * TensorboardExperiment. - * @param runsId NSString - * - * @return GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesBatchCreate - */ -+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest *)object - parent:(NSString *)parent - runsId:(NSString *)runsId; - -@end - -/** - * Reads multiple TensorboardTimeSeries' data. The data point number limit is - * 1000 for scalars, 100 for tensors and blob references. If the number of data - * points stored is less than the limit, all data is returned. Otherwise, the - * number limit of data points is randomly selected from this time series and - * returned. - * - * Method: aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.batchRead - * - * Authorization scope(s): - * @c kGTLRAuthScopeAiplatformCloudPlatform - */ -@interface GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesBatchRead : GTLRAiplatformQuery - -@property(nonatomic, copy, nullable) NSString *experimentsId; - -@property(nonatomic, copy, nullable) NSString *runsId; - -/** - * Required. The resource name of the Tensorboard containing - * TensorboardTimeSeries to read data from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. The - * TensorboardTimeSeries referenced by time_series must be sub resources of - * this Tensorboard. - */ -@property(nonatomic, copy, nullable) NSString *tensorboard; - -/** - * Required. The resource names of the TensorboardTimeSeries to read data from. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - */ -@property(nonatomic, strong, nullable) NSArray *timeSeries; - -/** - * Fetches a @c - * GTLRAiplatform_GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse. - * - * Reads multiple TensorboardTimeSeries' data. The data point number limit is - * 1000 for scalars, 100 for tensors and blob references. If the number of data - * points stored is less than the limit, all data is returned. Otherwise, the - * number limit of data points is randomly selected from this time series and - * returned. - * - * @param tensorboard Required. The resource name of the Tensorboard containing - * TensorboardTimeSeries to read data from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. The - * TensorboardTimeSeries referenced by time_series must be sub resources of - * this Tensorboard. - * @param experimentsId NSString - * @param runsId NSString - * - * @return GTLRAiplatformQuery_ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesBatchRead - */ -+ (instancetype)queryWithTensorboard:(NSString *)tensorboard - experimentsId:(NSString *)experimentsId - runsId:(NSString *)runsId; - -@end - /** * Creates a TensorboardTimeSeries. * diff --git a/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataObjects.m b/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataObjects.m index 60aefc54b..c44658dd8 100644 --- a/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataObjects.m +++ b/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataObjects.m @@ -24,6 +24,12 @@ NSString * const kGTLRAnalyticsData_ActiveMetricRestriction_RestrictedMetricTypes_RestrictedMetricTypeUnspecified = @"RESTRICTED_METRIC_TYPE_UNSPECIFIED"; NSString * const kGTLRAnalyticsData_ActiveMetricRestriction_RestrictedMetricTypes_RevenueData = @"REVENUE_DATA"; +// GTLRAnalyticsData_AudienceExport.state +NSString * const kGTLRAnalyticsData_AudienceExport_State_Active = @"ACTIVE"; +NSString * const kGTLRAnalyticsData_AudienceExport_State_Creating = @"CREATING"; +NSString * const kGTLRAnalyticsData_AudienceExport_State_Failed = @"FAILED"; +NSString * const kGTLRAnalyticsData_AudienceExport_State_StateUnspecified = @"STATE_UNSPECIFIED"; + // GTLRAnalyticsData_CheckCompatibilityRequest.compatibilityFilter NSString * const kGTLRAnalyticsData_CheckCompatibilityRequest_CompatibilityFilter_CompatibilityUnspecified = @"COMPATIBILITY_UNSPECIFIED"; NSString * const kGTLRAnalyticsData_CheckCompatibilityRequest_CompatibilityFilter_Compatible = @"COMPATIBLE"; @@ -142,6 +148,26 @@ @implementation GTLRAnalyticsData_ActiveMetricRestriction @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_AudienceExport +// + +@implementation GTLRAnalyticsData_AudienceExport +@dynamic audience, audienceDisplayName, beginCreatingTime, + creationQuotaTokensCharged, dimensions, errorMessage, name, + percentageCompleted, rowCount, state; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dimensions" : [GTLRAnalyticsData_V1betaAudienceDimension class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsData_AudienceListMetadata @@ -509,6 +535,28 @@ @implementation GTLRAnalyticsData_InListFilter @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_ListAudienceExportsResponse +// + +@implementation GTLRAnalyticsData_ListAudienceExportsResponse +@dynamic audienceExports, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"audienceExports" : [GTLRAnalyticsData_AudienceExport class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"audienceExports"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsData_Metadata @@ -632,6 +680,44 @@ @implementation GTLRAnalyticsData_NumericValue @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_Operation +// + +@implementation GTLRAnalyticsData_Operation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_Operation_Metadata +// + +@implementation GTLRAnalyticsData_Operation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_Operation_Response +// + +@implementation GTLRAnalyticsData_Operation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsData_OrderBy @@ -738,6 +824,34 @@ @implementation GTLRAnalyticsData_PropertyQuota @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_QueryAudienceExportRequest +// + +@implementation GTLRAnalyticsData_QueryAudienceExportRequest +@dynamic limit, offset; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_QueryAudienceExportResponse +// + +@implementation GTLRAnalyticsData_QueryAudienceExportResponse +@dynamic audienceExport, audienceRows, rowCount; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"audienceRows" : [GTLRAnalyticsData_V1betaAudienceRow class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsData_QuotaStatus @@ -973,6 +1087,38 @@ @implementation GTLRAnalyticsData_SchemaRestrictionResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_Status +// + +@implementation GTLRAnalyticsData_Status +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLRAnalyticsData_Status_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_Status_Details_Item +// + +@implementation GTLRAnalyticsData_Status_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsData_StringFilter @@ -981,3 +1127,41 @@ @implementation GTLRAnalyticsData_SchemaRestrictionResponse @implementation GTLRAnalyticsData_StringFilter @dynamic caseSensitive, matchType, value; @end + + +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_V1betaAudienceDimension +// + +@implementation GTLRAnalyticsData_V1betaAudienceDimension +@dynamic dimensionName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_V1betaAudienceDimensionValue +// + +@implementation GTLRAnalyticsData_V1betaAudienceDimensionValue +@dynamic value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_V1betaAudienceRow +// + +@implementation GTLRAnalyticsData_V1betaAudienceRow +@dynamic dimensionValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dimensionValues" : [GTLRAnalyticsData_V1betaAudienceDimensionValue class] + }; + return map; +} + +@end diff --git a/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataQuery.m b/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataQuery.m index 3f65ff5be..040ece9b8 100644 --- a/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataQuery.m +++ b/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataQuery.m @@ -22,6 +22,98 @@ @implementation GTLRAnalyticsDataQuery @end +@implementation GTLRAnalyticsDataQuery_PropertiesAudienceExportsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRAnalyticsData_AudienceExport *)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 = @"v1beta/{+parent}/audienceExports"; + GTLRAnalyticsDataQuery_PropertiesAudienceExportsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAnalyticsData_Operation class]; + query.loggingName = @"analyticsdata.properties.audienceExports.create"; + return query; +} + +@end + +@implementation GTLRAnalyticsDataQuery_PropertiesAudienceExportsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta/{+name}"; + GTLRAnalyticsDataQuery_PropertiesAudienceExportsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAnalyticsData_AudienceExport class]; + query.loggingName = @"analyticsdata.properties.audienceExports.get"; + return query; +} + +@end + +@implementation GTLRAnalyticsDataQuery_PropertiesAudienceExportsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1beta/{+parent}/audienceExports"; + GTLRAnalyticsDataQuery_PropertiesAudienceExportsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAnalyticsData_ListAudienceExportsResponse class]; + query.loggingName = @"analyticsdata.properties.audienceExports.list"; + return query; +} + +@end + +@implementation GTLRAnalyticsDataQuery_PropertiesAudienceExportsQuery + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAnalyticsData_QueryAudienceExportRequest *)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 = @"v1beta/{+name}:query"; + GTLRAnalyticsDataQuery_PropertiesAudienceExportsQuery *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAnalyticsData_QueryAudienceExportResponse class]; + query.loggingName = @"analyticsdata.properties.audienceExports.query"; + return query; +} + +@end + @implementation GTLRAnalyticsDataQuery_PropertiesBatchRunPivotReports @dynamic property; diff --git a/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h b/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h index de634b2eb..f974ffbc3 100644 --- a/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h +++ b/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h @@ -21,6 +21,7 @@ #endif @class GTLRAnalyticsData_ActiveMetricRestriction; +@class GTLRAnalyticsData_AudienceExport; @class GTLRAnalyticsData_BetweenFilter; @class GTLRAnalyticsData_CaseExpression; @class GTLRAnalyticsData_Cohort; @@ -49,6 +50,8 @@ @class GTLRAnalyticsData_MinuteRange; @class GTLRAnalyticsData_NumericFilter; @class GTLRAnalyticsData_NumericValue; +@class GTLRAnalyticsData_Operation_Metadata; +@class GTLRAnalyticsData_Operation_Response; @class GTLRAnalyticsData_OrderBy; @class GTLRAnalyticsData_Pivot; @class GTLRAnalyticsData_PivotDimensionHeader; @@ -65,7 +68,12 @@ @class GTLRAnalyticsData_RunReportResponse; @class GTLRAnalyticsData_SamplingMetadata; @class GTLRAnalyticsData_SchemaRestrictionResponse; +@class GTLRAnalyticsData_Status; +@class GTLRAnalyticsData_Status_Details_Item; @class GTLRAnalyticsData_StringFilter; +@class GTLRAnalyticsData_V1betaAudienceDimension; +@class GTLRAnalyticsData_V1betaAudienceDimensionValue; +@class GTLRAnalyticsData_V1betaAudienceRow; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -99,6 +107,38 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_ActiveMetricRestriction_Re */ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_ActiveMetricRestriction_RestrictedMetricTypes_RevenueData; +// ---------------------------------------------------------------------------- +// GTLRAnalyticsData_AudienceExport.state + +/** + * The AudienceExport is fully created and ready for querying. An + * AudienceExport is updated to active asynchronously from a request; this + * occurs some time (for example 15 minutes) after the initial create call. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_AudienceExport_State_Active; +/** + * The AudienceExport is currently creating and will be available in the + * future. Creating occurs immediately after the CreateAudienceExport call. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_AudienceExport_State_Creating; +/** + * The AudienceExport failed to be created. It is possible that re-requesting + * this audience export will succeed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_AudienceExport_State_Failed; +/** + * Unspecified state will never be used. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_AudienceExport_State_StateUnspecified; + // ---------------------------------------------------------------------------- // GTLRAnalyticsData_CheckCompatibilityRequest.compatibilityFilter @@ -626,6 +666,96 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par @end +/** + * An audience export is a list of users in an audience at the time of the + * list's creation. One audience may have multiple audience exports created for + * different days. + */ +@interface GTLRAnalyticsData_AudienceExport : GTLRObject + +/** + * Required. The audience resource name. This resource name identifies the + * audience being listed and is shared between the Analytics Data & Admin APIs. + * Format: `properties/{property}/audiences/{audience}` + */ +@property(nonatomic, copy, nullable) NSString *audience; + +/** + * Output only. The descriptive display name for this audience. For example, + * "Purchasers". + */ +@property(nonatomic, copy, nullable) NSString *audienceDisplayName; + +/** + * Output only. The time when CreateAudienceExport was called and the + * AudienceExport began the `CREATING` state. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *beginCreatingTime; + +/** + * Output only. The total quota tokens charged during creation of the + * AudienceExport. Because this token count is based on activity from the + * `CREATING` state, this tokens charged will be fixed once an AudienceExport + * enters the `ACTIVE` or `FAILED` states. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *creationQuotaTokensCharged; + +/** Required. The dimensions requested and displayed in the query response. */ +@property(nonatomic, strong, nullable) NSArray *dimensions; + +/** + * Output only. Error message is populated when an audience export fails during + * creation. A common reason for such a failure is quota exhaustion. + */ +@property(nonatomic, copy, nullable) NSString *errorMessage; + +/** + * Output only. Identifier. The audience export resource name assigned during + * creation. This resource name identifies this `AudienceExport`. Format: + * `properties/{property}/audienceExports/{audience_export}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The percentage completed for this audience export ranging + * between 0 to 100. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *percentageCompleted; + +/** + * Output only. The total number of rows in the AudienceExport result. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *rowCount; + +/** + * Output only. The current state for this AudienceExport. + * + * Likely values: + * @arg @c kGTLRAnalyticsData_AudienceExport_State_Active The AudienceExport + * is fully created and ready for querying. An AudienceExport is updated + * to active asynchronously from a request; this occurs some time (for + * example 15 minutes) after the initial create call. (Value: "ACTIVE") + * @arg @c kGTLRAnalyticsData_AudienceExport_State_Creating The + * AudienceExport is currently creating and will be available in the + * future. Creating occurs immediately after the CreateAudienceExport + * call. (Value: "CREATING") + * @arg @c kGTLRAnalyticsData_AudienceExport_State_Failed The AudienceExport + * failed to be created. It is possible that re-requesting this audience + * export will succeed. (Value: "FAILED") + * @arg @c kGTLRAnalyticsData_AudienceExport_State_StateUnspecified + * Unspecified state will never be used. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * This metadata is currently blank. */ @@ -1277,6 +1407,33 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par @end +/** + * A list of all audience exports for a property. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "audienceExports" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRAnalyticsData_ListAudienceExportsResponse : GTLRCollectionObject + +/** + * Each audience export for a property. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *audienceExports; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * The dimensions, metrics and comparisons currently accepted in reporting * methods. @@ -1637,6 +1794,86 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par @end +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLRAnalyticsData_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) GTLRAnalyticsData_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) GTLRAnalyticsData_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) GTLRAnalyticsData_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 GTLRAnalyticsData_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 GTLRAnalyticsData_Operation_Response : GTLRObject +@end + + /** * Order bys define how rows will be sorted in the response. For example, * ordering rows by descending event count is one ordering, and ordering rows @@ -1850,6 +2087,73 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par @end +/** + * A request to list users in an audience export. + */ +@interface GTLRAnalyticsData_QueryAudienceExportRequest : GTLRObject + +/** + * Optional. The number of rows to return. If unspecified, 10,000 rows are + * returned. The API returns a maximum of 250,000 rows per request, no matter + * how many you ask for. `limit` must be positive. The API can also return + * fewer rows than the requested `limit`, if there aren't as many dimension + * values as the `limit`. To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *limit; + +/** + * Optional. The row count of the start row. The first row is counted as row 0. + * When paging, the first request does not specify offset; or equivalently, + * sets offset to 0; the first request returns the first `limit` of rows. The + * second request sets offset to the `limit` of the first request; the second + * request returns the second `limit` of rows. To learn more about this + * pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *offset; + +@end + + +/** + * A list of users in an audience export. + */ +@interface GTLRAnalyticsData_QueryAudienceExportResponse : GTLRObject + +/** + * Configuration data about AudienceExport being queried. Returned to help + * interpret the audience rows in this response. For example, the dimensions in + * this AudienceExport correspond to the columns in the AudienceRows. + */ +@property(nonatomic, strong, nullable) GTLRAnalyticsData_AudienceExport *audienceExport; + +/** + * Rows for each user in an audience export. The number of rows in this + * response will be less than or equal to request's page size. + */ +@property(nonatomic, strong, nullable) NSArray *audienceRows; + +/** + * The total number of rows in the AudienceExport result. `rowCount` is + * independent of the number of rows returned in the response, the `limit` + * request parameter, and the `offset` request parameter. For example if a + * query returns 175 rows and includes `limit` of 50 in the API request, the + * response will contain `rowCount` of 175 but only 50 rows. To learn more + * about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *rowCount; + +@end + + /** * Current state for a particular quota group. */ @@ -2463,6 +2767,51 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par @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 GTLRAnalyticsData_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 + + +/** + * GTLRAnalyticsData_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 GTLRAnalyticsData_Status_Details_Item : GTLRObject +@end + + /** * The filter for string */ @@ -2503,6 +2852,47 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par @end + +/** + * An audience dimension is a user attribute. Specific user attributed are + * requested and then later returned in the `QueryAudienceExportResponse`. + */ +@interface GTLRAnalyticsData_V1betaAudienceDimension : GTLRObject + +/** + * Optional. The API name of the dimension. See the [API + * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) + * for the list of dimension names. + */ +@property(nonatomic, copy, nullable) NSString *dimensionName; + +@end + + +/** + * The value of a dimension. + */ +@interface GTLRAnalyticsData_V1betaAudienceDimensionValue : GTLRObject + +/** Value as a string if the dimension type is a string. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + +/** + * Dimension value attributes for the audience user row. + */ +@interface GTLRAnalyticsData_V1betaAudienceRow : GTLRObject + +/** + * Each dimension value attribute for an audience user. One dimension value + * will be added for each dimension column requested. + */ +@property(nonatomic, strong, nullable) NSArray *dimensionValues; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataQuery.h b/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataQuery.h index cee3df462..2fe5d02f2 100644 --- a/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataQuery.h +++ b/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataQuery.h @@ -39,6 +39,254 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates an audience export for later retrieval. This method quickly returns + * the audience export's resource name and initiates a long running + * asynchronous request to form an audience export. To export the users in an + * audience export, first create the audience export through this method and + * then send the audience resource name to the `QueryAudienceExport` method. + * See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. An audience export is + * a snapshot of the users currently in the audience at the time of audience + * export creation. Creating audience exports for one audience on different + * days will return different results as users enter and exit the audience. + * Audiences in Google Analytics 4 allow you to segment your users in the ways + * that are important to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. Audience exports + * contain the users in each audience. Audience Export APIs have some methods + * at alpha and other methods at beta stability. The intention is to advance + * methods to beta stability after some feedback and adoption. To give your + * feedback on this API, complete the [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * Method: analyticsdata.properties.audienceExports.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsDataAnalytics + * @c kGTLRAuthScopeAnalyticsDataAnalyticsReadonly + */ +@interface GTLRAnalyticsDataQuery_PropertiesAudienceExportsCreate : GTLRAnalyticsDataQuery + +/** + * Required. The parent resource where this audience export will be created. + * Format: `properties/{property}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAnalyticsData_Operation. + * + * Creates an audience export for later retrieval. This method quickly returns + * the audience export's resource name and initiates a long running + * asynchronous request to form an audience export. To export the users in an + * audience export, first create the audience export through this method and + * then send the audience resource name to the `QueryAudienceExport` method. + * See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. An audience export is + * a snapshot of the users currently in the audience at the time of audience + * export creation. Creating audience exports for one audience on different + * days will return different results as users enter and exit the audience. + * Audiences in Google Analytics 4 allow you to segment your users in the ways + * that are important to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. Audience exports + * contain the users in each audience. Audience Export APIs have some methods + * at alpha and other methods at beta stability. The intention is to advance + * methods to beta stability after some feedback and adoption. To give your + * feedback on this API, complete the [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * @param object The @c GTLRAnalyticsData_AudienceExport to include in the + * query. + * @param parent Required. The parent resource where this audience export will + * be created. Format: `properties/{property}` + * + * @return GTLRAnalyticsDataQuery_PropertiesAudienceExportsCreate + */ ++ (instancetype)queryWithObject:(GTLRAnalyticsData_AudienceExport *)object + parent:(NSString *)parent; + +@end + +/** + * Gets configuration metadata about a specific audience export. This method + * can be used to understand an audience export after it has been created. See + * [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. Audience Export APIs + * have some methods at alpha and other methods at beta stability. The + * intention is to advance methods to beta stability after some feedback and + * adoption. To give your feedback on this API, complete the [Google Analytics + * Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * Method: analyticsdata.properties.audienceExports.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsDataAnalytics + * @c kGTLRAuthScopeAnalyticsDataAnalyticsReadonly + */ +@interface GTLRAnalyticsDataQuery_PropertiesAudienceExportsGet : GTLRAnalyticsDataQuery + +/** + * Required. The audience export resource name. Format: + * `properties/{property}/audienceExports/{audience_export}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAnalyticsData_AudienceExport. + * + * Gets configuration metadata about a specific audience export. This method + * can be used to understand an audience export after it has been created. See + * [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. Audience Export APIs + * have some methods at alpha and other methods at beta stability. The + * intention is to advance methods to beta stability after some feedback and + * adoption. To give your feedback on this API, complete the [Google Analytics + * Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * @param name Required. The audience export resource name. Format: + * `properties/{property}/audienceExports/{audience_export}` + * + * @return GTLRAnalyticsDataQuery_PropertiesAudienceExportsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all audience exports for a property. This method can be used for you + * to find and reuse existing audience exports rather than creating unnecessary + * new audience exports. The same audience can have multiple audience exports + * that represent the export of users that were in an audience on different + * days. See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. Audience Export APIs + * have some methods at alpha and other methods at beta stability. The + * intention is to advance methods to beta stability after some feedback and + * adoption. To give your feedback on this API, complete the [Google Analytics + * Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * Method: analyticsdata.properties.audienceExports.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsDataAnalytics + * @c kGTLRAuthScopeAnalyticsDataAnalyticsReadonly + */ +@interface GTLRAnalyticsDataQuery_PropertiesAudienceExportsList : GTLRAnalyticsDataQuery + +/** + * Optional. The maximum number of audience exports to return. The service may + * return fewer than this value. If unspecified, at most 200 audience exports + * will be returned. The maximum value is 1000 (higher values will be coerced + * to the maximum). + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListAudienceExports` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListAudienceExports` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. All audience exports for this property will be listed in the + * response. Format: `properties/{property}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAnalyticsData_ListAudienceExportsResponse. + * + * Lists all audience exports for a property. This method can be used for you + * to find and reuse existing audience exports rather than creating unnecessary + * new audience exports. The same audience can have multiple audience exports + * that represent the export of users that were in an audience on different + * days. See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. Audience Export APIs + * have some methods at alpha and other methods at beta stability. The + * intention is to advance methods to beta stability after some feedback and + * adoption. To give your feedback on this API, complete the [Google Analytics + * Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * @param parent Required. All audience exports for this property will be + * listed in the response. Format: `properties/{property}` + * + * @return GTLRAnalyticsDataQuery_PropertiesAudienceExportsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Retrieves an audience export of users. After creating an audience, the users + * are not immediately available for exporting. First, a request to + * `CreateAudienceExport` is necessary to create an audience export of users, + * and then second, this method is used to retrieve the users in the audience + * export. See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. Audiences in Google + * Analytics 4 allow you to segment your users in the ways that are important + * to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. Audience Export APIs + * have some methods at alpha and other methods at beta stability. The + * intention is to advance methods to beta stability after some feedback and + * adoption. To give your feedback on this API, complete the [Google Analytics + * Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * Method: analyticsdata.properties.audienceExports.query + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsDataAnalytics + * @c kGTLRAuthScopeAnalyticsDataAnalyticsReadonly + */ +@interface GTLRAnalyticsDataQuery_PropertiesAudienceExportsQuery : GTLRAnalyticsDataQuery + +/** + * Required. The name of the audience export to retrieve users from. Format: + * `properties/{property}/audienceExports/{audience_export}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAnalyticsData_QueryAudienceExportResponse. + * + * Retrieves an audience export of users. After creating an audience, the users + * are not immediately available for exporting. First, a request to + * `CreateAudienceExport` is necessary to create an audience export of users, + * and then second, this method is used to retrieve the users in the audience + * export. See [Creating an Audience + * Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + * for an introduction to Audience Exports with examples. Audiences in Google + * Analytics 4 allow you to segment your users in the ways that are important + * to your business. To learn more, see + * https://support.google.com/analytics/answer/9267572. Audience Export APIs + * have some methods at alpha and other methods at beta stability. The + * intention is to advance methods to beta stability after some feedback and + * adoption. To give your feedback on this API, complete the [Google Analytics + * Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + * @param object The @c GTLRAnalyticsData_QueryAudienceExportRequest to include + * in the query. + * @param name Required. The name of the audience export to retrieve users + * from. Format: `properties/{property}/audienceExports/{audience_export}` + * + * @return GTLRAnalyticsDataQuery_PropertiesAudienceExportsQuery + */ ++ (instancetype)queryWithObject:(GTLRAnalyticsData_QueryAudienceExportRequest *)object + name:(NSString *)name; + +@end + /** * Returns multiple pivot reports in a batch. All reports must be for the same * GA4 Property. diff --git a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubQuery.m b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubQuery.m index 6238789cc..81416d571 100644 --- a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubQuery.m +++ b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubQuery.m @@ -549,6 +549,33 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsGetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_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"; + GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRAnalyticsHub_Policy class]; + query.loggingName = @"analyticshub.projects.locations.subscriptions.getIamPolicy"; + return query; +} + +@end + @implementation GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsList @dynamic filter, pageSize, pageToken, parent; @@ -621,3 +648,30 @@ + (instancetype)queryWithObject:(GTLRAnalyticsHub_RevokeSubscriptionRequest *)ob } @end + +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_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"; + GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRAnalyticsHub_Policy class]; + query.loggingName = @"analyticshub.projects.locations.subscriptions.setIamPolicy"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h index ec25df1fa..e645f19d3 100644 --- a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h +++ b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h @@ -927,6 +927,43 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Gets the IAM policy. + * + * Method: analyticshub.projects.locations.subscriptions.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsGetIamPolicy : GTLRAnalyticsHubQuery + +/** + * 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 GTLRAnalyticsHub_Policy. + * + * Gets the IAM policy. + * + * @param object The @c GTLRAnalyticsHub_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 GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsGetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_GetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + /** * Lists all subscriptions in a given project and location. * @@ -1045,6 +1082,43 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Sets the IAM policy. + * + * Method: analyticshub.projects.locations.subscriptions.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsSetIamPolicy : GTLRAnalyticsHubQuery + +/** + * 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 GTLRAnalyticsHub_Policy. + * + * Sets the IAM policy. + * + * @param object The @c GTLRAnalyticsHub_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 GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h index a3e7291ba..8d245e0ee 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h @@ -4045,8 +4045,8 @@ GTLR_DEPRECATED /** * Policy for an individual app. Note: Application availability on a given * device cannot be changed using this policy if installAppsDisabled is - * enabled. The maximum number of applications that you can specify per - * enterprise policy is 3,000. + * enabled. The maximum number of applications that you can specify per policy + * is 3,000. */ @interface GTLRAndroidManagement_ApplicationPolicy : GTLRObject @@ -8016,7 +8016,7 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *appAutoUpdatePolicy; -/** Policy applied to apps. */ +/** Policy applied to apps. This can have at most 3,000 elements. */ @property(nonatomic, strong, nullable) NSArray *applications; /** diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m index b478392ee..1c3efaa15 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m @@ -24,6 +24,16 @@ NSString * const kGTLRAndroidPublisher_Abi_Alias_X86 = @"X86"; NSString * const kGTLRAndroidPublisher_Abi_Alias_X8664 = @"X86_64"; +// GTLRAndroidPublisher_ActivateBasePlanRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_ActivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_ActivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_ActivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + +// GTLRAndroidPublisher_ActivateSubscriptionOfferRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + // GTLRAndroidPublisher_AssetModuleMetadata.deliveryType NSString * const kGTLRAndroidPublisher_AssetModuleMetadata_DeliveryType_FastFollow = @"FAST_FOLLOW"; NSString * const kGTLRAndroidPublisher_AssetModuleMetadata_DeliveryType_InstallTime = @"INSTALL_TIME"; @@ -54,6 +64,16 @@ NSString * const kGTLRAndroidPublisher_CancelSurveyResult_Reason_CancelSurveyReasonTechnicalIssues = @"CANCEL_SURVEY_REASON_TECHNICAL_ISSUES"; NSString * const kGTLRAndroidPublisher_CancelSurveyResult_Reason_CancelSurveyReasonUnspecified = @"CANCEL_SURVEY_REASON_UNSPECIFIED"; +// GTLRAndroidPublisher_DeactivateBasePlanRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_DeactivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_DeactivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_DeactivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + +// GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + // GTLRAndroidPublisher_DeobfuscationFile.symbolType NSString * const kGTLRAndroidPublisher_DeobfuscationFile_SymbolType_DeobfuscationFileTypeUnspecified = @"deobfuscationFileTypeUnspecified"; NSString * const kGTLRAndroidPublisher_DeobfuscationFile_SymbolType_NativeCode = @"nativeCode"; @@ -95,11 +115,26 @@ NSString * const kGTLRAndroidPublisher_InAppProduct_Status_Inactive = @"inactive"; NSString * const kGTLRAndroidPublisher_InAppProduct_Status_StatusUnspecified = @"statusUnspecified"; +// GTLRAndroidPublisher_InappproductsDeleteRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_InappproductsDeleteRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_InappproductsDeleteRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_InappproductsDeleteRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + +// GTLRAndroidPublisher_InappproductsUpdateRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_InappproductsUpdateRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_InappproductsUpdateRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_InappproductsUpdateRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + // GTLRAndroidPublisher_ManagedProductTaxAndComplianceSettings.eeaWithdrawalRightType NSString * const kGTLRAndroidPublisher_ManagedProductTaxAndComplianceSettings_EeaWithdrawalRightType_WithdrawalRightDigitalContent = @"WITHDRAWAL_RIGHT_DIGITAL_CONTENT"; NSString * const kGTLRAndroidPublisher_ManagedProductTaxAndComplianceSettings_EeaWithdrawalRightType_WithdrawalRightService = @"WITHDRAWAL_RIGHT_SERVICE"; NSString * const kGTLRAndroidPublisher_ManagedProductTaxAndComplianceSettings_EeaWithdrawalRightType_WithdrawalRightTypeUnspecified = @"WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED"; +// GTLRAndroidPublisher_MigrateBasePlanPricesRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_MigrateBasePlanPricesRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_MigrateBasePlanPricesRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_MigrateBasePlanPricesRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + // GTLRAndroidPublisher_ModuleMetadata.deliveryType NSString * const kGTLRAndroidPublisher_ModuleMetadata_DeliveryType_FastFollow = @"FAST_FOLLOW"; NSString * const kGTLRAndroidPublisher_ModuleMetadata_DeliveryType_InstallTime = @"INSTALL_TIME"; @@ -221,6 +256,16 @@ NSString * const kGTLRAndroidPublisher_TrackRelease_Status_InProgress = @"inProgress"; NSString * const kGTLRAndroidPublisher_TrackRelease_Status_StatusUnspecified = @"statusUnspecified"; +// GTLRAndroidPublisher_UpdateSubscriptionOfferRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_UpdateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_UpdateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_UpdateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + +// GTLRAndroidPublisher_UpdateSubscriptionRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_UpdateSubscriptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_UpdateSubscriptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_UpdateSubscriptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + // GTLRAndroidPublisher_User.accessState NSString * const kGTLRAndroidPublisher_User_AccessState_AccessExpired = @"ACCESS_EXPIRED"; NSString * const kGTLRAndroidPublisher_User_AccessState_AccessGranted = @"ACCESS_GRANTED"; @@ -293,6 +338,7 @@ @implementation GTLRAndroidPublisher_AcquisitionTargetingRule // @implementation GTLRAndroidPublisher_ActivateBasePlanRequest +@dynamic basePlanId, latencyTolerance, packageName, productId; @end @@ -302,6 +348,7 @@ @implementation GTLRAndroidPublisher_ActivateBasePlanRequest // @implementation GTLRAndroidPublisher_ActivateSubscriptionOfferRequest +@dynamic basePlanId, latencyTolerance, offerId, packageName, productId; @end @@ -513,6 +560,240 @@ @implementation GTLRAndroidPublisher_BasePlan @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchGetSubscriptionOffersRequest +// + +@implementation GTLRAndroidPublisher_BatchGetSubscriptionOffersRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_GetSubscriptionOfferRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchGetSubscriptionOffersResponse +// + +@implementation GTLRAndroidPublisher_BatchGetSubscriptionOffersResponse +@dynamic subscriptionOffers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"subscriptionOffers" : [GTLRAndroidPublisher_SubscriptionOffer class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchGetSubscriptionsResponse +// + +@implementation GTLRAndroidPublisher_BatchGetSubscriptionsResponse +@dynamic subscriptions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"subscriptions" : [GTLRAndroidPublisher_Subscription class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchMigrateBasePlanPricesRequest +// + +@implementation GTLRAndroidPublisher_BatchMigrateBasePlanPricesRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_MigrateBasePlanPricesRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchMigrateBasePlanPricesResponse +// + +@implementation GTLRAndroidPublisher_BatchMigrateBasePlanPricesResponse +@dynamic responses; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"responses" : [GTLRAndroidPublisher_MigrateBasePlanPricesResponse class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateBasePlanStatesRequest +// + +@implementation GTLRAndroidPublisher_BatchUpdateBasePlanStatesRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_UpdateBasePlanStateRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateBasePlanStatesResponse +// + +@implementation GTLRAndroidPublisher_BatchUpdateBasePlanStatesResponse +@dynamic subscriptions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"subscriptions" : [GTLRAndroidPublisher_Subscription class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateSubscriptionOffersRequest +// + +@implementation GTLRAndroidPublisher_BatchUpdateSubscriptionOffersRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_UpdateSubscriptionOfferRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateSubscriptionOffersResponse +// + +@implementation GTLRAndroidPublisher_BatchUpdateSubscriptionOffersResponse +@dynamic subscriptionOffers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"subscriptionOffers" : [GTLRAndroidPublisher_SubscriptionOffer class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateSubscriptionOfferStatesRequest +// + +@implementation GTLRAndroidPublisher_BatchUpdateSubscriptionOfferStatesRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_UpdateSubscriptionOfferStateRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateSubscriptionOfferStatesResponse +// + +@implementation GTLRAndroidPublisher_BatchUpdateSubscriptionOfferStatesResponse +@dynamic subscriptionOffers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"subscriptionOffers" : [GTLRAndroidPublisher_SubscriptionOffer class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateSubscriptionsRequest +// + +@implementation GTLRAndroidPublisher_BatchUpdateSubscriptionsRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_UpdateSubscriptionRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateSubscriptionsResponse +// + +@implementation GTLRAndroidPublisher_BatchUpdateSubscriptionsResponse +@dynamic subscriptions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"subscriptions" : [GTLRAndroidPublisher_Subscription class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_Bundle @@ -656,6 +937,7 @@ @implementation GTLRAndroidPublisher_CountryTargeting // @implementation GTLRAndroidPublisher_DeactivateBasePlanRequest +@dynamic basePlanId, latencyTolerance, packageName, productId; @end @@ -665,6 +947,7 @@ @implementation GTLRAndroidPublisher_DeactivateBasePlanRequest // @implementation GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest +@dynamic basePlanId, latencyTolerance, offerId, packageName, productId; @end @@ -1068,6 +1351,16 @@ @implementation GTLRAndroidPublisher_GeneratedUniversalApk @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_GetSubscriptionOfferRequest +// + +@implementation GTLRAndroidPublisher_GetSubscriptionOfferRequest +@dynamic basePlanId, offerId, packageName, productId; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_Grant @@ -1210,6 +1503,88 @@ @implementation GTLRAndroidPublisher_InAppProductListing @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_InappproductsBatchDeleteRequest +// + +@implementation GTLRAndroidPublisher_InappproductsBatchDeleteRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_InappproductsDeleteRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_InappproductsBatchGetResponse +// + +@implementation GTLRAndroidPublisher_InappproductsBatchGetResponse +@dynamic inappproduct; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"inappproduct" : [GTLRAndroidPublisher_InAppProduct class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_InappproductsBatchUpdateRequest +// + +@implementation GTLRAndroidPublisher_InappproductsBatchUpdateRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_InappproductsUpdateRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_InappproductsBatchUpdateResponse +// + +@implementation GTLRAndroidPublisher_InappproductsBatchUpdateResponse +@dynamic inappproducts; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"inappproducts" : [GTLRAndroidPublisher_InAppProduct class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_InappproductsDeleteRequest +// + +@implementation GTLRAndroidPublisher_InappproductsDeleteRequest +@dynamic latencyTolerance, packageName, sku; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_InappproductsListResponse @@ -1234,6 +1609,17 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_InappproductsUpdateRequest +// + +@implementation GTLRAndroidPublisher_InappproductsUpdateRequest +@dynamic allowMissing, autoConvertMissingPrices, inappproduct, latencyTolerance, + packageName, sku; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_InternalAppSharingArtifact @@ -1437,7 +1823,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAndroidPublisher_MigrateBasePlanPricesRequest -@dynamic regionalPriceMigrations, regionsVersion; +@dynamic basePlanId, latencyTolerance, packageName, productId, + regionalPriceMigrations, regionsVersion; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2480,6 +2867,48 @@ @implementation GTLRAndroidPublisher_TrackTargetedCountry @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_UpdateBasePlanStateRequest +// + +@implementation GTLRAndroidPublisher_UpdateBasePlanStateRequest +@dynamic activateBasePlanRequest, deactivateBasePlanRequest; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_UpdateSubscriptionOfferRequest +// + +@implementation GTLRAndroidPublisher_UpdateSubscriptionOfferRequest +@dynamic allowMissing, latencyTolerance, regionsVersion, subscriptionOffer, + updateMask; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_UpdateSubscriptionOfferStateRequest +// + +@implementation GTLRAndroidPublisher_UpdateSubscriptionOfferStateRequest +@dynamic activateSubscriptionOfferRequest, deactivateSubscriptionOfferRequest; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_UpdateSubscriptionRequest +// + +@implementation GTLRAndroidPublisher_UpdateSubscriptionRequest +@dynamic allowMissing, latencyTolerance, regionsVersion, subscription, + updateMask; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_UpgradeTargetingRule diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m index 8a5edab6a..ebb891452 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m @@ -36,6 +36,11 @@ NSString * const kGTLRAndroidPublisherImageTypeTvScreenshots = @"tvScreenshots"; NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots = @"wearScreenshots"; +// latencyTolerance +NSString * const kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + // ---------------------------------------------------------------------------- // Query Classes // @@ -1337,10 +1342,89 @@ + (instancetype)queryWithObject:(GTLRAndroidPublisher_Grant *)object @end -@implementation GTLRAndroidPublisherQuery_InappproductsDelete +@implementation GTLRAndroidPublisherQuery_InappproductsBatchDelete + +@dynamic packageName; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_InappproductsBatchDeleteRequest *)object + packageName:(NSString *)packageName { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"packageName" ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/inappproducts:batchDelete"; + GTLRAndroidPublisherQuery_InappproductsBatchDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.loggingName = @"androidpublisher.inappproducts.batchDelete"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_InappproductsBatchGet @dynamic packageName, sku; ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sku" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithPackageName:(NSString *)packageName { + NSArray *pathParams = @[ @"packageName" ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/inappproducts:batchGet"; + GTLRAndroidPublisherQuery_InappproductsBatchGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.packageName = packageName; + query.expectedObjectClass = [GTLRAndroidPublisher_InappproductsBatchGetResponse class]; + query.loggingName = @"androidpublisher.inappproducts.batchGet"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_InappproductsBatchUpdate + +@dynamic packageName; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_InappproductsBatchUpdateRequest *)object + packageName:(NSString *)packageName { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"packageName" ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/inappproducts:batchUpdate"; + GTLRAndroidPublisherQuery_InappproductsBatchUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.expectedObjectClass = [GTLRAndroidPublisher_InappproductsBatchUpdateResponse class]; + query.loggingName = @"androidpublisher.inappproducts.batchUpdate"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_InappproductsDelete + +@dynamic latencyTolerance, packageName, sku; + + (instancetype)queryWithPackageName:(NSString *)packageName sku:(NSString *)sku { NSArray *pathParams = @[ @@ -1430,7 +1514,7 @@ + (instancetype)queryWithPackageName:(NSString *)packageName { @implementation GTLRAndroidPublisherQuery_InappproductsPatch -@dynamic autoConvertMissingPrices, packageName, sku; +@dynamic autoConvertMissingPrices, latencyTolerance, packageName, sku; + (instancetype)queryWithObject:(GTLRAndroidPublisher_InAppProduct *)object packageName:(NSString *)packageName @@ -1461,7 +1545,8 @@ + (instancetype)queryWithObject:(GTLRAndroidPublisher_InAppProduct *)object @implementation GTLRAndroidPublisherQuery_InappproductsUpdate -@dynamic allowMissing, autoConvertMissingPrices, packageName, sku; +@dynamic allowMissing, autoConvertMissingPrices, latencyTolerance, packageName, + sku; + (instancetype)queryWithObject:(GTLRAndroidPublisher_InAppProduct *)object packageName:(NSString *)packageName @@ -1623,6 +1708,68 @@ + (instancetype)queryWithObject:(GTLRAndroidPublisher_ActivateBasePlanRequest *) @end +@implementation GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansBatchMigratePrices + +@dynamic packageName, productId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchMigrateBasePlanPricesRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"packageName", @"productId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchMigratePrices"; + GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansBatchMigratePrices *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchMigrateBasePlanPricesResponse class]; + query.loggingName = @"androidpublisher.monetization.subscriptions.basePlans.batchMigratePrices"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansBatchUpdateStates + +@dynamic packageName, productId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateBasePlanStatesRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"packageName", @"productId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchUpdateStates"; + GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansBatchUpdateStates *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchUpdateBasePlanStatesResponse class]; + query.loggingName = @"androidpublisher.monetization.subscriptions.basePlans.batchUpdateStates"; + return query; +} + +@end + @implementation GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansDeactivate @dynamic basePlanId, packageName, productId; @@ -1748,6 +1895,105 @@ + (instancetype)queryWithObject:(GTLRAndroidPublisher_ActivateSubscriptionOfferR @end +@implementation GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersBatchGet + +@dynamic basePlanId, packageName, productId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchGetSubscriptionOffersRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + basePlanId:(NSString *)basePlanId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"basePlanId", @"packageName", @"productId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchGet"; + GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersBatchGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.basePlanId = basePlanId; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchGetSubscriptionOffersResponse class]; + query.loggingName = @"androidpublisher.monetization.subscriptions.basePlans.offers.batchGet"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersBatchUpdate + +@dynamic basePlanId, packageName, productId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateSubscriptionOffersRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + basePlanId:(NSString *)basePlanId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"basePlanId", @"packageName", @"productId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchUpdate"; + GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersBatchUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.basePlanId = basePlanId; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchUpdateSubscriptionOffersResponse class]; + query.loggingName = @"androidpublisher.monetization.subscriptions.basePlans.offers.batchUpdate"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersBatchUpdateStates + +@dynamic basePlanId, packageName, productId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateSubscriptionOfferStatesRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + basePlanId:(NSString *)basePlanId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"basePlanId", @"packageName", @"productId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchUpdateStates"; + GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersBatchUpdateStates *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.basePlanId = basePlanId; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchUpdateSubscriptionOfferStatesResponse class]; + query.loggingName = @"androidpublisher.monetization.subscriptions.basePlans.offers.batchUpdateStates"; + return query; +} + +@end + @implementation GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersCreate @dynamic basePlanId, offerId, packageName, productId, regionsVersionVersion; @@ -1900,8 +2146,8 @@ + (instancetype)queryWithPackageName:(NSString *)packageName @implementation GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersPatch -@dynamic basePlanId, offerId, packageName, productId, regionsVersionVersion, - updateMask; +@dynamic allowMissing, basePlanId, latencyTolerance, offerId, packageName, + productId, regionsVersionVersion, updateMask; + (NSDictionary *)parameterNameMap { return @{ @"regionsVersionVersion" : @"regionsVersion.version" }; @@ -1938,6 +2184,59 @@ + (instancetype)queryWithObject:(GTLRAndroidPublisher_SubscriptionOffer *)object @end +@implementation GTLRAndroidPublisherQuery_MonetizationSubscriptionsBatchGet + +@dynamic packageName, productIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"productIds" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithPackageName:(NSString *)packageName { + NSArray *pathParams = @[ @"packageName" ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/subscriptions:batchGet"; + GTLRAndroidPublisherQuery_MonetizationSubscriptionsBatchGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.packageName = packageName; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchGetSubscriptionsResponse class]; + query.loggingName = @"androidpublisher.monetization.subscriptions.batchGet"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationSubscriptionsBatchUpdate + +@dynamic packageName; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateSubscriptionsRequest *)object + packageName:(NSString *)packageName { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"packageName" ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/subscriptions:batchUpdate"; + GTLRAndroidPublisherQuery_MonetizationSubscriptionsBatchUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchUpdateSubscriptionsResponse class]; + query.loggingName = @"androidpublisher.monetization.subscriptions.batchUpdate"; + return query; +} + +@end + @implementation GTLRAndroidPublisherQuery_MonetizationSubscriptionsCreate @dynamic packageName, productId, regionsVersionVersion; @@ -2035,7 +2334,8 @@ + (instancetype)queryWithPackageName:(NSString *)packageName { @implementation GTLRAndroidPublisherQuery_MonetizationSubscriptionsPatch -@dynamic packageName, productId, regionsVersionVersion, updateMask; +@dynamic allowMissing, latencyTolerance, packageName, productId, + regionsVersionVersion, updateMask; + (NSDictionary *)parameterNameMap { return @{ @"regionsVersionVersion" : @"regionsVersion.version" }; diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h index c80eeafd2..aeb3d4e65 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h @@ -19,6 +19,8 @@ @class GTLRAndroidPublisher_Abi; @class GTLRAndroidPublisher_AbiTargeting; @class GTLRAndroidPublisher_AcquisitionTargetingRule; +@class GTLRAndroidPublisher_ActivateBasePlanRequest; +@class GTLRAndroidPublisher_ActivateSubscriptionOfferRequest; @class GTLRAndroidPublisher_Apk; @class GTLRAndroidPublisher_ApkBinary; @class GTLRAndroidPublisher_ApkDescription; @@ -37,6 +39,8 @@ @class GTLRAndroidPublisher_ConvertedRegionPrice; @class GTLRAndroidPublisher_ConvertRegionPricesResponse_ConvertedRegionPrices; @class GTLRAndroidPublisher_CountryTargeting; +@class GTLRAndroidPublisher_DeactivateBasePlanRequest; +@class GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest; @class GTLRAndroidPublisher_DeferredItemReplacement; @class GTLRAndroidPublisher_DeobfuscationFile; @class GTLRAndroidPublisher_DeveloperComment; @@ -64,18 +68,23 @@ @class GTLRAndroidPublisher_GeneratedSplitApk; @class GTLRAndroidPublisher_GeneratedStandaloneApk; @class GTLRAndroidPublisher_GeneratedUniversalApk; +@class GTLRAndroidPublisher_GetSubscriptionOfferRequest; @class GTLRAndroidPublisher_Grant; @class GTLRAndroidPublisher_Image; @class GTLRAndroidPublisher_InAppProduct; @class GTLRAndroidPublisher_InAppProduct_Listings; @class GTLRAndroidPublisher_InAppProduct_Prices; @class GTLRAndroidPublisher_InAppProductListing; +@class GTLRAndroidPublisher_InappproductsDeleteRequest; +@class GTLRAndroidPublisher_InappproductsUpdateRequest; @class GTLRAndroidPublisher_IntroductoryPriceInfo; @class GTLRAndroidPublisher_LanguageTargeting; @class GTLRAndroidPublisher_Listing; @class GTLRAndroidPublisher_LocalizedText; @class GTLRAndroidPublisher_ManagedProductTaxAndComplianceSettings; @class GTLRAndroidPublisher_ManagedProductTaxAndComplianceSettings_TaxRateInfoByRegionCode; +@class GTLRAndroidPublisher_MigrateBasePlanPricesRequest; +@class GTLRAndroidPublisher_MigrateBasePlanPricesResponse; @class GTLRAndroidPublisher_ModuleMetadata; @class GTLRAndroidPublisher_ModuleTargeting; @class GTLRAndroidPublisher_Money; @@ -137,6 +146,10 @@ @class GTLRAndroidPublisher_Track; @class GTLRAndroidPublisher_TrackRelease; @class GTLRAndroidPublisher_TrackTargetedCountry; +@class GTLRAndroidPublisher_UpdateBasePlanStateRequest; +@class GTLRAndroidPublisher_UpdateSubscriptionOfferRequest; +@class GTLRAndroidPublisher_UpdateSubscriptionOfferStateRequest; +@class GTLRAndroidPublisher_UpdateSubscriptionRequest; @class GTLRAndroidPublisher_UpgradeTargetingRule; @class GTLRAndroidPublisher_User; @class GTLRAndroidPublisher_UserComment; @@ -204,6 +217,58 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Abi_Alias_X86; */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Abi_Alias_X8664; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_ActivateBasePlanRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_ActivateSubscriptionOfferRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_AssetModuleMetadata.deliveryType @@ -351,6 +416,58 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_CancelSurveyResult_Reas */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_CancelSurveyResult_Reason_CancelSurveyReasonUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_DeactivateBasePlanRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_DeobfuscationFile.symbolType @@ -551,6 +668,58 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InAppProduct_Status_Ina */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InAppProduct_Status_StatusUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_InappproductsDeleteRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InappproductsDeleteRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InappproductsDeleteRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InappproductsDeleteRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_InappproductsUpdateRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InappproductsUpdateRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InappproductsUpdateRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InappproductsUpdateRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_ManagedProductTaxAndComplianceSettings.eeaWithdrawalRightType @@ -561,6 +730,32 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ManagedProductTaxAndCom /** Value: "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ManagedProductTaxAndComplianceSettings_EeaWithdrawalRightType_WithdrawalRightTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_MigrateBasePlanPricesRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_MigrateBasePlanPricesRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_MigrateBasePlanPricesRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_MigrateBasePlanPricesRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_ModuleMetadata.deliveryType @@ -1134,6 +1329,58 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TrackRelease_Status_InP */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TrackRelease_Status_StatusUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_UpdateSubscriptionOfferRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_UpdateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_UpdateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_UpdateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_UpdateSubscriptionRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_UpdateSubscriptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_UpdateSubscriptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_UpdateSubscriptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_User.accessState @@ -1344,6 +1591,37 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe * Request message for ActivateBasePlan. */ @interface GTLRAndroidPublisher_ActivateBasePlanRequest : GTLRObject + +/** Required. The unique base plan ID of the base plan to activate. */ +@property(nonatomic, copy, nullable) NSString *basePlanId; + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_ActivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_ActivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_ActivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** Required. The parent app (package name) of the base plan to activate. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The parent subscription (ID) of the base plan to activate. */ +@property(nonatomic, copy, nullable) NSString *productId; + @end @@ -1351,6 +1629,40 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe * Request message for ActivateSubscriptionOffer. */ @interface GTLRAndroidPublisher_ActivateSubscriptionOfferRequest : GTLRObject + +/** Required. The parent base plan (ID) of the offer to activate. */ +@property(nonatomic, copy, nullable) NSString *basePlanId; + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** Required. The unique offer ID of the offer to activate. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** Required. The parent app (package name) of the offer to activate. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The parent subscription (ID) of the offer to activate. */ +@property(nonatomic, copy, nullable) NSString *productId; + @end @@ -1750,6 +2062,172 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe @end +/** + * Request message for BatchGetSubscriptionOffers endpoint. + */ +@interface GTLRAndroidPublisher_BatchGetSubscriptionOffersRequest : GTLRObject + +/** + * Required. A list of update requests of up to 100 elements. All requests must + * update different subscriptions. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response message for BatchGetSubscriptionOffers endpoint. + */ +@interface GTLRAndroidPublisher_BatchGetSubscriptionOffersResponse : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *subscriptionOffers; + +@end + + +/** + * Response message for BatchGetSubscriptions endpoint. + */ +@interface GTLRAndroidPublisher_BatchGetSubscriptionsResponse : GTLRObject + +/** The list of requested subscriptions, in the same order as the request. */ +@property(nonatomic, strong, nullable) NSArray *subscriptions; + +@end + + +/** + * Request message for BatchMigrateBasePlanPrices. + */ +@interface GTLRAndroidPublisher_BatchMigrateBasePlanPricesRequest : GTLRObject + +/** + * Required. Up to 100 price migration requests. All requests must update + * different base plans. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response message for BatchMigrateBasePlanPrices. + */ +@interface GTLRAndroidPublisher_BatchMigrateBasePlanPricesResponse : GTLRObject + +/** + * Contains one response per requested price migration, in the same order as + * the request. + */ +@property(nonatomic, strong, nullable) NSArray *responses; + +@end + + +/** + * Request message for BatchUpdateBasePlanStates. + */ +@interface GTLRAndroidPublisher_BatchUpdateBasePlanStatesRequest : GTLRObject + +/** + * Required. The update request list of up to 100 elements. All requests must + * update different base plans. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response message for BatchUpdateBasePlanStates. + */ +@interface GTLRAndroidPublisher_BatchUpdateBasePlanStatesResponse : GTLRObject + +/** + * The list of updated subscriptions. This list will match the requests one to + * one, in the same order. + */ +@property(nonatomic, strong, nullable) NSArray *subscriptions; + +@end + + +/** + * Request message for BatchUpdateSubscriptionOffers. + */ +@interface GTLRAndroidPublisher_BatchUpdateSubscriptionOffersRequest : GTLRObject + +/** + * Required. A list of update requests of up to 100 elements. All requests must + * update different subscription offers. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response message for BatchUpdateSubscriptionOffers. + */ +@interface GTLRAndroidPublisher_BatchUpdateSubscriptionOffersResponse : GTLRObject + +/** The updated subscription offers list. */ +@property(nonatomic, strong, nullable) NSArray *subscriptionOffers; + +@end + + +/** + * Request message for BatchUpdateSubscriptionOfferStates. + */ +@interface GTLRAndroidPublisher_BatchUpdateSubscriptionOfferStatesRequest : GTLRObject + +/** + * Required. The update request list of up to 100 elements. All requests must + * update different offers. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response message for BatchUpdateSubscriptionOfferStates. + */ +@interface GTLRAndroidPublisher_BatchUpdateSubscriptionOfferStatesResponse : GTLRObject + +/** The updated subscription offers list. */ +@property(nonatomic, strong, nullable) NSArray *subscriptionOffers; + +@end + + +/** + * Request message for BatchUpdateSubscription. + */ +@interface GTLRAndroidPublisher_BatchUpdateSubscriptionsRequest : GTLRObject + +/** + * Required. A list of update requests of up to 100 elements. All requests must + * update different subscriptions. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response message for BatchUpdateSubscription. + */ +@interface GTLRAndroidPublisher_BatchUpdateSubscriptionsResponse : GTLRObject + +/** The updated subscriptions list. */ +@property(nonatomic, strong, nullable) NSArray *subscriptions; + +@end + + /** * Information about an app bundle. The resource for BundlesService. */ @@ -1967,6 +2445,37 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe * Request message for DeactivateBasePlan. */ @interface GTLRAndroidPublisher_DeactivateBasePlanRequest : GTLRObject + +/** Required. The unique base plan ID of the base plan to deactivate. */ +@property(nonatomic, copy, nullable) NSString *basePlanId; + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_DeactivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_DeactivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_DeactivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** Required. The parent app (package name) of the base plan to deactivate. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The parent subscription (ID) of the base plan to deactivate. */ +@property(nonatomic, copy, nullable) NSString *productId; + @end @@ -1974,6 +2483,40 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe * Request message for DeactivateSubscriptionOffer. */ @interface GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest : GTLRObject + +/** Required. The parent base plan (ID) of the offer to deactivate. */ +@property(nonatomic, copy, nullable) NSString *basePlanId; + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** Required. The unique offer ID of the offer to deactivate. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** Required. The parent app (package name) of the offer to deactivate. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The parent subscription (ID) of the offer to deactivate. */ +@property(nonatomic, copy, nullable) NSString *productId; + @end @@ -2758,6 +3301,26 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe @end +/** + * Request message for GetSubscriptionOffer. + */ +@interface GTLRAndroidPublisher_GetSubscriptionOfferRequest : GTLRObject + +/** Required. The parent base plan (ID) of the offer to get. */ +@property(nonatomic, copy, nullable) NSString *basePlanId; + +/** Required. The unique offer ID of the offer to get. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** Required. The parent app (package name) of the offer to get. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The parent subscription (ID) of the offer to get. */ +@property(nonatomic, copy, nullable) NSString *productId; + +@end + + /** * An access grant resource. */ @@ -2983,6 +3546,94 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe @end +/** + * Request to delete multiple in-app products. + */ +@interface GTLRAndroidPublisher_InappproductsBatchDeleteRequest : GTLRObject + +/** + * Individual delete requests. At least one request is required. Can contain up + * to 100 requests. All requests must correspond to different in-app products. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response message for BatchGetSubscriptions endpoint. + */ +@interface GTLRAndroidPublisher_InappproductsBatchGetResponse : GTLRObject + +/** + * The list of requested in-app products, in the same order as the request. + */ +@property(nonatomic, strong, nullable) NSArray *inappproduct; + +@end + + +/** + * Request to update or insert one or more in-app products. + */ +@interface GTLRAndroidPublisher_InappproductsBatchUpdateRequest : GTLRObject + +/** + * Required. Individual update requests. At least one request is required. Can + * contain up to 100 requests. All requests must correspond to different in-app + * products. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response for a batch in-app product update. + */ +@interface GTLRAndroidPublisher_InappproductsBatchUpdateResponse : GTLRObject + +/** The updated or inserted in-app products. */ +@property(nonatomic, strong, nullable) NSArray *inappproducts; + +@end + + +/** + * Request to delete an in-app product. + */ +@interface GTLRAndroidPublisher_InappproductsDeleteRequest : GTLRObject + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_InappproductsDeleteRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_InappproductsDeleteRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_InappproductsDeleteRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** Package name of the app. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Unique identifier for the in-app product. */ +@property(nonatomic, copy, nullable) NSString *sku; + +@end + + /** * Response listing all in-app products. */ @@ -3005,6 +3656,61 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe @end +/** + * Request to update an in-app product. + */ +@interface GTLRAndroidPublisher_InappproductsUpdateRequest : GTLRObject + +/** + * If set to true, and the in-app product with the given package_name and sku + * doesn't exist, the in-app product will be created. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowMissing; + +/** + * If true the prices for all regions targeted by the parent app that don't + * have a price specified for this in-app product will be auto converted to the + * target currency based on the default price. Defaults to false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *autoConvertMissingPrices; + +/** The new in-app product. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_InAppProduct *inappproduct; + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_InappproductsUpdateRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_InappproductsUpdateRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_InappproductsUpdateRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** Package name of the app. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Unique identifier for the in-app product. */ +@property(nonatomic, copy, nullable) NSString *sku; + +@end + + /** * An artifact resource which gets created when uploading an APK or Android App * Bundle through internal app sharing. @@ -3309,6 +4015,42 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe */ @interface GTLRAndroidPublisher_MigrateBasePlanPricesRequest : GTLRObject +/** Required. The unique base plan ID of the base plan to update prices on. */ +@property(nonatomic, copy, nullable) NSString *basePlanId; + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_MigrateBasePlanPricesRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_MigrateBasePlanPricesRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_MigrateBasePlanPricesRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** + * Required. Package name of the parent app. Must be equal to the package_name + * field on the Subscription resource. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The ID of the subscription to update. Must be equal to the + * product_id field on the Subscription resource. + */ +@property(nonatomic, copy, nullable) NSString *productId; + /** Required. The regional prices to update. */ @property(nonatomic, strong, nullable) NSArray *regionalPriceMigrations; @@ -5613,6 +6355,155 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe @end +/** + * Request message to update the state of a subscription base plan. + */ +@interface GTLRAndroidPublisher_UpdateBasePlanStateRequest : GTLRObject + +/** + * Activates a base plan. Once activated, base plans will be available to new + * subscribers. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_ActivateBasePlanRequest *activateBasePlanRequest; + +/** + * Deactivates a base plan. Once deactivated, the base plan will become + * unavailable to new subscribers, but existing subscribers will maintain their + * subscription + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_DeactivateBasePlanRequest *deactivateBasePlanRequest; + +@end + + +/** + * Request message for UpdateSubscriptionOffer. + */ +@interface GTLRAndroidPublisher_UpdateSubscriptionOfferRequest : GTLRObject + +/** + * Optional. If set to true, and the subscription offer with the given + * package_name, product_id, base_plan_id and offer_id doesn't exist, an offer + * will be created. If a new offer is created, update_mask is ignored. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowMissing; + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_UpdateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_UpdateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_UpdateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** + * Required. The version of the available regions being used for the + * subscription_offer. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RegionsVersion *regionsVersion; + +/** Required. The subscription offer to update. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_SubscriptionOffer *subscriptionOffer; + +/** + * Required. The list of fields to be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + +/** + * Request message to update the state of a subscription offer. + */ +@interface GTLRAndroidPublisher_UpdateSubscriptionOfferStateRequest : GTLRObject + +/** + * Activates an offer. Once activated, the offer will be available to new + * subscribers. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_ActivateSubscriptionOfferRequest *activateSubscriptionOfferRequest; + +/** + * Deactivates an offer. Once deactivated, the offer will become unavailable to + * new subscribers, but existing subscribers will maintain their subscription + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest *deactivateSubscriptionOfferRequest; + +@end + + +/** + * Request message for UpdateSubscription. + */ +@interface GTLRAndroidPublisher_UpdateSubscriptionRequest : GTLRObject + +/** + * Optional. If set to true, and the subscription with the given package_name + * and product_id doesn't exist, the subscription will be created. If a new + * subscription is created, update_mask is ignored. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowMissing; + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_UpdateSubscriptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_UpdateSubscriptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_UpdateSubscriptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** + * Required. The version of the available regions being used for the + * subscription. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RegionsVersion *regionsVersion; + +/** Required. The subscription to update. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Subscription *subscription; + +/** + * Required. The list of fields to be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + /** * Represents a targeting rule of the form: User currently has {scope} [with * billing period {billing_period}]. diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h index 376ae9859..59f0a89d2 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h @@ -130,6 +130,32 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeTvScreenshots; */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots; +// ---------------------------------------------------------------------------- +// latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceUnspecified; + // ---------------------------------------------------------------------------- // Query Classes // @@ -2268,6 +2294,126 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots @end +/** + * Deletes in-app products (managed products or subscriptions). Set the + * latencyTolerance field on nested requests to + * PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update + * throughput. This method should not be used to delete subscriptions. See + * [this + * article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) + * for more information. + * + * Method: androidpublisher.inappproducts.batchDelete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_InappproductsBatchDelete : GTLRAndroidPublisherQuery + +/** Package name of the app. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Upon successful completion, the callback's object and error parameters will + * be nil. This query does not fetch an object. + * + * Deletes in-app products (managed products or subscriptions). Set the + * latencyTolerance field on nested requests to + * PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update + * throughput. This method should not be used to delete subscriptions. See + * [this + * article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) + * for more information. + * + * @param object The @c GTLRAndroidPublisher_InappproductsBatchDeleteRequest to + * include in the query. + * @param packageName Package name of the app. + * + * @return GTLRAndroidPublisherQuery_InappproductsBatchDelete + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_InappproductsBatchDeleteRequest *)object + packageName:(NSString *)packageName; + +@end + +/** + * Reads multiple in-app products, which can be managed products or + * subscriptions. This method should not be used to retrieve subscriptions. See + * [this + * article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) + * for more information. + * + * Method: androidpublisher.inappproducts.batchGet + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_InappproductsBatchGet : GTLRAndroidPublisherQuery + +/** Package name of the app. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Unique identifier for the in-app products. */ +@property(nonatomic, strong, nullable) NSArray *sku; + +/** + * Fetches a @c GTLRAndroidPublisher_InappproductsBatchGetResponse. + * + * Reads multiple in-app products, which can be managed products or + * subscriptions. This method should not be used to retrieve subscriptions. See + * [this + * article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) + * for more information. + * + * @param packageName Package name of the app. + * + * @return GTLRAndroidPublisherQuery_InappproductsBatchGet + */ ++ (instancetype)queryWithPackageName:(NSString *)packageName; + +@end + +/** + * Updates or inserts one or more in-app products (managed products or + * subscriptions). Set the latencyTolerance field on nested requests to + * PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update + * throughput. This method should no longer be used to update subscriptions. + * See [this + * article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) + * for more information. + * + * Method: androidpublisher.inappproducts.batchUpdate + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_InappproductsBatchUpdate : GTLRAndroidPublisherQuery + +/** Package name of the app. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Fetches a @c GTLRAndroidPublisher_InappproductsBatchUpdateResponse. + * + * Updates or inserts one or more in-app products (managed products or + * subscriptions). Set the latencyTolerance field on nested requests to + * PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update + * throughput. This method should no longer be used to update subscriptions. + * See [this + * article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) + * for more information. + * + * @param object The @c GTLRAndroidPublisher_InappproductsBatchUpdateRequest to + * include in the query. + * @param packageName Package name of the app. + * + * @return GTLRAndroidPublisherQuery_InappproductsBatchUpdate + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_InappproductsBatchUpdateRequest *)object + packageName:(NSString *)packageName; + +@end + /** * Deletes an in-app product (a managed product or a subscription). This method * should no longer be used to delete subscriptions. See [this @@ -2281,6 +2427,27 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots */ @interface GTLRAndroidPublisherQuery_InappproductsDelete : GTLRAndroidPublisherQuery +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + /** Package name of the app. */ @property(nonatomic, copy, nullable) NSString *packageName; @@ -2456,6 +2623,27 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots */ @property(nonatomic, assign) BOOL autoConvertMissingPrices; +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + /** Package name of the app. */ @property(nonatomic, copy, nullable) NSString *packageName; @@ -2509,6 +2697,27 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots */ @property(nonatomic, assign) BOOL autoConvertMissingPrices; +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + /** Package name of the app. */ @property(nonatomic, copy, nullable) NSString *packageName; @@ -2737,6 +2946,105 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots @end +/** + * Batch variant of the MigrateBasePlanPrices endpoint. Set the + * latencyTolerance field on nested requests to + * PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update + * throughput. + * + * Method: androidpublisher.monetization.subscriptions.basePlans.batchMigratePrices + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansBatchMigratePrices : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) for which the subscriptions should + * be created or updated. Must be equal to the package_name field on all the + * Subscription resources. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The product ID of the parent subscription, if all updated offers + * belong to the same subscription. If this batch update spans multiple + * subscriptions, set this field to "-". Must be set. + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Fetches a @c GTLRAndroidPublisher_BatchMigrateBasePlanPricesResponse. + * + * Batch variant of the MigrateBasePlanPrices endpoint. Set the + * latencyTolerance field on nested requests to + * PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update + * throughput. + * + * @param object The @c GTLRAndroidPublisher_BatchMigrateBasePlanPricesRequest + * to include in the query. + * @param packageName Required. The parent app (package name) for which the + * subscriptions should be created or updated. Must be equal to the + * package_name field on all the Subscription resources. + * @param productId Required. The product ID of the parent subscription, if all + * updated offers belong to the same subscription. If this batch update spans + * multiple subscriptions, set this field to "-". Must be set. + * + * @return GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansBatchMigratePrices + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchMigrateBasePlanPricesRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId; + +@end + +/** + * Activates or deactivates base plans across one or multiple subscriptions. + * Set the latencyTolerance field on nested requests to + * PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update + * throughput. + * + * Method: androidpublisher.monetization.subscriptions.basePlans.batchUpdateStates + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansBatchUpdateStates : GTLRAndroidPublisherQuery + +/** Required. The parent app (package name) of the updated base plans. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The product ID of the parent subscription, if all updated base + * plans belong to the same subscription. If this batch update spans multiple + * subscriptions, set this field to "-". Must be set. + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Fetches a @c GTLRAndroidPublisher_BatchUpdateBasePlanStatesResponse. + * + * Activates or deactivates base plans across one or multiple subscriptions. + * Set the latencyTolerance field on nested requests to + * PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update + * throughput. + * + * @param object The @c GTLRAndroidPublisher_BatchUpdateBasePlanStatesRequest + * to include in the query. + * @param packageName Required. The parent app (package name) of the updated + * base plans. + * @param productId Required. The product ID of the parent subscription, if all + * updated base plans belong to the same subscription. If this batch update + * spans multiple subscriptions, set this field to "-". Must be set. + * + * @return GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansBatchUpdateStates + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateBasePlanStatesRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId; + +@end + /** * Deactivates a base plan. Once deactivated, the base plan will become * unavailable to new subscribers, but existing subscribers will maintain their @@ -2931,6 +3239,185 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots @end +/** + * Reads one or more subscription offers. + * + * Method: androidpublisher.monetization.subscriptions.basePlans.offers.batchGet + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersBatchGet : GTLRAndroidPublisherQuery + +/** + * Required. The parent base plan (ID) for which the offers should be read. May + * be specified as '-' to read offers from multiple base plans. + */ +@property(nonatomic, copy, nullable) NSString *basePlanId; + +/** + * Required. The parent app (package name) for which the subscriptions should + * be created or updated. Must be equal to the package_name field on all the + * requests. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The product ID of the parent subscription, if all updated offers + * belong to the same subscription. If this request spans multiple + * subscriptions, set this field to "-". Must be set. + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Fetches a @c GTLRAndroidPublisher_BatchGetSubscriptionOffersResponse. + * + * Reads one or more subscription offers. + * + * @param object The @c GTLRAndroidPublisher_BatchGetSubscriptionOffersRequest + * to include in the query. + * @param packageName Required. The parent app (package name) for which the + * subscriptions should be created or updated. Must be equal to the + * package_name field on all the requests. + * @param productId Required. The product ID of the parent subscription, if all + * updated offers belong to the same subscription. If this request spans + * multiple subscriptions, set this field to "-". Must be set. + * @param basePlanId Required. The parent base plan (ID) for which the offers + * should be read. May be specified as '-' to read offers from multiple base + * plans. + * + * @return GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersBatchGet + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchGetSubscriptionOffersRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + basePlanId:(NSString *)basePlanId; + +@end + +/** + * Updates a batch of subscription offers. Set the latencyTolerance field on + * nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to + * achieve maximum update throughput. + * + * Method: androidpublisher.monetization.subscriptions.basePlans.offers.batchUpdate + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersBatchUpdate : GTLRAndroidPublisherQuery + +/** + * Required. The parent base plan (ID) for which the offers should be updated. + * May be specified as '-' to update offers from multiple base plans. + */ +@property(nonatomic, copy, nullable) NSString *basePlanId; + +/** + * Required. The parent app (package name) of the updated subscription offers. + * Must be equal to the package_name field on all the updated SubscriptionOffer + * resources. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The product ID of the parent subscription, if all updated offers + * belong to the same subscription. If this request spans multiple + * subscriptions, set this field to "-". Must be set. + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Fetches a @c GTLRAndroidPublisher_BatchUpdateSubscriptionOffersResponse. + * + * Updates a batch of subscription offers. Set the latencyTolerance field on + * nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to + * achieve maximum update throughput. + * + * @param object The @c + * GTLRAndroidPublisher_BatchUpdateSubscriptionOffersRequest to include in + * the query. + * @param packageName Required. The parent app (package name) of the updated + * subscription offers. Must be equal to the package_name field on all the + * updated SubscriptionOffer resources. + * @param productId Required. The product ID of the parent subscription, if all + * updated offers belong to the same subscription. If this request spans + * multiple subscriptions, set this field to "-". Must be set. + * @param basePlanId Required. The parent base plan (ID) for which the offers + * should be updated. May be specified as '-' to update offers from multiple + * base plans. + * + * @return GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersBatchUpdate + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateSubscriptionOffersRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + basePlanId:(NSString *)basePlanId; + +@end + +/** + * Updates a batch of subscription offer states. Set the latencyTolerance field + * on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to + * achieve maximum update throughput. + * + * Method: androidpublisher.monetization.subscriptions.basePlans.offers.batchUpdateStates + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersBatchUpdateStates : GTLRAndroidPublisherQuery + +/** + * Required. The parent base plan (ID) for which the offers should be updated. + * May be specified as '-' to update offers from multiple base plans. + */ +@property(nonatomic, copy, nullable) NSString *basePlanId; + +/** + * Required. The parent app (package name) of the updated subscription offers. + * Must be equal to the package_name field on all the updated SubscriptionOffer + * resources. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The product ID of the parent subscription, if all updated offers + * belong to the same subscription. If this request spans multiple + * subscriptions, set this field to "-". Must be set. + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Fetches a @c + * GTLRAndroidPublisher_BatchUpdateSubscriptionOfferStatesResponse. + * + * Updates a batch of subscription offer states. Set the latencyTolerance field + * on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to + * achieve maximum update throughput. + * + * @param object The @c + * GTLRAndroidPublisher_BatchUpdateSubscriptionOfferStatesRequest to include + * in the query. + * @param packageName Required. The parent app (package name) of the updated + * subscription offers. Must be equal to the package_name field on all the + * updated SubscriptionOffer resources. + * @param productId Required. The product ID of the parent subscription, if all + * updated offers belong to the same subscription. If this request spans + * multiple subscriptions, set this field to "-". Must be set. + * @param basePlanId Required. The parent base plan (ID) for which the offers + * should be updated. May be specified as '-' to update offers from multiple + * base plans. + * + * @return GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersBatchUpdateStates + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateSubscriptionOfferStatesRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + basePlanId:(NSString *)basePlanId; + +@end + /** * Creates a new subscription offer. Only auto-renewing base plans can have * subscription offers. The offer state will be DRAFT until it is activated. @@ -3229,12 +3716,40 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots */ @interface GTLRAndroidPublisherQuery_MonetizationSubscriptionsBasePlansOffersPatch : GTLRAndroidPublisherQuery +/** + * Optional. If set to true, and the subscription offer with the given + * package_name, product_id, base_plan_id and offer_id doesn't exist, an offer + * will be created. If a new offer is created, update_mask is ignored. + */ +@property(nonatomic, assign) BOOL allowMissing; + /** * Required. Immutable. The ID of the base plan to which this offer is an * extension. */ @property(nonatomic, copy, nullable) NSString *basePlanId; +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + /** * Required. Immutable. Unique ID of this subscription offer. Must be unique * within the base plan. @@ -3299,6 +3814,82 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots @end +/** + * Reads one or more subscriptions. + * + * Method: androidpublisher.monetization.subscriptions.batchGet + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationSubscriptionsBatchGet : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) for which the subscriptions should + * be retrieved. Must be equal to the package_name field on all the requests. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. A list of up to 100 subscription product IDs to retrieve. All the + * IDs must be different. + */ +@property(nonatomic, strong, nullable) NSArray *productIds; + +/** + * Fetches a @c GTLRAndroidPublisher_BatchGetSubscriptionsResponse. + * + * Reads one or more subscriptions. + * + * @param packageName Required. The parent app (package name) for which the + * subscriptions should be retrieved. Must be equal to the package_name field + * on all the requests. + * + * @return GTLRAndroidPublisherQuery_MonetizationSubscriptionsBatchGet + */ ++ (instancetype)queryWithPackageName:(NSString *)packageName; + +@end + +/** + * Updates a batch of subscriptions. Set the latencyTolerance field on nested + * requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve + * maximum update throughput. + * + * Method: androidpublisher.monetization.subscriptions.batchUpdate + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationSubscriptionsBatchUpdate : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) for which the subscriptions should + * be updated. Must be equal to the package_name field on all the Subscription + * resources. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Fetches a @c GTLRAndroidPublisher_BatchUpdateSubscriptionsResponse. + * + * Updates a batch of subscriptions. Set the latencyTolerance field on nested + * requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve + * maximum update throughput. + * + * @param object The @c GTLRAndroidPublisher_BatchUpdateSubscriptionsRequest to + * include in the query. + * @param packageName Required. The parent app (package name) for which the + * subscriptions should be updated. Must be equal to the package_name field + * on all the Subscription resources. + * + * @return GTLRAndroidPublisherQuery_MonetizationSubscriptionsBatchUpdate + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateSubscriptionsRequest *)object + packageName:(NSString *)packageName; + +@end + /** * Creates a new subscription. Newly added base plans will remain in draft * state until activated. @@ -3492,6 +4083,34 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots */ @interface GTLRAndroidPublisherQuery_MonetizationSubscriptionsPatch : GTLRAndroidPublisherQuery +/** + * Optional. If set to true, and the subscription with the given package_name + * and product_id doesn't exist, the subscription will be created. If a new + * subscription is created, update_mask is ignored. + */ +@property(nonatomic, assign) BOOL allowMissing; + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + /** Immutable. Package name of the parent app. */ @property(nonatomic, copy, nullable) NSString *packageName; diff --git a/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m b/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m index 2bf143539..5b06fd513 100644 --- a/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m +++ b/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m @@ -282,6 +282,11 @@ NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityAction_State_Enabled = @"ENABLED"; NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityAction_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRApigee_GoogleCloudApigeeV1SecurityIncident.observability +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityIncident_Observability_Active = @"ACTIVE"; +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityIncident_Observability_Archived = @"ARCHIVED"; +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityIncident_Observability_ObservabilityUnspecified = @"OBSERVABILITY_UNSPECIFIED"; + // GTLRApigee_GoogleCloudApigeeV1SecurityIncident.riskLevel NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityIncident_RiskLevel_Low = @"LOW"; NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityIncident_RiskLevel_Moderate = @"MODERATE"; @@ -887,6 +892,42 @@ @implementation GTLRApigee_GoogleCloudApigeeV1Attributes @end +// ---------------------------------------------------------------------------- +// +// GTLRApigee_GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest +// + +@implementation GTLRApigee_GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRApigee_GoogleCloudApigeeV1UpdateSecurityIncidentRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRApigee_GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse +// + +@implementation GTLRApigee_GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse +@dynamic securityIncidents; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"securityIncidents" : [GTLRApigee_GoogleCloudApigeeV1SecurityIncident class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRApigee_GoogleCloudApigeeV1CanaryEvaluation @@ -3929,8 +3970,9 @@ @implementation GTLRApigee_GoogleCloudApigeeV1SecurityActionsConfig // @implementation GTLRApigee_GoogleCloudApigeeV1SecurityIncident -@dynamic detectionTypes, displayName, firstDetectedTime, lastDetectedTime, name, - riskLevel, trafficCount; +@dynamic detectionTypes, displayName, firstDetectedTime, lastDetectedTime, + lastObservabilityChangeTime, name, observability, riskLevel, + trafficCount; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4107,6 +4149,16 @@ @implementation GTLRApigee_GoogleCloudApigeeV1SecurityReportResultView @end +// ---------------------------------------------------------------------------- +// +// GTLRApigee_GoogleCloudApigeeV1SecuritySettings +// + +@implementation GTLRApigee_GoogleCloudApigeeV1SecuritySettings +@dynamic mlRetrainingFeedbackEnabled, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRApigee_GoogleCloudApigeeV1ServiceIssuersMapping @@ -4451,6 +4503,16 @@ @implementation GTLRApigee_GoogleCloudApigeeV1UpdateError @end +// ---------------------------------------------------------------------------- +// +// GTLRApigee_GoogleCloudApigeeV1UpdateSecurityIncidentRequest +// + +@implementation GTLRApigee_GoogleCloudApigeeV1UpdateSecurityIncidentRequest +@dynamic securityIncident, updateMask; +@end + + // ---------------------------------------------------------------------------- // // GTLRApigee_GoogleIamV1AuditConfig diff --git a/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m b/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m index 70899bd61..c0ee13b8f 100644 --- a/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m +++ b/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m @@ -4264,6 +4264,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRApigeeQuery_OrganizationsEnvironmentsSecurityIncidentsBatchUpdate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest *)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}/securityIncidents:batchUpdate"; + GTLRApigeeQuery_OrganizationsEnvironmentsSecurityIncidentsBatchUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse class]; + query.loggingName = @"apigee.organizations.environments.securityIncidents.batchUpdate"; + return query; +} + +@end + @implementation GTLRApigeeQuery_OrganizationsEnvironmentsSecurityIncidentsGet @dynamic name; @@ -4302,6 +4329,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRApigeeQuery_OrganizationsEnvironmentsSecurityIncidentsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1SecurityIncident *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRApigeeQuery_OrganizationsEnvironmentsSecurityIncidentsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1SecurityIncident class]; + query.loggingName = @"apigee.organizations.environments.securityIncidents.patch"; + return query; +} + +@end + @implementation GTLRApigeeQuery_OrganizationsEnvironmentsSecurityReportsCreate @dynamic parent; @@ -5069,6 +5123,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRApigeeQuery_OrganizationsGetSecuritySettings + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRApigeeQuery_OrganizationsGetSecuritySettings *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1SecuritySettings class]; + query.loggingName = @"apigee.organizations.getSecuritySettings"; + return query; +} + +@end + @implementation GTLRApigeeQuery_OrganizationsGetSyncAuthorization @dynamic name; @@ -6603,6 +6676,33 @@ + (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1Organization *)ob @end +@implementation GTLRApigeeQuery_OrganizationsUpdateSecuritySettings + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1SecuritySettings *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRApigeeQuery_OrganizationsUpdateSecuritySettings *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1SecuritySettings class]; + query.loggingName = @"apigee.organizations.updateSecuritySettings"; + return query; +} + +@end + @implementation GTLRApigeeQuery_ProjectsProvisionOrganization @dynamic project; diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h index 4863e408b..1b30ddeaa 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h @@ -182,6 +182,7 @@ @class GTLRApigee_GoogleCloudApigeeV1TraceConfigOverride; @class GTLRApigee_GoogleCloudApigeeV1TraceSamplingConfig; @class GTLRApigee_GoogleCloudApigeeV1UpdateError; +@class GTLRApigee_GoogleCloudApigeeV1UpdateSecurityIncidentRequest; @class GTLRApigee_GoogleIamV1AuditConfig; @class GTLRApigee_GoogleIamV1AuditLogConfig; @class GTLRApigee_GoogleIamV1Binding; @@ -752,9 +753,10 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1Environment_St // GTLRApigee_GoogleCloudApigeeV1Environment.type /** - * Base environment has limited capacity and capabilities and are usually used - * when you are getting started with Apigee or while experimenting. Refer to - * Apigee's public documentation for more details. + * This is the default type. Base environment has limited capacity and + * capabilities and are usually used when you are getting started with Apigee + * or while experimenting. Refer to Apigee's public documentation for more + * details. * * Value: "BASE" */ @@ -774,7 +776,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1Environment_Ty */ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1Environment_Type_EnvironmentTypeUnspecified; /** - * This is the default type and it supports API management features and higher + * Intermediate environment supports API management features and higher * capacity than Base environment. Refer to Apigee's public documentation for * more details. * @@ -1454,6 +1456,28 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityAction */ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityAction_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRApigee_GoogleCloudApigeeV1SecurityIncident.observability + +/** + * The incident is currently active. Can change to this status from archived. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityIncident_Observability_Active; +/** + * The incident is currently archived and was archived by the customer. + * + * Value: "ARCHIVED" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityIncident_Observability_Archived; +/** + * The incident observability is unspecified. + * + * Value: "OBSERVABILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityIncident_Observability_ObservabilityUnspecified; + // ---------------------------------------------------------------------------- // GTLRApigee_GoogleCloudApigeeV1SecurityIncident.riskLevel @@ -3152,6 +3176,31 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType @end +/** + * Request for BatchUpdateSecurityIncident. + */ +@interface GTLRApigee_GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest : GTLRObject + +/** + * Optional. Required. The request message specifying the resources to update. + * A maximum of 1000 can be modified in a batch. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response for BatchUpdateSecurityIncident. + */ +@interface GTLRApigee_GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse : GTLRObject + +/** Output only. Updated security incidents */ +@property(nonatomic, strong, nullable) NSArray *securityIncidents; + +@end + + /** * CanaryEvaluation represents the canary analysis between two versions of the * runtime that is serving requests. @@ -4854,7 +4903,8 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType * Optional. Url of the forward proxy to be applied to the runtime instances in * this environment. Must be in the format of {scheme}://{hostname}:{port}. * Note that scheme must be one of "http" or "https", and port must be - * supplied. + * supplied. To remove a forward proxy setting, update the field to an empty + * value. */ @property(nonatomic, copy, nullable) NSString *forwardProxyUri; @@ -4909,10 +4959,11 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType * Optional. EnvironmentType selected for the environment. * * Likely values: - * @arg @c kGTLRApigee_GoogleCloudApigeeV1Environment_Type_Base Base - * environment has limited capacity and capabilities and are usually used - * when you are getting started with Apigee or while experimenting. Refer - * to Apigee's public documentation for more details. (Value: "BASE") + * @arg @c kGTLRApigee_GoogleCloudApigeeV1Environment_Type_Base This is the + * default type. Base environment has limited capacity and capabilities + * and are usually used when you are getting started with Apigee or while + * experimenting. Refer to Apigee's public documentation for more + * details. (Value: "BASE") * @arg @c kGTLRApigee_GoogleCloudApigeeV1Environment_Type_Comprehensive * Comprehensive environment supports advanced capabilites and even * higher capacity than Intermediate environment. Refer to Apigee's @@ -4920,8 +4971,8 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType * @arg @c kGTLRApigee_GoogleCloudApigeeV1Environment_Type_EnvironmentTypeUnspecified * Environment type not specified. (Value: * "ENVIRONMENT_TYPE_UNSPECIFIED") - * @arg @c kGTLRApigee_GoogleCloudApigeeV1Environment_Type_Intermediate This - * is the default type and it supports API management features and higher + * @arg @c kGTLRApigee_GoogleCloudApigeeV1Environment_Type_Intermediate + * Intermediate environment supports API management features and higher * capacity than Base environment. Refer to Apigee's public documentation * for more details. (Value: "INTERMEDIATE") */ @@ -9193,6 +9244,9 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType */ @property(nonatomic, strong, nullable) GTLRDateTime *lastDetectedTime; +/** Output only. The time when the incident observability was last changed. */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastObservabilityChangeTime; + /** * Immutable. Name of the security incident resource. Format: * organizations/{org}/environments/{environment}/securityIncidents/{incident} @@ -9201,6 +9255,22 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. Indicates if the user archived this incident. + * + * Likely values: + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityIncident_Observability_Active + * The incident is currently active. Can change to this status from + * archived. (Value: "ACTIVE") + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityIncident_Observability_Archived + * The incident is currently archived and was archived by the customer. + * (Value: "ARCHIVED") + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityIncident_Observability_ObservabilityUnspecified + * The incident observability is unspecified. (Value: + * "OBSERVABILITY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *observability; + /** * Output only. Risk level of the incident. * @@ -9238,8 +9308,8 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; -/** Display name of the security profile. */ -@property(nonatomic, copy, nullable) NSString *displayName; +/** DEPRECATED: DO NOT USE Display name of the security profile. */ +@property(nonatomic, copy, nullable) NSString *displayName GTLR_DEPRECATED; /** List of environments attached to security profile. */ @property(nonatomic, strong, nullable) NSArray *environments; @@ -9280,11 +9350,11 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType @property(nonatomic, strong, nullable) NSNumber *revisionId; /** - * Output only. The time when revision was published. Once published, the - * security profile revision cannot be updated further and can be attached to - * environments. + * Output only. DEPRECATED: DO NOT USE The time when revision was published. + * Once published, the security profile revision cannot be updated further and + * can be attached to environments. */ -@property(nonatomic, strong, nullable) GTLRDateTime *revisionPublishTime; +@property(nonatomic, strong, nullable) GTLRDateTime *revisionPublishTime GTLR_DEPRECATED; /** Output only. The time when revision was updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *revisionUpdateTime; @@ -9326,11 +9396,11 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType @property(nonatomic, copy, nullable) NSString *name; /** - * Revision ID of the security profile. + * DEPRECATED: DO NOT USE Revision ID of the security profile. * * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *securityProfileRevisionId; +@property(nonatomic, strong, nullable) NSNumber *securityProfileRevisionId GTLR_DEPRECATED; @end @@ -9621,6 +9691,28 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType @end +/** + * SecuritySettings reflects the current state of the SecuritySettings feature. + */ +@interface GTLRApigee_GoogleCloudApigeeV1SecuritySettings : GTLRObject + +/** + * Optional. If true the user consents to the use of ML models for Abuse + * detection. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *mlRetrainingFeedbackEnabled; + +/** + * Identifier. Full resource name is always + * `organizations/{org}/securitySettings`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * GTLRApigee_GoogleCloudApigeeV1ServiceIssuersMapping */ @@ -10458,6 +10550,29 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType @end +/** + * Request for UpdateSecurityIncident. + */ +@interface GTLRApigee_GoogleCloudApigeeV1UpdateSecurityIncidentRequest : GTLRObject + +/** + * Required. The security incident to update. Must contain all existing + * populated fields of the current incident. + */ +@property(nonatomic, strong, nullable) GTLRApigee_GoogleCloudApigeeV1SecurityIncident *securityIncident; + +/** + * Required. The list of fields to update. Allowed fields are: + * LINT.IfChange(allowed_update_fields_comment) - observability + * LINT.ThenChange() + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + /** * Specifies the audit configuration for a service. The configuration * determines which permission types are logged, and what identities, if any, @@ -10558,9 +10673,25 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -10574,7 +10705,10 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h index 6fc95def7..654719407 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h @@ -8066,6 +8066,45 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; @end +/** + * BatchUpdateSecurityIncident updates multiple existing security incidents. + * + * Method: apigee.organizations.environments.securityIncidents.batchUpdate + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsEnvironmentsSecurityIncidentsBatchUpdate : GTLRApigeeQuery + +/** + * Optional. The parent resource shared by all security incidents being + * updated. If this is set, the parent field in the + * UpdateSecurityIncidentRequest messages must either be empty or match this + * field. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRApigee_GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse. + * + * BatchUpdateSecurityIncident updates multiple existing security incidents. + * + * @param object The @c + * GTLRApigee_GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest to + * include in the query. + * @param parent Optional. The parent resource shared by all security incidents + * being updated. If this is set, the parent field in the + * UpdateSecurityIncidentRequest messages must either be empty or match this + * field. + * + * @return GTLRApigeeQuery_OrganizationsEnvironmentsSecurityIncidentsBatchUpdate + */ ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest *)object + parent:(NSString *)parent; + +@end + /** * GetSecurityIncident gets the specified security incident. Returns NOT_FOUND * if security incident is not present for the specified organization and @@ -8161,6 +8200,52 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; @end +/** + * UpdateSecurityIncidents updates an existing security incident. + * + * Method: apigee.organizations.environments.securityIncidents.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsEnvironmentsSecurityIncidentsPatch : GTLRApigeeQuery + +/** + * Immutable. Name of the security incident resource. Format: + * organizations/{org}/environments/{environment}/securityIncidents/{incident} + * Example: + * organizations/apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111 + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The list of fields to update. Allowed fields are: + * LINT.IfChange(allowed_update_fields_comment) - observability + * LINT.ThenChange() + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRApigee_GoogleCloudApigeeV1SecurityIncident. + * + * UpdateSecurityIncidents updates an existing security incident. + * + * @param object The @c GTLRApigee_GoogleCloudApigeeV1SecurityIncident to + * include in the query. + * @param name Immutable. Name of the security incident resource. Format: + * organizations/{org}/environments/{environment}/securityIncidents/{incident} + * Example: + * organizations/apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111 + * + * @return GTLRApigeeQuery_OrganizationsEnvironmentsSecurityIncidentsPatch + */ ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1SecurityIncident *)object + name:(NSString *)name; + +@end + /** * Submit a report request to be processed in the background. If the submission * succeeds, the API returns a 200 status and an ID that refer to the report @@ -9585,6 +9670,36 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; @end +/** + * GetSecuritySettings gets the security settings for API Security. + * + * Method: apigee.organizations.getSecuritySettings + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsGetSecuritySettings : GTLRApigeeQuery + +/** + * Required. The name of the SecuritySettings to retrieve. This will always be: + * 'organizations/{org}/securitySettings'. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRApigee_GoogleCloudApigeeV1SecuritySettings. + * + * GetSecuritySettings gets the security settings for API Security. + * + * @param name Required. The name of the SecuritySettings to retrieve. This + * will always be: 'organizations/{org}/securitySettings'. + * + * @return GTLRApigeeQuery_OrganizationsGetSecuritySettings + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Lists the service accounts with the permissions required to allow the * Synchronizer to download environment data from the control plane. An ETag is @@ -12387,6 +12502,49 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; @end +/** + * UpdateSecuritySettings updates the current security settings for API + * Security. + * + * Method: apigee.organizations.updateSecuritySettings + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsUpdateSecuritySettings : GTLRApigeeQuery + +/** + * Identifier. Full resource name is always + * `organizations/{org}/securitySettings`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to update. Allowed fields are: - + * ml_retraining_feedback_enabled + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRApigee_GoogleCloudApigeeV1SecuritySettings. + * + * UpdateSecuritySettings updates the current security settings for API + * Security. + * + * @param object The @c GTLRApigee_GoogleCloudApigeeV1SecuritySettings to + * include in the query. + * @param name Identifier. Full resource name is always + * `organizations/{org}/securitySettings`. + * + * @return GTLRApigeeQuery_OrganizationsUpdateSecuritySettings + */ ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1SecuritySettings *)object + name:(NSString *)name; + +@end + /** * Provisions a new Apigee organization with a functioning runtime. This is the * standard way to create trial organizations for a free Apigee trial. diff --git a/Sources/GeneratedServices/AppHub/GTLRAppHubObjects.m b/Sources/GeneratedServices/AppHub/GTLRAppHubObjects.m new file mode 100644 index 000000000..254675f3b --- /dev/null +++ b/Sources/GeneratedServices/AppHub/GTLRAppHubObjects.m @@ -0,0 +1,325 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// App Hub API (apphub/v1) +// Documentation: +// https://cloud.google.com/app-hub/docs/ + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRAppHub_AuditLogConfig.logType +NSString * const kGTLRAppHub_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; +NSString * const kGTLRAppHub_AuditLogConfig_LogType_DataRead = @"DATA_READ"; +NSString * const kGTLRAppHub_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; +NSString * const kGTLRAppHub_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_AuditConfig +// + +@implementation GTLRAppHub_AuditConfig +@dynamic auditLogConfigs, service; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditLogConfigs" : [GTLRAppHub_AuditLogConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_AuditLogConfig +// + +@implementation GTLRAppHub_AuditLogConfig +@dynamic exemptedMembers, logType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"exemptedMembers" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_Binding +// + +@implementation GTLRAppHub_Binding +@dynamic condition, members, role; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"members" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_CancelOperationRequest +// + +@implementation GTLRAppHub_CancelOperationRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_Empty +// + +@implementation GTLRAppHub_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_Expr +// + +@implementation GTLRAppHub_Expr +@dynamic descriptionProperty, expression, location, title; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_ListLocationsResponse +// + +@implementation GTLRAppHub_ListLocationsResponse +@dynamic locations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRAppHub_Location class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"locations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_ListOperationsResponse +// + +@implementation GTLRAppHub_ListOperationsResponse +@dynamic nextPageToken, operations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRAppHub_Operation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"operations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_Location +// + +@implementation GTLRAppHub_Location +@dynamic displayName, labels, locationId, metadata, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_Location_Labels +// + +@implementation GTLRAppHub_Location_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_Location_Metadata +// + +@implementation GTLRAppHub_Location_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_Operation +// + +@implementation GTLRAppHub_Operation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_Operation_Metadata +// + +@implementation GTLRAppHub_Operation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_Operation_Response +// + +@implementation GTLRAppHub_Operation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_Policy +// + +@implementation GTLRAppHub_Policy +@dynamic auditConfigs, bindings, ETag, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditConfigs" : [GTLRAppHub_AuditConfig class], + @"bindings" : [GTLRAppHub_Binding class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_SetIamPolicyRequest +// + +@implementation GTLRAppHub_SetIamPolicyRequest +@dynamic policy, updateMask; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_Status +// + +@implementation GTLRAppHub_Status +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLRAppHub_Status_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_Status_Details_Item +// + +@implementation GTLRAppHub_Status_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_TestIamPermissionsRequest +// + +@implementation GTLRAppHub_TestIamPermissionsRequest +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAppHub_TestIamPermissionsResponse +// + +@implementation GTLRAppHub_TestIamPermissionsResponse +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end diff --git a/Sources/GeneratedServices/AppHub/GTLRAppHubQuery.m b/Sources/GeneratedServices/AppHub/GTLRAppHubQuery.m new file mode 100644 index 000000000..d256afc0b --- /dev/null +++ b/Sources/GeneratedServices/AppHub/GTLRAppHubQuery.m @@ -0,0 +1,214 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// App Hub API (apphub/v1) +// Documentation: +// https://cloud.google.com/app-hub/docs/ + +#import + +@implementation GTLRAppHubQuery + +@dynamic fields; + +@end + +@implementation GTLRAppHubQuery_ProjectsLocationsApplicationsGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRAppHubQuery_ProjectsLocationsApplicationsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRAppHub_Policy class]; + query.loggingName = @"apphub.projects.locations.applications.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRAppHubQuery_ProjectsLocationsApplicationsSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRAppHub_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"; + GTLRAppHubQuery_ProjectsLocationsApplicationsSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRAppHub_Policy class]; + query.loggingName = @"apphub.projects.locations.applications.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRAppHubQuery_ProjectsLocationsApplicationsTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRAppHub_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"; + GTLRAppHubQuery_ProjectsLocationsApplicationsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRAppHub_TestIamPermissionsResponse class]; + query.loggingName = @"apphub.projects.locations.applications.testIamPermissions"; + return query; +} + +@end + +@implementation GTLRAppHubQuery_ProjectsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAppHubQuery_ProjectsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAppHub_Location class]; + query.loggingName = @"apphub.projects.locations.get"; + return query; +} + +@end + +@implementation GTLRAppHubQuery_ProjectsLocationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/locations"; + GTLRAppHubQuery_ProjectsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAppHub_ListLocationsResponse class]; + query.loggingName = @"apphub.projects.locations.list"; + return query; +} + +@end + +@implementation GTLRAppHubQuery_ProjectsLocationsOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAppHub_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"; + GTLRAppHubQuery_ProjectsLocationsOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAppHub_Empty class]; + query.loggingName = @"apphub.projects.locations.operations.cancel"; + return query; +} + +@end + +@implementation GTLRAppHubQuery_ProjectsLocationsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAppHubQuery_ProjectsLocationsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAppHub_Empty class]; + query.loggingName = @"apphub.projects.locations.operations.delete"; + return query; +} + +@end + +@implementation GTLRAppHubQuery_ProjectsLocationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAppHubQuery_ProjectsLocationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAppHub_Operation class]; + query.loggingName = @"apphub.projects.locations.operations.get"; + return query; +} + +@end + +@implementation GTLRAppHubQuery_ProjectsLocationsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRAppHubQuery_ProjectsLocationsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAppHub_ListOperationsResponse class]; + query.loggingName = @"apphub.projects.locations.operations.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/AppHub/GTLRAppHubService.m b/Sources/GeneratedServices/AppHub/GTLRAppHubService.m new file mode 100644 index 000000000..6afb737e3 --- /dev/null +++ b/Sources/GeneratedServices/AppHub/GTLRAppHubService.m @@ -0,0 +1,33 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// App Hub API (apphub/v1) +// Documentation: +// https://cloud.google.com/app-hub/docs/ + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeAppHubCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRAppHubService +// + +@implementation GTLRAppHubService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://apphub.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHub.h b/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHub.h new file mode 100644 index 000000000..f2084d762 --- /dev/null +++ b/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHub.h @@ -0,0 +1,11 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// App Hub API (apphub/v1) +// Documentation: +// https://cloud.google.com/app-hub/docs/ + +#import "GTLRAppHubObjects.h" +#import "GTLRAppHubQuery.h" +#import "GTLRAppHubService.h" diff --git a/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubObjects.h b/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubObjects.h new file mode 100644 index 000000000..543ebb92f --- /dev/null +++ b/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubObjects.h @@ -0,0 +1,640 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// App Hub API (apphub/v1) +// Documentation: +// https://cloud.google.com/app-hub/docs/ + +#import + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +@class GTLRAppHub_AuditConfig; +@class GTLRAppHub_AuditLogConfig; +@class GTLRAppHub_Binding; +@class GTLRAppHub_Expr; +@class GTLRAppHub_Location; +@class GTLRAppHub_Location_Labels; +@class GTLRAppHub_Location_Metadata; +@class GTLRAppHub_Operation; +@class GTLRAppHub_Operation_Metadata; +@class GTLRAppHub_Operation_Response; +@class GTLRAppHub_Policy; +@class GTLRAppHub_Status; +@class GTLRAppHub_Status_Details_Item; + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +// ---------------------------------------------------------------------------- +// Constants - For some of the classes' properties below. + +// ---------------------------------------------------------------------------- +// GTLRAppHub_AuditLogConfig.logType + +/** + * Admin reads. Example: CloudIAM getIamPolicy + * + * Value: "ADMIN_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppHub_AuditLogConfig_LogType_AdminRead; +/** + * Data reads. Example: CloudSQL Users list + * + * Value: "DATA_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppHub_AuditLogConfig_LogType_DataRead; +/** + * Data writes. Example: CloudSQL Users create + * + * Value: "DATA_WRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppHub_AuditLogConfig_LogType_DataWrite; +/** + * Default case. Should never be this. + * + * Value: "LOG_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAppHub_AuditLogConfig_LogType_LogTypeUnspecified; + +/** + * 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 GTLRAppHub_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 GTLRAppHub_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 kGTLRAppHub_AuditLogConfig_LogType_AdminRead Admin reads. Example: + * CloudIAM getIamPolicy (Value: "ADMIN_READ") + * @arg @c kGTLRAppHub_AuditLogConfig_LogType_DataRead Data reads. Example: + * CloudSQL Users list (Value: "DATA_READ") + * @arg @c kGTLRAppHub_AuditLogConfig_LogType_DataWrite Data writes. Example: + * CloudSQL Users create (Value: "DATA_WRITE") + * @arg @c kGTLRAppHub_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 GTLRAppHub_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) GTLRAppHub_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 GTLRAppHub_CancelOperationRequest : GTLRObject +@end + + +/** + * A generic empty message that you can re-use to avoid defining duplicated + * empty messages in your APIs. A typical example is to use it as the request + * or the response type of an API method. For instance: service Foo { rpc + * Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + */ +@interface GTLRAppHub_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 GTLRAppHub_Expr : GTLRObject + +/** + * Optional. Description of the expression. This is a longer text which + * describes the expression, e.g. when hovered over it in a UI. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Textual representation of an expression in Common Expression Language + * syntax. + */ +@property(nonatomic, copy, nullable) NSString *expression; + +/** + * Optional. String indicating the location of the expression for error + * reporting, e.g. a file name and a position in the file. + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Optional. Title for the expression, i.e. a short string describing its + * purpose. This can be used e.g. in UIs which allow to enter the expression. + */ +@property(nonatomic, copy, nullable) NSString *title; + +@end + + +/** + * The 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 GTLRAppHub_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 GTLRAppHub_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 GTLRAppHub_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) GTLRAppHub_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) GTLRAppHub_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 GTLRAppHub_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 GTLRAppHub_Location_Metadata : GTLRObject +@end + + +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLRAppHub_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) GTLRAppHub_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) GTLRAppHub_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) GTLRAppHub_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 GTLRAppHub_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 GTLRAppHub_Operation_Response : GTLRObject +@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 GTLRAppHub_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 `SetIamPolicy` method. + */ +@interface GTLRAppHub_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) GTLRAppHub_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 GTLRAppHub_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 + + +/** + * GTLRAppHub_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 GTLRAppHub_Status_Details_Item : GTLRObject +@end + + +/** + * Request message for `TestIamPermissions` method. + */ +@interface GTLRAppHub_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 GTLRAppHub_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/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubQuery.h b/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubQuery.h new file mode 100644 index 000000000..4bee2050e --- /dev/null +++ b/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubQuery.h @@ -0,0 +1,391 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// App Hub API (apphub/v1) +// Documentation: +// https://cloud.google.com/app-hub/docs/ + +#import + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +#import "GTLRAppHubObjects.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 App Hub query classes. + */ +@interface GTLRAppHubQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@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: apphub.projects.locations.applications.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppHubCloudPlatform + */ +@interface GTLRAppHubQuery_ProjectsLocationsApplicationsGetIamPolicy : GTLRAppHubQuery + +/** + * 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 GTLRAppHub_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 GTLRAppHubQuery_ProjectsLocationsApplicationsGetIamPolicy + */ ++ (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: apphub.projects.locations.applications.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppHubCloudPlatform + */ +@interface GTLRAppHubQuery_ProjectsLocationsApplicationsSetIamPolicy : GTLRAppHubQuery + +/** + * 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 GTLRAppHub_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 GTLRAppHub_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 GTLRAppHubQuery_ProjectsLocationsApplicationsSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRAppHub_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: apphub.projects.locations.applications.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppHubCloudPlatform + */ +@interface GTLRAppHubQuery_ProjectsLocationsApplicationsTestIamPermissions : GTLRAppHubQuery + +/** + * 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 GTLRAppHub_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 GTLRAppHub_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 GTLRAppHubQuery_ProjectsLocationsApplicationsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRAppHub_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Gets information about a location. + * + * Method: apphub.projects.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppHubCloudPlatform + */ +@interface GTLRAppHubQuery_ProjectsLocationsGet : GTLRAppHubQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAppHub_Location. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLRAppHubQuery_ProjectsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists information about the supported locations for this service. + * + * Method: apphub.projects.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppHubCloudPlatform + */ +@interface GTLRAppHubQuery_ProjectsLocationsList : GTLRAppHubQuery + +/** + * 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 GTLRAppHub_ListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLRAppHubQuery_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: apphub.projects.locations.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppHubCloudPlatform + */ +@interface GTLRAppHubQuery_ProjectsLocationsOperationsCancel : GTLRAppHubQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAppHub_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 GTLRAppHub_CancelOperationRequest to include in the + * query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRAppHubQuery_ProjectsLocationsOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRAppHub_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: apphub.projects.locations.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppHubCloudPlatform + */ +@interface GTLRAppHubQuery_ProjectsLocationsOperationsDelete : GTLRAppHubQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAppHub_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 GTLRAppHubQuery_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: apphub.projects.locations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppHubCloudPlatform + */ +@interface GTLRAppHubQuery_ProjectsLocationsOperationsGet : GTLRAppHubQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAppHub_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 GTLRAppHubQuery_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: apphub.projects.locations.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppHubCloudPlatform + */ +@interface GTLRAppHubQuery_ProjectsLocationsOperationsList : GTLRAppHubQuery + +/** 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 GTLRAppHub_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 GTLRAppHubQuery_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/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubService.h b/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubService.h new file mode 100644 index 000000000..a14b6c611 --- /dev/null +++ b/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubService.h @@ -0,0 +1,69 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// App Hub API (apphub/v1) +// Documentation: +// https://cloud.google.com/app-hub/docs/ + +#import + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +// ---------------------------------------------------------------------------- +// Authorization scope + +/** + * Authorization scope: See, edit, configure, and delete your Google Cloud data + * and see the email address for your Google Account. + * + * Value "https://www.googleapis.com/auth/cloud-platform" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeAppHubCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRAppHubService +// + +/** + * Service for executing App Hub API queries. + */ +@interface GTLRAppHubService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRAppHubQuery.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/ArtifactRegistry/GTLRArtifactRegistryObjects.m b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m index 152e8854c..a598bd20b 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m +++ b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m @@ -201,7 +201,7 @@ @implementation GTLRArtifactRegistry_CleanupPolicy @implementation GTLRArtifactRegistry_CleanupPolicyCondition @dynamic newerThan, olderThan, packageNamePrefixes, tagPrefixes, tagState, - versionAge, versionNamePrefixes; + versionNamePrefixes; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h index 4effa3334..999284f33 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h +++ b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h @@ -723,9 +723,6 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType */ @property(nonatomic, copy, nullable) NSString *tagState; -/** DEPRECATED: Use older_than. */ -@property(nonatomic, strong, nullable) GTLRDuration *versionAge GTLR_DEPRECATED; - /** Match versions by version name prefix. Applied on any prefix match. */ @property(nonatomic, strong, nullable) NSArray *versionNamePrefixes; diff --git a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m index 03d214fcc..c8f54c1c4 100644 --- a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m +++ b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m @@ -214,6 +214,15 @@ @implementation GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkload @end +// ---------------------------------------------------------------------------- +// +// GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse +// + +@implementation GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse +@end + + // ---------------------------------------------------------------------------- // // GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1ListViolationsResponse diff --git a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsQuery.m b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsQuery.m index 7f2560ff8..9a8d084f1 100644 --- a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsQuery.m +++ b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsQuery.m @@ -128,6 +128,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRAssuredworkloadsQuery_OrganizationsLocationsWorkloadsEnableResourceMonitoring + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:enableResourceMonitoring"; + GTLRAssuredworkloadsQuery_OrganizationsLocationsWorkloadsEnableResourceMonitoring *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse class]; + query.loggingName = @"assuredworkloads.organizations.locations.workloads.enableResourceMonitoring"; + return query; +} + +@end + @implementation GTLRAssuredworkloadsQuery_OrganizationsLocationsWorkloadsGet @dynamic name; diff --git a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h index f76854289..d4f58435d 100644 --- a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h +++ b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h @@ -711,7 +711,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse_SetupStatus_StatusPending; /** - * Request for acknowledging the violation Next Id: 5 + * Request for acknowledging the violation */ @interface GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest : GTLRObject @@ -875,6 +875,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl @end +/** + * Response for EnableResourceMonitoring endpoint. + */ +@interface GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse : GTLRObject +@end + + /** * Response of ListViolations endpoint. * diff --git a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsQuery.h b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsQuery.h index 88a268464..17f8b96c4 100644 --- a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsQuery.h +++ b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsQuery.h @@ -265,6 +265,38 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Enable resource violation monitoring for a workload. + * + * Method: assuredworkloads.organizations.locations.workloads.enableResourceMonitoring + * + * Authorization scope(s): + * @c kGTLRAuthScopeAssuredworkloadsCloudPlatform + */ +@interface GTLRAssuredworkloadsQuery_OrganizationsLocationsWorkloadsEnableResourceMonitoring : GTLRAssuredworkloadsQuery + +/** + * Required. The `name` field is used to identify the workload. Format: + * organizations/{org_id}/locations/{location_id}/workloads/{workload_id} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse. + * + * Enable resource violation monitoring for a workload. + * + * @param name Required. The `name` field is used to identify the workload. + * Format: + * organizations/{org_id}/locations/{location_id}/workloads/{workload_id} + * + * @return GTLRAssuredworkloadsQuery_OrganizationsLocationsWorkloadsEnableResourceMonitoring + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Gets Assured Workload associated with a CRM Node * diff --git a/Sources/GeneratedServices/AuthorizedBuyersMarketplace/GTLRAuthorizedBuyersMarketplaceObjects.m b/Sources/GeneratedServices/AuthorizedBuyersMarketplace/GTLRAuthorizedBuyersMarketplaceObjects.m index dbe6b69cd..0007ec7f1 100644 --- a/Sources/GeneratedServices/AuthorizedBuyersMarketplace/GTLRAuthorizedBuyersMarketplaceObjects.m +++ b/Sources/GeneratedServices/AuthorizedBuyersMarketplace/GTLRAuthorizedBuyersMarketplaceObjects.m @@ -39,6 +39,7 @@ NSString * const kGTLRAuthorizedBuyersMarketplace_ClientUser_State_StateUnspecified = @"STATE_UNSPECIFIED"; // GTLRAuthorizedBuyersMarketplace_CreativeRequirements.creativeFormat +NSString * const kGTLRAuthorizedBuyersMarketplace_CreativeRequirements_CreativeFormat_Audio = @"AUDIO"; NSString * const kGTLRAuthorizedBuyersMarketplace_CreativeRequirements_CreativeFormat_CreativeFormatUnspecified = @"CREATIVE_FORMAT_UNSPECIFIED"; NSString * const kGTLRAuthorizedBuyersMarketplace_CreativeRequirements_CreativeFormat_Display = @"DISPLAY"; NSString * const kGTLRAuthorizedBuyersMarketplace_CreativeRequirements_CreativeFormat_Video = @"VIDEO"; diff --git a/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceObjects.h b/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceObjects.h index a5be05210..8d71f27a9 100644 --- a/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceObjects.h +++ b/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceObjects.h @@ -193,6 +193,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthorizedBuyersMarketplace_ClientUser_S // ---------------------------------------------------------------------------- // GTLRAuthorizedBuyersMarketplace_CreativeRequirements.creativeFormat +/** + * Audio creatives that can play during audio content or point to a third party + * ad server. + * + * Value: "AUDIO" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthorizedBuyersMarketplace_CreativeRequirements_CreativeFormat_Audio; /** * A placeholder for an unspecified creative format. * @@ -1354,6 +1361,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthorizedBuyersMarketplace_VideoTargeti * guaranteed and preferred deals. * * Likely values: + * @arg @c kGTLRAuthorizedBuyersMarketplace_CreativeRequirements_CreativeFormat_Audio + * Audio creatives that can play during audio content or point to a third + * party ad server. (Value: "AUDIO") * @arg @c kGTLRAuthorizedBuyersMarketplace_CreativeRequirements_CreativeFormat_CreativeFormatUnspecified * A placeholder for an unspecified creative format. (Value: * "CREATIVE_FORMAT_UNSPECIFIED") diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m index b47502528..a80858f4b 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m @@ -14,6 +14,33 @@ @implementation GTLRBackupdrQuery @end +@implementation GTLRBackupdrQuery_ProjectsLocationsBackupVaultsTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRBackupdr_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"; + GTLRBackupdrQuery_ProjectsLocationsBackupVaultsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRBackupdr_TestIamPermissionsResponse class]; + query.loggingName = @"backupdr.projects.locations.backupVaults.testIamPermissions"; + return query; +} + +@end + @implementation GTLRBackupdrQuery_ProjectsLocationsGet @dynamic name; diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h index 7695e904c..02a8380af 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h @@ -259,9 +259,25 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_NetworkConfig_PeeringMode_Priva * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -275,7 +291,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_NetworkConfig_PeeringMode_Priva * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -576,7 +595,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_NetworkConfig_PeeringMode_Priva @property(nonatomic, copy, nullable) NSString *state; /** - * Required. The type of the ManagementServer resource. + * Optional. The type of the ManagementServer resource. * * Likely values: * @arg @c kGTLRBackupdr_ManagementServer_Type_BackupRestore Instance for diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h index 00b6f0994..e63355e5f 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h @@ -31,6 +31,50 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * `NOT_FOUND` error. Note: This operation is designed to be used for building + * permission-aware UIs and command-line tools, not for authorization checking. + * This operation may "fail open" without warning. + * + * Method: backupdr.projects.locations.backupVaults.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeBackupdrCloudPlatform + */ +@interface GTLRBackupdrQuery_ProjectsLocationsBackupVaultsTestIamPermissions : GTLRBackupdrQuery + +/** + * 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 GTLRBackupdr_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 GTLRBackupdr_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 GTLRBackupdrQuery_ProjectsLocationsBackupVaultsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRBackupdr_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Gets information about a location. * diff --git a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h index 5dddf501a..23526b1de 100644 --- a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h +++ b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h @@ -1879,7 +1879,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo /** * Represents both a request to Restore some portion of a Backup into a target - * GKE cluster and a record of the restore operation itself. Next id: 19 + * GKE cluster and a record of the restore operation itself. Next id: 20 */ @interface GTLRBackupforGKE_Restore : GTLRObject @@ -2021,7 +2021,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo /** - * Configuration of a restore. Next id: 12 + * Configuration of a restore. Next id: 14 */ @interface GTLRBackupforGKE_RestoreConfig : GTLRObject diff --git a/Sources/GeneratedServices/BareMetalSolution/GTLRBareMetalSolutionObjects.m b/Sources/GeneratedServices/BareMetalSolution/GTLRBareMetalSolutionObjects.m index e6175492a..3ea0a846a 100644 --- a/Sources/GeneratedServices/BareMetalSolution/GTLRBareMetalSolutionObjects.m +++ b/Sources/GeneratedServices/BareMetalSolution/GTLRBareMetalSolutionObjects.m @@ -310,9 +310,10 @@ @implementation GTLRBareMetalSolution_GoogleCloudBaremetalsolutionV2ServerNetwor @implementation GTLRBareMetalSolution_Instance @dynamic createTime, firmwareVersion, hyperthreadingEnabled, identifier, - interactiveSerialConsoleEnabled, labels, logicalInterfaces, loginInfo, - luns, machineType, name, networks, networkTemplate, osImage, pod, - state, updateTime, volumes, workloadProfile; + interactiveSerialConsoleEnabled, kmsKeyVersion, labels, + logicalInterfaces, loginInfo, luns, machineType, name, networks, + networkTemplate, osImage, pod, sshKeys, state, updateTime, volumes, + workloadProfile; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -323,6 +324,7 @@ @implementation GTLRBareMetalSolution_Instance @"logicalInterfaces" : [GTLRBareMetalSolution_GoogleCloudBaremetalsolutionV2LogicalInterface class], @"luns" : [GTLRBareMetalSolution_Lun class], @"networks" : [GTLRBareMetalSolution_Network class], + @"sshKeys" : [NSString class], @"volumes" : [GTLRBareMetalSolution_Volume class] }; return map; @@ -352,8 +354,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRBareMetalSolution_InstanceConfig @dynamic accountNetworksEnabled, clientNetwork, hyperthreading, identifier, - instanceType, logicalInterfaces, name, networkConfig, networkTemplate, - osImage, privateNetwork, sshKeyNames, userNote; + instanceType, kmsKeyVersion, logicalInterfaces, name, networkConfig, + networkTemplate, osImage, privateNetwork, sshKeyNames, userNote; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -639,6 +641,38 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRBareMetalSolution_LoadInstanceAuthInfoResponse +// + +@implementation GTLRBareMetalSolution_LoadInstanceAuthInfoResponse +@dynamic sshKeys, userAccounts; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sshKeys" : [GTLRBareMetalSolution_SSHKey class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBareMetalSolution_LoadInstanceAuthInfoResponse_UserAccounts +// + +@implementation GTLRBareMetalSolution_LoadInstanceAuthInfoResponse_UserAccounts + ++ (Class)classForAdditionalProperties { + return [GTLRBareMetalSolution_UserAccount class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBareMetalSolution_Location @@ -1194,6 +1228,16 @@ @implementation GTLRBareMetalSolution_SubmitProvisioningConfigResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRBareMetalSolution_UserAccount +// + +@implementation GTLRBareMetalSolution_UserAccount +@dynamic encryptedPassword, kmsKeyVersion; +@end + + // ---------------------------------------------------------------------------- // // GTLRBareMetalSolution_VlanAttachment diff --git a/Sources/GeneratedServices/BareMetalSolution/GTLRBareMetalSolutionQuery.m b/Sources/GeneratedServices/BareMetalSolution/GTLRBareMetalSolutionQuery.m index 46d40c8c3..503c43bd7 100644 --- a/Sources/GeneratedServices/BareMetalSolution/GTLRBareMetalSolutionQuery.m +++ b/Sources/GeneratedServices/BareMetalSolution/GTLRBareMetalSolutionQuery.m @@ -155,6 +155,25 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRBareMetalSolutionQuery_ProjectsLocationsInstancesLoadAuthInfo + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}:loadAuthInfo"; + GTLRBareMetalSolutionQuery_ProjectsLocationsInstancesLoadAuthInfo *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBareMetalSolution_LoadInstanceAuthInfoResponse class]; + query.loggingName = @"baremetalsolution.projects.locations.instances.loadAuthInfo"; + return query; +} + +@end + @implementation GTLRBareMetalSolutionQuery_ProjectsLocationsInstancesPatch @dynamic name, updateMask; diff --git a/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionObjects.h b/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionObjects.h index 1760d95ca..3ac64dbcd 100644 --- a/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionObjects.h +++ b/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionObjects.h @@ -23,6 +23,7 @@ @class GTLRBareMetalSolution_InstanceConfig; @class GTLRBareMetalSolution_InstanceQuota; @class GTLRBareMetalSolution_IntakeVlanAttachment; +@class GTLRBareMetalSolution_LoadInstanceAuthInfoResponse_UserAccounts; @class GTLRBareMetalSolution_Location; @class GTLRBareMetalSolution_Location_Labels; @class GTLRBareMetalSolution_Location_Metadata; @@ -49,6 +50,7 @@ @class GTLRBareMetalSolution_SSHKey; @class GTLRBareMetalSolution_Status; @class GTLRBareMetalSolution_Status_Details_Item; +@class GTLRBareMetalSolution_UserAccount; @class GTLRBareMetalSolution_VlanAttachment; @class GTLRBareMetalSolution_Volume; @class GTLRBareMetalSolution_Volume_Labels; @@ -1126,6 +1128,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBareMetalSolution_VRF_State_StateUnspeci */ @property(nonatomic, strong, nullable) NSNumber *interactiveSerialConsoleEnabled; +/** + * Optional. Name of the KMS crypto key version used to encrypt the initial + * passwords. The key has to have ASYMMETRIC_DECRYPT purpose. Format is + * `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`. + */ +@property(nonatomic, copy, nullable) NSString *kmsKeyVersion; + /** Labels as key value pairs. */ @property(nonatomic, strong, nullable) GTLRBareMetalSolution_Instance_Labels *labels; @@ -1179,6 +1188,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBareMetalSolution_VRF_State_StateUnspeci */ @property(nonatomic, copy, nullable) NSString *pod; +/** Optional. List of SSH Keys used during instance provisioning. */ +@property(nonatomic, strong, nullable) NSArray *sshKeys; + /** * Output only. The state of the server. * @@ -1278,6 +1290,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBareMetalSolution_VRF_State_StateUnspeci */ @property(nonatomic, copy, nullable) NSString *instanceType; +/** + * Name of the KMS crypto key version used to encrypt the initial passwords. + * The key has to have ASYMMETRIC_DECRYPT purpose. + */ +@property(nonatomic, copy, nullable) NSString *kmsKeyVersion; + /** * List of logical interfaces for the instance. The number of logical * interfaces will be the same as number of hardware bond/nic on the chosen @@ -1658,6 +1676,32 @@ FOUNDATION_EXTERN NSString * const kGTLRBareMetalSolution_VRF_State_StateUnspeci @end +/** + * Response for LoadInstanceAuthInfo. + */ +@interface GTLRBareMetalSolution_LoadInstanceAuthInfoResponse : GTLRObject + +/** List of ssh keys. */ +@property(nonatomic, strong, nullable) NSArray *sshKeys; + +/** Map of username to the user account info. */ +@property(nonatomic, strong, nullable) GTLRBareMetalSolution_LoadInstanceAuthInfoResponse_UserAccounts *userAccounts; + +@end + + +/** + * Map of username to the user account info. + * + * @note This class is documented as having more properties of + * GTLRBareMetalSolution_UserAccount. 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 GTLRBareMetalSolution_LoadInstanceAuthInfoResponse_UserAccounts : GTLRObject +@end + + /** * A resource that represents a Google Cloud location. */ @@ -1814,7 +1858,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBareMetalSolution_VRF_State_StateUnspeci @property(nonatomic, strong, nullable) NSNumber *shareable; /** - * The size of this LUN, in gigabytes. + * The size of this LUN, in GiB. * * Uses NSNumber of longLongValue. */ @@ -2886,6 +2930,20 @@ FOUNDATION_EXTERN NSString * const kGTLRBareMetalSolution_VRF_State_StateUnspeci @end +/** + * User account provisioned for the customer. + */ +@interface GTLRBareMetalSolution_UserAccount : GTLRObject + +/** Encrypted initial password value. */ +@property(nonatomic, copy, nullable) NSString *encryptedPassword; + +/** KMS CryptoKey Version used to encrypt the password. */ +@property(nonatomic, copy, nullable) NSString *kmsKeyVersion; + +@end + + /** * VLAN attachment details. */ diff --git a/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionQuery.h b/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionQuery.h index ffca7500a..ef29656c9 100644 --- a/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionQuery.h +++ b/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionQuery.h @@ -217,6 +217,32 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Load auth info for a server. + * + * Method: baremetalsolution.projects.locations.instances.loadAuthInfo + * + * Authorization scope(s): + * @c kGTLRAuthScopeBareMetalSolutionCloudPlatform + */ +@interface GTLRBareMetalSolutionQuery_ProjectsLocationsInstancesLoadAuthInfo : GTLRBareMetalSolutionQuery + +/** Required. Name of the server. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBareMetalSolution_LoadInstanceAuthInfoResponse. + * + * Load auth info for a server. + * + * @param name Required. Name of the server. + * + * @return GTLRBareMetalSolutionQuery_ProjectsLocationsInstancesLoadAuthInfo + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Update details of a single server. * diff --git a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m index 7cb0aa5cd..0b5a3800c 100644 --- a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m +++ b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m @@ -115,6 +115,7 @@ // GTLRBigquery_RemoteModelInfo.remoteServiceType NSString * const kGTLRBigquery_RemoteModelInfo_RemoteServiceType_CloudAiNaturalLanguageV1 = @"CLOUD_AI_NATURAL_LANGUAGE_V1"; +NSString * const kGTLRBigquery_RemoteModelInfo_RemoteServiceType_CloudAiSpeechToTextV2 = @"CLOUD_AI_SPEECH_TO_TEXT_V2"; NSString * const kGTLRBigquery_RemoteModelInfo_RemoteServiceType_CloudAiTranslateV3 = @"CLOUD_AI_TRANSLATE_V3"; NSString * const kGTLRBigquery_RemoteModelInfo_RemoteServiceType_CloudAiVisionV1 = @"CLOUD_AI_VISION_V1"; NSString * const kGTLRBigquery_RemoteModelInfo_RemoteServiceType_RemoteServiceTypeUnspecified = @"REMOTE_SERVICE_TYPE_UNSPECIFIED"; @@ -420,6 +421,12 @@ NSString * const kGTLRBigquery_TrainingOptions_TreeMethod_Hist = @"HIST"; NSString * const kGTLRBigquery_TrainingOptions_TreeMethod_TreeMethodUnspecified = @"TREE_METHOD_UNSPECIFIED"; +// GTLRBigquery_VectorSearchStatistics.indexUsageMode +NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsageMode_FullyUsed = @"FULLY_USED"; +NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsageMode_IndexUsageModeUnspecified = @"INDEX_USAGE_MODE_UNSPECIFIED"; +NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsageMode_PartiallyUsed = @"PARTIALLY_USED"; +NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsageMode_Unused = @"UNUSED"; + // ---------------------------------------------------------------------------- // // GTLRBigquery_AggregateClassificationMetrics @@ -2536,7 +2543,7 @@ + (Class)classForAdditionalProperties { @implementation GTLRBigquery_RemoteModelInfo @dynamic connection, endpoint, maxBatchingRows, remoteModelVersion, - remoteServiceType; + remoteServiceType, speechRecognizer; @end @@ -3434,6 +3441,24 @@ @implementation GTLRBigquery_UserDefinedFunctionResource @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_VectorSearchStatistics +// + +@implementation GTLRBigquery_VectorSearchStatistics +@dynamic indexUnusedReasons, indexUsageMode; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"indexUnusedReasons" : [GTLRBigquery_IndexUnusedReason class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_ViewDefinition diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h index 27369e102..9aee6d7db 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h @@ -723,6 +723,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_Model_ModelType_Xgboost; * Value: "CLOUD_AI_NATURAL_LANGUAGE_V1" */ FOUNDATION_EXTERN NSString * const kGTLRBigquery_RemoteModelInfo_RemoteServiceType_CloudAiNaturalLanguageV1; +/** + * V2 Speech-to-Text API. See more details at [Google Cloud Speech-to-Text V2 + * API](https://cloud.google.com/speech-to-text/v2/docs) + * + * Value: "CLOUD_AI_SPEECH_TO_TEXT_V2" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_RemoteModelInfo_RemoteServiceType_CloudAiSpeechToTextV2; /** * V3 Cloud AI Translation API. See more details at [Cloud Translation API] * (https://cloud.google.com/translate/docs/reference/rest). @@ -2377,6 +2384,40 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_TrainingOptions_TreeMethod_Hist */ FOUNDATION_EXTERN NSString * const kGTLRBigquery_TrainingOptions_TreeMethod_TreeMethodUnspecified; +// ---------------------------------------------------------------------------- +// GTLRBigquery_VectorSearchStatistics.indexUsageMode + +/** + * The entire vector search query used vector indexes. + * + * Value: "FULLY_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsageMode_FullyUsed; +/** + * Index usage mode not specified. + * + * Value: "INDEX_USAGE_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsageMode_IndexUsageModeUnspecified; +/** + * Part of the vector search query used vector indexes. See + * [`indexUnusedReasons`] + * (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for why other parts + * of the query did not use vector indexes. + * + * Value: "PARTIALLY_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsageMode_PartiallyUsed; +/** + * No vector indexes were used in the vector search query. See + * [`indexUnusedReasons`] + * (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for detailed + * reasons. + * + * Value: "UNUSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsageMode_Unused; + /** * Aggregate metrics for classification/classifier models. For multi-class * models, the metrics are either macro-averaged or micro-averaged. When @@ -8283,6 +8324,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_TrainingOptions_TreeMethod_Tree * V1 Cloud AI Natural Language API. See more details at [REST Resource: * documents](https://cloud.google.com/natural-language/docs/reference/rest/v1/documents). * (Value: "CLOUD_AI_NATURAL_LANGUAGE_V1") + * @arg @c kGTLRBigquery_RemoteModelInfo_RemoteServiceType_CloudAiSpeechToTextV2 + * V2 Speech-to-Text API. See more details at [Google Cloud + * Speech-to-Text V2 + * API](https://cloud.google.com/speech-to-text/v2/docs) (Value: + * "CLOUD_AI_SPEECH_TO_TEXT_V2") * @arg @c kGTLRBigquery_RemoteModelInfo_RemoteServiceType_CloudAiTranslateV3 * V3 Cloud AI Translation API. See more details at [Cloud Translation * API] (https://cloud.google.com/translate/docs/reference/rest). (Value: @@ -8297,6 +8343,17 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_TrainingOptions_TreeMethod_Tree */ @property(nonatomic, copy, nullable) NSString *remoteServiceType; +/** + * Output only. The name of the speech recognizer to use for speech + * recognition. The expected format is + * `projects/{project}/locations/{location}/recognizers/{recognizer}`. + * Customers can specify this field at model creation. If not specified, a + * default recognizer `projects/{model project}/locations/global/recognizers/_` + * will be used. See more details at + * [recognizers](https://cloud.google.com/speech-to-text/v2/docs/reference/rest/v2/projects.locations.recognizers) + */ +@property(nonatomic, copy, nullable) NSString *speechRecognizer; + @end @@ -10942,6 +10999,44 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_TrainingOptions_TreeMethod_Tree @end +/** + * Statistics for a vector search query. Populated as part of JobStatistics2. + */ +@interface GTLRBigquery_VectorSearchStatistics : GTLRObject + +/** + * When `indexUsageMode` is `UNUSED` or `PARTIALLY_USED`, this field explains + * why indexes were not used in all or part of the vector search query. If + * `indexUsageMode` is `FULLY_USED`, this field is not populated. + */ +@property(nonatomic, strong, nullable) NSArray *indexUnusedReasons; + +/** + * Specifies the index usage mode for the query. + * + * Likely values: + * @arg @c kGTLRBigquery_VectorSearchStatistics_IndexUsageMode_FullyUsed The + * entire vector search query used vector indexes. (Value: "FULLY_USED") + * @arg @c kGTLRBigquery_VectorSearchStatistics_IndexUsageMode_IndexUsageModeUnspecified + * Index usage mode not specified. (Value: + * "INDEX_USAGE_MODE_UNSPECIFIED") + * @arg @c kGTLRBigquery_VectorSearchStatistics_IndexUsageMode_PartiallyUsed + * Part of the vector search query used vector indexes. See + * [`indexUnusedReasons`] + * (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for why other + * parts of the query did not use vector indexes. (Value: + * "PARTIALLY_USED") + * @arg @c kGTLRBigquery_VectorSearchStatistics_IndexUsageMode_Unused No + * vector indexes were used in the vector search query. See + * [`indexUnusedReasons`] + * (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for detailed + * reasons. (Value: "UNUSED") + */ +@property(nonatomic, copy, nullable) NSString *indexUsageMode; + +@end + + /** * GTLRBigquery_ViewDefinition */ diff --git a/Sources/GeneratedServices/BinaryAuthorization/Public/GoogleAPIClientForREST/GTLRBinaryAuthorizationObjects.h b/Sources/GeneratedServices/BinaryAuthorization/Public/GoogleAPIClientForREST/GTLRBinaryAuthorizationObjects.h index 49e240384..20a3e0bf2 100644 --- a/Sources/GeneratedServices/BinaryAuthorization/Public/GoogleAPIClientForREST/GTLRBinaryAuthorizationObjects.h +++ b/Sources/GeneratedServices/BinaryAuthorization/Public/GoogleAPIClientForREST/GTLRBinaryAuthorizationObjects.h @@ -548,7 +548,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBinaryAuthorization_VulnerabilityCheck_M /** * The IDs of the GCP projects storing the SLSA attestations as Container - * Analysis Occurrences. + * Analysis Occurrences, in the format `projects/[PROJECT_ID]`. Maximum number + * of `container_analysis_attestation_projects` allowed in each + * `AttestationSource` is 10. */ @property(nonatomic, strong, nullable) NSArray *containerAnalysisAttestationProjects; @@ -670,9 +672,25 @@ FOUNDATION_EXTERN NSString * const kGTLRBinaryAuthorization_VulnerabilityCheck_M * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -686,7 +704,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBinaryAuthorization_VulnerabilityCheck_M * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -1472,12 +1493,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBinaryAuthorization_VulnerabilityCheck_M /** * Optional. The projects where attestations are stored as Container Analysis - * Occurrences. Only one attestation needs to successfully verify an image for - * this check to pass, so a single verified attestation found in any of + * Occurrences, in the format `projects/[PROJECT_ID]`. Only one attestation + * needs to successfully verify an image for this check to pass, so a single + * verified attestation found in any of * `container_analysis_attestation_projects` is sufficient for the check to * pass. When fetching Occurrences from Container Analysis, only - * 'AttestationOccurrence' kinds are considered. In the future, additional - * Occurrence kinds may be added to the query. + * `AttestationOccurrence` kinds are considered. In the future, additional + * Occurrence kinds may be added to the query. Maximum number of + * `container_analysis_attestation_projects` allowed in each + * `SimpleSigningAttestationCheck` is 10. */ @property(nonatomic, strong, nullable) NSArray *containerAnalysisAttestationProjects; @@ -1749,7 +1773,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBinaryAuthorization_VulnerabilityCheck_M * made for each project to fetch vulnerabilities, and all valid * vulnerabilities will be used to check against the vulnerability policy. If * no valid scan is found in all projects configured here, an error will be - * returned for the check. + * returned for the check. Maximum number of + * `container_analysis_vulnerability_projects` allowed in each + * `VulnerabilityCheck` is 10. */ @property(nonatomic, strong, nullable) NSArray *containerAnalysisVulnerabilityProjects; diff --git a/Sources/GeneratedServices/BlockchainNodeEngine/GTLRBlockchainNodeEngineObjects.m b/Sources/GeneratedServices/BlockchainNodeEngine/GTLRBlockchainNodeEngineObjects.m index 2077c0a8a..20c7bc416 100644 --- a/Sources/GeneratedServices/BlockchainNodeEngine/GTLRBlockchainNodeEngineObjects.m +++ b/Sources/GeneratedServices/BlockchainNodeEngine/GTLRBlockchainNodeEngineObjects.m @@ -115,7 +115,7 @@ @implementation GTLRBlockchainNodeEngine_EndpointInfo @implementation GTLRBlockchainNodeEngine_EthereumDetails @dynamic additionalEndpoints, apiEnableAdmin, apiEnableDebug, beaconFeeRecipient, consensusClient, executionClient, gethDetails, - network, nodeType; + network, nodeType, validatorConfig; @end @@ -333,3 +333,21 @@ + (Class)classForAdditionalProperties { } @end + + +// ---------------------------------------------------------------------------- +// +// GTLRBlockchainNodeEngine_ValidatorConfig +// + +@implementation GTLRBlockchainNodeEngine_ValidatorConfig +@dynamic mevRelayUrls; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"mevRelayUrls" : [NSString class] + }; + return map; +} + +@end diff --git a/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineObjects.h b/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineObjects.h index fb22ee5e1..3192f15e0 100644 --- a/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineObjects.h +++ b/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineObjects.h @@ -27,6 +27,7 @@ @class GTLRBlockchainNodeEngine_Operation_Response; @class GTLRBlockchainNodeEngine_Status; @class GTLRBlockchainNodeEngine_Status_Details_Item; +@class GTLRBlockchainNodeEngine_ValidatorConfig; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -416,15 +417,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBlockchainNodeEngine_GethDetails_Garbage @property(nonatomic, strong, nullable) NSNumber *apiEnableDebug; /** - * An Ethereum address which the beacon client will send fee rewards to if no - * recipient is configured in the validator client. See + * Deprecated: Use the same field in the ValidatorConfig message as + * replacement. An Ethereum address which the beacon client will send fee + * rewards to if no recipient is configured in the validator client. See * https://lighthouse-book.sigmaprime.io/suggested-fee-recipient.html or * https://docs.prylabs.network/docs/execution-node/fee-recipient for examples * of how this is used. Note that while this is often described as "suggested", * as we run the execution node we can trust the execution node, and therefore * this is considered enforced. */ -@property(nonatomic, copy, nullable) NSString *beaconFeeRecipient; +@property(nonatomic, copy, nullable) NSString *beaconFeeRecipient GTLR_DEPRECATED; /** * Immutable. The consensus client. @@ -508,6 +510,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBlockchainNodeEngine_GethDetails_Garbage */ @property(nonatomic, copy, nullable) NSString *nodeType; +/** + * Configuration for validator-related parameters on the beacon client, and for + * any GCP-managed validator client. + */ +@property(nonatomic, strong, nullable) GTLRBlockchainNodeEngine_ValidatorConfig *validatorConfig; + @end @@ -875,6 +883,21 @@ FOUNDATION_EXTERN NSString * const kGTLRBlockchainNodeEngine_GethDetails_Garbage @interface GTLRBlockchainNodeEngine_Status_Details_Item : GTLRObject @end + +/** + * Configuration for validator-related parameters on the beacon client, and for + * any GCP-managed validator client. + */ +@interface GTLRBlockchainNodeEngine_ValidatorConfig : GTLRObject + +/** + * URLs for MEV-relay services to use for block building. When set, a + * GCP-managed MEV-boost service is configured on the beacon client. + */ +@property(nonatomic, strong, nullable) NSArray *mevRelayUrls; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Calendar/GTLRCalendarObjects.m b/Sources/GeneratedServices/Calendar/GTLRCalendarObjects.m index b3f5b4094..cde747e1e 100644 --- a/Sources/GeneratedServices/Calendar/GTLRCalendarObjects.m +++ b/Sources/GeneratedServices/Calendar/GTLRCalendarObjects.m @@ -378,12 +378,13 @@ @implementation GTLRCalendar_Error @implementation GTLRCalendar_Event @dynamic anyoneCanAddSelf, attachments, attendees, attendeesOmitted, colorId, conferenceData, created, creator, descriptionProperty, end, - endTimeUnspecified, ETag, eventType, extendedProperties, gadget, - guestsCanInviteOthers, guestsCanModify, guestsCanSeeOtherGuests, - hangoutLink, htmlLink, iCalUID, identifier, kind, location, locked, - organizer, originalStartTime, privateCopy, recurrence, - recurringEventId, reminders, sequence, source, start, status, summary, - transparency, updated, visibility, workingLocationProperties; + endTimeUnspecified, ETag, eventType, extendedProperties, + focusTimeProperties, gadget, guestsCanInviteOthers, guestsCanModify, + guestsCanSeeOtherGuests, hangoutLink, htmlLink, iCalUID, identifier, + kind, location, locked, organizer, originalStartTime, + outOfOfficeProperties, privateCopy, recurrence, recurringEventId, + reminders, sequence, source, start, status, summary, transparency, + updated, visibility, workingLocationProperties; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -579,6 +580,26 @@ @implementation GTLRCalendar_EventDateTime @end +// ---------------------------------------------------------------------------- +// +// GTLRCalendar_EventFocusTimeProperties +// + +@implementation GTLRCalendar_EventFocusTimeProperties +@dynamic autoDeclineMode, chatStatus, declineMessage; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCalendar_EventOutOfOfficeProperties +// + +@implementation GTLRCalendar_EventOutOfOfficeProperties +@dynamic autoDeclineMode, declineMessage; +@end + + // ---------------------------------------------------------------------------- // // GTLRCalendar_EventReminder diff --git a/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarObjects.h b/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarObjects.h index e52b74650..ad84264bc 100644 --- a/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarObjects.h +++ b/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarObjects.h @@ -46,6 +46,8 @@ @class GTLRCalendar_EventAttachment; @class GTLRCalendar_EventAttendee; @class GTLRCalendar_EventDateTime; +@class GTLRCalendar_EventFocusTimeProperties; +@class GTLRCalendar_EventOutOfOfficeProperties; @class GTLRCalendar_EventReminder; @class GTLRCalendar_EventWorkingLocationProperties; @class GTLRCalendar_EventWorkingLocationProperties_CustomLocation; @@ -980,6 +982,9 @@ NS_ASSUME_NONNULL_BEGIN /** Extended properties of the event. */ @property(nonatomic, strong, nullable) GTLRCalendar_Event_ExtendedProperties *extendedProperties; +/** Focus Time event data. Used if eventType is focusTime. */ +@property(nonatomic, strong, nullable) GTLRCalendar_EventFocusTimeProperties *focusTimeProperties; + /** * A gadget that extends this event. Gadgets are deprecated; this structure is * instead only used for returning birthday calendar metadata. @@ -1087,6 +1092,9 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, strong, nullable) GTLRCalendar_EventDateTime *originalStartTime; +/** Out of office event data. Used if eventType is outOfOffice. */ +@property(nonatomic, strong, nullable) GTLRCalendar_EventOutOfOfficeProperties *outOfOfficeProperties; + /** * If set to True, Event propagation is disabled. Note that it is not the same * thing as Private event properties. Optional. Immutable. The default is @@ -1570,6 +1578,62 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * GTLRCalendar_EventFocusTimeProperties + */ +@interface GTLRCalendar_EventFocusTimeProperties : GTLRObject + +/** + * Whether to decline meeting invitations which overlap Focus Time events. + * Valid values are declineNone, meaning that no meeting invitations are + * declined; declineAllConflictingInvitations, meaning that all conflicting + * meeting invitations that conflict with the event are declined; and + * declineOnlyNewConflictingInvitations, meaning that only new conflicting + * meeting invitations which arrive while the Focus Time event is present are + * to be declined. + */ +@property(nonatomic, copy, nullable) NSString *autoDeclineMode; + +/** + * The status to mark the user in Chat and related products. This can be + * available or doNotDisturb. + */ +@property(nonatomic, copy, nullable) NSString *chatStatus; + +/** + * Response message to set if an existing event or new invitation is + * automatically declined by Calendar. + */ +@property(nonatomic, copy, nullable) NSString *declineMessage; + +@end + + +/** + * GTLRCalendar_EventOutOfOfficeProperties + */ +@interface GTLRCalendar_EventOutOfOfficeProperties : GTLRObject + +/** + * Whether to decline meeting invitations which overlap Out of office events. + * Valid values are declineNone, meaning that no meeting invitations are + * declined; declineAllConflictingInvitations, meaning that all conflicting + * meeting invitations that conflict with the event are declined; and + * declineOnlyNewConflictingInvitations, meaning that only new conflicting + * meeting invitations which arrive while the Out of office event is present + * are to be declined. + */ +@property(nonatomic, copy, nullable) NSString *autoDeclineMode; + +/** + * Response message to set if an existing event or new invitation is + * automatically declined by Calendar. + */ +@property(nonatomic, copy, nullable) NSString *declineMessage; + +@end + + /** * GTLRCalendar_EventReminder */ diff --git a/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarQuery.h b/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarQuery.h index 28ca54d02..1e47b748f 100644 --- a/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarQuery.h +++ b/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarQuery.h @@ -1415,14 +1415,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; * - "focusTime" * - "outOfOffice" * - "workingLocation"This parameter can be repeated multiple times to return - * events of different types. Currently, these are the only allowed values for - * this field: - * - ["default", "focusTime", "outOfOffice"] - * - ["default", "focusTime", "outOfOffice", "workingLocation"] - * - ["workingLocation"] The default is ["default", "focusTime", + * events of different types. The default is ["default", "focusTime", * "outOfOffice"]. - * Additional combinations of these four event types will be made available in - * later releases. */ @property(nonatomic, strong, nullable) NSArray *eventTypes; @@ -1476,8 +1470,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; /** * Free text search terms to find events that match these terms in the - * following fields: summary, description, location, attendee's displayName, - * attendee's email. Optional. + * following fields: + * - summary + * - description + * - location + * - attendee's displayName + * - attendee's email + * - workingLocationProperties.officeLocation.buildingId + * - workingLocationProperties.officeLocation.deskId + * - workingLocationProperties.officeLocation.label + * - workingLocationProperties.customLocation.label + * These search terms also match predefined keywords against all display title + * translations of working location, out-of-office, and focus-time events. For + * example, searching for "Office" or "Bureau" returns working location events + * of type officeLocation, whereas searching for "Out of office" or "Abwesend" + * returns out-of-office events. Optional. */ @property(nonatomic, copy, nullable) NSString *q; @@ -1589,7 +1596,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; @end /** - * Moves an event to another calendar, i.e. changes an event's organizer. + * Moves an event to another calendar, i.e. changes an event's organizer. Note + * that only default events can be moved; outOfOffice, focusTime and + * workingLocation events cannot be moved. * * Method: calendar.events.move * @@ -1639,7 +1648,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; /** * Fetches a @c GTLRCalendar_Event. * - * Moves an event to another calendar, i.e. changes an event's organizer. + * Moves an event to another calendar, i.e. changes an event's organizer. Note + * that only default events can be moved; outOfOffice, focusTime and + * workingLocation events cannot be moved. * * @param calendarId Calendar identifier of the source calendar where the event * currently is on. @@ -1936,14 +1947,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; * - "focusTime" * - "outOfOffice" * - "workingLocation"This parameter can be repeated multiple times to return - * events of different types. Currently, these are the only allowed values for - * this field: - * - ["default", "focusTime", "outOfOffice"] - * - ["default", "focusTime", "outOfOffice", "workingLocation"] - * - ["workingLocation"] The default is ["default", "focusTime", + * events of different types. The default is ["default", "focusTime", * "outOfOffice"]. - * Additional combinations of these four event types will be made available in - * later releases. */ @property(nonatomic, strong, nullable) NSArray *eventTypes; @@ -1997,8 +2002,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; /** * Free text search terms to find events that match these terms in the - * following fields: summary, description, location, attendee's displayName, - * attendee's email. Optional. + * following fields: + * - summary + * - description + * - location + * - attendee's displayName + * - attendee's email + * - workingLocationProperties.officeLocation.buildingId + * - workingLocationProperties.officeLocation.deskId + * - workingLocationProperties.officeLocation.label + * - workingLocationProperties.customLocation.label + * These search terms also match predefined keywords against all display title + * translations of working location, out-of-office, and focus-time events. For + * example, searching for "Office" or "Bureau" returns working location events + * of type officeLocation, whereas searching for "Out of office" or "Abwesend" + * returns out-of-office events. Optional. */ @property(nonatomic, copy, nullable) NSString *q; diff --git a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h index 97b3f4090..5d949c1a7 100644 --- a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h +++ b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h @@ -1807,8 +1807,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti @interface GTLRCertificateAuthorityService_FetchCaCertsResponse : GTLRObject /** - * The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority - * resources in this CaPool. + * The PEM encoded CA certificate chains of all Certificate Authorities in this + * CaPool in the ENABLED, DISABLED, or STAGED states. */ @property(nonatomic, strong, nullable) NSArray *caCerts; diff --git a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h index 9b20897c4..e44459199 100644 --- a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h +++ b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h @@ -1115,8 +1115,8 @@ NS_ASSUME_NONNULL_BEGIN /** * FetchCaCerts returns the current trust anchor for the CaPool. This will - * include CA certificate chains for all ACTIVE CertificateAuthority resources - * in the CaPool. + * include CA certificate chains for all Certificate Authorities in the + * ENABLED, DISABLED, or STAGED states. * * Method: privateca.projects.locations.caPools.fetchCaCerts * @@ -1135,8 +1135,8 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRCertificateAuthorityService_FetchCaCertsResponse. * * FetchCaCerts returns the current trust anchor for the CaPool. This will - * include CA certificate chains for all ACTIVE CertificateAuthority resources - * in the CaPool. + * include CA certificate chains for all Certificate Authorities in the + * ENABLED, DISABLED, or STAGED states. * * @param object The @c GTLRCertificateAuthorityService_FetchCaCertsRequest to * include in the query. diff --git a/Sources/GeneratedServices/ChecksService/GTLRChecksServiceObjects.m b/Sources/GeneratedServices/ChecksService/GTLRChecksServiceObjects.m index 088f20e90..3e41d2d99 100644 --- a/Sources/GeneratedServices/ChecksService/GTLRChecksServiceObjects.m +++ b/Sources/GeneratedServices/ChecksService/GTLRChecksServiceObjects.m @@ -14,6 +14,12 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest.appBinaryFileType +NSString * const kGTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest_AppBinaryFileType_AndroidAab = @"ANDROID_AAB"; +NSString * const kGTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest_AppBinaryFileType_AndroidApk = @"ANDROID_APK"; +NSString * const kGTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest_AppBinaryFileType_AppBinaryFileTypeUnspecified = @"APP_BINARY_FILE_TYPE_UNSPECIFIED"; +NSString * const kGTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest_AppBinaryFileType_IosIpa = @"IOS_IPA"; + // GTLRChecksService_GoogleChecksReportV1alphaAppBundle.releaseType NSString * const kGTLRChecksService_GoogleChecksReportV1alphaAppBundle_ReleaseType_AppBundleReleaseTypeUnspecified = @"APP_BUNDLE_RELEASE_TYPE_UNSPECIFIED"; NSString * const kGTLRChecksService_GoogleChecksReportV1alphaAppBundle_ReleaseType_PreRelease = @"PRE_RELEASE"; @@ -309,7 +315,7 @@ + (NSString *)collectionItemsKey { // @implementation GTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest -@dynamic codeReferenceId; +@dynamic appBinaryFileType, codeReferenceId; @end diff --git a/Sources/GeneratedServices/ChecksService/Public/GoogleAPIClientForREST/GTLRChecksServiceObjects.h b/Sources/GeneratedServices/ChecksService/Public/GoogleAPIClientForREST/GTLRChecksServiceObjects.h index c591b7b74..7a4cfdf12 100644 --- a/Sources/GeneratedServices/ChecksService/Public/GoogleAPIClientForREST/GTLRChecksServiceObjects.h +++ b/Sources/GeneratedServices/ChecksService/Public/GoogleAPIClientForREST/GTLRChecksServiceObjects.h @@ -68,6 +68,34 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest.appBinaryFileType + +/** + * .aab (app bundle) file type. + * + * Value: "ANDROID_AAB" + */ +FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest_AppBinaryFileType_AndroidAab; +/** + * .apk file type. + * + * Value: "ANDROID_APK" + */ +FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest_AppBinaryFileType_AndroidApk; +/** + * Not specified. + * + * Value: "APP_BINARY_FILE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest_AppBinaryFileType_AppBinaryFileTypeUnspecified; +/** + * .ipa file type. + * + * Value: "IOS_IPA" + */ +FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest_AppBinaryFileType_IosIpa; + // ---------------------------------------------------------------------------- // GTLRChecksService_GoogleChecksReportV1alphaAppBundle.releaseType @@ -1611,6 +1639,22 @@ FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksReportV1alphaD */ @interface GTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest : GTLRObject +/** + * Optional. The type of the uploaded app binary. If not provided, the server + * assumes APK file for Android and IPA file for iOS. + * + * Likely values: + * @arg @c kGTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest_AppBinaryFileType_AndroidAab + * .aab (app bundle) file type. (Value: "ANDROID_AAB") + * @arg @c kGTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest_AppBinaryFileType_AndroidApk + * .apk file type. (Value: "ANDROID_APK") + * @arg @c kGTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest_AppBinaryFileType_AppBinaryFileTypeUnspecified + * Not specified. (Value: "APP_BINARY_FILE_TYPE_UNSPECIFIED") + * @arg @c kGTLRChecksService_GoogleChecksReportV1alphaAnalyzeUploadRequest_AppBinaryFileType_IosIpa + * .ipa file type. (Value: "IOS_IPA") + */ +@property(nonatomic, copy, nullable) NSString *appBinaryFileType; + /** * Optional. Git commit hash or changelist number associated with the upload. */ diff --git a/Sources/GeneratedServices/ChromePolicy/GTLRChromePolicyObjects.m b/Sources/GeneratedServices/ChromePolicy/GTLRChromePolicyObjects.m index 1d09de26a..5126cf539 100644 --- a/Sources/GeneratedServices/ChromePolicy/GTLRChromePolicyObjects.m +++ b/Sources/GeneratedServices/ChromePolicy/GTLRChromePolicyObjects.m @@ -22,6 +22,13 @@ NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicyApiLifecycle_PolicyApiLifecycleStage_ApiPreview = @"API_PREVIEW"; NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicyApiLifecycle_PolicyApiLifecycleStage_ApiUnspecified = @"API_UNSPECIFIED"; +// GTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema.supportedPlatforms +NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema_SupportedPlatforms_ChromeBrowser = @"CHROME_BROWSER"; +NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema_SupportedPlatforms_ChromeBrowserForAndroid = @"CHROME_BROWSER_FOR_ANDROID"; +NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema_SupportedPlatforms_ChromeBrowserForIos = @"CHROME_BROWSER_FOR_IOS"; +NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema_SupportedPlatforms_ChromeOs = @"CHROME_OS"; +NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema_SupportedPlatforms_PlatformUnspecified = @"PLATFORM_UNSPECIFIED"; + // GTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema.validTargetResources NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema_ValidTargetResources_Group = @"GROUP"; NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema_ValidTargetResources_OrgUnit = @"ORG_UNIT"; @@ -429,7 +436,8 @@ @implementation GTLRChromePolicy_GoogleChromePolicyVersionsV1PolicyModificationF @implementation GTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema @dynamic accessRestrictions, additionalTargetKeyNames, categoryTitle, definition, fieldDescriptions, name, notices, policyApiLifecycle, - policyDescription, schemaName, supportUri, validTargetResources; + policyDescription, schemaName, supportedPlatforms, supportUri, + validTargetResources; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -437,6 +445,7 @@ @implementation GTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema @"additionalTargetKeyNames" : [GTLRChromePolicy_GoogleChromePolicyVersionsV1AdditionalTargetKeyName class], @"fieldDescriptions" : [GTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchemaFieldDescription class], @"notices" : [GTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription class], + @"supportedPlatforms" : [NSString class], @"validTargetResources" : [NSString class] }; return map; diff --git a/Sources/GeneratedServices/ChromePolicy/Public/GoogleAPIClientForREST/GTLRChromePolicyObjects.h b/Sources/GeneratedServices/ChromePolicy/Public/GoogleAPIClientForREST/GTLRChromePolicyObjects.h index 590b9ea73..6cf005941 100644 --- a/Sources/GeneratedServices/ChromePolicy/Public/GoogleAPIClientForREST/GTLRChromePolicyObjects.h +++ b/Sources/GeneratedServices/ChromePolicy/Public/GoogleAPIClientForREST/GTLRChromePolicyObjects.h @@ -101,6 +101,40 @@ FOUNDATION_EXTERN NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV */ FOUNDATION_EXTERN NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicyApiLifecycle_PolicyApiLifecycleStage_ApiUnspecified; +// ---------------------------------------------------------------------------- +// GTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema.supportedPlatforms + +/** + * Chrome Browser for OSX/Windows/Linux. + * + * Value: "CHROME_BROWSER" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema_SupportedPlatforms_ChromeBrowser; +/** + * Chrome Browser for Android. + * + * Value: "CHROME_BROWSER_FOR_ANDROID" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema_SupportedPlatforms_ChromeBrowserForAndroid; +/** + * Chrome Browser for iOS. + * + * Value: "CHROME_BROWSER_FOR_IOS" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema_SupportedPlatforms_ChromeBrowserForIos; +/** + * ChromeOS. + * + * Value: "CHROME_OS" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema_SupportedPlatforms_ChromeOs; +/** + * Unspecified platform. + * + * Value: "PLATFORM_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema_SupportedPlatforms_PlatformUnspecified; + // ---------------------------------------------------------------------------- // GTLRChromePolicy_GoogleChromePolicyVersionsV1PolicySchema.validTargetResources @@ -805,6 +839,12 @@ FOUNDATION_EXTERN NSString * const kGTLRChromePolicy_Proto2FieldDescriptorProto_ */ @property(nonatomic, copy, nullable) NSString *schemaName; +/** + * Output only. List indicates that the policy will only apply to devices/users + * on these platforms. + */ +@property(nonatomic, strong, nullable) NSArray *supportedPlatforms; + /** Output only. URI to related support article for this schema. */ @property(nonatomic, copy, nullable) NSString *supportUri; @@ -1412,20 +1452,20 @@ FOUNDATION_EXTERN NSString * const kGTLRChromePolicy_Proto2FieldDescriptorProto_ /** * If true, this is a proto3 "optional". When a proto3 field is optional, it * tracks presence regardless of field type. When proto3_optional is true, this - * field must be belong to a oneof to signal to old proto3 clients that - * presence is tracked for this field. This oneof is known as a "synthetic" - * oneof, and this field must be its sole member (each proto3 optional field - * gets its own synthetic oneof). Synthetic oneofs exist in the descriptor - * only, and do not generate any API. Synthetic oneofs must be ordered after - * all "real" oneofs. For message fields, proto3_optional doesn't create any - * semantic change, since non-repeated message fields always track presence. - * However it still indicates the semantic detail of whether the user wrote - * "optional" or not. This can be useful for round-tripping the .proto file. - * For consistency we give message fields a synthetic oneof also, even though - * it is not required to track presence. This is especially important because - * the parser can't tell if a field is a message or an enum, so it must always - * create a synthetic oneof. Proto2 optional fields do not set this flag, - * because they already indicate optional with `LABEL_OPTIONAL`. + * field must belong to a oneof to signal to old proto3 clients that presence + * is tracked for this field. This oneof is known as a "synthetic" oneof, and + * this field must be its sole member (each proto3 optional field gets its own + * synthetic oneof). Synthetic oneofs exist in the descriptor only, and do not + * generate any API. Synthetic oneofs must be ordered after all "real" oneofs. + * For message fields, proto3_optional doesn't create any semantic change, + * since non-repeated message fields always track presence. However it still + * indicates the semantic detail of whether the user wrote "optional" or not. + * This can be useful for round-tripping the .proto file. For consistency we + * give message fields a synthetic oneof also, even though it is not required + * to track presence. This is especially important because the parser can't + * tell if a field is a message or an enum, so it must always create a + * synthetic oneof. Proto2 optional fields do not set this flag, because they + * already indicate optional with `LABEL_OPTIONAL`. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/ChromeUXReport/GTLRChromeUXReportObjects.m b/Sources/GeneratedServices/ChromeUXReport/GTLRChromeUXReportObjects.m index af406aab6..863c662c5 100644 --- a/Sources/GeneratedServices/ChromeUXReport/GTLRChromeUXReportObjects.m +++ b/Sources/GeneratedServices/ChromeUXReport/GTLRChromeUXReportObjects.m @@ -68,6 +68,24 @@ @implementation GTLRChromeUXReport_Date @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeUXReport_FractionTimeseries +// + +@implementation GTLRChromeUXReport_FractionTimeseries +@dynamic fractions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"fractions" : [NSNumber class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeUXReport_HistoryKey @@ -158,7 +176,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRChromeUXReport_MetricTimeseries -@dynamic histogramTimeseries, percentilesTimeseries; +@dynamic fractionTimeseries, histogramTimeseries, percentilesTimeseries; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -170,6 +188,20 @@ @implementation GTLRChromeUXReport_MetricTimeseries @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeUXReport_MetricTimeseries_FractionTimeseries +// + +@implementation GTLRChromeUXReport_MetricTimeseries_FractionTimeseries + ++ (Class)classForAdditionalProperties { + return [GTLRChromeUXReport_FractionTimeseries class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeUXReport_Percentiles diff --git a/Sources/GeneratedServices/ChromeUXReport/Public/GoogleAPIClientForREST/GTLRChromeUXReportObjects.h b/Sources/GeneratedServices/ChromeUXReport/Public/GoogleAPIClientForREST/GTLRChromeUXReportObjects.h index bb7f92320..5b7363995 100644 --- a/Sources/GeneratedServices/ChromeUXReport/Public/GoogleAPIClientForREST/GTLRChromeUXReportObjects.h +++ b/Sources/GeneratedServices/ChromeUXReport/Public/GoogleAPIClientForREST/GTLRChromeUXReportObjects.h @@ -18,6 +18,7 @@ @class GTLRChromeUXReport_Bin; @class GTLRChromeUXReport_CollectionPeriod; @class GTLRChromeUXReport_Date; +@class GTLRChromeUXReport_FractionTimeseries; @class GTLRChromeUXReport_HistoryKey; @class GTLRChromeUXReport_HistoryRecord; @class GTLRChromeUXReport_HistoryRecord_Metrics; @@ -25,6 +26,7 @@ @class GTLRChromeUXReport_Metric; @class GTLRChromeUXReport_Metric_Fractions; @class GTLRChromeUXReport_MetricTimeseries; +@class GTLRChromeUXReport_MetricTimeseries_FractionTimeseries; @class GTLRChromeUXReport_Percentiles; @class GTLRChromeUXReport_Record; @class GTLRChromeUXReport_Record_Metrics; @@ -247,6 +249,23 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeUXReport_QueryRequest_FormFactor_T @end +/** + * For enum metrics, provides fraction timeseries which add up to approximately + * 1.0 per entry (k-th element into the repeated fractions field for any k <= + * len) across fraction_timeseries. + */ +@interface GTLRChromeUXReport_FractionTimeseries : GTLRObject + +/** + * Values between 0.0 and 1.0 (inclusive) and NaN. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSArray *fractions; + +@end + + /** * Key defines all the dimensions that identify this record as unique. */ @@ -432,6 +451,11 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeUXReport_QueryRequest_FormFactor_T */ @interface GTLRChromeUXReport_MetricTimeseries : GTLRObject +/** + * Mapping from labels to timeseries of fractions attributed to this label. + */ +@property(nonatomic, strong, nullable) GTLRChromeUXReport_MetricTimeseries_FractionTimeseries *fractionTimeseries; + /** * 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, for each @@ -449,6 +473,18 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeUXReport_QueryRequest_FormFactor_T @end +/** + * Mapping from labels to timeseries of fractions attributed to this label. + * + * @note This class is documented as having more properties of + * GTLRChromeUXReport_FractionTimeseries. 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_MetricTimeseries_FractionTimeseries : GTLRObject +@end + + /** * Percentiles contains synthetic values of a metric at a given statistical * percentile. These are used for estimating a metric's value as experienced by diff --git a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomObjects.h b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomObjects.h index e6150732e..924df0a62 100644 --- a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomObjects.h +++ b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomObjects.h @@ -2519,10 +2519,10 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroom_StudentSubmission_State_Turned /** - * Student submission for course work. StudentSubmission items are generated - * when a CourseWork item is created. StudentSubmissions that have never been - * accessed (i.e. with `state` = NEW) may not have a creation time or update - * time. + * Student submission for course work. `StudentSubmission` items are generated + * when a `CourseWork` item is created. Student submissions that have never + * been accessed (i.e. with `state` = NEW) may not have a creation time or + * update time. */ @interface GTLRClassroom_StudentSubmission : GTLRObject diff --git a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h index 3b88231b6..118d866e4 100644 --- a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h +++ b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h @@ -1436,11 +1436,11 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * Mask that identifies which fields on the course work to update. This field * is required to do an update. The update fails if invalid fields are * specified. If a field supports empty values, it can be cleared by specifying - * it in the update mask and not in the CourseWork object. If a field that does - * not support empty values is included in the update mask and not set in the - * CourseWork object, an `INVALID_ARGUMENT` error is returned. The following - * fields may be specified by teachers: * `title` * `description` * `state` * - * `due_date` * `due_time` * `max_points` * `scheduled_time` * + * it in the update mask and not in the `CourseWork` object. If a field that + * does not support empty values is included in the update mask and not set in + * the `CourseWork` object, an `INVALID_ARGUMENT` error is returned. The + * following fields may be specified by teachers: * `title` * `description` * + * `state` * `due_date` * `due_time` * `max_points` * `scheduled_time` * * `submission_modification_mode` * `topic_id` * * String format is a comma-separated list of fields. diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m index bd9c697bc..f14e65ccb 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m @@ -251,6 +251,11 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_Primary = @"PRIMARY"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_ReadReplica = @"READ_REPLICA"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_Secondary = @"SECONDARY"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypeOther = @"SUB_RESOURCE_TYPE_OTHER"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypePrimary = @"SUB_RESOURCE_TYPE_PRIMARY"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypeReadReplica = @"SUB_RESOURCE_TYPE_READ_REPLICA"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypeSecondary = @"SUB_RESOURCE_TYPE_SECONDARY"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypeUnspecified = @"SUB_RESOURCE_TYPE_UNSPECIFIED"; // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainRetentionSettings.retentionUnit NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainRetentionSettings_RetentionUnit_Count = @"COUNT"; @@ -259,7 +264,12 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainRetentionSettings_RetentionUnit_Time = @"TIME"; // GTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct.engine +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineCloudSpannerWithPostgresDialect = @"ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineMysql = @"ENGINE_MYSQL"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineNative = @"ENGINE_NATIVE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineOther = @"ENGINE_OTHER"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EnginePostgres = @"ENGINE_POSTGRES"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineSqlServer = @"ENGINE_SQL_SERVER"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineUnspecified = @"ENGINE_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_Mysql = @"MYSQL"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_Native = @"NATIVE"; @@ -271,7 +281,11 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_Alloydb = @"ALLOYDB"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_CloudSql = @"CLOUD_SQL"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_OnPrem = @"ON_PREM"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeAlloydb = @"PRODUCT_TYPE_ALLOYDB"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeCloudSql = @"PRODUCT_TYPE_CLOUD_SQL"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOnPrem = @"PRODUCT_TYPE_ON_PREM"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOther = @"PRODUCT_TYPE_OTHER"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeSpanner = @"PRODUCT_TYPE_SPANNER"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeUnspecified = @"PRODUCT_TYPE_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_Spanner = @"SPANNER"; @@ -337,7 +351,7 @@ @implementation GTLRCloudAlloyDBAdmin_Backup @dynamic annotations, clusterName, clusterUid, createTime, databaseVersion, deleteTime, descriptionProperty, displayName, encryptionConfig, encryptionInfo, ETag, expiryQuantity, expiryTime, labels, name, - reconciling, sizeBytes, state, type, uid, updateTime; + reconciling, satisfiesPzs, sizeBytes, state, type, uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -427,8 +441,8 @@ @implementation GTLRCloudAlloyDBAdmin_Cluster continuousBackupConfig, continuousBackupInfo, createTime, databaseVersion, deleteTime, displayName, encryptionConfig, encryptionInfo, ETag, initialUser, labels, migrationSource, name, - network, networkConfig, primaryConfig, reconciling, secondaryConfig, - sslConfig, state, uid, updateTime; + network, networkConfig, primaryConfig, reconciling, satisfiesPzs, + secondaryConfig, sslConfig, state, uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -677,7 +691,8 @@ @implementation GTLRCloudAlloyDBAdmin_Instance @dynamic annotations, availabilityType, clientConnectionConfig, createTime, databaseFlags, deleteTime, displayName, ETag, gceZone, instanceType, ipAddress, labels, machineConfig, name, nodes, queryInsightsConfig, - readPoolConfig, reconciling, state, uid, updateTime, writableNode; + readPoolConfig, reconciling, satisfiesPzs, state, uid, updateTime, + writableNode; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h index f6d2ba76c..06e61bb5c 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h @@ -1273,31 +1273,61 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.instanceType /** Value: "INSTANCE_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_InstanceTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_InstanceTypeUnspecified GTLR_DEPRECATED; /** * For rest of the other categories. * * Value: "OTHER" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_Other; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_Other GTLR_DEPRECATED; /** * A regular primary database instance. * * Value: "PRIMARY" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_Primary; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_Primary GTLR_DEPRECATED; /** * An instance acting as a read-replica. * * Value: "READ_REPLICA" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_ReadReplica; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_ReadReplica GTLR_DEPRECATED; /** * A cluster or an instance acting as a secondary. * * Value: "SECONDARY" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_Secondary; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_Secondary GTLR_DEPRECATED; +/** + * For rest of the other categories. + * + * Value: "SUB_RESOURCE_TYPE_OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypeOther; +/** + * A regular primary database instance. + * + * Value: "SUB_RESOURCE_TYPE_PRIMARY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypePrimary; +/** + * An instance acting as a read-replica. + * + * Value: "SUB_RESOURCE_TYPE_READ_REPLICA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypeReadReplica; +/** + * A cluster or an instance acting as a secondary. + * + * Value: "SUB_RESOURCE_TYPE_SECONDARY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypeSecondary; +/** + * For rest of the other categories. + * + * Value: "SUB_RESOURCE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypeUnspecified; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainRetentionSettings.retentionUnit @@ -1330,6 +1360,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct.engine +/** + * Cloud Spanner with Postgres dialect. + * + * Value: "ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineCloudSpannerWithPostgresDialect; +/** + * MySQL binary running as an engine in the database instance. + * + * Value: "ENGINE_MYSQL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineMysql; +/** + * Native database binary running as engine in instance. + * + * Value: "ENGINE_NATIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineNative; /** * Other refers to rest of other database engine. This is to be when engine is * known, but it is not present in this enum. @@ -1337,6 +1385,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "ENGINE_OTHER" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineOther; +/** + * Postgres binary running as engine in database instance. + * + * Value: "ENGINE_POSTGRES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EnginePostgres; +/** + * SQLServer binary running as engine in database instance. + * + * Value: "ENGINE_SQL_SERVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineSqlServer; /** * UNSPECIFIED means engine type is not known or available. * @@ -1348,31 +1408,31 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * * Value: "MYSQL" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_Mysql; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_Mysql GTLR_DEPRECATED; /** * Native database binary running as engine in instance. * * Value: "NATIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_Native; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_Native GTLR_DEPRECATED; /** * Postgres binary running as engine in database instance. * * Value: "POSTGRES" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_Postgres; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_Postgres GTLR_DEPRECATED; /** * Cloud Spanner with Postgres dialect. * * Value: "SPANGRES" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_Spangres; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_Spangres GTLR_DEPRECATED; /** * SQLServer binary running as engine in database instance. * * Value: "SQL_SERVER" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_SqlServer; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_SqlServer GTLR_DEPRECATED; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct.type @@ -1382,19 +1442,37 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * * Value: "ALLOYDB" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_Alloydb; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_Alloydb GTLR_DEPRECATED; /** * Cloud SQL product area in GCP * * Value: "CLOUD_SQL" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_CloudSql; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_CloudSql GTLR_DEPRECATED; /** * On premises database product. * * Value: "ON_PREM" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_OnPrem; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_OnPrem GTLR_DEPRECATED; +/** + * AlloyDB product area in GCP + * + * Value: "PRODUCT_TYPE_ALLOYDB" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeAlloydb; +/** + * Cloud SQL product area in GCP + * + * Value: "PRODUCT_TYPE_CLOUD_SQL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeCloudSql; +/** + * On premises database product. + * + * Value: "PRODUCT_TYPE_ON_PREM" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOnPrem; /** * Other refers to rest of other product type. This is to be when product type * is known, but it is not present in this enum. @@ -1402,6 +1480,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "PRODUCT_TYPE_OTHER" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOther; +/** + * Spanner product area in GCP + * + * Value: "PRODUCT_TYPE_SPANNER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeSpanner; /** * UNSPECIFIED means product type is not known or available. * @@ -1413,7 +1497,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * * Value: "SPANNER" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_Spanner; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_Spanner GTLR_DEPRECATED; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_SupportedDatabaseFlag.supportedDbVersions @@ -1725,6 +1809,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, strong, nullable) NSNumber *reconciling; +/** + * Output only. Reserved for future use. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** * Output only. The size of the backup in bytes. * @@ -2025,6 +2116,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, strong, nullable) NSNumber *reconciling; +/** + * Output only. Reserved for future use. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** Cross Region replication config specific to SECONDARY cluster. */ @property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_SecondaryConfig *secondaryConfig; @@ -2673,6 +2771,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, strong, nullable) NSNumber *reconciling; +/** + * Output only. Reserved for future use. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** * Output only. The current serving state of the instance. * @@ -3749,8 +3854,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** * Closest parent container of this resource. In GCP, 'container' refers to a * Cloud Resource Manager project. It must be resource name of a Cloud Resource - * Manager project with the format of "provider//", such as "gcp/projects/123". - * For GCP provided resources, number should be project number. + * Manager project with the format of "provider//", such as "projects/123". For + * GCP provided resources, number should be project number. */ @property(nonatomic, copy, nullable) NSString *resourceContainer; @@ -4150,6 +4255,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * An instance acting as a read-replica. (Value: "READ_REPLICA") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_Secondary * A cluster or an instance acting as a secondary. (Value: "SECONDARY") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypeOther + * For rest of the other categories. (Value: "SUB_RESOURCE_TYPE_OTHER") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypePrimary + * A regular primary database instance. (Value: + * "SUB_RESOURCE_TYPE_PRIMARY") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypeReadReplica + * An instance acting as a read-replica. (Value: + * "SUB_RESOURCE_TYPE_READ_REPLICA") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypeSecondary + * A cluster or an instance acting as a secondary. (Value: + * "SUB_RESOURCE_TYPE_SECONDARY") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_InstanceType_SubResourceTypeUnspecified + * For rest of the other categories. (Value: + * "SUB_RESOURCE_TYPE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *instanceType; @@ -4169,9 +4288,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** * Closest parent Cloud Resource Manager container of this resource. It must be - * resource name of a Cloud Resource Manager project with the format of - * "provider//", such as "gcp/projects/123". For GCP provided resources, number - * should be project number. + * resource name of a Cloud Resource Manager project with the format of "/", + * such as "projects/123". For GCP provided resources, number should be project + * number. */ @property(nonatomic, copy, nullable) NSString *resourceContainer; @@ -4281,10 +4400,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * The specific engine that the underlying database is running. * * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineCloudSpannerWithPostgresDialect + * Cloud Spanner with Postgres dialect. (Value: + * "ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineMysql + * MySQL binary running as an engine in the database instance. (Value: + * "ENGINE_MYSQL") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineNative + * Native database binary running as engine in instance. (Value: + * "ENGINE_NATIVE") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineOther * Other refers to rest of other database engine. This is to be when * engine is known, but it is not present in this enum. (Value: * "ENGINE_OTHER") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EnginePostgres + * Postgres binary running as engine in database instance. (Value: + * "ENGINE_POSTGRES") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineSqlServer + * SQLServer binary running as engine in database instance. (Value: + * "ENGINE_SQL_SERVER") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineUnspecified * UNSPECIFIED means engine type is not known or available. (Value: * "ENGINE_UNSPECIFIED") @@ -4314,10 +4448,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Cloud SQL product area in GCP (Value: "CLOUD_SQL") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_OnPrem * On premises database product. (Value: "ON_PREM") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeAlloydb + * AlloyDB product area in GCP (Value: "PRODUCT_TYPE_ALLOYDB") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeCloudSql + * Cloud SQL product area in GCP (Value: "PRODUCT_TYPE_CLOUD_SQL") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOnPrem + * On premises database product. (Value: "PRODUCT_TYPE_ON_PREM") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOther * Other refers to rest of other product type. This is to be when product * type is known, but it is not present in this enum. (Value: * "PRODUCT_TYPE_OTHER") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeSpanner + * Spanner product area in GCP (Value: "PRODUCT_TYPE_SPANNER") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeUnspecified * UNSPECIFIED means product type is not known or available. (Value: * "PRODUCT_TYPE_UNSPECIFIED") diff --git a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h index dc93a7b33..2ed8e1fdf 100644 --- a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h +++ b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h @@ -1516,9 +1516,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -1532,7 +1548,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -5255,8 +5274,7 @@ GTLR_DEPRECATED * for more information. For Google Cloud assets, this value is the parent * resource defined in the [IAM policy * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). - * Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For - * third-party assets, this field may be set differently. + * Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` */ @property(nonatomic, copy, nullable) NSString *parent; diff --git a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetQuery.h b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetQuery.h index ce4b7a87c..0634f2f6d 100644 --- a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetQuery.h +++ b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetQuery.h @@ -241,9 +241,9 @@ 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). + * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the + * asset types [supported by search + * APIs](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; @@ -1096,8 +1096,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAssetViewFull; * gcp.resourceLocations * compute.trustedImageProjects * * 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), + * of types [supported by search + * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types) * or IAM policies. * * Method: cloudasset.analyzeOrgPolicyGovernedAssets @@ -1166,8 +1166,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAssetViewFull; * gcp.resourceLocations * compute.trustedImageProjects * * 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), + * of types [supported by search + * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types) * or IAM policies. * * @param scope Required. The organization to scope the request. Only @@ -1477,9 +1477,9 @@ 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). + * empty, it will search the IAM policies that are attached to all the asset + * types [supported by search + * APIs](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 @@ -1611,8 +1611,8 @@ 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). + * will search all the asset types [supported by search + * APIs](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 diff --git a/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m b/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m index 78f114eed..e44cc7b54 100644 --- a/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m +++ b/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m @@ -340,11 +340,12 @@ @implementation GTLRCloudBatch_AgentTimingInfo // @implementation GTLRCloudBatch_AllocationPolicy -@dynamic instances, labels, location, network, placement, serviceAccount; +@dynamic instances, labels, location, network, placement, serviceAccount, tags; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"instances" : [GTLRCloudBatch_InstancePolicyOrTemplate class] + @"instances" : [GTLRCloudBatch_InstancePolicyOrTemplate class], + @"tags" : [NSString class] }; return map; } @@ -395,15 +396,6 @@ @implementation GTLRCloudBatch_CancelOperationRequest @end -// ---------------------------------------------------------------------------- -// -// GTLRCloudBatch_CloudLoggingOption -// - -@implementation GTLRCloudBatch_CloudLoggingOption -@end - - // ---------------------------------------------------------------------------- // // GTLRCloudBatch_ComputeResource @@ -420,8 +412,8 @@ @implementation GTLRCloudBatch_ComputeResource // @implementation GTLRCloudBatch_Container -@dynamic blockExternalNetwork, commands, entrypoint, imageUri, options, - password, username, volumes; +@dynamic blockExternalNetwork, commands, enableImageStreaming, entrypoint, + imageUri, options, password, username, volumes; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -789,7 +781,7 @@ @implementation GTLRCloudBatch_LocationPolicy // @implementation GTLRCloudBatch_LogsPolicy -@dynamic cloudLoggingOption, destination, logsPath; +@dynamic destination, logsPath; @end diff --git a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h index 76bfc4c53..3a5201728 100644 --- a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h +++ b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h @@ -35,7 +35,6 @@ @class GTLRCloudBatch_AllocationPolicy_Labels; @class GTLRCloudBatch_AttachedDisk; @class GTLRCloudBatch_Barrier; -@class GTLRCloudBatch_CloudLoggingOption; @class GTLRCloudBatch_ComputeResource; @class GTLRCloudBatch_Container; @class GTLRCloudBatch_Disk; @@ -1097,6 +1096,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; /** Service account that VMs will run as. */ @property(nonatomic, strong, nullable) GTLRCloudBatch_ServiceAccount *serviceAccount; +/** + * Optional. Tags applied to the VM instances. The tags identify valid sources + * or targets for network firewalls. Each tag must be 1-63 characters long, and + * comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). + */ +@property(nonatomic, strong, nullable) NSArray *tags; + @end @@ -1159,14 +1165,6 @@ 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 @@ -1246,6 +1244,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; */ @property(nonatomic, strong, nullable) NSArray *commands; +/** + * Optional. If set to true, container will run with Image streaming. The + * container runtime will be changed to containerd instead of docker. + * Currently, only imageUri, commands, entrypoint and volumes are supported and + * any other fields will be ignored. Please refer + * [here](https://github.com/GoogleCloudPlatform/batch-samples/tree/main/api-samples/image-streaming) + * for the feature requirements and limitations. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableImageStreaming; + /** Overrides the `ENTRYPOINT` specified in the container. */ @property(nonatomic, copy, nullable) NSString *entrypoint; @@ -1948,12 +1958,6 @@ 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/CloudBuild/GTLRCloudBuildObjects.m b/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m index fc9f49560..ea5cdf5a6 100644 --- a/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m +++ b/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m @@ -1074,11 +1074,12 @@ @implementation GTLRCloudBuild_Step // @implementation GTLRCloudBuild_StepTemplate -@dynamic env; +@dynamic env, volumeMounts; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"env" : [GTLRCloudBuild_EnvVar class] + @"env" : [GTLRCloudBuild_EnvVar class], + @"volumeMounts" : [GTLRCloudBuild_VolumeMount class] }; return map; } @@ -1153,7 +1154,6 @@ @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] }; diff --git a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h index 4ae078bc8..e031fc928 100644 --- a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h +++ b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h @@ -529,9 +529,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -545,7 +561,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -2351,6 +2370,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper */ @property(nonatomic, strong, nullable) NSArray *env; +/** Optional. Pod volumes to mount into the container's filesystem. */ +@property(nonatomic, strong, nullable) NSArray *volumeMounts; + @end @@ -2473,7 +2495,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper * 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; +@property(nonatomic, strong, nullable) GTLRCloudBuild_StepTemplate *stepTemplate; /** A collection of volumes that are available to mount into steps. */ @property(nonatomic, strong, nullable) NSArray *volumes; diff --git a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m index a9f78611a..729b2ced1 100644 --- a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m +++ b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m @@ -218,6 +218,7 @@ 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_GovernanceRuleProcessing = @"GOVERNANCE_RULE_PROCESSING"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleSearchLimitExceeds = @"GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_ResourceIamPolicyUpdate = @"RESOURCE_IAM_POLICY_UPDATE"; diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h index f46efd4ac..63dd8eb86 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h @@ -1164,6 +1164,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Gover * Value: "GOVERNANCE_RULE_MATCHED_RESOURCES" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleMatchedResources; +/** + * Governance rule prcoessing Event. + * + * Value: "GOVERNANCE_RULE_PROCESSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleProcessing; /** * Rule processing exceeds the allowed limit. * @@ -3624,7 +3630,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ /** * Optional. Rows with null values will automatically fail a rule, unless * ignore_null is true. In that case, such null rows are trivially considered - * passing.This field is only valid for row-level type rules. + * passing.This field is only valid for the following type of rules: + * RangeExpectation RegexExpectation SetExpectation UniquenessExpectation * * Uses NSNumber of boolValue. */ @@ -5333,6 +5340,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleMatchedResources * Number of resources matched with particular Query. (Value: * "GOVERNANCE_RULE_MATCHED_RESOURCES") + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleProcessing + * Governance rule prcoessing Event. (Value: + * "GOVERNANCE_RULE_PROCESSING") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEvent_EventType_GovernanceRuleSearchLimitExceeds * Rule processing exceeds the allowed limit. (Value: * "GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS") @@ -7765,14 +7775,30 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ * 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, + * example.com. + * principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: + * A single identity in a workforce identity pool. + * principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}: + * All workforce identities in a group. + * principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}: + * All workforce identities with a specific attribute value. + * principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *: All identities in a workforce identity pool. + * principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}: + * A single identity in a workload identity pool. + * principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}: + * A workload identity pool group. + * principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}: + * All identities in a workload identity pool with a certain attribute. + * principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *: All identities in a workload identity pool. + * deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, + * alice\@example.com?uid=123456789012345678901. If the user is recovered, this + * value reverts to user:{emailid} and the recovered user retains the role in + * the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email + * address (plus unique identifier) representing a service account that has + * been recently deleted. For example, * my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901. If the * service account is undeleted, this value reverts to serviceAccount:{emailid} * and the undeleted service account retains the role in the binding. @@ -7781,6 +7807,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ * example, admins\@example.com?uid=123456789012345678901. If the group is * recovered, this value reverts to group:{emailid} and the recovered group * retains the role in the binding. + * deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: + * Deleted single identity in a workforce identity pool. For example, + * deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value. */ @property(nonatomic, strong, nullable) NSArray *members; diff --git a/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployObjects.m b/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployObjects.m index a5891e06f..807b7fbd6 100644 --- a/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployObjects.m +++ b/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployObjects.m @@ -59,6 +59,7 @@ NSString * const kGTLRCloudDeploy_DeployJobRun_FailureCause_CloudBuildRequestFailed = @"CLOUD_BUILD_REQUEST_FAILED"; NSString * const kGTLRCloudDeploy_DeployJobRun_FailureCause_CloudBuildUnavailable = @"CLOUD_BUILD_UNAVAILABLE"; NSString * const kGTLRCloudDeploy_DeployJobRun_FailureCause_DeadlineExceeded = @"DEADLINE_EXCEEDED"; +NSString * const kGTLRCloudDeploy_DeployJobRun_FailureCause_DeployFeatureNotSupported = @"DEPLOY_FEATURE_NOT_SUPPORTED"; NSString * const kGTLRCloudDeploy_DeployJobRun_FailureCause_ExecutionFailed = @"EXECUTION_FAILED"; NSString * const kGTLRCloudDeploy_DeployJobRun_FailureCause_FailureCauseUnspecified = @"FAILURE_CAUSE_UNSPECIFIED"; NSString * const kGTLRCloudDeploy_DeployJobRun_FailureCause_MissingResourcesForCanary = @"MISSING_RESOURCES_FOR_CANARY"; @@ -186,6 +187,7 @@ NSString * const kGTLRCloudDeploy_Rollout_DeployFailureCause_DeadlineExceeded = @"DEADLINE_EXCEEDED"; NSString * const kGTLRCloudDeploy_Rollout_DeployFailureCause_ExecutionFailed = @"EXECUTION_FAILED"; NSString * const kGTLRCloudDeploy_Rollout_DeployFailureCause_FailureCauseUnspecified = @"FAILURE_CAUSE_UNSPECIFIED"; +NSString * const kGTLRCloudDeploy_Rollout_DeployFailureCause_OperationFeatureNotSupported = @"OPERATION_FEATURE_NOT_SUPPORTED"; NSString * const kGTLRCloudDeploy_Rollout_DeployFailureCause_ReleaseAbandoned = @"RELEASE_ABANDONED"; NSString * const kGTLRCloudDeploy_Rollout_DeployFailureCause_ReleaseFailed = @"RELEASE_FAILED"; NSString * const kGTLRCloudDeploy_Rollout_DeployFailureCause_VerificationConfigNotFound = @"VERIFICATION_CONFIG_NOT_FOUND"; @@ -262,6 +264,7 @@ 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_RenderFeatureNotSupported = @"RENDER_FEATURE_NOT_SUPPORTED"; NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_VerificationConfigNotFound = @"VERIFICATION_CONFIG_NOT_FOUND"; // GTLRCloudDeploy_TargetRender.renderingState @@ -708,7 +711,18 @@ @implementation GTLRCloudDeploy_ChildRolloutJobs // @implementation GTLRCloudDeploy_CloudRunConfig -@dynamic automaticTrafficControl; +@dynamic automaticTrafficControl, canaryRevisionTags, priorRevisionTags, + stableRevisionTags; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"canaryRevisionTags" : [NSString class], + @"priorRevisionTags" : [NSString class], + @"stableRevisionTags" : [NSString class] + }; + return map; +} + @end @@ -805,6 +819,116 @@ @implementation GTLRCloudDeploy_CustomCanaryDeployment @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_CustomMetadata +// + +@implementation GTLRCloudDeploy_CustomMetadata +@dynamic values; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_CustomMetadata_Values +// + +@implementation GTLRCloudDeploy_CustomMetadata_Values + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_CustomTarget +// + +@implementation GTLRCloudDeploy_CustomTarget +@dynamic customTargetType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_CustomTargetDeployMetadata +// + +@implementation GTLRCloudDeploy_CustomTargetDeployMetadata +@dynamic skipMessage; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_CustomTargetSkaffoldActions +// + +@implementation GTLRCloudDeploy_CustomTargetSkaffoldActions +@dynamic deployAction, includeSkaffoldModules, renderAction; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"includeSkaffoldModules" : [GTLRCloudDeploy_SkaffoldModules class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_CustomTargetType +// + +@implementation GTLRCloudDeploy_CustomTargetType +@dynamic annotations, createTime, customActions, customTargetTypeId, + descriptionProperty, ETag, labels, name, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"ETag" : @"etag" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_CustomTargetType_Annotations +// + +@implementation GTLRCloudDeploy_CustomTargetType_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_CustomTargetType_Labels +// + +@implementation GTLRCloudDeploy_CustomTargetType_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_Date @@ -926,7 +1050,7 @@ @implementation GTLRCloudDeploy_DeployJobRun // @implementation GTLRCloudDeploy_DeployJobRunMetadata -@dynamic cloudRun; +@dynamic cloudRun, custom, customTarget; @end @@ -1159,6 +1283,29 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_ListCustomTargetTypesResponse +// + +@implementation GTLRCloudDeploy_ListCustomTargetTypesResponse +@dynamic customTargetTypes, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"customTargetTypes" : [GTLRCloudDeploy_CustomTargetType class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"customTargetTypes"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_ListDeliveryPipelinesResponse @@ -1362,7 +1509,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudDeploy_Metadata -@dynamic automation, cloudRun; +@dynamic automation, cloudRun, custom; @end @@ -1653,10 +1800,10 @@ @implementation GTLRCloudDeploy_PromoteReleaseRule @implementation GTLRCloudDeploy_Release @dynamic abandoned, annotations, buildArtifacts, condition, createTime, - deliveryPipelineSnapshot, deployParameters, descriptionProperty, ETag, - labels, name, renderEndTime, renderStartTime, renderState, - skaffoldConfigPath, skaffoldConfigUri, skaffoldVersion, - targetArtifacts, targetRenders, targetSnapshots, uid; + customTargetTypeSnapshots, deliveryPipelineSnapshot, deployParameters, + descriptionProperty, ETag, labels, name, renderEndTime, + renderStartTime, renderState, skaffoldConfigPath, skaffoldConfigUri, + skaffoldVersion, targetArtifacts, targetRenders, targetSnapshots, uid; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1669,6 +1816,7 @@ @implementation GTLRCloudDeploy_Release + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"buildArtifacts" : [GTLRCloudDeploy_BuildArtifact class], + @"customTargetTypeSnapshots" : [GTLRCloudDeploy_CustomTargetType class], @"targetSnapshots" : [GTLRCloudDeploy_Target class] }; return map; @@ -1803,7 +1951,7 @@ @implementation GTLRCloudDeploy_ReleaseRenderEvent // @implementation GTLRCloudDeploy_RenderMetadata -@dynamic cloudRun; +@dynamic cloudRun, custom; @end @@ -1833,7 +1981,7 @@ @implementation GTLRCloudDeploy_RepairPhase // @implementation GTLRCloudDeploy_RepairRolloutOperation -@dynamic currentRepairModeIndex, repairPhases, rollout; +@dynamic currentRepairModeIndex, jobId, phaseId, repairPhases, rollout; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2105,6 +2253,44 @@ @implementation GTLRCloudDeploy_SetIamPolicyRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_SkaffoldGCSSource +// + +@implementation GTLRCloudDeploy_SkaffoldGCSSource +@dynamic path, source; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_SkaffoldGitSource +// + +@implementation GTLRCloudDeploy_SkaffoldGitSource +@dynamic path, ref, repo; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudDeploy_SkaffoldModules +// + +@implementation GTLRCloudDeploy_SkaffoldModules +@dynamic configs, git, googleCloudStorage; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"configs" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDeploy_SkaffoldSupportedCondition @@ -2203,7 +2389,7 @@ @implementation GTLRCloudDeploy_Strategy // @implementation GTLRCloudDeploy_Target -@dynamic annotations, anthosCluster, createTime, deployParameters, +@dynamic annotations, anthosCluster, createTime, customTarget, deployParameters, descriptionProperty, ETag, executionConfigs, gke, labels, multiTarget, name, requireApproval, run, targetId, uid, updateTime; diff --git a/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployQuery.m b/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployQuery.m index 6f9168fe3..dcd5e1d6e 100644 --- a/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployQuery.m +++ b/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployQuery.m @@ -14,6 +14,121 @@ @implementation GTLRCloudDeployQuery @end +@implementation GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesCreate + +@dynamic customTargetTypeId, parent, requestId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRCloudDeploy_CustomTargetType *)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}/customTargetTypes"; + GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesCreate *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.customTargetTypes.create"; + return query; +} + +@end + +@implementation GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesDelete + +@dynamic allowMissing, ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudDeploy_Operation class]; + query.loggingName = @"clouddeploy.projects.locations.customTargetTypes.delete"; + return query; +} + +@end + +@implementation GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudDeploy_CustomTargetType class]; + query.loggingName = @"clouddeploy.projects.locations.customTargetTypes.get"; + return query; +} + +@end + +@implementation GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/customTargetTypes"; + GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudDeploy_ListCustomTargetTypesResponse class]; + query.loggingName = @"clouddeploy.projects.locations.customTargetTypes.list"; + return query; +} + +@end + +@implementation GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesPatch + +@dynamic allowMissing, name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRCloudDeploy_CustomTargetType *)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_ProjectsLocationsCustomTargetTypesPatch *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.customTargetTypes.patch"; + return query; +} + +@end + @implementation GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsCancel @dynamic name; diff --git a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h index f457d0f7a..5cd692e13 100644 --- a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h +++ b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h @@ -39,6 +39,14 @@ @class GTLRCloudDeploy_CreateChildRolloutJob; @class GTLRCloudDeploy_CreateChildRolloutJobRun; @class GTLRCloudDeploy_CustomCanaryDeployment; +@class GTLRCloudDeploy_CustomMetadata; +@class GTLRCloudDeploy_CustomMetadata_Values; +@class GTLRCloudDeploy_CustomTarget; +@class GTLRCloudDeploy_CustomTargetDeployMetadata; +@class GTLRCloudDeploy_CustomTargetSkaffoldActions; +@class GTLRCloudDeploy_CustomTargetType; +@class GTLRCloudDeploy_CustomTargetType_Annotations; +@class GTLRCloudDeploy_CustomTargetType_Labels; @class GTLRCloudDeploy_Date; @class GTLRCloudDeploy_DefaultPool; @class GTLRCloudDeploy_DeliveryPipeline; @@ -107,6 +115,9 @@ @class GTLRCloudDeploy_RuntimeConfig; @class GTLRCloudDeploy_SerialPipeline; @class GTLRCloudDeploy_ServiceNetworking; +@class GTLRCloudDeploy_SkaffoldGCSSource; +@class GTLRCloudDeploy_SkaffoldGitSource; +@class GTLRCloudDeploy_SkaffoldModules; @class GTLRCloudDeploy_SkaffoldSupportedCondition; @class GTLRCloudDeploy_SkaffoldVersion; @class GTLRCloudDeploy_Stage; @@ -386,6 +397,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_DeployJobRun_FailureCause_Cl * Value: "DEADLINE_EXCEEDED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_DeployJobRun_FailureCause_DeadlineExceeded; +/** + * The deploy operation had a feature configured that is not supported. + * + * Value: "DEPLOY_FEATURE_NOT_SUPPORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_DeployJobRun_FailureCause_DeployFeatureNotSupported; /** * The deploy operation did not complete successfully; check Cloud Build logs. * @@ -1032,6 +1049,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_Rollout_DeployFailureCause_E * Value: "FAILURE_CAUSE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_Rollout_DeployFailureCause_FailureCauseUnspecified; +/** + * A Rollout operation had a feature configured that is not supported. + * + * Value: "OPERATION_FEATURE_NOT_SUPPORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_Rollout_DeployFailureCause_OperationFeatureNotSupported; /** * Release is abandoned. * @@ -1045,7 +1068,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_Rollout_DeployFailureCause_R */ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_Rollout_DeployFailureCause_ReleaseFailed; /** - * No skaffold verify configuration was found. + * No Skaffold verify configuration was found. * * Value: "VERIFICATION_CONFIG_NOT_FOUND" */ @@ -1318,13 +1341,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_RolloutUpdateEvent_Type_Type // GTLRCloudDeploy_SkaffoldSupportedCondition.skaffoldSupportState /** - * This skaffold version is in maintenance mode. + * This Skaffold version is in maintenance mode. * * Value: "SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_SkaffoldSupportedCondition_SkaffoldSupportState_SkaffoldSupportStateMaintenanceMode; /** - * This skaffold version is currently supported. + * This Skaffold version is currently supported. * * Value: "SKAFFOLD_SUPPORT_STATE_SUPPORTED" */ @@ -1336,7 +1359,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_SkaffoldSupportedCondition_S */ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_SkaffoldSupportedCondition_SkaffoldSupportState_SkaffoldSupportStateUnspecified; /** - * This skaffold version is no longer supported. + * This Skaffold version is no longer supported. * * Value: "SKAFFOLD_SUPPORT_STATE_UNSUPPORTED" */ @@ -1414,7 +1437,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_Cl FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_CloudBuildUnavailable; /** * The render operation did not complete successfully because the custom action - * required for predeploy or postdeploy was not found in the skaffold + * required for predeploy or postdeploy was not found in the Skaffold * configuration. See failure_message for additional details. * * Value: "CUSTOM_ACTION_NOT_FOUND" @@ -1439,9 +1462,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_Ex * Value: "FAILURE_CAUSE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_FailureCauseUnspecified; +/** + * The render operation had a feature configured that is not supported. + * + * Value: "RENDER_FEATURE_NOT_SUPPORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_TargetRender_FailureCause_RenderFeatureNotSupported; /** * The render operation did not complete successfully because the verification - * stanza required for verify was not found on the skaffold configuration. + * stanza required for verify was not found on the Skaffold configuration. * * Value: "VERIFICATION_CONFIG_NOT_FOUND" */ @@ -1562,7 +1591,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve */ @interface GTLRCloudDeploy_AdvanceRolloutOperation : GTLRObject -/** Output only. The phase to which the rollout will be advanced to. */ +/** Output only. The phase the rollout will be advanced to. */ @property(nonatomic, copy, nullable) NSString *destinationPhase; /** @@ -1735,7 +1764,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * 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 + * includes Release promotion among Targets, Rollout repair and Rollout * deployment strategy advancement. The intention of Automation is to reduce * manual intervention in the continuous delivery process. */ @@ -1992,7 +2021,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * An `AutomationRun` resource in the Cloud Deploy API. An `AutomationRun` - * represents an automation execution instance of an automation rule. + * represents an execution instance of an automation rule. */ @interface GTLRCloudDeploy_AutomationRun : GTLRObject @@ -2020,8 +2049,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @property(nonatomic, copy, nullable) NSString *ETag; /** - * Output only. Time the `AutomationRun` will expire. An `AutomationRun` will - * expire after 14 days from its creation date. + * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires + * after 14 days from its creation date. */ @property(nonatomic, strong, nullable) GTLRDateTime *expireTime; @@ -2069,7 +2098,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** * Output only. Explains the current state of the `AutomationRun`. Present only - * an explanation is needed. + * when an explanation is needed. */ @property(nonatomic, copy, nullable) NSString *stateDescription; @@ -2352,6 +2381,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve */ @property(nonatomic, strong, nullable) NSNumber *automaticTrafficControl; +/** + * Optional. A list of tags that are added to the canary revision while the + * canary deployment is in progress. + */ +@property(nonatomic, strong, nullable) NSArray *canaryRevisionTags; + +/** + * Optional. A list of tags that are added to the prior revision while the + * canary deployment is in progress. + */ +@property(nonatomic, strong, nullable) NSArray *priorRevisionTags; + +/** + * Optional. A list of tags that are added to the final stable revision after + * the canary deployment is completed. + */ +@property(nonatomic, strong, nullable) NSArray *stableRevisionTags; + @end @@ -2475,6 +2522,187 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * CustomMetadata contains information from a user defined operation. + */ +@interface GTLRCloudDeploy_CustomMetadata : GTLRObject + +/** Output only. Key-value pairs provided by the user defined operation. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_CustomMetadata_Values *values; + +@end + + +/** + * Output only. Key-value pairs provided by the user defined operation. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCloudDeploy_CustomMetadata_Values : GTLRObject +@end + + +/** + * Information specifying a Custom Target. + */ +@interface GTLRCloudDeploy_CustomTarget : GTLRObject + +/** + * Required. The name of the CustomTargetType. Format must be + * `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`. + */ +@property(nonatomic, copy, nullable) NSString *customTargetType; + +@end + + +/** + * CustomTargetDeployMetadata contains information from a Custom Target deploy + * operation. + */ +@interface GTLRCloudDeploy_CustomTargetDeployMetadata : GTLRObject + +/** + * Output only. Skip message provided in the results of a custom deploy + * operation. + */ +@property(nonatomic, copy, nullable) NSString *skipMessage; + +@end + + +/** + * CustomTargetSkaffoldActions represents the `CustomTargetType` configuration + * using Skaffold custom actions. + */ +@interface GTLRCloudDeploy_CustomTargetSkaffoldActions : GTLRObject + +/** Required. The Skaffold custom action responsible for deploy operations. */ +@property(nonatomic, copy, nullable) NSString *deployAction; + +/** + * Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold + * Config as required before performing diagnose. + */ +@property(nonatomic, strong, nullable) NSArray *includeSkaffoldModules; + +/** + * Optional. The Skaffold custom action responsible for render operations. If + * not provided then Cloud Deploy will perform the render operations via + * `skaffold render`. + */ +@property(nonatomic, copy, nullable) NSString *renderAction; + +@end + + +/** + * A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType` + * defines a type of custom target that can be referenced in a `Target` in + * order to facilitate deploying to a runtime that does not have a 1P + * integration with Cloud Deploy. + */ +@interface GTLRCloudDeploy_CustomTargetType : GTLRObject + +/** + * Optional. User annotations. These attributes can only be set and used by the + * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations + * for more details such as format and size limitations. + */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_CustomTargetType_Annotations *annotations; + +/** Output only. Time at which the `CustomTargetType` was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Configures render and deploy for the `CustomTargetType` using Skaffold + * custom actions. + */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_CustomTargetSkaffoldActions *customActions; + +/** Output only. Resource id of the `CustomTargetType`. */ +@property(nonatomic, copy, nullable) NSString *customTargetTypeId; + +/** + * Optional. Description of the `CustomTargetType`. Max length is 255 + * characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. This checksum is computed by the server based on the value of + * other fields, and may be sent on update and delete requests to ensure the + * client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * 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 <= 128 + * bytes. + */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_CustomTargetType_Labels *labels; + +/** + * Optional. Name of the `CustomTargetType`. Format is + * `projects/{project}/locations/{location}/customTargetTypes/a-z{0,62}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Unique identifier of the `CustomTargetType`. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** + * Output only. Most recent time at which the `CustomTargetType` 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. See https://google.aip.dev/128#annotations + * for more details such as format and size limitations. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCloudDeploy_CustomTargetType_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 <= 128 + * bytes. + * + * @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_CustomTargetType_Labels : GTLRObject +@end + + /** * Represents a whole or partial calendar date, such as a birthday. The time of * day and time zone are either specified elsewhere or are insignificant. The @@ -2740,6 +2968,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve * @arg @c kGTLRCloudDeploy_DeployJobRun_FailureCause_DeadlineExceeded The * deploy job run did not complete within the alloted time. (Value: * "DEADLINE_EXCEEDED") + * @arg @c kGTLRCloudDeploy_DeployJobRun_FailureCause_DeployFeatureNotSupported + * The deploy operation had a feature configured that is not supported. + * (Value: "DEPLOY_FEATURE_NOT_SUPPORTED") * @arg @c kGTLRCloudDeploy_DeployJobRun_FailureCause_ExecutionFailed The * deploy operation did not complete successfully; check Cloud Build * logs. (Value: "EXECUTION_FAILED") @@ -2776,6 +3007,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve */ @property(nonatomic, strong, nullable) GTLRCloudDeploy_CloudRunMetadata *cloudRun; +/** Output only. Custom metadata provided by user defined deploy operation. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_CustomMetadata *custom; + +/** Output only. Custom Target metadata associated with a `DeployJobRun`. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_CustomTargetDeployMetadata *customTarget; + @end @@ -3279,7 +3516,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @interface GTLRCloudDeploy_ListAutomationsResponse : GTLRCollectionObject /** - * The `Automations` objects. + * The `Automation` objects. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -3298,6 +3535,36 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * The response object from `ListCustomTargetTypes.` + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "customTargetTypes" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRCloudDeploy_ListCustomTargetTypesResponse : GTLRCollectionObject + +/** + * The `CustomTargetType` objects. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *customTargetTypes; + +/** + * 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`. * @@ -3574,6 +3841,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve */ @property(nonatomic, strong, nullable) GTLRCloudDeploy_CloudRunMetadata *cloudRun; +/** + * Output only. Custom metadata provided by user defined `Rollout` operations. + */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_CustomMetadata *custom; + @end @@ -4234,6 +4506,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** Output only. Time at which the `Release` was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Output only. Snapshot of the custom target types referenced by the targets + * taken at release creation time. + */ +@property(nonatomic, strong, nullable) NSArray *customTargetTypeSnapshots; + /** * Output only. Snapshot of the parent pipeline taken at release creation time. */ @@ -4408,7 +4686,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** Details around the Releases's overall status. */ @property(nonatomic, strong, nullable) GTLRCloudDeploy_ReleaseReadyCondition *releaseReadyCondition; -/** Details around the support state of the release's skaffold version. */ +/** Details around the support state of the release's Skaffold version. */ @property(nonatomic, strong, nullable) GTLRCloudDeploy_SkaffoldSupportedCondition *skaffoldSupportedCondition; @end @@ -4525,6 +4803,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** Output only. Metadata associated with rendering for Cloud Run. */ @property(nonatomic, strong, nullable) GTLRCloudDeploy_CloudRunRenderMetadata *cloudRun; +/** Output only. Custom metadata provided by user defined render operation. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_CustomMetadata *custom; + @end @@ -4569,6 +4850,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve */ @property(nonatomic, strong, nullable) NSNumber *currentRepairModeIndex; +/** Output only. The job ID for the Job to repair. */ +@property(nonatomic, copy, nullable) NSString *jobId; + +/** + * Output only. The phase ID of the phase that includes the job being repaired. + */ +@property(nonatomic, copy, nullable) NSString *phaseId; + /** * Output only. Records of the repair attempts. Each repair phase may have * multiple retry attempts or single rollback attempt. @@ -4635,8 +4924,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @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. + * Required. Total number of retries. Retry is skipped if set to 0; The minimum + * value is 1, and the maximum value is 10. * * Uses NSNumber of longLongValue. */ @@ -4754,12 +5043,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @property(nonatomic, copy, nullable) NSString *backoffMode; /** Output only. The job ID for the Job to retry. */ -@property(nonatomic, copy, nullable) NSString *jobId; +@property(nonatomic, copy, nullable) NSString *jobId GTLR_DEPRECATED; /** * Output only. The phase ID of the phase that includes the job being retried. */ -@property(nonatomic, copy, nullable) NSString *phaseId; +@property(nonatomic, copy, nullable) NSString *phaseId GTLR_DEPRECATED; /** * Output only. The number of attempts that have been made. @@ -4959,12 +5248,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve * @arg @c kGTLRCloudDeploy_Rollout_DeployFailureCause_FailureCauseUnspecified * No reason for failure is specified. (Value: * "FAILURE_CAUSE_UNSPECIFIED") + * @arg @c kGTLRCloudDeploy_Rollout_DeployFailureCause_OperationFeatureNotSupported + * A Rollout operation had a feature configured that is not supported. + * (Value: "OPERATION_FEATURE_NOT_SUPPORTED") * @arg @c kGTLRCloudDeploy_Rollout_DeployFailureCause_ReleaseAbandoned * Release is abandoned. (Value: "RELEASE_ABANDONED") * @arg @c kGTLRCloudDeploy_Rollout_DeployFailureCause_ReleaseFailed Release * is in a failed state. (Value: "RELEASE_FAILED") * @arg @c kGTLRCloudDeploy_Rollout_DeployFailureCause_VerificationConfigNotFound - * No skaffold verify configuration was found. (Value: + * No Skaffold verify configuration was found. (Value: * "VERIFICATION_CONFIG_NOT_FOUND") */ @property(nonatomic, copy, nullable) NSString *deployFailureCause; @@ -5322,46 +5614,98 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @end +/** + * Cloud Storage bucket containing Skaffold Config modules. + */ +@interface GTLRCloudDeploy_SkaffoldGCSSource : GTLRObject + +/** Optional. Relative path from the source to the Skaffold file. */ +@property(nonatomic, copy, nullable) NSString *path; + +/** + * Required. Cloud Storage source paths to copy recursively. For example, + * providing "gs://my-bucket/dir/configs/ *" will result in Skaffold copying + * all files within the "dir/configs" directory in the bucket "my-bucket". + */ +@property(nonatomic, copy, nullable) NSString *source; + +@end + + +/** + * Git repository containing Skaffold Config modules. + */ +@interface GTLRCloudDeploy_SkaffoldGitSource : GTLRObject + +/** Optional. Relative path from the repository root to the Skaffold file. */ +@property(nonatomic, copy, nullable) NSString *path; + +/** Optional. Git ref the package should be cloned from. */ +@property(nonatomic, copy, nullable) NSString *ref; + +/** Required. Git repository the package should be cloned from. */ +@property(nonatomic, copy, nullable) NSString *repo; + +@end + + +/** + * Skaffold Config modules and their remote source. + */ +@interface GTLRCloudDeploy_SkaffoldModules : GTLRObject + +/** Optional. The Skaffold Config modules to use from the specified source. */ +@property(nonatomic, strong, nullable) NSArray *configs; + +/** Remote git repository containing the Skaffold Config modules. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_SkaffoldGitSource *git; + +/** Cloud Storage bucket containing the Skaffold Config modules. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_SkaffoldGCSSource *googleCloudStorage; + +@end + + /** * SkaffoldSupportedCondition contains information about when support for the - * release's version of skaffold ends. + * release's version of Skaffold ends. */ @interface GTLRCloudDeploy_SkaffoldSupportedCondition : GTLRObject /** - * The time at which this release's version of skaffold will enter maintenance + * The time at which this release's version of Skaffold will enter maintenance * mode. */ @property(nonatomic, strong, nullable) GTLRDateTime *maintenanceModeTime; /** - * The skaffold support state for this release's version of skaffold. + * The Skaffold support state for this release's version of Skaffold. * * Likely values: * @arg @c kGTLRCloudDeploy_SkaffoldSupportedCondition_SkaffoldSupportState_SkaffoldSupportStateMaintenanceMode - * This skaffold version is in maintenance mode. (Value: + * This Skaffold version is in maintenance mode. (Value: * "SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE") * @arg @c kGTLRCloudDeploy_SkaffoldSupportedCondition_SkaffoldSupportState_SkaffoldSupportStateSupported - * This skaffold version is currently supported. (Value: + * This Skaffold version is currently supported. (Value: * "SKAFFOLD_SUPPORT_STATE_SUPPORTED") * @arg @c kGTLRCloudDeploy_SkaffoldSupportedCondition_SkaffoldSupportState_SkaffoldSupportStateUnspecified * Default value. This value is unused. (Value: * "SKAFFOLD_SUPPORT_STATE_UNSPECIFIED") * @arg @c kGTLRCloudDeploy_SkaffoldSupportedCondition_SkaffoldSupportState_SkaffoldSupportStateUnsupported - * This skaffold version is no longer supported. (Value: + * This Skaffold version is no longer supported. (Value: * "SKAFFOLD_SUPPORT_STATE_UNSUPPORTED") */ @property(nonatomic, copy, nullable) NSString *skaffoldSupportState; /** - * True if the version of skaffold used by this release is supported. + * True if the version of Skaffold used by this release is supported. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *status; /** - * The time at which this release's version of skaffold will no longer be + * The time at which this release's version of Skaffold will no longer be * supported. */ @property(nonatomic, strong, nullable) GTLRDateTime *supportExpirationTime; @@ -5374,13 +5718,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve */ @interface GTLRCloudDeploy_SkaffoldVersion : GTLRObject -/** The time at which this version of skaffold will enter maintenance mode. */ +/** The time at which this version of Skaffold will enter maintenance mode. */ @property(nonatomic, strong, nullable) GTLRDateTime *maintenanceModeTime; /** Date when this version is expected to no longer be supported. */ @property(nonatomic, strong, nullable) GTLRCloudDeploy_Date *supportEndDate; -/** The time at which this version of skaffold will no longer be supported. */ +/** The time at which this version of Skaffold will no longer be supported. */ @property(nonatomic, strong, nullable) GTLRDateTime *supportExpirationTime; /** Release version number. For example, "1.20.3". */ @@ -5530,6 +5874,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** Output only. Time at which the `Target` was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Optional. Information specifying a Custom Target. */ +@property(nonatomic, strong, nullable) GTLRCloudDeploy_CustomTarget *customTarget; + /** Optional. The deploy parameters to use for this target. */ @property(nonatomic, strong, nullable) GTLRCloudDeploy_Target_DeployParameters *deployParameters; @@ -5787,7 +6134,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve * @arg @c kGTLRCloudDeploy_TargetRender_FailureCause_CustomActionNotFound * The render operation did not complete successfully because the custom * action required for predeploy or postdeploy was not found in the - * skaffold configuration. See failure_message for additional details. + * 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 @@ -5799,9 +6146,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve * @arg @c kGTLRCloudDeploy_TargetRender_FailureCause_FailureCauseUnspecified * No reason for failure is specified. (Value: * "FAILURE_CAUSE_UNSPECIFIED") + * @arg @c kGTLRCloudDeploy_TargetRender_FailureCause_RenderFeatureNotSupported + * The render operation had a feature configured that is not supported. + * (Value: "RENDER_FEATURE_NOT_SUPPORTED") * @arg @c kGTLRCloudDeploy_TargetRender_FailureCause_VerificationConfigNotFound * The render operation did not complete successfully because the - * verification stanza required for verify was not found on the skaffold + * verification stanza required for verify was not found on the Skaffold * configuration. (Value: "VERIFICATION_CONFIG_NOT_FOUND") */ @property(nonatomic, copy, nullable) NSString *failureCause; @@ -5841,8 +6191,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** - * TargetsPresentCondition contains information on any Targets defined in the - * Delivery Pipeline that do not actually exist. + * `TargetsPresentCondition` contains information on any Targets referenced in + * the Delivery Pipeline that do not actually exist. */ @interface GTLRCloudDeploy_TargetsPresentCondition : GTLRObject diff --git a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h index c17926542..c948f3756 100644 --- a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h +++ b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h @@ -31,6 +31,293 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates a new CustomTargetType in a given project and location. + * + * Method: clouddeploy.projects.locations.customTargetTypes.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesCreate : GTLRCloudDeployQuery + +/** Required. ID of the `CustomTargetType`. */ +@property(nonatomic, copy, nullable) NSString *customTargetTypeId; + +/** + * Required. The parent collection in which the `CustomTargetType` should be + * created in. Format should be + * `projects/{project_id}/locations/{location_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 CustomTargetType in a given project and location. + * + * @param object The @c GTLRCloudDeploy_CustomTargetType to include in the + * query. + * @param parent Required. The parent collection in which the + * `CustomTargetType` should be created in. Format should be + * `projects/{project_id}/locations/{location_name}`. + * + * @return GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesCreate + */ ++ (instancetype)queryWithObject:(GTLRCloudDeploy_CustomTargetType *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single CustomTargetType. + * + * Method: clouddeploy.projects.locations.customTargetTypes.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesDelete : GTLRCloudDeployQuery + +/** + * Optional. If set to true, then deleting an already deleted or non-existing + * `CustomTargetType` will succeed. + */ +@property(nonatomic, assign) BOOL allowMissing; + +/** + * Optional. This checksum is computed by the server based on the value of + * other fields, and may be sent on update and delete requests to ensure the + * client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. The name of the `CustomTargetType` to delete. Format must be + * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. + */ +@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 to true, the request is validated but no actual change is + * made. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRCloudDeploy_Operation. + * + * Deletes a single CustomTargetType. + * + * @param name Required. The name of the `CustomTargetType` to delete. Format + * must be + * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. + * + * @return GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single CustomTargetType. + * + * Method: clouddeploy.projects.locations.customTargetTypes.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesGet : GTLRCloudDeployQuery + +/** + * Required. Name of the `CustomTargetType`. Format must be + * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudDeploy_CustomTargetType. + * + * Gets details of a single CustomTargetType. + * + * @param name Required. Name of the `CustomTargetType`. Format must be + * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. + * + * @return GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists CustomTargetTypes in a given project and location. + * + * Method: clouddeploy.projects.locations.customTargetTypes.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesList : GTLRCloudDeployQuery + +/** + * Optional. Filter custom target types to be returned. See + * https://google.aip.dev/160 for more details. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Field to sort by. See https://google.aip.dev/132#ordering for more + * details. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of `CustomTargetType` objects to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `CustomTargetType` objects will be returned. The maximum value is 1000; + * values above 1000 will be set to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListCustomTargetTypes` + * 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 that owns this collection of custom target types. + * Format must be `projects/{project_id}/locations/{location_name}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRCloudDeploy_ListCustomTargetTypesResponse. + * + * Lists CustomTargetTypes in a given project and location. + * + * @param parent Required. The parent that owns this collection of custom + * target types. Format must be + * `projects/{project_id}/locations/{location_name}`. + * + * @return GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a single CustomTargetType. + * + * Method: clouddeploy.projects.locations.customTargetTypes.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesPatch : GTLRCloudDeployQuery + +/** + * Optional. If set to true, updating a `CustomTargetType` that does not exist + * will result in the creation of a new `CustomTargetType`. + */ +@property(nonatomic, assign) BOOL allowMissing; + +/** + * Optional. Name of the `CustomTargetType`. Format is + * `projects/{project}/locations/{location}/customTargetTypes/a-z{0,62}`. + */ +@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 + * `CustomTargetType` 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 a single CustomTargetType. + * + * @param object The @c GTLRCloudDeploy_CustomTargetType to include in the + * query. + * @param name Optional. Name of the `CustomTargetType`. Format is + * `projects/{project}/locations/{location}/customTargetTypes/a-z{0,62}`. + * + * @return GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesPatch + */ ++ (instancetype)queryWithObject:(GTLRCloudDeploy_CustomTargetType *)object + name:(NSString *)name; + +@end + /** * Cancels an AutomationRun. The `state` of the `AutomationRun` after * cancelling is `CANCELLED`. `CancelAutomationRun` can be called on @@ -133,8 +420,8 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent, which owns this collection of automationRuns. Format - * must be + * Required. The parent `Delivery Pipeline`, which owns this collection of + * automationRuns. Format must be * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -144,8 +431,8 @@ NS_ASSUME_NONNULL_BEGIN * * Lists AutomationRuns in a given project and location. * - * @param parent Required. The parent, which owns this collection of - * automationRuns. Format must be + * @param parent Required. The parent `Delivery Pipeline`, which owns this + * collection of automationRuns. Format must be * `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsList @@ -345,8 +632,8 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent, which owns this collection of automations. Format must - * be + * Required. The parent `Delivery Pipeline`, which owns this collection of + * automations. Format must be * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -356,8 +643,8 @@ NS_ASSUME_NONNULL_BEGIN * * Lists Automations in a given project and location. * - * @param parent Required. The parent, which owns this collection of - * automations. Format must be + * @param parent Required. The parent `Delivery Pipeline`, which owns this + * collection of automations. Format must be * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. * * @return GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationsList diff --git a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m index 6a26c1ee3..33192ab0f 100644 --- a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m +++ b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m @@ -125,8 +125,8 @@ @implementation GTLRCloudFilestore_Backup @dynamic capacityGb, createTime, descriptionProperty, downloadBytes, kmsKey, - labels, name, satisfiesPzs, sourceFileShare, sourceInstance, - sourceInstanceTier, state, storageBytes; + labels, name, satisfiesPzi, satisfiesPzs, sourceFileShare, + sourceInstance, sourceInstanceTier, state, storageBytes; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -453,8 +453,8 @@ @implementation GTLRCloudFilestore_GoogleCloudSaasacceleratorManagementProviders @implementation GTLRCloudFilestore_Instance @dynamic createTime, descriptionProperty, ETag, fileShares, kmsKeyName, labels, - name, networks, satisfiesPzs, state, statusMessage, suspensionReasons, - tier; + name, networks, satisfiesPzi, satisfiesPzs, state, statusMessage, + suspensionReasons, tier; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h index cda3252a6..f4c98c1c2 100644 --- a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h +++ b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h @@ -653,6 +653,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. Reserved for future use. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzi; + /** * Output only. Reserved for future use. * @@ -868,7 +875,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @property(nonatomic, strong, nullable) NSNumber *capacityGb; -/** The name of the file share (must be 16 characters or less). */ +/** + * Required. The name of the file share. Must use 1-16 characters for the basic + * service tier and 1-63 characters for all other service tiers. Must use + * lowercase letters, numbers, or underscores `[a-z0-9_]`. Must start with a + * letter. Immutable. + */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -943,7 +955,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week * Optional. The MaintenancePolicies that have been attached to the instance. * The key must be of the type name of the oneof policy name defined in * MaintenancePolicy, and the referenced policy must define the same policy - * type. For details, please refer to go/cloud-saas-mw-ug. Should not be set if + * type. For details, please refer to go/mr-user-guide. Should not be set if * maintenance_settings.maintenance_policies is set. */ @property(nonatomic, strong, nullable) GTLRCloudFilestore_GoogleCloudSaasacceleratorManagementProvidersV1Instance_MaintenancePolicyNames *maintenancePolicyNames; @@ -1061,7 +1073,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week * Optional. The MaintenancePolicies that have been attached to the instance. * The key must be of the type name of the oneof policy name defined in * MaintenancePolicy, and the referenced policy must define the same policy - * type. For details, please refer to go/cloud-saas-mw-ug. Should not be set if + * type. For details, please refer to go/mr-user-guide. Should not be set if * maintenance_settings.maintenance_policies is set. * * @note This class is documented as having more properties of NSString. Use @c @@ -1195,7 +1207,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week * Optional. The MaintenancePolicies that have been attached to the instance. * The key must be of the type name of the oneof policy name defined in * MaintenancePolicy, and the embedded policy must define the same policy type. - * For details, please refer to go/cloud-saas-mw-ug. Should not be set if + * For details, please refer to go/mr-user-guide. Should not be set if * maintenance_policy_names is set. If only the name is needed, then only * populate MaintenancePolicy.name. */ @@ -1208,7 +1220,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week * Optional. The MaintenancePolicies that have been attached to the instance. * The key must be of the type name of the oneof policy name defined in * MaintenancePolicy, and the embedded policy must define the same policy type. - * For details, please refer to go/cloud-saas-mw-ug. Should not be set if + * For details, please refer to go/mr-user-guide. Should not be set if * maintenance_policy_names is set. If only the name is needed, then only * populate MaintenancePolicy.name. * @@ -1426,6 +1438,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @property(nonatomic, strong, nullable) NSArray *networks; +/** + * Output only. Reserved for future use. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzi; + /** * Output only. Reserved for future use. * @@ -2092,7 +2111,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week /** * Required. The snapshot resource ID, in the format 'my-snapshot', where the * specified ID is the {snapshot_id} of the fully qualified name like - * projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id} + * `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}` */ @property(nonatomic, copy, nullable) NSString *targetSnapshotId; diff --git a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreQuery.h b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreQuery.h index 67b381d0c..41bcdc2ed 100644 --- a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreQuery.h +++ b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreQuery.h @@ -523,7 +523,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. - * projects/{project_id}/locations/{location_id}/instances/{instance_id}. The + * `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. The * resource name of the instance, in the format */ @property(nonatomic, copy, nullable) NSString *name; @@ -536,8 +536,8 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRCloudFilestore_RevertInstanceRequest to include in * the query. * @param name Required. - * projects/{project_id}/locations/{location_id}/instances/{instance_id}. The - * resource name of the instance, in the format + * `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. + * The resource name of the instance, in the format * * @return GTLRCloudFilestoreQuery_ProjectsLocationsInstancesRevert */ diff --git a/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m b/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m index 8906d9f60..7a6c86419 100644 --- a/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m +++ b/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m @@ -47,6 +47,17 @@ NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata_Environments_Gen1 = @"GEN_1"; NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata_Environments_Gen2 = @"GEN_2"; +// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata.operationType +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_AbortFunctionUpgrade = @"ABORT_FUNCTION_UPGRADE"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_CommitFunctionUpgrade = @"COMMIT_FUNCTION_UPGRADE"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_CreateFunction = @"CREATE_FUNCTION"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_DeleteFunction = @"DELETE_FUNCTION"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_OperationtypeUnspecified = @"OPERATIONTYPE_UNSPECIFIED"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_RedirectFunctionUpgradeTraffic = @"REDIRECT_FUNCTION_UPGRADE_TRAFFIC"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_RollbackFunctionUpgradeTraffic = @"ROLLBACK_FUNCTION_UPGRADE_TRAFFIC"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_SetupFunctionUpgradeConfig = @"SETUP_FUNCTION_UPGRADE_CONFIG"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_UpdateFunction = @"UPDATE_FUNCTION"; + // GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage.name NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_ArtifactRegistry = @"ARTIFACT_REGISTRY"; NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage_Name_Build = @"BUILD"; @@ -73,6 +84,17 @@ NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata_Environments_Gen1 = @"GEN_1"; NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata_Environments_Gen2 = @"GEN_2"; +// GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata.operationType +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_AbortFunctionUpgrade = @"ABORT_FUNCTION_UPGRADE"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_CommitFunctionUpgrade = @"COMMIT_FUNCTION_UPGRADE"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_CreateFunction = @"CREATE_FUNCTION"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_DeleteFunction = @"DELETE_FUNCTION"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_OperationtypeUnspecified = @"OPERATIONTYPE_UNSPECIFIED"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_RedirectFunctionUpgradeTraffic = @"REDIRECT_FUNCTION_UPGRADE_TRAFFIC"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_RollbackFunctionUpgradeTraffic = @"ROLLBACK_FUNCTION_UPGRADE_TRAFFIC"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_SetupFunctionUpgradeConfig = @"SETUP_FUNCTION_UPGRADE_CONFIG"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_UpdateFunction = @"UPDATE_FUNCTION"; + // GTLRCloudFunctions_GoogleCloudFunctionsV2betaStage.name NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_ArtifactRegistry = @"ARTIFACT_REGISTRY"; NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaStage_Name_Build = @"BUILD"; @@ -99,6 +121,17 @@ NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata_Environments_Gen1 = @"GEN_1"; NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata_Environments_Gen2 = @"GEN_2"; +// GTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata.operationType +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_AbortFunctionUpgrade = @"ABORT_FUNCTION_UPGRADE"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_CommitFunctionUpgrade = @"COMMIT_FUNCTION_UPGRADE"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_CreateFunction = @"CREATE_FUNCTION"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_DeleteFunction = @"DELETE_FUNCTION"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_OperationtypeUnspecified = @"OPERATIONTYPE_UNSPECIFIED"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_RedirectFunctionUpgradeTraffic = @"REDIRECT_FUNCTION_UPGRADE_TRAFFIC"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_RollbackFunctionUpgradeTraffic = @"ROLLBACK_FUNCTION_UPGRADE_TRAFFIC"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_SetupFunctionUpgradeConfig = @"SETUP_FUNCTION_UPGRADE_CONFIG"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_UpdateFunction = @"UPDATE_FUNCTION"; + // GTLRCloudFunctions_GoogleCloudFunctionsV2Stage.name NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_ArtifactRegistry = @"ARTIFACT_REGISTRY"; NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Stage_Name_Build = @"BUILD"; @@ -267,7 +300,7 @@ @implementation GTLRCloudFunctions_EventFilter // @implementation GTLRCloudFunctions_EventTrigger -@dynamic channel, eventFilters, eventType, pubsubTopic, retryPolicy, +@dynamic channel, eventFilters, eventType, pubsubTopic, retryPolicy, service, serviceAccountEmail, trigger, triggerRegion; + (NSDictionary *)arrayPropertyToClassMap { @@ -396,8 +429,8 @@ @implementation GTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata // @implementation GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata -@dynamic apiVersion, cancelRequested, createTime, endTime, requestResource, - sourceToken, stages, statusDetail, target, verb; +@dynamic apiVersion, cancelRequested, createTime, endTime, operationType, + requestResource, sourceToken, stages, statusDetail, target, verb; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -475,8 +508,8 @@ @implementation GTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata // @implementation GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata -@dynamic apiVersion, cancelRequested, createTime, endTime, requestResource, - sourceToken, stages, statusDetail, target, verb; +@dynamic apiVersion, cancelRequested, createTime, endTime, operationType, + requestResource, sourceToken, stages, statusDetail, target, verb; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -554,8 +587,8 @@ @implementation GTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata // @implementation GTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata -@dynamic apiVersion, cancelRequested, createTime, endTime, requestResource, - sourceToken, stages, statusDetail, target, verb; +@dynamic apiVersion, cancelRequested, createTime, endTime, operationType, + requestResource, sourceToken, stages, statusDetail, target, verb; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h index af10117b9..35c20f459 100644 --- a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h +++ b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h @@ -227,6 +227,64 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alp */ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata_Environments_Gen2; +// ---------------------------------------------------------------------------- +// GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata.operationType + +/** + * AbortFunctionUpgrade + * + * Value: "ABORT_FUNCTION_UPGRADE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_AbortFunctionUpgrade; +/** + * CommitFunctionUpgrade + * + * Value: "COMMIT_FUNCTION_UPGRADE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_CommitFunctionUpgrade; +/** + * CreateFunction + * + * Value: "CREATE_FUNCTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_CreateFunction; +/** + * DeleteFunction + * + * Value: "DELETE_FUNCTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_DeleteFunction; +/** + * Unspecified + * + * Value: "OPERATIONTYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_OperationtypeUnspecified; +/** + * RedirectFunctionUpgradeTraffic + * + * Value: "REDIRECT_FUNCTION_UPGRADE_TRAFFIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_RedirectFunctionUpgradeTraffic; +/** + * RollbackFunctionUpgradeTraffic + * + * Value: "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_RollbackFunctionUpgradeTraffic; +/** + * SetupFunctionUpgradeConfig + * + * Value: "SETUP_FUNCTION_UPGRADE_CONFIG" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_SetupFunctionUpgradeConfig; +/** + * UpdateFunction + * + * Value: "UPDATE_FUNCTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_UpdateFunction; + // ---------------------------------------------------------------------------- // GTLRCloudFunctions_GoogleCloudFunctionsV2alphaStage.name @@ -351,6 +409,64 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2bet */ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata_Environments_Gen2; +// ---------------------------------------------------------------------------- +// GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata.operationType + +/** + * AbortFunctionUpgrade + * + * Value: "ABORT_FUNCTION_UPGRADE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_AbortFunctionUpgrade; +/** + * CommitFunctionUpgrade + * + * Value: "COMMIT_FUNCTION_UPGRADE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_CommitFunctionUpgrade; +/** + * CreateFunction + * + * Value: "CREATE_FUNCTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_CreateFunction; +/** + * DeleteFunction + * + * Value: "DELETE_FUNCTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_DeleteFunction; +/** + * Unspecified + * + * Value: "OPERATIONTYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_OperationtypeUnspecified; +/** + * RedirectFunctionUpgradeTraffic + * + * Value: "REDIRECT_FUNCTION_UPGRADE_TRAFFIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_RedirectFunctionUpgradeTraffic; +/** + * RollbackFunctionUpgradeTraffic + * + * Value: "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_RollbackFunctionUpgradeTraffic; +/** + * SetupFunctionUpgradeConfig + * + * Value: "SETUP_FUNCTION_UPGRADE_CONFIG" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_SetupFunctionUpgradeConfig; +/** + * UpdateFunction + * + * Value: "UPDATE_FUNCTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_UpdateFunction; + // ---------------------------------------------------------------------------- // GTLRCloudFunctions_GoogleCloudFunctionsV2betaStage.name @@ -475,6 +591,64 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Loc */ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2LocationMetadata_Environments_Gen2; +// ---------------------------------------------------------------------------- +// GTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata.operationType + +/** + * AbortFunctionUpgrade + * + * Value: "ABORT_FUNCTION_UPGRADE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_AbortFunctionUpgrade; +/** + * CommitFunctionUpgrade + * + * Value: "COMMIT_FUNCTION_UPGRADE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_CommitFunctionUpgrade; +/** + * CreateFunction + * + * Value: "CREATE_FUNCTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_CreateFunction; +/** + * DeleteFunction + * + * Value: "DELETE_FUNCTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_DeleteFunction; +/** + * Unspecified + * + * Value: "OPERATIONTYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_OperationtypeUnspecified; +/** + * RedirectFunctionUpgradeTraffic + * + * Value: "REDIRECT_FUNCTION_UPGRADE_TRAFFIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_RedirectFunctionUpgradeTraffic; +/** + * RollbackFunctionUpgradeTraffic + * + * Value: "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_RollbackFunctionUpgradeTraffic; +/** + * SetupFunctionUpgradeConfig + * + * Value: "SETUP_FUNCTION_UPGRADE_CONFIG" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_SetupFunctionUpgradeConfig; +/** + * UpdateFunction + * + * Value: "UPDATE_FUNCTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_UpdateFunction; + // ---------------------------------------------------------------------------- // GTLRCloudFunctions_GoogleCloudFunctionsV2Stage.name @@ -1097,6 +1271,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_VpcConnecto */ @property(nonatomic, copy, nullable) NSString *retryPolicy; +/** + * Optional. The hostname of the service that 1st Gen function should be + * observed. If no string is provided, the default service implementing the API + * will be used. For example, `storage.googleapis.com` is the default for all + * event types in the `google.storage` namespace. The field is only applicable + * to 1st Gen functions. + */ +@property(nonatomic, copy, nullable) NSString *service; + /** * Optional. The email of the trigger's service account. The service account * must have permission to invoke Cloud Run services, the permission is @@ -1387,6 +1570,33 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_VpcConnecto /** The time the operation finished running. */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** + * The operation type. + * + * Likely values: + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_AbortFunctionUpgrade + * AbortFunctionUpgrade (Value: "ABORT_FUNCTION_UPGRADE") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_CommitFunctionUpgrade + * CommitFunctionUpgrade (Value: "COMMIT_FUNCTION_UPGRADE") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_CreateFunction + * CreateFunction (Value: "CREATE_FUNCTION") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_DeleteFunction + * DeleteFunction (Value: "DELETE_FUNCTION") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_OperationtypeUnspecified + * Unspecified (Value: "OPERATIONTYPE_UNSPECIFIED") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_RedirectFunctionUpgradeTraffic + * RedirectFunctionUpgradeTraffic (Value: + * "REDIRECT_FUNCTION_UPGRADE_TRAFFIC") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_RollbackFunctionUpgradeTraffic + * RollbackFunctionUpgradeTraffic (Value: + * "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_SetupFunctionUpgradeConfig + * SetupFunctionUpgradeConfig (Value: "SETUP_FUNCTION_UPGRADE_CONFIG") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_OperationType_UpdateFunction + * UpdateFunction (Value: "UPDATE_FUNCTION") + */ +@property(nonatomic, copy, nullable) NSString *operationType; + /** The original request that started the operation. */ @property(nonatomic, strong, nullable) GTLRCloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata_RequestResource *requestResource; @@ -1543,6 +1753,33 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_VpcConnecto /** The time the operation finished running. */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** + * The operation type. + * + * Likely values: + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_AbortFunctionUpgrade + * AbortFunctionUpgrade (Value: "ABORT_FUNCTION_UPGRADE") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_CommitFunctionUpgrade + * CommitFunctionUpgrade (Value: "COMMIT_FUNCTION_UPGRADE") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_CreateFunction + * CreateFunction (Value: "CREATE_FUNCTION") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_DeleteFunction + * DeleteFunction (Value: "DELETE_FUNCTION") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_OperationtypeUnspecified + * Unspecified (Value: "OPERATIONTYPE_UNSPECIFIED") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_RedirectFunctionUpgradeTraffic + * RedirectFunctionUpgradeTraffic (Value: + * "REDIRECT_FUNCTION_UPGRADE_TRAFFIC") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_RollbackFunctionUpgradeTraffic + * RollbackFunctionUpgradeTraffic (Value: + * "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_SetupFunctionUpgradeConfig + * SetupFunctionUpgradeConfig (Value: "SETUP_FUNCTION_UPGRADE_CONFIG") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_OperationType_UpdateFunction + * UpdateFunction (Value: "UPDATE_FUNCTION") + */ +@property(nonatomic, copy, nullable) NSString *operationType; + /** The original request that started the operation. */ @property(nonatomic, strong, nullable) GTLRCloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata_RequestResource *requestResource; @@ -1699,6 +1936,33 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_VpcConnecto /** The time the operation finished running. */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** + * The operation type. + * + * Likely values: + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_AbortFunctionUpgrade + * AbortFunctionUpgrade (Value: "ABORT_FUNCTION_UPGRADE") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_CommitFunctionUpgrade + * CommitFunctionUpgrade (Value: "COMMIT_FUNCTION_UPGRADE") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_CreateFunction + * CreateFunction (Value: "CREATE_FUNCTION") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_DeleteFunction + * DeleteFunction (Value: "DELETE_FUNCTION") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_OperationtypeUnspecified + * Unspecified (Value: "OPERATIONTYPE_UNSPECIFIED") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_RedirectFunctionUpgradeTraffic + * RedirectFunctionUpgradeTraffic (Value: + * "REDIRECT_FUNCTION_UPGRADE_TRAFFIC") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_RollbackFunctionUpgradeTraffic + * RollbackFunctionUpgradeTraffic (Value: + * "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_SetupFunctionUpgradeConfig + * SetupFunctionUpgradeConfig (Value: "SETUP_FUNCTION_UPGRADE_CONFIG") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_UpdateFunction + * UpdateFunction (Value: "UPDATE_FUNCTION") + */ +@property(nonatomic, copy, nullable) NSString *operationType; + /** The original request that started the operation. */ @property(nonatomic, strong, nullable) GTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_RequestResource *requestResource; @@ -2424,9 +2688,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_VpcConnecto @property(nonatomic, strong, nullable) NSNumber *allTrafficOnLatestRevision; /** - * [Preview] The number of CPUs used in a single container instance. Default - * value is calculated from available memory. Supports the same values as Cloud - * Run, see + * The number of CPUs used in a single container instance. Default value is + * calculated from available memory. Supports the same values as Cloud Run, see * https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements * Example: "1" indicates 1 vCPU */ @@ -2479,8 +2742,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_VpcConnecto @property(nonatomic, strong, nullable) NSNumber *maxInstanceCount; /** - * [Preview] Sets the maximum number of concurrent requests that each instance - * can receive. Defaults to 1. + * Sets the maximum number of concurrent requests that each instance can + * receive. Defaults to 1. * * Uses NSNumber of intValue. */ diff --git a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h index 0daacc203..8ad3dad1b 100644 --- a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h +++ b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h @@ -307,9 +307,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -323,7 +339,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -858,9 +877,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic * where the API call changes the state of the resource. Custom org policy * backend uses these attributes to enforce custom org policies. When a proto * is wrapped, it is generally the One Platform API proto. When a JSON string - * is wrapped, use `google.protobuf.StringValue` for the inner value. It is - * sufficient to pass just the max set of attributes that are allowed for use - * in custom constraints; other attributes can be omitted. See + * is wrapped, use `google.protobuf.StringValue` for the inner value. For + * create operations, GCP service is expected to pass resource from customer + * request as is. For update/patch operations, GCP service is expected to + * compute the next state with the patch provided by the user. See * go/custom-constraints-org-policy-integration-guide for additional details. */ @property(nonatomic, strong, nullable) GTLRCloudIAP_Resource_ExpectedNextState *expectedNextState; @@ -925,9 +945,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic * where the API call changes the state of the resource. Custom org policy * backend uses these attributes to enforce custom org policies. When a proto * is wrapped, it is generally the One Platform API proto. When a JSON string - * is wrapped, use `google.protobuf.StringValue` for the inner value. It is - * sufficient to pass just the max set of attributes that are allowed for use - * in custom constraints; other attributes can be omitted. See + * is wrapped, use `google.protobuf.StringValue` for the inner value. For + * create operations, GCP service is expected to pass resource from customer + * request as is. For update/patch operations, GCP service is expected to + * compute the next state with the patch provided by the user. See * go/custom-constraints-org-policy-integration-guide for additional details. * * @note This class is documented as having more properties of any valid JSON diff --git a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h index 7c1c509c6..6331c8f6d 100644 --- a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h +++ b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h @@ -938,7 +938,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State /** * Memberships will be the union of all queries. Only one entry with USER - * resource is currently supported. Customers can create up to 100 dynamic + * resource is currently supported. Customers can create up to 500 dynamic * groups. */ @property(nonatomic, strong, nullable) NSArray *queries; @@ -1023,9 +1023,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State /** * The ID of the entity. For Google-managed entities, the `id` should be the - * email address of an existing group or user. For external-identity-mapped - * entities, the `id` must be a string conforming to the Identity Source's - * requirements. Must be unique within a `namespace`. + * email address of an existing group or user. Email addresses need to adhere + * to [name guidelines for users and + * groups](https://support.google.com/a/answer/9193374). For + * external-identity-mapped entities, the `id` must be a string conforming to + * the Identity Source's requirements. Must be unique within a `namespace`. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ diff --git a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h index 5b652261e..187d8a9f3 100644 --- a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h +++ b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h @@ -1491,9 +1491,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentityViewViewUnspecified; /** * The ID of the entity. For Google-managed entities, the `id` should be the - * email address of an existing group or user. For external-identity-mapped - * entities, the `id` must be a string conforming to the Identity Source's - * requirements. Must be unique within a `namespace`. + * email address of an existing group or user. Email addresses need to adhere + * to [name guidelines for users and + * groups](https://support.google.com/a/answer/9193374). For + * external-identity-mapped entities, the `id` must be a string conforming to + * the Identity Source's requirements. Must be unique within a `namespace`. */ @property(nonatomic, copy, nullable) NSString *groupKeyId; @@ -1832,9 +1834,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentityViewViewUnspecified; /** * The ID of the entity. For Google-managed entities, the `id` should be the - * email address of an existing group or user. For external-identity-mapped - * entities, the `id` must be a string conforming to the Identity Source's - * requirements. Must be unique within a `namespace`. + * email address of an existing group or user. Email addresses need to adhere + * to [name guidelines for users and + * groups](https://support.google.com/a/answer/9193374). For + * external-identity-mapped entities, the `id` must be a string conforming to + * the Identity Source's requirements. Must be unique within a `namespace`. */ @property(nonatomic, copy, nullable) NSString *memberKeyId; @@ -2193,11 +2197,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentityViewViewUnspecified; * Can contain optional inclusion operators on `labels` such as * `'cloudidentity.googleapis.com/groups.discussion_forum' in labels`). * Can * contain an optional equality operator on `domain_name`. e.g. `domain_name == - * 'abc.com'` * Can contain optional `startsWith/contains/equality` operators - * on `group_key`, e.g. `group_key.startsWith('dev')`, - * `group_key.contains('dev'), group_key == 'dev\@abc.com'` * Can contain - * optional `startsWith/contains/equality` operators on `display_name`, such as - * `display_name.startsWith('dev')` , `display_name.contains('dev')`, + * 'examplepetstore.com'` * Can contain optional `startsWith/contains/equality` + * operators on `group_key`, e.g. `group_key.startsWith('dev')`, + * `group_key.contains('dev'), group_key == 'dev\@examplepetstore.com'` * Can + * contain optional `startsWith/contains/equality` operators on `display_name`, + * such as `display_name.startsWith('dev')` , `display_name.contains('dev')`, * `display_name == 'dev'` */ @property(nonatomic, copy, nullable) NSString *query; diff --git a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h index c6efe5658..399c24a54 100644 --- a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h +++ b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h @@ -2032,9 +2032,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -2048,7 +2064,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -4213,7 +4232,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe /** - * The public key for a given CryptoKeyVersion. Obtained via GetPublicKey. + * The public keys for a given CryptoKeyVersion. Obtained via GetPublicKey. */ @interface GTLRCloudKMS_PublicKey : GTLRObject @@ -4326,7 +4345,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe @property(nonatomic, copy, nullable) NSString *name; /** - * The public key, encoded in PEM format. For more information, see the [RFC + * A public key encoded in PEM format, populated only when GetPublicKey returns + * one key. For more information, see the [RFC * 7468](https://tools.ietf.org/html/rfc7468) sections for [General * Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual * Encoding of Subject Public Key Info] @@ -4335,16 +4355,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe @property(nonatomic, copy, nullable) NSString *pem; /** - * Integrity verification field. A CRC32C checksum of the returned - * PublicKey.pem. An integrity check of PublicKey.pem can be performed by - * computing the CRC32C checksum of PublicKey.pem and comparing your results to - * this field. Discard the response in case of non-matching checksum values, - * and perform a limited number of retries. A persistent mismatch may indicate - * an issue in your computation of the CRC32C checksum. Note: This field is - * defined as int64 for reasons of compatibility across different languages. - * However, it is a non-negative integer, which will never exceed 2^32-1, and - * can be safely downconverted to uint32 in languages that support this type. - * NOTE: This field is in Beta. + * Integrity verification field: A CRC32C checksum of the returned + * PublicKey.pem. It is only populated when GetPublicKey returns one key. An + * integrity check of PublicKey.pem can be performed by computing the CRC32C + * checksum of PublicKey.pem and comparing your results to this field. Discard + * the response in case of non-matching checksum values, and perform a limited + * number of retries. A persistent mismatch may indicate an issue in your + * computation of the CRC32C checksum. Note: This field is defined as int64 for + * reasons of compatibility across different languages. However, it is a + * non-negative integer, which will never exceed 2^32-1, and can be safely + * downconverted to uint32 in languages that support this type. NOTE: This + * field is in Beta. * * Uses NSNumber of longLongValue. */ diff --git a/Sources/GeneratedServices/CloudOSLogin/GTLRCloudOSLoginQuery.m b/Sources/GeneratedServices/CloudOSLogin/GTLRCloudOSLoginQuery.m index f602b48c5..de63309a0 100644 --- a/Sources/GeneratedServices/CloudOSLogin/GTLRCloudOSLoginQuery.m +++ b/Sources/GeneratedServices/CloudOSLogin/GTLRCloudOSLoginQuery.m @@ -37,7 +37,14 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRCloudOSLoginQuery_UsersImportSshPublicKey -@dynamic parent, projectId; +@dynamic parent, projectId, regions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"regions" : [NSString class] + }; + return map; +} + (instancetype)queryWithObject:(GTLRCloudOSLogin_SshPublicKey *)object parent:(NSString *)parent { diff --git a/Sources/GeneratedServices/CloudOSLogin/Public/GoogleAPIClientForREST/GTLRCloudOSLoginQuery.h b/Sources/GeneratedServices/CloudOSLogin/Public/GoogleAPIClientForREST/GTLRCloudOSLoginQuery.h index 3136b7c96..ec4ff7315 100644 --- a/Sources/GeneratedServices/CloudOSLogin/Public/GoogleAPIClientForREST/GTLRCloudOSLoginQuery.h +++ b/Sources/GeneratedServices/CloudOSLogin/Public/GoogleAPIClientForREST/GTLRCloudOSLoginQuery.h @@ -89,6 +89,13 @@ NS_ASSUME_NONNULL_BEGIN /** The project ID of the Google Cloud Platform project. */ @property(nonatomic, copy, nullable) NSString *projectId; +/** + * Optional. The regions to which to assert that the key was written. If + * unspecified, defaults to all regions. Regions are listed at + * https://cloud.google.com/about/locations#region. + */ +@property(nonatomic, strong, nullable) NSArray *regions; + /** * Fetches a @c GTLRCloudOSLogin_ImportSshPublicKeyResponse. * diff --git a/Sources/GeneratedServices/CloudProfiler/GTLRCloudProfilerObjects.m b/Sources/GeneratedServices/CloudProfiler/GTLRCloudProfilerObjects.m index 3720a5e2d..3b63d8e18 100644 --- a/Sources/GeneratedServices/CloudProfiler/GTLRCloudProfilerObjects.m +++ b/Sources/GeneratedServices/CloudProfiler/GTLRCloudProfilerObjects.m @@ -75,6 +75,28 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudProfiler_ListProfilesResponse +// + +@implementation GTLRCloudProfiler_ListProfilesResponse +@dynamic nextPageToken, profiles, skippedProfiles; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"profiles" : [GTLRCloudProfiler_Profile class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"profiles"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudProfiler_Profile diff --git a/Sources/GeneratedServices/CloudProfiler/GTLRCloudProfilerQuery.m b/Sources/GeneratedServices/CloudProfiler/GTLRCloudProfilerQuery.m index 5f510b53b..fa0273817 100644 --- a/Sources/GeneratedServices/CloudProfiler/GTLRCloudProfilerQuery.m +++ b/Sources/GeneratedServices/CloudProfiler/GTLRCloudProfilerQuery.m @@ -70,6 +70,25 @@ + (instancetype)queryWithObject:(GTLRCloudProfiler_Profile *)object @end +@implementation GTLRCloudProfilerQuery_ProjectsProfilesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/profiles"; + GTLRCloudProfilerQuery_ProjectsProfilesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudProfiler_ListProfilesResponse class]; + query.loggingName = @"cloudprofiler.projects.profiles.list"; + return query; +} + +@end + @implementation GTLRCloudProfilerQuery_ProjectsProfilesPatch @dynamic name, updateMask; diff --git a/Sources/GeneratedServices/CloudProfiler/Public/GoogleAPIClientForREST/GTLRCloudProfilerObjects.h b/Sources/GeneratedServices/CloudProfiler/Public/GoogleAPIClientForREST/GTLRCloudProfilerObjects.h index d9aab3238..20051e91a 100644 --- a/Sources/GeneratedServices/CloudProfiler/Public/GoogleAPIClientForREST/GTLRCloudProfilerObjects.h +++ b/Sources/GeneratedServices/CloudProfiler/Public/GoogleAPIClientForREST/GTLRCloudProfilerObjects.h @@ -16,6 +16,7 @@ @class GTLRCloudProfiler_Deployment; @class GTLRCloudProfiler_Deployment_Labels; +@class GTLRCloudProfiler_Profile; @class GTLRCloudProfiler_Profile_Labels; // Generated comments include content from the discovery document; avoid them @@ -219,6 +220,44 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudProfiler_Profile_ProfileType_Wall; @end +/** + * ListProfileResponse contains the list of collected profiles for deployments + * in projects which the user has permissions to view. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "profiles" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRCloudProfiler_ListProfilesResponse : GTLRCollectionObject + +/** + * Token to receive the next page of results. This field maybe empty if there + * are no more profiles to fetch. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * List of profiles fetched. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *profiles; + +/** + * Number of profiles that were skipped in the current page since they were not + * able to be fetched successfully. This should typically be zero. A non-zero + * value may indicate a transient failure, in which case if the number is too + * high for your use case, the call may be retried. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skippedProfiles; + +@end + + /** * Profile resource. */ diff --git a/Sources/GeneratedServices/CloudProfiler/Public/GoogleAPIClientForREST/GTLRCloudProfilerQuery.h b/Sources/GeneratedServices/CloudProfiler/Public/GoogleAPIClientForREST/GTLRCloudProfilerQuery.h index 8759c0c4a..c951659cd 100644 --- a/Sources/GeneratedServices/CloudProfiler/Public/GoogleAPIClientForREST/GTLRCloudProfilerQuery.h +++ b/Sources/GeneratedServices/CloudProfiler/Public/GoogleAPIClientForREST/GTLRCloudProfilerQuery.h @@ -116,6 +116,57 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Lists profiles which have been collected so far and for which the caller has + * permission to view. + * + * Method: cloudprofiler.projects.profiles.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudProfilerCloudPlatform + * @c kGTLRAuthScopeCloudProfilerMonitoring + * @c kGTLRAuthScopeCloudProfilerMonitoringWrite + */ +@interface GTLRCloudProfilerQuery_ProjectsProfilesList : GTLRCloudProfilerQuery + +/** + * The maximum number of items to return. Default page_size is 1000. Max limit + * is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The token to continue pagination and get profiles from a particular page. + * When paginating, all other parameters provided to `ListProfiles` must match + * the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of profiles. Format: + * projects/{user_project_id} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRCloudProfiler_ListProfilesResponse. + * + * Lists profiles which have been collected so far and for which the caller has + * permission to view. + * + * @param parent Required. The parent, which owns this collection of profiles. + * Format: projects/{user_project_id} + * + * @return GTLRCloudProfilerQuery_ProjectsProfilesList + * + * @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 + /** * UpdateProfile updates the profile bytes and labels on the profile resource * created in the online mode. Updating the bytes for profiles created in the diff --git a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m index f79de3f38..ff1197aa3 100644 --- a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m +++ b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m @@ -288,8 +288,8 @@ @implementation GTLRCloudRedis_Instance locationId, maintenancePolicy, maintenanceSchedule, maintenanceVersion, memorySizeGb, name, nodes, persistenceConfig, persistenceIamIdentity, port, readEndpoint, readEndpointPort, readReplicasMode, redisConfigs, - redisVersion, replicaCount, reservedIpRange, satisfiesPzs, - secondaryIpRange, serverCaCerts, state, statusMessage, + redisVersion, replicaCount, reservedIpRange, satisfiesPzi, + satisfiesPzs, secondaryIpRange, serverCaCerts, state, statusMessage, suspensionReasons, tier, transitEncryptionMode; + (NSDictionary *)arrayPropertyToClassMap { diff --git a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h index c18ff4b4b..b9eda6dc5 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 Isolation compliance + * state of the instance. Field name and documentation is obfuscated according + * to go/per-resource-zi-bit-semantics. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzi; + /** * Optional. Output only. Reserved for future use. Zone Separation compliance * state of the instance. Field name and documentation is obfuscated according diff --git a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m index 30d57a204..2fa62f715 100644 --- a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m +++ b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m @@ -540,6 +540,24 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2alphaEnrollSolutionResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse +@dynamic errorSamples, errorsConfig, outputResult; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"errorSamples" : [GTLRCloudRetail_GoogleRpcStatus class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2alphaExportErrorsConfig diff --git a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h index f158d9af8..1f6eb3627 100644 --- a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h +++ b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h @@ -1740,6 +1740,26 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ServingCo @end +/** + * Response of the ExportAnalyticsMetricsRequest. If the long running operation + * was successful, then this message is returned by the + * google.longrunning.Operations.response field if the operation was + * successful. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse : GTLRObject + +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** This field is never set. */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2alphaExportErrorsConfig *errorsConfig; + +/** Output result indicating where the data were exported to. */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2alphaOutputResult *outputResult; + +@end + + /** * Configuration of destination for Export related errors. */ @@ -5611,12 +5631,12 @@ GTLR_DEPRECATED * represented as: "categories": [ "Shoes & Accessories > Shoes", "Sports & * Fitness > Athletic Clothing > Shoes" ] Must be set for Type.PRIMARY Product * otherwise an INVALID_ARGUMENT error is returned. At most 250 values are - * allowed per Product. Empty values are not allowed. Each value must be a - * UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an - * INVALID_ARGUMENT error is returned. Corresponding properties: Google - * Merchant Center property google_product_category. Schema.org property - * [Product.category] (https://schema.org/category). - * [mc_google_product_category]: + * allowed per Product unless overridden via pantheon UI. Empty values are not + * allowed. Each value must be a UTF-8 encoded string with a length limit of + * 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. + * Corresponding properties: Google Merchant Center property + * google_product_category. Schema.org property [Product.category] + * (https://schema.org/category). [mc_google_product_category]: * https://support.google.com/merchants/answer/6324436 */ @property(nonatomic, strong, nullable) NSArray *categories; @@ -5660,14 +5680,13 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * The timestamp when this product becomes unavailable for - * SearchService.Search. Note that this is only applicable to Type.PRIMARY and - * Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the - * users to delete the stale products explicitly, instead of using this field - * to determine staleness. If it is set, the Product is not available for - * SearchService.Search after expire_time. However, the product can still be - * retrieved by ProductService.GetProduct and ProductService.ListProducts. - * expire_time must be later than available_time and publish_time, otherwise an + * Note that this field is applied in the following ways: * If the Product is + * already expired when it is uploaded, this product is not indexed for search. + * * If the Product is not expired when it is uploaded, only the Type.PRIMARY's + * and Type.COLLECTION's expireTime is respected, and Type.VARIANT's expireTime + * is not used. In general, we suggest the users to delete the stale products + * explicitly, instead of using this field to determine staleness. expire_time + * must be later than available_time and publish_time, otherwise an * INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant * Center property * [expiration_date](https://support.google.com/merchants/answer/6324499). diff --git a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m index 5d3fe09b8..b97a75aa3 100644 --- a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m +++ b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m @@ -413,6 +413,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRun_GoogleCloudRunV2GCSVolumeSource +// + +@implementation GTLRCloudRun_GoogleCloudRunV2GCSVolumeSource +@dynamic bucket, readOnly; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRun_GoogleCloudRunV2GRPCAction @@ -637,6 +647,16 @@ @implementation GTLRCloudRun_GoogleCloudRunV2NetworkInterface @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRun_GoogleCloudRunV2NFSVolumeSource +// + +@implementation GTLRCloudRun_GoogleCloudRunV2NFSVolumeSource +@dynamic path, readOnly, server; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRun_GoogleCloudRunV2Overrides @@ -1067,7 +1087,7 @@ @implementation GTLRCloudRun_GoogleCloudRunV2VersionToPath // @implementation GTLRCloudRun_GoogleCloudRunV2Volume -@dynamic cloudSqlInstance, emptyDir, name, secret; +@dynamic cloudSqlInstance, emptyDir, gcs, name, nfs, secret; @end diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h index 32e82a637..1e9c70497 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h @@ -33,6 +33,7 @@ @class GTLRCloudRun_GoogleCloudRunV2ExecutionTemplate; @class GTLRCloudRun_GoogleCloudRunV2ExecutionTemplate_Annotations; @class GTLRCloudRun_GoogleCloudRunV2ExecutionTemplate_Labels; +@class GTLRCloudRun_GoogleCloudRunV2GCSVolumeSource; @class GTLRCloudRun_GoogleCloudRunV2GRPCAction; @class GTLRCloudRun_GoogleCloudRunV2HTTPGetAction; @class GTLRCloudRun_GoogleCloudRunV2HTTPHeader; @@ -40,6 +41,7 @@ @class GTLRCloudRun_GoogleCloudRunV2Job_Annotations; @class GTLRCloudRun_GoogleCloudRunV2Job_Labels; @class GTLRCloudRun_GoogleCloudRunV2NetworkInterface; +@class GTLRCloudRun_GoogleCloudRunV2NFSVolumeSource; @class GTLRCloudRun_GoogleCloudRunV2Overrides; @class GTLRCloudRun_GoogleCloudRunV2Probe; @class GTLRCloudRun_GoogleCloudRunV2ResourceRequirements; @@ -1747,6 +1749,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @end +/** + * Represents a GCS Bucket mounted as a volume. + */ +@interface GTLRCloudRun_GoogleCloudRunV2GCSVolumeSource : GTLRObject + +/** GCS Bucket name */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** + * If true, mount the GCS bucket as read-only + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *readOnly; + +@end + + /** * GRPCAction describes an action involving a GRPC port. */ @@ -2225,6 +2245,27 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @end +/** + * Represents an NFS mount. + */ +@interface GTLRCloudRun_GoogleCloudRunV2NFSVolumeSource : GTLRObject + +/** Path that is exported by the NFS server. */ +@property(nonatomic, copy, nullable) NSString *path; + +/** + * If true, mount the NFS volume as read only + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *readOnly; + +/** Hostname or IP address of the NFS server */ +@property(nonatomic, copy, nullable) NSString *server; + +@end + + /** * RunJob Overrides that contains Execution fields to be overridden. */ @@ -2319,16 +2360,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @interface GTLRCloudRun_GoogleCloudRunV2ResourceRequirements : GTLRObject /** - * Determines whether CPU should be throttled or not outside of requests. + * Determines whether CPU is only allocated during requests (true by default). + * However, if ResourceRequirements is set, the caller must explicitly set this + * field to true to preserve the default behavior. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *cpuIdle; /** - * Only ´memory´ and 'cpu' are supported. Notes: * The only supported values - * for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of - * memory. For more information, go to + * Only `memory` and `cpu` keys in the map are supported. Notes: * The only + * supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires + * at least 2Gi of memory. For more information, go to * https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' * values and syntax, go to * https://cloud.google.com/run/docs/configuring/memory-limits @@ -2348,9 +2391,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy /** - * Only ´memory´ and 'cpu' are supported. Notes: * The only supported values - * for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of - * memory. For more information, go to + * Only `memory` and `cpu` keys in the map are supported. Notes: * The only + * supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires + * at least 2Gi of memory. For more information, go to * https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' * values and syntax, go to * https://cloud.google.com/run/docs/configuring/memory-limits @@ -3753,9 +3796,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy /** Ephemeral storage used as a shared volume. */ @property(nonatomic, strong, nullable) GTLRCloudRun_GoogleCloudRunV2EmptyDirVolumeSource *emptyDir; +/** Persistent storage backed by a Google Cloud Storage bucket. */ +@property(nonatomic, strong, nullable) GTLRCloudRun_GoogleCloudRunV2GCSVolumeSource *gcs; + /** Required. Volume's name. */ @property(nonatomic, copy, nullable) NSString *name; +/** For NFS Voumes, contains the path to the nfs Volume */ +@property(nonatomic, strong, nullable) GTLRCloudRun_GoogleCloudRunV2NFSVolumeSource *nfs; + /** Secret represents a secret that should populate this volume. */ @property(nonatomic, strong, nullable) GTLRCloudRun_GoogleCloudRunV2SecretVolumeSource *secret; diff --git a/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h b/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h index 2e7c1ba26..c5649649d 100644 --- a/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h +++ b/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h @@ -219,12 +219,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; * `X-CloudScheduler`: This header will be set to true. * * `X-CloudScheduler-JobName`: This header will contain the job name. * * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the - * unix-cron format, this header will contain the job schedule time in RFC3339 - * UTC "Zulu" format. If the job has a body and the following headers are not - * set by the user, Cloud Scheduler sets default values: * `Content-Type`: This - * will be set to `"application/octet-stream"`. You can override this default - * by explicitly setting `Content-Type` to a particular media type when - * creating the job. For example, you can set `Content-Type` to + * unix-cron format, this header will contain the job schedule as an offset of + * UTC parsed according to RFC3339. If the job has a body and the following + * headers are not set by the user, Cloud Scheduler sets default values: * + * `Content-Type`: This will be set to `"application/octet-stream"`. You can + * override this default by explicitly setting `Content-Type` to a particular + * media type when creating the job. For example, you can set `Content-Type` to * `"application/json"`. The headers below are output only. They cannot be set * or overridden: * `Content-Length`: This is computed by Cloud Scheduler. * * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google @@ -279,12 +279,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; * `X-CloudScheduler`: This header will be set to true. * * `X-CloudScheduler-JobName`: This header will contain the job name. * * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the - * unix-cron format, this header will contain the job schedule time in RFC3339 - * UTC "Zulu" format. If the job has a body and the following headers are not - * set by the user, Cloud Scheduler sets default values: * `Content-Type`: This - * will be set to `"application/octet-stream"`. You can override this default - * by explicitly setting `Content-Type` to a particular media type when - * creating the job. For example, you can set `Content-Type` to + * unix-cron format, this header will contain the job schedule as an offset of + * UTC parsed according to RFC3339. If the job has a body and the following + * headers are not set by the user, Cloud Scheduler sets default values: * + * `Content-Type`: This will be set to `"application/octet-stream"`. You can + * override this default by explicitly setting `Content-Type` to a particular + * media type when creating the job. For example, you can set `Content-Type` to * `"application/json"`. The headers below are output only. They cannot be set * or overridden: * `Content-Length`: This is computed by Cloud Scheduler. * * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google @@ -412,12 +412,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; * `X-CloudScheduler`: This header will be set to true. * * `X-CloudScheduler-JobName`: This header will contain the job name. * * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the - * unix-cron format, this header will contain the job schedule time in RFC3339 - * UTC "Zulu" format. If the job has a body and the following headers are not - * set by the user, Cloud Scheduler sets default values: * `Content-Type`: This - * will be set to `"application/octet-stream"`. You can override this default - * by explicitly setting `Content-Type` to a particular media type when - * creating the job. For example, you can set `Content-Type` to + * unix-cron format, this header will contain the job schedule as an offset of + * UTC parsed according to RFC3339. If the job has a body and the following + * headers are not set by the user, Cloud Scheduler sets default values: * + * `Content-Type`: This will be set to `"application/octet-stream"`. You can + * override this default by explicitly setting `Content-Type` to a particular + * media type when creating the job. For example, you can set `Content-Type` to * `"application/json"`. The total size of headers must be less than 80KB. */ @property(nonatomic, strong, nullable) GTLRCloudScheduler_HttpTarget_Headers *headers; @@ -491,12 +491,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; * `X-CloudScheduler`: This header will be set to true. * * `X-CloudScheduler-JobName`: This header will contain the job name. * * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the - * unix-cron format, this header will contain the job schedule time in RFC3339 - * UTC "Zulu" format. If the job has a body and the following headers are not - * set by the user, Cloud Scheduler sets default values: * `Content-Type`: This - * will be set to `"application/octet-stream"`. You can override this default - * by explicitly setting `Content-Type` to a particular media type when - * creating the job. For example, you can set `Content-Type` to + * unix-cron format, this header will contain the job schedule as an offset of + * UTC parsed according to RFC3339. If the job has a body and the following + * headers are not set by the user, Cloud Scheduler sets default values: * + * `Content-Type`: This will be set to `"application/octet-stream"`. You can + * override this default by explicitly setting `Content-Type` to a particular + * media type when creating the job. For example, you can set `Content-Type` to * `"application/json"`. The total size of headers must be less than 80KB. * * @note This class is documented as having more properties of NSString. Use @c diff --git a/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesObjects.h b/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesObjects.h index 2e668e161..8c58dd61b 100644 --- a/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesObjects.h +++ b/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesObjects.h @@ -190,9 +190,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSourceRepositories_PubsubConfig_Mes * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -206,7 +222,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSourceRepositories_PubsubConfig_Mes * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; diff --git a/Sources/GeneratedServices/CloudSupport/GTLRCloudSupportObjects.m b/Sources/GeneratedServices/CloudSupport/GTLRCloudSupportObjects.m index f4d5732fd..cf12e3aaa 100644 --- a/Sources/GeneratedServices/CloudSupport/GTLRCloudSupportObjects.m +++ b/Sources/GeneratedServices/CloudSupport/GTLRCloudSupportObjects.m @@ -75,7 +75,7 @@ // @implementation GTLRCloudSupport_Actor -@dynamic displayName, email, googleSupport; +@dynamic displayName, email, googleSupport, username; @end diff --git a/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportObjects.h b/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportObjects.h index 0fd1cb6f4..9b2eb8c11 100644 --- a/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportObjects.h +++ b/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportObjects.h @@ -321,8 +321,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_W FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_WorkflowOperationType_WorkflowsV2; /** - * An object containing information about the effective user and authenticated - * principal responsible for an action. + * An Actor represents an entity that performed an action. For example, an + * actor could be a user who posted a comment on a support case, a user who + * uploaded an attachment, or a service account that created a support case. */ @interface GTLRCloudSupport_Actor : GTLRObject @@ -335,13 +336,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_W @property(nonatomic, copy, nullable) NSString *displayName; /** - * The email address of the actor. If not provided, it is inferred from - * credentials supplied during case creation. If the authenticated principal - * does not have an email address, one must be provided. When a name is - * provided, an email must also be provided. This will be obfuscated if the - * user is a Google Support agent. + * The email address of the actor. If not provided, it is inferred from the + * credentials supplied during case creation. When a name is provided, an email + * must also be provided. If the user is a Google Support agent, this is + * obfuscated. This field is deprecated. Use **username** field instead. */ -@property(nonatomic, copy, nullable) NSString *email; +@property(nonatomic, copy, nullable) NSString *email GTLR_DEPRECATED; /** * Output only. Whether the actor is a Google support actor. @@ -350,11 +350,23 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_W */ @property(nonatomic, strong, nullable) NSNumber *googleSupport; +/** + * Output only. The username of the actor. It may look like an email or other + * format provided by the identity provider. If not provided, it is inferred + * from the credentials supplied. When a name is provided, a username must also + * be provided. If the user is a Google Support agent, this will not be set. + */ +@property(nonatomic, copy, nullable) NSString *username; + @end /** - * Represents a file attached to a support case. + * An Attachment contains metadata about a file that was uploaded to a case - + * it is NOT a file itself. That being said, the name of an Attachment object + * can be used to download its accompanying file through the `media.download` + * endpoint. While attachments can be uploaded in the console at the same time + * as a comment, they're associated on a "case" level, not a "comment" level. */ @interface GTLRCloudSupport_Attachment : GTLRObject @@ -424,7 +436,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_W /** - * A support case. + * A Case is an object that contains the details of a support case. It contains + * fields for the time it was created, its priority, its classification, and + * more. Cases can also have comments and attachments that get added over time. + * A case is parented by a Google Cloud organization or project. Organizations + * are identified by a number, so the name of a case parented by an + * organization would look like this: ``` organizations/123/cases/456 ``` + * Projects have two unique identifiers, an ID and a number, and they look like + * this: ``` projects/abc/cases/456 ``` ``` projects/123/cases/456 ``` You can + * use either of them when calling the API. To learn more about project + * identifiers, see [AIP-2510](https://google.aip.dev/cloud/2510). */ @interface GTLRCloudSupport_Case : GTLRObject @@ -543,7 +564,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_W /** - * A classification object with a product type and value. + * A Case Classification represents the topic that a case is about. It's very + * important to use accurate classifications, because they're used to route + * your cases to specialists who can help you. A classification always has an + * ID that is its unique identifier. A valid ID is required when creating a + * case. */ @interface GTLRCloudSupport_CaseClassification : GTLRObject @@ -578,7 +603,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_W /** - * A comment associated with a support case. + * Case comments are the main way Google Support communicates with a user who + * has opened a case. When a user responds to Google Support, the user's + * responses also appear as comments. */ @interface GTLRCloudSupport_Comment : GTLRObject diff --git a/Sources/GeneratedServices/CloudTasks/Public/GoogleAPIClientForREST/GTLRCloudTasksObjects.h b/Sources/GeneratedServices/CloudTasks/Public/GoogleAPIClientForREST/GTLRCloudTasksObjects.h index e899162ff..e2e468b43 100644 --- a/Sources/GeneratedServices/CloudTasks/Public/GoogleAPIClientForREST/GTLRCloudTasksObjects.h +++ b/Sources/GeneratedServices/CloudTasks/Public/GoogleAPIClientForREST/GTLRCloudTasksObjects.h @@ -789,19 +789,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTasks_UriOverride_UriOverrideEnforc * then Cloud Tasks will set it to the current time. Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If a task's ID * is identical to that of an existing task or a task that was deleted or - * executed recently then the call will fail with ALREADY_EXISTS. If the task's - * queue was created using Cloud Tasks, then another task with the same name - * can't be created for ~1hour after the original task was deleted or executed. - * If the task's queue was created using queue.yaml or queue.xml, then another - * task with the same name can't be created for ~9days after the original task - * was deleted or executed. Because there is an extra lookup cost to identify - * duplicate task names, these CreateTask calls have significantly increased - * latency. Using hashed strings for the task id or for the prefix of the task - * id is recommended. Choosing task ids that are sequential or have sequential - * prefixes, for example using a timestamp, causes an increase in latency and - * error rates in all task commands. The infrastructure relies on an - * approximately uniform distribution of task ids to store and serve tasks - * efficiently. + * executed recently then the call will fail with ALREADY_EXISTS. The IDs of + * deleted tasks are not immediately available for reuse. It can take up to 4 + * hours (or 9 days if the task's queue was created using a queue.yaml or + * queue.xml) for the task ID to be released and made available again. Because + * there is an extra lookup cost to identify duplicate task names, these + * CreateTask calls have significantly increased latency. Using hashed strings + * for the task id or for the prefix of the task id is recommended. Choosing + * task ids that are sequential or have sequential prefixes, for example using + * a timestamp, causes an increase in latency and error rates in all task + * commands. The infrastructure relies on an approximately uniform distribution + * of task ids to store and serve tasks efficiently. */ @property(nonatomic, strong, nullable) GTLRCloudTasks_Task *task; diff --git a/Sources/GeneratedServices/CloudVideoIntelligence/Public/GoogleAPIClientForREST/GTLRCloudVideoIntelligenceObjects.h b/Sources/GeneratedServices/CloudVideoIntelligence/Public/GoogleAPIClientForREST/GTLRCloudVideoIntelligenceObjects.h index 4ab475fce..adf2bf872 100644 --- a/Sources/GeneratedServices/CloudVideoIntelligence/Public/GoogleAPIClientForREST/GTLRCloudVideoIntelligenceObjects.h +++ b/Sources/GeneratedServices/CloudVideoIntelligence/Public/GoogleAPIClientForREST/GTLRCloudVideoIntelligenceObjects.h @@ -5691,8 +5691,8 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *name; /** - * The normal response of the operation in case of success. If the original - * method returns no data on success, such as `Delete`, the response is + * 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 @@ -5720,8 +5720,8 @@ GTLR_DEPRECATED /** - * The normal response of the operation in case of success. If the original - * method returns no data on success, such as `Delete`, the response is + * 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 diff --git a/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m b/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m index d3fde89de..09c77fd0f 100644 --- a/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m +++ b/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m @@ -138,6 +138,16 @@ @implementation GTLRCloudWorkstations_CustomerEncryptionKey @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudWorkstations_DomainConfig +// + +@implementation GTLRCloudWorkstations_DomainConfig +@dynamic domain; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudWorkstations_Expr @@ -666,7 +676,7 @@ @implementation GTLRCloudWorkstations_TestIamPermissionsResponse @implementation GTLRCloudWorkstations_Workstation @dynamic annotations, createTime, deleteTime, displayName, env, ETag, host, - labels, name, reconciling, startTime, state, uid, updateTime; + kmsKey, labels, name, reconciling, startTime, state, uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -724,7 +734,7 @@ + (Class)classForAdditionalProperties { @implementation GTLRCloudWorkstations_WorkstationCluster @dynamic annotations, conditions, controlPlaneIp, createTime, degraded, - deleteTime, displayName, ETag, labels, name, network, + deleteTime, displayName, domainConfig, ETag, labels, name, network, privateClusterConfig, reconciling, subnetwork, uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { diff --git a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h index 9c980236a..419d31e7b 100644 --- a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h +++ b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h @@ -21,6 +21,7 @@ @class GTLRCloudWorkstations_Container; @class GTLRCloudWorkstations_Container_Env; @class GTLRCloudWorkstations_CustomerEncryptionKey; +@class GTLRCloudWorkstations_DomainConfig; @class GTLRCloudWorkstations_Expr; @class GTLRCloudWorkstations_GceConfidentialInstanceConfig; @class GTLRCloudWorkstations_GceInstance; @@ -369,6 +370,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat @end +/** + * Configuration options for a custom domain. + */ +@interface GTLRCloudWorkstations_DomainConfig : GTLRObject + +/** Immutable. Domain used by Workstations for HTTP ingress. */ +@property(nonatomic, copy, nullable) NSString *domain; + +@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 @@ -1428,6 +1440,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat */ @property(nonatomic, copy, nullable) NSString *host; +/** + * Output only. The name of the Google Cloud KMS encryption key used to encrypt + * this workstation. The KMS key can only be configured in the + * WorkstationConfig. The expected format is `projects/ * /locations/ * + * /keyRings/ * /cryptoKeys/ *`. + */ +@property(nonatomic, copy, nullable) NSString *kmsKey; + /** * Optional. * [Labels](https://cloud.google.com/workstations/docs/label-resources) that @@ -1564,6 +1584,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat /** Optional. Human-readable name for this workstation cluster. */ @property(nonatomic, copy, nullable) NSString *displayName; +/** Optional. Configuration options for a custom domain. */ +@property(nonatomic, strong, nullable) GTLRCloudWorkstations_DomainConfig *domainConfig; + /** * 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 diff --git a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h index 18beb42b3..a41f8318e 100644 --- a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h +++ b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h @@ -259,8 +259,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudbilling_GeoTaxonomy_Type_TypeUnspec /** * Output only. True if the billing account is open, and will therefore be * charged for any usage on associated projects. False if the billing account - * is closed, and therefore projects associated with it will be unable to use - * paid services. + * is closed, and therefore projects associated with it are unable to use paid + * services. * * Uses NSNumber of boolValue. */ @@ -269,9 +269,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudbilling_GeoTaxonomy_Type_TypeUnspec /** * 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` + * 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; @@ -312,9 +312,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudbilling_GeoTaxonomy_Type_TypeUnspec * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -328,7 +344,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudbilling_GeoTaxonomy_Type_TypeUnspec * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -599,8 +618,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudbilling_GeoTaxonomy_Type_TypeUnspec @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}`. + * Required. The resource name of the Organization to move the billing account + * under. Must be of the form `organizations/{organization_id}`. */ @property(nonatomic, copy, nullable) NSString *destinationParent; diff --git a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingQuery.h b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingQuery.h index 461d31e4b..16ef36c0f 100644 --- a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingQuery.h +++ b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingQuery.h @@ -58,8 +58,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. The parent to create a billing account from. Format: - - * organizations/{organization_id} eg organizations/12345678 - - * billingAccounts/{billing_account_id} eg + * `organizations/{organization_id}`, for example, `organizations/12345678` - + * `billingAccounts/{billing_account_id}`, for example, * `billingAccounts/012345-567890-ABCDEF` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -197,8 +197,8 @@ NS_ASSUME_NONNULL_BEGIN /** * 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 + * under a single provided parent billing account. (for example, + * `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean * algebra and other fields are not currently supported. */ @property(nonatomic, copy, nullable) NSString *filter; @@ -217,8 +217,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. The parent resource to list billing accounts from. Format: - - * organizations/{organization_id} eg organizations/12345678 - - * billingAccounts/{billing_account_id} eg + * `organizations/{organization_id}`, for example, `organizations/12345678` - + * `billingAccounts/{billing_account_id}`, for example, * `billingAccounts/012345-567890-ABCDEF` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -448,8 +448,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. The parent to create a billing account from. Format: - - * organizations/{organization_id} eg organizations/12345678 - - * billingAccounts/{billing_account_id} eg + * `organizations/{organization_id}`, for example, `organizations/12345678` - + * `billingAccounts/{billing_account_id}`, for example, * `billingAccounts/012345-567890-ABCDEF` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -473,8 +473,8 @@ NS_ASSUME_NONNULL_BEGIN * @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 + * - `organizations/{organization_id}`, for example, `organizations/12345678` + * - `billingAccounts/{billing_account_id}`, for example, * `billingAccounts/012345-567890-ABCDEF` * * @return GTLRCloudbillingQuery_BillingAccountsSubAccountsCreate @@ -501,8 +501,8 @@ NS_ASSUME_NONNULL_BEGIN /** * 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 + * under a single provided parent billing account. (for example, + * `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean * algebra and other fields are not currently supported. */ @property(nonatomic, copy, nullable) NSString *filter; @@ -521,8 +521,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. The parent resource to list billing accounts from. Format: - - * organizations/{organization_id} eg organizations/12345678 - - * billingAccounts/{billing_account_id} eg + * `organizations/{organization_id}`, for example, `organizations/12345678` - + * `billingAccounts/{billing_account_id}`, for example, * `billingAccounts/012345-567890-ABCDEF` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -535,9 +535,9 @@ NS_ASSUME_NONNULL_BEGIN * [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` + * Format: - `organizations/{organization_id}`, for example, + * `organizations/12345678` - `billingAccounts/{billing_account_id}`, for + * example, `billingAccounts/012345-567890-ABCDEF` * * @return GTLRCloudbillingQuery_BillingAccountsSubAccountsList * @@ -615,8 +615,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. The parent to create a billing account from. Format: - - * organizations/{organization_id} eg organizations/12345678 - - * billingAccounts/{billing_account_id} eg + * `organizations/{organization_id}`, for example, `organizations/12345678` - + * `billingAccounts/{billing_account_id}`, for example, * `billingAccounts/012345-567890-ABCDEF` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -640,8 +640,8 @@ NS_ASSUME_NONNULL_BEGIN * @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 + * - `organizations/{organization_id}`, for example, `organizations/12345678` + * - `billingAccounts/{billing_account_id}`, for example, * `billingAccounts/012345-567890-ABCDEF` * * @return GTLRCloudbillingQuery_OrganizationsBillingAccountsCreate @@ -668,8 +668,8 @@ NS_ASSUME_NONNULL_BEGIN /** * 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 + * under a single provided parent billing account. (for example, + * `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean * algebra and other fields are not currently supported. */ @property(nonatomic, copy, nullable) NSString *filter; @@ -688,8 +688,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. The parent resource to list billing accounts from. Format: - - * organizations/{organization_id} eg organizations/12345678 - - * billingAccounts/{billing_account_id} eg + * `organizations/{organization_id}`, for example, `organizations/12345678` - + * `billingAccounts/{billing_account_id}`, for example, * `billingAccounts/012345-567890-ABCDEF` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -702,9 +702,9 @@ NS_ASSUME_NONNULL_BEGIN * [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` + * Format: - `organizations/{organization_id}`, for example, + * `organizations/12345678` - `billingAccounts/{billing_account_id}`, for + * example, `billingAccounts/012345-567890-ABCDEF` * * @return GTLRCloudbillingQuery_OrganizationsBillingAccountsList * @@ -728,8 +728,8 @@ NS_ASSUME_NONNULL_BEGIN @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}`. + * Required. The resource name of the Organization to move the billing account + * under. Must be of the form `organizations/{organization_id}`. */ @property(nonatomic, copy, nullable) NSString *destinationParent; @@ -747,7 +747,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * move 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 diff --git a/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelQuery.m b/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelQuery.m index e37541d58..6a31a31c9 100644 --- a/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelQuery.m +++ b/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelQuery.m @@ -29,6 +29,9 @@ // Query Classes // +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + @implementation GTLRCloudchannelQuery @dynamic fields; @@ -1490,3 +1493,5 @@ + (instancetype)queryWithParent:(NSString *)parent { } @end + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h index 3fc9c1151..08cea5094 100644 --- a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h +++ b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h @@ -1777,6 +1777,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe * The definition of a report column. Specifies the data properties in the * corresponding position of the report rows. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1alpha1Column : GTLRObject /** @@ -1865,6 +1866,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe /** * A representation of usage or invoice date ranges. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1alpha1DateRange : GTLRObject /** @@ -2313,6 +2315,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe * For example, "Google Cloud Daily Spend", "Google Workspace License * Activity", etc. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1alpha1Report : GTLRObject /** @@ -2346,6 +2349,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe * The result of a RunReportJob operation. Contains the name to use in * FetchReportResultsRequest.report_job and the status of the operation. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1alpha1ReportJob : GTLRObject /** @@ -2365,6 +2369,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe * CloudChannelReportsService.RunReportJob and * CloudChannelReportsService.FetchReportResults. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1alpha1ReportResultsMetadata : GTLRObject /** The date range of reported usage. */ @@ -2394,6 +2399,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe /** * Status of a report generation process. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1alpha1ReportStatus : GTLRObject /** The report generation's completion time. */ @@ -2425,6 +2431,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe /** * Response message for CloudChannelReportsService.RunReportJob. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1alpha1RunReportJobResponse : GTLRObject /** @@ -2929,6 +2936,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe * The definition of a report column. Specifies the data properties in the * corresponding position of the report rows. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1Column : GTLRObject /** @@ -3241,6 +3249,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe /** * A representation of usage or invoice date ranges. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1DateRange : GTLRObject /** @@ -3637,6 +3646,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe /** * Request message for CloudChannelReportsService.FetchReportResults. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1FetchReportResultsRequest : GTLRObject /** @@ -3674,6 +3684,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe * support automatic pagination (when @c shouldFetchNextPages is * enabled). */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1FetchReportResultsResponse : GTLRCollectionObject /** @@ -4008,6 +4019,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe * should support automatic pagination (when @c shouldFetchNextPages is * enabled). */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1ListReportsResponse : GTLRCollectionObject /** @@ -4924,6 +4936,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe * For example, "Google Cloud Daily Spend", "Google Workspace License * Activity", etc. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1Report : GTLRObject /** @@ -4957,6 +4970,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe * The result of a RunReportJob operation. Contains the name to use in * FetchReportResultsRequest.report_job and the status of the operation. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1ReportJob : GTLRObject /** @@ -4976,6 +4990,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe * CloudChannelReportsService.RunReportJob and * CloudChannelReportsService.FetchReportResults. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1ReportResultsMetadata : GTLRObject /** The date range of reported usage. */ @@ -5005,6 +5020,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe /** * Status of a report generation process. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1ReportStatus : GTLRObject /** The report generation's completion time. */ @@ -5036,6 +5052,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Transfe /** * A single report value. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1ReportValue : GTLRObject /** @@ -5181,6 +5198,7 @@ GTLR_DEPRECATED /** * A row of report values. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1Row : GTLRObject /** @@ -5198,6 +5216,7 @@ GTLR_DEPRECATED /** * Request message for CloudChannelReportsService.RunReportJob. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1RunReportJobRequest : GTLRObject /** Optional. The range of usage or invoice dates to include in the result. */ @@ -5226,6 +5245,7 @@ GTLR_DEPRECATED /** * Response message for CloudChannelReportsService.RunReportJob. */ +GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleCloudChannelV1RunReportJobResponse : GTLRObject /** diff --git a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelQuery.h b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelQuery.h index a7b9c5fa7..d49063f37 100644 --- a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelQuery.h +++ b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelQuery.h @@ -3040,12 +3040,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannelViewUnspecified; /** * Retrieves data generated by CloudChannelReportsService.RunReportJob. + * Deprecated: Please use [Export Channel Services data to + * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) + * instead. * * Method: cloudchannel.accounts.reportJobs.fetchReportResults * * Authorization scope(s): * @c kGTLRAuthScopeCloudchannelAppsReportsUsageReadonly */ +GTLR_DEPRECATED @interface GTLRCloudchannelQuery_AccountsReportJobsFetchReportResults : GTLRCloudchannelQuery /** @@ -3059,6 +3063,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannelViewUnspecified; * GTLRCloudchannel_GoogleCloudChannelV1FetchReportResultsResponse. * * Retrieves data generated by CloudChannelReportsService.RunReportJob. + * Deprecated: Please use [Export Channel Services data to + * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) + * instead. * * @param object The @c * GTLRCloudchannel_GoogleCloudChannelV1FetchReportResultsRequest to include @@ -3076,13 +3083,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannelViewUnspecified; /** * Lists the reports that RunReportJob can run. These reports include an ID, a - * description, and the list of columns that will be in the result. + * description, and the list of columns that will be in the result. Deprecated: + * Please use [Export Channel Services data to + * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) + * instead. * * Method: cloudchannel.accounts.reports.list * * Authorization scope(s): * @c kGTLRAuthScopeCloudchannelAppsReportsUsageReadonly */ +GTLR_DEPRECATED @interface GTLRCloudchannelQuery_AccountsReportsList : GTLRCloudchannelQuery /** @@ -3116,7 +3127,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannelViewUnspecified; * Fetches a @c GTLRCloudchannel_GoogleCloudChannelV1ListReportsResponse. * * Lists the reports that RunReportJob can run. These reports include an ID, a - * description, and the list of columns that will be in the result. + * description, and the list of columns that will be in the result. Deprecated: + * Please use [Export Channel Services data to + * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) + * instead. * * @param parent Required. The resource name of the partner account to list * available reports for. Parent uses the format: accounts/{account_id} @@ -3144,13 +3158,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannelViewUnspecified; * CloudChannelOperationsService. The Operation metadata contains an instance * of OperationMetadata. To get the results of report generation, call * CloudChannelReportsService.FetchReportResults with the - * RunReportJobResponse.report_job. + * RunReportJobResponse.report_job. Deprecated: Please use [Export Channel + * Services data to + * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) + * instead. * * Method: cloudchannel.accounts.reports.run * * Authorization scope(s): * @c kGTLRAuthScopeCloudchannelAppsReportsUsageReadonly */ +GTLR_DEPRECATED @interface GTLRCloudchannelQuery_AccountsReportsRun : GTLRCloudchannelQuery /** @@ -3175,7 +3193,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannelViewUnspecified; * CloudChannelOperationsService. The Operation metadata contains an instance * of OperationMetadata. To get the results of report generation, call * CloudChannelReportsService.FetchReportResults with the - * RunReportJobResponse.report_job. + * RunReportJobResponse.report_job. Deprecated: Please use [Export Channel + * Services data to + * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) + * instead. * * @param object The @c * GTLRCloudchannel_GoogleCloudChannelV1RunReportJobRequest to include in the diff --git a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m index 202c06288..0d3d9a5dc 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m @@ -238,6 +238,16 @@ NSString * const kGTLRCompute_AddressList_Warning_Code_UndeclaredProperties = @"UNDECLARED_PROPERTIES"; NSString * const kGTLRCompute_AddressList_Warning_Code_Unreachable = @"UNREACHABLE"; +// GTLRCompute_AllocationAggregateReservation.vmFamily +NSString * const kGTLRCompute_AllocationAggregateReservation_VmFamily_VmFamilyCloudTpuLiteDeviceCt5l = @"VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L"; +NSString * const kGTLRCompute_AllocationAggregateReservation_VmFamily_VmFamilyCloudTpuLitePodSliceCt5lp = @"VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP"; +NSString * const kGTLRCompute_AllocationAggregateReservation_VmFamily_VmFamilyCloudTpuPodSliceCt4p = @"VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P"; + +// GTLRCompute_AllocationAggregateReservation.workloadType +NSString * const kGTLRCompute_AllocationAggregateReservation_WorkloadType_Batch = @"BATCH"; +NSString * const kGTLRCompute_AllocationAggregateReservation_WorkloadType_Serving = @"SERVING"; +NSString * const kGTLRCompute_AllocationAggregateReservation_WorkloadType_Unspecified = @"UNSPECIFIED"; + // GTLRCompute_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.interface NSString * const kGTLRCompute_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk_Interface_Nvme = @"NVME"; NSString * const kGTLRCompute_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk_Interface_Scsi = @"SCSI"; @@ -4086,6 +4096,9 @@ NSString * const kGTLRCompute_Quota_Metric_PreemptibleNvidiaT4Gpus = @"PREEMPTIBLE_NVIDIA_T4_GPUS"; NSString * const kGTLRCompute_Quota_Metric_PreemptibleNvidiaT4VwsGpus = @"PREEMPTIBLE_NVIDIA_T4_VWS_GPUS"; NSString * const kGTLRCompute_Quota_Metric_PreemptibleNvidiaV100Gpus = @"PREEMPTIBLE_NVIDIA_V100_GPUS"; +NSString * const kGTLRCompute_Quota_Metric_PreemptibleTpuLiteDeviceV5 = @"PREEMPTIBLE_TPU_LITE_DEVICE_V5"; +NSString * const kGTLRCompute_Quota_Metric_PreemptibleTpuLitePodsliceV5 = @"PREEMPTIBLE_TPU_LITE_PODSLICE_V5"; +NSString * const kGTLRCompute_Quota_Metric_PreemptibleTpuPodsliceV4 = @"PREEMPTIBLE_TPU_PODSLICE_V4"; NSString * const kGTLRCompute_Quota_Metric_PscIlbConsumerForwardingRulesPerProducerNetwork = @"PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK"; NSString * const kGTLRCompute_Quota_Metric_PscInternalLbForwardingRules = @"PSC_INTERNAL_LB_FORWARDING_RULES"; NSString * const kGTLRCompute_Quota_Metric_PublicAdvertisedPrefixes = @"PUBLIC_ADVERTISED_PREFIXES"; @@ -4123,6 +4136,9 @@ NSString * const kGTLRCompute_Quota_Metric_TargetSslProxies = @"TARGET_SSL_PROXIES"; NSString * const kGTLRCompute_Quota_Metric_TargetTcpProxies = @"TARGET_TCP_PROXIES"; NSString * const kGTLRCompute_Quota_Metric_TargetVpnGateways = @"TARGET_VPN_GATEWAYS"; +NSString * const kGTLRCompute_Quota_Metric_TpuLiteDeviceV5 = @"TPU_LITE_DEVICE_V5"; +NSString * const kGTLRCompute_Quota_Metric_TpuLitePodsliceV5 = @"TPU_LITE_PODSLICE_V5"; +NSString * const kGTLRCompute_Quota_Metric_TpuPodsliceV4 = @"TPU_PODSLICE_V4"; NSString * const kGTLRCompute_Quota_Metric_UrlMaps = @"URL_MAPS"; NSString * const kGTLRCompute_Quota_Metric_VpnGateways = @"VPN_GATEWAYS"; NSString * const kGTLRCompute_Quota_Metric_VpnTunnels = @"VPN_TUNNELS"; @@ -5023,6 +5039,8 @@ NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_Ip = @"IP"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_RegionCode = @"REGION_CODE"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_Sni = @"SNI"; +NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_TlsJa3Fingerprint = @"TLS_JA3_FINGERPRINT"; +NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_UserIp = @"USER_IP"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_XffIp = @"XFF_IP"; // GTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig.enforceOnKeyType @@ -5033,6 +5051,8 @@ NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_Ip = @"IP"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_RegionCode = @"REGION_CODE"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_Sni = @"SNI"; +NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_TlsJa3Fingerprint = @"TLS_JA3_FINGERPRINT"; +NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_UserIp = @"USER_IP"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_XffIp = @"XFF_IP"; // GTLRCompute_SecurityPolicyRuleRedirectOptions.type @@ -7137,6 +7157,45 @@ @implementation GTLRCompute_AliasIpRange @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_AllocationAggregateReservation +// + +@implementation GTLRCompute_AllocationAggregateReservation +@dynamic inUseResources, reservedResources, vmFamily, workloadType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"inUseResources" : [GTLRCompute_AllocationAggregateReservationReservedResourceInfo class], + @"reservedResources" : [GTLRCompute_AllocationAggregateReservationReservedResourceInfo class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_AllocationAggregateReservationReservedResourceInfo +// + +@implementation GTLRCompute_AllocationAggregateReservationReservedResourceInfo +@dynamic accelerator; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_AllocationAggregateReservationReservedResourceInfoAccelerator +// + +@implementation GTLRCompute_AllocationAggregateReservationReservedResourceInfoAccelerator +@dynamic acceleratorCount, acceleratorType; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_AllocationResourceStatus @@ -7227,10 +7286,10 @@ @implementation GTLRCompute_AttachedDisk @implementation GTLRCompute_AttachedDiskInitializeParams @dynamic architecture, descriptionProperty, diskName, diskSizeGb, diskType, - labels, licenses, onUpdateAction, provisionedIops, - provisionedThroughput, replicaZones, resourceManagerTags, - resourcePolicies, sourceImage, sourceImageEncryptionKey, - sourceSnapshot, sourceSnapshotEncryptionKey; + enableConfidentialCompute, labels, licenses, onUpdateAction, + provisionedIops, provisionedThroughput, replicaZones, + resourceManagerTags, resourcePolicies, sourceImage, + sourceImageEncryptionKey, sourceSnapshot, sourceSnapshotEncryptionKey; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -8708,12 +8767,12 @@ @implementation GTLRCompute_DeprecationStatus @implementation GTLRCompute_Disk @dynamic architecture, asyncPrimaryDisk, asyncSecondaryDisks, creationTimestamp, - descriptionProperty, diskEncryptionKey, guestOsFeatures, identifier, - kind, labelFingerprint, labels, lastAttachTimestamp, - lastDetachTimestamp, licenseCodes, licenses, locationHint, name, - options, params, physicalBlockSizeBytes, provisionedIops, - provisionedThroughput, region, replicaZones, resourcePolicies, - resourceStatus, satisfiesPzs, selfLink, sizeGb, + descriptionProperty, diskEncryptionKey, enableConfidentialCompute, + guestOsFeatures, identifier, kind, labelFingerprint, labels, + lastAttachTimestamp, lastDetachTimestamp, licenseCodes, licenses, + locationHint, name, options, params, physicalBlockSizeBytes, + provisionedIops, provisionedThroughput, region, replicaZones, + resourcePolicies, resourceStatus, satisfiesPzs, selfLink, sizeGb, sourceConsistencyGroupPolicy, sourceConsistencyGroupPolicyId, sourceDisk, sourceDiskId, sourceImage, sourceImageEncryptionKey, sourceImageId, sourceSnapshot, sourceSnapshotEncryptionKey, @@ -11045,13 +11104,14 @@ @implementation GTLRCompute_HttpsHealthCheckList_Warning_Data_Item @implementation GTLRCompute_Image @dynamic architecture, archiveSizeBytes, creationTimestamp, deprecated, - descriptionProperty, diskSizeGb, family, guestOsFeatures, identifier, - imageEncryptionKey, kind, labelFingerprint, labels, licenseCodes, - licenses, name, rawDisk, satisfiesPzs, selfLink, - shieldedInstanceInitialState, sourceDisk, sourceDiskEncryptionKey, - sourceDiskId, sourceImage, sourceImageEncryptionKey, sourceImageId, - sourceSnapshot, sourceSnapshotEncryptionKey, sourceSnapshotId, - sourceType, status, storageLocations; + descriptionProperty, diskSizeGb, enableConfidentialCompute, family, + guestOsFeatures, identifier, imageEncryptionKey, kind, + labelFingerprint, labels, licenseCodes, licenses, name, rawDisk, + satisfiesPzs, selfLink, shieldedInstanceInitialState, sourceDisk, + sourceDiskEncryptionKey, sourceDiskId, sourceImage, + sourceImageEncryptionKey, sourceImageId, sourceSnapshot, + sourceSnapshotEncryptionKey, sourceSnapshotId, sourceType, status, + storageLocations; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -11192,11 +11252,11 @@ @implementation GTLRCompute_Instance lastStartTimestamp, lastStopTimestamp, lastSuspendedTimestamp, machineType, metadata, minCpuPlatform, name, networkInterfaces, networkPerformanceConfig, params, privateIpv6GoogleAccess, - reservationAffinity, resourcePolicies, resourceStatus, satisfiesPzs, - scheduling, selfLink, serviceAccounts, shieldedInstanceConfig, - shieldedInstanceIntegrityPolicy, sourceMachineImage, - sourceMachineImageEncryptionKey, startRestricted, status, - statusMessage, tags, zoneProperty; + reservationAffinity, resourcePolicies, resourceStatus, satisfiesPzi, + satisfiesPzs, scheduling, selfLink, serviceAccounts, + shieldedInstanceConfig, shieldedInstanceIntegrityPolicy, + sourceMachineImage, sourceMachineImageEncryptionKey, startRestricted, + status, statusMessage, tags, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -18137,10 +18197,10 @@ @implementation GTLRCompute_RequestMirrorPolicy // @implementation GTLRCompute_Reservation -@dynamic commitment, creationTimestamp, descriptionProperty, identifier, kind, - name, resourcePolicies, resourceStatus, satisfiesPzs, selfLink, - shareSettings, specificReservation, specificReservationRequired, - status, zoneProperty; +@dynamic aggregateReservation, commitment, creationTimestamp, + descriptionProperty, identifier, kind, name, resourcePolicies, + resourceStatus, satisfiesPzs, selfLink, shareSettings, + specificReservation, specificReservationRequired, status, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -19873,7 +19933,7 @@ @implementation GTLRCompute_SecurityPolicyRuleHttpHeaderActionHttpHeaderOption // @implementation GTLRCompute_SecurityPolicyRuleMatcher -@dynamic config, expr, versionedExpr; +@dynamic config, expr, exprOptions, versionedExpr; @end @@ -19895,6 +19955,35 @@ @implementation GTLRCompute_SecurityPolicyRuleMatcherConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_SecurityPolicyRuleMatcherExprOptions +// + +@implementation GTLRCompute_SecurityPolicyRuleMatcherExprOptions +@dynamic recaptchaOptions; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions +// + +@implementation GTLRCompute_SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions +@dynamic actionTokenSiteKeys, sessionTokenSiteKeys; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"actionTokenSiteKeys" : [NSString class], + @"sessionTokenSiteKeys" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_SecurityPolicyRuleNetworkMatcher @@ -20448,12 +20537,13 @@ @implementation GTLRCompute_SignedUrlKey @implementation GTLRCompute_Snapshot @dynamic architecture, autoCreated, chainName, creationSizeBytes, creationTimestamp, descriptionProperty, diskSizeGb, downloadBytes, - guestOsFeatures, identifier, kind, labelFingerprint, labels, - licenseCodes, licenses, locationHint, name, satisfiesPzs, selfLink, - snapshotEncryptionKey, snapshotType, sourceDisk, - sourceDiskEncryptionKey, sourceDiskForRecoveryCheckpoint, sourceDiskId, - sourceSnapshotSchedulePolicy, sourceSnapshotSchedulePolicyId, status, - storageBytes, storageBytesStatus, storageLocations; + enableConfidentialCompute, guestOsFeatures, identifier, kind, + labelFingerprint, labels, licenseCodes, licenses, locationHint, name, + satisfiesPzs, selfLink, snapshotEncryptionKey, snapshotType, + sourceDisk, sourceDiskEncryptionKey, sourceDiskForRecoveryCheckpoint, + sourceDiskId, sourceSnapshotSchedulePolicy, + sourceSnapshotSchedulePolicyId, status, storageBytes, + storageBytesStatus, storageLocations; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m index 6fca61669..917e20fdc 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m @@ -15645,6 +15645,30 @@ + (instancetype)queryWithObject:(GTLRCompute_RegionUrlMapsValidateRequest *)obje @end +@implementation GTLRComputeQuery_RegionZonesList + +@dynamic filter, maxResults, orderBy, pageToken, project, region, + returnPartialSuccess; + ++ (instancetype)queryWithProject:(NSString *)project + region:(NSString *)region { + NSArray *pathParams = @[ + @"project", @"region" + ]; + NSString *pathURITemplate = @"projects/{project}/regions/{region}/zones"; + GTLRComputeQuery_RegionZonesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.project = project; + query.region = region; + query.expectedObjectClass = [GTLRCompute_ZoneList class]; + query.loggingName = @"compute.regionZones.list"; + return query; +} + +@end + @implementation GTLRComputeQuery_ReservationsAggregatedList @dynamic filter, includeAllScopes, maxResults, orderBy, pageToken, project, diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h index e795bf53b..78de70224 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h @@ -37,6 +37,9 @@ @class GTLRCompute_AddressList_Warning_Data_Item; @class GTLRCompute_AdvancedMachineFeatures; @class GTLRCompute_AliasIpRange; +@class GTLRCompute_AllocationAggregateReservation; +@class GTLRCompute_AllocationAggregateReservationReservedResourceInfo; +@class GTLRCompute_AllocationAggregateReservationReservedResourceInfoAccelerator; @class GTLRCompute_AllocationResourceStatus; @class GTLRCompute_AllocationResourceStatusSpecificSKUAllocation; @class GTLRCompute_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk; @@ -666,6 +669,8 @@ @class GTLRCompute_SecurityPolicyRuleHttpHeaderActionHttpHeaderOption; @class GTLRCompute_SecurityPolicyRuleMatcher; @class GTLRCompute_SecurityPolicyRuleMatcherConfig; +@class GTLRCompute_SecurityPolicyRuleMatcherExprOptions; +@class GTLRCompute_SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions; @class GTLRCompute_SecurityPolicyRuleNetworkMatcher; @class GTLRCompute_SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch; @class GTLRCompute_SecurityPolicyRulePreconfiguredWafConfig; @@ -2188,6 +2193,36 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_AddressList_Warning_Code_Undecla */ FOUNDATION_EXTERN NSString * const kGTLRCompute_AddressList_Warning_Code_Unreachable; +// ---------------------------------------------------------------------------- +// GTLRCompute_AllocationAggregateReservation.vmFamily + +/** Value: "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AllocationAggregateReservation_VmFamily_VmFamilyCloudTpuLiteDeviceCt5l; +/** Value: "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AllocationAggregateReservation_VmFamily_VmFamilyCloudTpuLitePodSliceCt5lp; +/** Value: "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AllocationAggregateReservation_VmFamily_VmFamilyCloudTpuPodSliceCt4p; + +// ---------------------------------------------------------------------------- +// GTLRCompute_AllocationAggregateReservation.workloadType + +/** + * Reserved resources will be optimized for BATCH workloads, such as ML + * training. + * + * Value: "BATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AllocationAggregateReservation_WorkloadType_Batch; +/** + * Reserved resources will be optimized for SERVING workloads, such as ML + * inference. + * + * Value: "SERVING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AllocationAggregateReservation_WorkloadType_Serving; +/** Value: "UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AllocationAggregateReservation_WorkloadType_Unspecified; + // ---------------------------------------------------------------------------- // GTLRCompute_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.interface @@ -3447,27 +3482,30 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendService_CompressionMode_D // GTLRCompute_BackendService.loadBalancingScheme /** - * Signifies that this will be used for external HTTP(S), SSL Proxy, TCP Proxy, - * or Network Load Balancing + * Signifies that this will be used for classic Application Load Balancers, + * global external proxy Network Load Balancers, or external passthrough + * Network Load Balancers. * * Value: "EXTERNAL" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendService_LoadBalancingScheme_External; /** - * Signifies that this will be used for External Managed HTTP(S) Load - * Balancing. + * Signifies that this will be used for global external Application Load + * Balancers, regional external Application Load Balancers, or regional + * external proxy Network Load Balancers. * * Value: "EXTERNAL_MANAGED" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendService_LoadBalancingScheme_ExternalManaged; /** - * Signifies that this will be used for Internal TCP/UDP Load Balancing. + * Signifies that this will be used for internal passthrough Network Load + * Balancers. * * Value: "INTERNAL" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendService_LoadBalancingScheme_Internal; /** - * Signifies that this will be used for Internal HTTP(S) Load Balancing. + * Signifies that this will be used for internal Application Load Balancers. * * Value: "INTERNAL_MANAGED" */ @@ -23217,6 +23255,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_PreemptibleNvidiaT4 FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_PreemptibleNvidiaT4VwsGpus; /** Value: "PREEMPTIBLE_NVIDIA_V100_GPUS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_PreemptibleNvidiaV100Gpus; +/** Value: "PREEMPTIBLE_TPU_LITE_DEVICE_V5" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_PreemptibleTpuLiteDeviceV5; +/** Value: "PREEMPTIBLE_TPU_LITE_PODSLICE_V5" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_PreemptibleTpuLitePodsliceV5; +/** Value: "PREEMPTIBLE_TPU_PODSLICE_V4" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_PreemptibleTpuPodsliceV4; /** Value: "PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_PscIlbConsumerForwardingRulesPerProducerNetwork; /** Value: "PSC_INTERNAL_LB_FORWARDING_RULES" */ @@ -23295,6 +23339,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_TargetSslProxies; FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_TargetTcpProxies; /** Value: "TARGET_VPN_GATEWAYS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_TargetVpnGateways; +/** Value: "TPU_LITE_DEVICE_V5" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_TpuLiteDeviceV5; +/** Value: "TPU_LITE_PODSLICE_V5" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_TpuLitePodsliceV5; +/** Value: "TPU_PODSLICE_V4" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_TpuPodsliceV4; /** Value: "URL_MAPS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_UrlMaps; /** Value: "VPN_GATEWAYS" */ @@ -28068,6 +28118,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptio FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_RegionCode; /** Value: "SNI" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_Sni; +/** Value: "TLS_JA3_FINGERPRINT" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_TlsJa3Fingerprint; +/** Value: "USER_IP" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_UserIp; /** Value: "XFF_IP" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_XffIp; @@ -28088,6 +28142,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptio FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_RegionCode; /** Value: "SNI" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_Sni; +/** Value: "TLS_JA3_FINGERPRINT" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_TlsJa3Fingerprint; +/** Value: "USER_IP" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_UserIp; /** Value: "XFF_IP" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_XffIp; @@ -39305,6 +39363,83 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * This reservation type is specified by total resource amounts (e.g. total + * count of CPUs) and can account for multiple instance SKUs. In other words, + * one can create instances of varying shapes against this reservation. + */ +@interface GTLRCompute_AllocationAggregateReservation : GTLRObject + +/** [Output only] List of resources currently in use. */ +@property(nonatomic, strong, nullable) NSArray *inUseResources; + +/** List of reserved resources (CPUs, memory, accelerators). */ +@property(nonatomic, strong, nullable) NSArray *reservedResources; + +/** + * The VM family that all instances scheduled against this reservation must + * belong to. + * + * Likely values: + * @arg @c kGTLRCompute_AllocationAggregateReservation_VmFamily_VmFamilyCloudTpuLiteDeviceCt5l + * Value "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L" + * @arg @c kGTLRCompute_AllocationAggregateReservation_VmFamily_VmFamilyCloudTpuLitePodSliceCt5lp + * Value "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP" + * @arg @c kGTLRCompute_AllocationAggregateReservation_VmFamily_VmFamilyCloudTpuPodSliceCt4p + * Value "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P" + */ +@property(nonatomic, copy, nullable) NSString *vmFamily; + +/** + * The workload type of the instances that will target this reservation. + * + * Likely values: + * @arg @c kGTLRCompute_AllocationAggregateReservation_WorkloadType_Batch + * Reserved resources will be optimized for BATCH workloads, such as ML + * training. (Value: "BATCH") + * @arg @c kGTLRCompute_AllocationAggregateReservation_WorkloadType_Serving + * Reserved resources will be optimized for SERVING workloads, such as ML + * inference. (Value: "SERVING") + * @arg @c kGTLRCompute_AllocationAggregateReservation_WorkloadType_Unspecified + * Value "UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *workloadType; + +@end + + +/** + * GTLRCompute_AllocationAggregateReservationReservedResourceInfo + */ +@interface GTLRCompute_AllocationAggregateReservationReservedResourceInfo : GTLRObject + +/** Properties of accelerator resources in this reservation. */ +@property(nonatomic, strong, nullable) GTLRCompute_AllocationAggregateReservationReservedResourceInfoAccelerator *accelerator; + +@end + + +/** + * GTLRCompute_AllocationAggregateReservationReservedResourceInfoAccelerator + */ +@interface GTLRCompute_AllocationAggregateReservationReservedResourceInfoAccelerator : GTLRObject + +/** + * Number of accelerators of specified type. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *acceleratorCount; + +/** + * Full or partial URL to accelerator type. e.g. + * "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l" + */ +@property(nonatomic, copy, nullable) NSString *acceleratorType; + +@end + + /** * [Output Only] Contains output only fields. */ @@ -39679,6 +39814,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *diskType; +/** + * Whether this disk is using confidential compute mode. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableConfidentialCompute; + /** * Labels to apply to this disk. These can be later modified by the * disks.setLabels method. This field is only applicable for persistent disks. @@ -41733,13 +41875,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @interface GTLRCompute_BackendService : GTLRObject /** - * Lifetime of cookies in seconds. This setting is applicable to external and - * internal HTTP(S) load balancers and Traffic Director and requires - * GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is - * non-persistent and lasts only until the end of the browser session (or - * equivalent). The maximum allowed value is two weeks (1,209,600). Not - * supported when the backend service is referenced by a URL map that is bound - * to target gRPC proxy that has validateForProxyless field set to true. + * Lifetime of cookies in seconds. This setting is applicable to Application + * Load Balancers and Traffic Director and requires GENERATED_COOKIE or + * HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and + * lasts only until the end of the browser session (or equivalent). The maximum + * allowed value is two weeks (1,209,600). Not supported when the backend + * service is referenced by a URL map that is bound to target gRPC proxy that + * has validateForProxyless field set to true. * * Uses NSNumber of intValue. */ @@ -41774,8 +41916,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * Connection Tracking configuration for this BackendService. Connection - * tracking policy settings are only available for Network Load Balancing and - * Internal TCP/UDP Load Balancing. + * tracking policy settings are only available for external passthrough Network + * Load Balancers and internal passthrough Network Load Balancers. */ @property(nonatomic, strong, nullable) GTLRCompute_BackendServiceConnectionTrackingPolicy *connectionTrackingPolicy; @@ -41826,8 +41968,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *edgeSecurityPolicy; /** - * If true, enables Cloud CDN for the backend service of an external HTTP(S) - * load balancer. + * If true, enables Cloud CDN for the backend service of a global external + * Application Load Balancer. * * Uses NSNumber of boolValue. */ @@ -41836,10 +41978,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * Requires at least one backend instance group to be defined as a backup * (failover) backend. For load balancers that have configurable failover: - * [Internal TCP/UDP Load - * Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) - * and [external TCP/UDP Load - * Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). + * [Internal passthrough Network Load + * Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) + * and [external passthrough Network Load + * Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). */ @property(nonatomic, strong, nullable) GTLRCompute_BackendServiceFailoverPolicy *failoverPolicy; @@ -41869,7 +42011,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * The configurations for Identity-Aware Proxy on this resource. Not available - * for Internal TCP/UDP Load Balancing and Network Load Balancing. + * for internal passthrough Network Load Balancers and external passthrough + * Network Load Balancers. */ @property(nonatomic, strong, nullable) GTLRCompute_BackendServiceIAP *iap; @@ -41896,17 +42039,19 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * * Likely values: * @arg @c kGTLRCompute_BackendService_LoadBalancingScheme_External Signifies - * that this will be used for external HTTP(S), SSL Proxy, TCP Proxy, or - * Network Load Balancing (Value: "EXTERNAL") + * that this will be used for classic Application Load Balancers, global + * external proxy Network Load Balancers, or external passthrough Network + * Load Balancers. (Value: "EXTERNAL") * @arg @c kGTLRCompute_BackendService_LoadBalancingScheme_ExternalManaged - * Signifies that this will be used for External Managed HTTP(S) Load - * Balancing. (Value: "EXTERNAL_MANAGED") + * Signifies that this will be used for global external Application Load + * Balancers, regional external Application Load Balancers, or regional + * external proxy Network Load Balancers. (Value: "EXTERNAL_MANAGED") * @arg @c kGTLRCompute_BackendService_LoadBalancingScheme_Internal Signifies - * that this will be used for Internal TCP/UDP Load Balancing. (Value: - * "INTERNAL") + * that this will be used for internal passthrough Network Load + * Balancers. (Value: "INTERNAL") * @arg @c kGTLRCompute_BackendService_LoadBalancingScheme_InternalManaged - * Signifies that this will be used for Internal HTTP(S) Load Balancing. - * (Value: "INTERNAL_MANAGED") + * Signifies that this will be used for internal Application Load + * Balancers. (Value: "INTERNAL_MANAGED") * @arg @c kGTLRCompute_BackendService_LoadBalancingScheme_InternalSelfManaged * Signifies that this will be used by Traffic Director. (Value: * "INTERNAL_SELF_MANAGED") @@ -42066,8 +42211,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * Deprecated in favor of portName. The TCP port to connect on the backend. The - * default value is 80. For Internal TCP/UDP Load Balancing and Network Load - * Balancing, omit port. + * default value is 80. For internal passthrough Network Load Balancers and + * external passthrough Network Load Balancers, omit port. * * Uses NSNumber of intValue. */ @@ -42078,8 +42223,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * communication to the backend VMs in that group. The named port must be * [defined on each backend instance * group](https://cloud.google.com/load-balancing/docs/backend-service#named_ports). - * This parameter has no meaning if the backends are NEGs. For Internal TCP/UDP - * Load Balancing and Network Load Balancing, omit port_name. + * This parameter has no meaning if the backends are NEGs. For internal + * passthrough Network Load Balancers and external passthrough Network Load + * Balancers, omit port_name. */ @property(nonatomic, copy, nullable) NSString *portName; @@ -42651,8 +42797,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *connectionPersistenceOnUnhealthyBackends; /** - * Enable Strong Session Affinity for Network Load Balancing. This option is - * not available publicly. + * Enable Strong Session Affinity for external passthrough Network Load + * Balancers. This option is not available publicly. * * Uses NSNumber of boolValue. */ @@ -42660,12 +42806,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * Specifies how long to keep a Connection Tracking entry while there is no - * matching traffic (in seconds). For Internal TCP/UDP Load Balancing: - The - * minimum (default) is 10 minutes and the maximum is 16 hours. - It can be set - * only if Connection Tracking is less than 5-tuple (i.e. Session Affinity is - * CLIENT_IP_NO_DESTINATION, CLIENT_IP or CLIENT_IP_PROTO, and Tracking Mode is - * PER_SESSION). For Network Load Balancer the default is 60 seconds. This - * option is not available publicly. + * matching traffic (in seconds). For internal passthrough Network Load + * Balancers: - The minimum (default) is 10 minutes and the maximum is 16 + * hours. - It can be set only if Connection Tracking is less than 5-tuple + * (i.e. Session Affinity is CLIENT_IP_NO_DESTINATION, CLIENT_IP or + * CLIENT_IP_PROTO, and Tracking Mode is PER_SESSION). For external passthrough + * Network Load Balancers the default is 60 seconds. This option is not + * available publicly. * * Uses NSNumber of intValue. */ @@ -42696,10 +42843,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** - * For load balancers that have configurable failover: [Internal TCP/UDP Load - * Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) - * and [external TCP/UDP Load - * Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). + * For load balancers that have configurable failover: [Internal passthrough + * Network Load + * Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) + * and [external passthrough Network Load + * Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). * On failover or failback, this field indicates whether connection draining * will be honored. Google Cloud has a fixed connection draining timeout of 10 * minutes. A setting of true terminates existing TCP connections to the active @@ -42722,10 +42870,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * primary and all backup backend VMs are unhealthy.If set to false, * connections are distributed among all primary VMs when all primary and all * backup backend VMs are unhealthy. For load balancers that have configurable - * failover: [Internal TCP/UDP Load - * Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) - * and [external TCP/UDP Load - * Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). + * failover: [Internal passthrough Network Load + * Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) + * and [external passthrough Network Load + * Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). * The default is false. * * Uses NSNumber of boolValue. @@ -45300,6 +45448,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) GTLRCompute_CustomerEncryptionKey *diskEncryptionKey; +/** + * Whether this disk is using confidential compute mode. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableConfidentialCompute; + /** * 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 @@ -48960,8 +49115,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * * * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules) * A forwarding rule and its corresponding IP address represent the frontend - * configuration of a Google Cloud Platform load balancer. Forwarding rules can - * also reference target instances and Cloud VPN Classic gateways + * configuration of a Google Cloud load balancer. Forwarding rules can also + * reference target instances and Cloud VPN Classic gateways * (targetVpnGateway). For more information, read Forwarding rule concepts and * Using protocol forwarding. */ @@ -48970,9 +49125,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * This field is used along with the backend_service field for internal load * balancing or with the target field for internal TargetInstance. If set to - * true, clients can access the Internal TCP/UDP Load Balancer, Internal - * HTTP(S) and TCP Proxy Load Balancer from all regions. If false, only allows - * access from the local region the load balancer is located at. Note that for + * true, clients can access the internal passthrough Network Load Balancers, + * the regional internal Application Load Balancer, and the regional internal + * proxy Network Load Balancer from all regions. If false, only allows access + * from the local region the load balancer is located at. Note that for * INTERNAL_MANAGED forwarding rules, this field cannot be changed after the * forwarding rule is created. * @@ -49008,16 +49164,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * Identifies the backend service to which the forwarding rule sends traffic. - * Required for Internal TCP/UDP Load Balancing and Network Load Balancing; - * must be omitted for all other load balancer types. + * Required for internal and external passthrough Network Load Balancers; must + * be omitted for all other load balancer types. */ @property(nonatomic, copy, nullable) NSString *backendService; /** - * [Output Only] The URL for the corresponding base Forwarding Rule. By base - * Forwarding Rule, we mean the Forwarding Rule that has the same IP address, - * protocol, and port settings with the current Forwarding Rule, but without - * sourceIPRanges specified. Always empty if the current Forwarding Rule does + * [Output Only] The URL for the corresponding base forwarding rule. By base + * forwarding rule, we mean the forwarding rule that has the same IP address, + * protocol, and port settings with the current forwarding rule, but without + * sourceIPRanges specified. Always empty if the current forwarding rule does * not have sourceIPRanges specified. */ @property(nonatomic, copy, nullable) NSString *baseForwardingRule; @@ -49125,7 +49281,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * [Output Only] Type of the resource. Always compute#forwardingRule for - * Forwarding Rule resources. + * forwarding rule resources. */ @property(nonatomic, copy, nullable) NSString *kind; @@ -49203,13 +49359,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *name; /** - * This field is not used for global external load balancing. For Internal - * TCP/UDP Load Balancing, this field identifies the network that the load - * balanced IP should belong to for this Forwarding Rule. If the subnetwork is - * specified, the network of the subnetwork will be used. If neither subnetwork - * nor this field is specified, the default network will be used. For Private - * Service Connect forwarding rules that forward traffic to Google APIs, a - * network must be provided. + * This field is not used for global external load balancing. For internal + * passthrough Network Load Balancers, this field identifies the network that + * the load balanced IP should belong to for this forwarding rule. If the + * subnetwork is specified, the network of the subnetwork will be used. If + * neither subnetwork nor this field is specified, the default network will be + * used. For Private Service Connect forwarding rules that forward traffic to + * Google APIs, a network must be provided. */ @property(nonatomic, copy, nullable) NSString *network; @@ -49283,7 +49439,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, strong, nullable) NSArray *ports; /** - * [Output Only] The PSC connection id of the PSC Forwarding Rule. + * [Output Only] The PSC connection id of the PSC forwarding rule. * * Uses NSNumber of unsignedLongLongValue. */ @@ -49329,7 +49485,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, strong, nullable) NSArray *serviceDirectoryRegistrations; /** - * An optional prefix to the service name for this Forwarding Rule. If + * An optional prefix to the service name for this forwarding rule. If * specified, the prefix is the first label of the fully qualified service * name. The label must be 1-63 characters long, and comply with RFC1035. * Specifically, the label must be 1-63 characters long and match the regular @@ -49341,16 +49497,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *serviceLabel; /** - * [Output Only] The internal fully qualified service name for this Forwarding - * Rule. This field is only used for internal load balancing. + * [Output Only] The internal fully qualified service name for this forwarding + * rule. This field is only used for internal load balancing. */ @property(nonatomic, copy, nullable) NSString *serviceName; /** - * If not empty, this Forwarding Rule will only forward the traffic when the + * If not empty, this forwarding rule will only forward the traffic when the * source IP address matches one of the IP addresses or CIDR ranges set here. - * Note that a Forwarding Rule can only have up to 64 source IP ranges, and - * this field can only be used with a regional Forwarding Rule whose scheme is + * Note that a forwarding rule can only have up to 64 source IP ranges, and + * this field can only be used with a regional forwarding rule whose scheme is * EXTERNAL. Each source_ip_range entry should be either an IP address (for * example, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24). */ @@ -49358,11 +49514,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * This field identifies the subnetwork that the load balanced IP should belong - * to for this Forwarding Rule, used in internal load balancing and network - * load balancing with IPv6. If the network specified is in auto subnet mode, - * this field is optional. However, a subnetwork must be specified if the - * network is in custom subnet mode or when creating external forwarding rule - * with IPv6. + * to for this forwarding rule, used with internal load balancers and external + * passthrough Network Load Balancers with IPv6. If the network specified is in + * auto subnet mode, this field is optional. However, a subnetwork must be + * specified if the network is in custom subnet mode or when creating external + * forwarding rule with IPv6. */ @property(nonatomic, copy, nullable) NSString *subnetwork; @@ -49782,9 +49938,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** - * Describes the auto-registration of the Forwarding Rule to Service Directory. + * Describes the auto-registration of the forwarding rule to Service Directory. * The region and project of the Service Directory resource generated from this - * registration will be the same as this Forwarding Rule. + * registration will be the same as this forwarding rule. */ @interface GTLRCompute_ForwardingRuleServiceDirectoryRegistration : GTLRObject @@ -49801,7 +49957,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * [Optional] Service Directory region to register this global forwarding rule * under. Default to "us-central1". Only used for PSC for Google APIs. All PSC - * for Google APIs Forwarding Rules on the same network should use the same + * for Google APIs forwarding rules on the same network should use the same * Service Directory region. */ @property(nonatomic, copy, nullable) NSString *serviceDirectoryRegion; @@ -50142,7 +50298,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Specifies how a port is selected for health checking. Can be one of the * following values: USE_FIXED_PORT: Specifies a port number explicitly using * the port field in the health check. Supported by backend services for - * pass-through load balancers and backend services for proxy load balancers. + * passthrough load balancers and backend services for proxy load balancers. * Not supported by target pools. The health check supports all backends * supported by the backend service provided the backend can be health checked. * For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network @@ -50150,7 +50306,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * USE_SERVING_PORT: Provides an indirect method of specifying the health check * port by referring to the backend service. Only supported by backend services * for proxy load balancers. Not supported by target pools. Not supported by - * backend services for pass-through load balancers. Supports all backends that + * backend services for passthrough load balancers. Supports all backends that * can be health checked; for example, GCE_VM_IP_PORT network endpoint groups * and instance group backends. For GCE_VM_IP_PORT network endpoint group * backends, the health check uses the port number specified for each endpoint @@ -50293,18 +50449,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * [Regional](/compute/docs/reference/rest/v1/regionHealthChecks) * * [Global](/compute/docs/reference/rest/v1/healthChecks) These health check * resources can be used for load balancing and for autohealing VMs in a - * managed instance group (MIG). **Load balancing** The following load balancer - * can use either regional or global health check: * Internal TCP/UDP load - * balancer The following load balancers require regional health check: * - * Internal HTTP(S) load balancer * Backend service-based network load balancer - * Traffic Director and the following load balancers require global health - * check: * External HTTP(S) load balancer * TCP proxy load balancer * SSL - * proxy load balancer The following load balancer require [legacy HTTP health - * checks](/compute/docs/reference/rest/v1/httpHealthChecks): * Target - * pool-based network load balancer **Autohealing in MIGs** The health checks - * that you use for autohealing VMs in a MIG can be either regional or global. - * For more information, see Set up an application health check and - * autohealing. For more information, see Health checks overview. + * managed instance group (MIG). **Load balancing** Health check requirements + * vary depending on the type of load balancer. For details about the type of + * health check supported for each load balancer and corresponding backend + * type, see Health checks overview: Load balancer guide. **Autohealing in + * MIGs** The health checks that you use for autohealing VMs in a MIG can be + * either regional or global. For more information, see Set up an application + * health check and autohealing. For more information, see Health checks + * overview. */ @interface GTLRCompute_HealthCheck : GTLRObject @@ -51526,7 +51678,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Specifies how a port is selected for health checking. Can be one of the * following values: USE_FIXED_PORT: Specifies a port number explicitly using * the port field in the health check. Supported by backend services for - * pass-through load balancers and backend services for proxy load balancers. + * passthrough load balancers and backend services for proxy load balancers. * Not supported by target pools. The health check supports all backends * supported by the backend service provided the backend can be health checked. * For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network @@ -51534,7 +51686,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * USE_SERVING_PORT: Provides an indirect method of specifying the health check * port by referring to the backend service. Only supported by backend services * for proxy load balancers. Not supported by target pools. Not supported by - * backend services for pass-through load balancers. Supports all backends that + * backend services for passthrough load balancers. Supports all backends that * can be health checked; for example, GCE_VM_IP_PORT network endpoint groups * and instance group backends. For GCE_VM_IP_PORT network endpoint group * backends, the health check uses the port number specified for each endpoint @@ -51829,7 +51981,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Specifies how a port is selected for health checking. Can be one of the * following values: USE_FIXED_PORT: Specifies a port number explicitly using * the port field in the health check. Supported by backend services for - * pass-through load balancers and backend services for proxy load balancers. + * passthrough load balancers and backend services for proxy load balancers. * Also supported in legacy HTTP health checks for target pools. The health * check supports all backends supported by the backend service provided the * backend can be health checked. For example, GCE_VM_IP network endpoint @@ -52638,7 +52790,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Specifies how a port is selected for health checking. Can be one of the * following values: USE_FIXED_PORT: Specifies a port number explicitly using * the port field in the health check. Supported by backend services for - * pass-through load balancers and backend services for proxy load balancers. + * passthrough load balancers and backend services for proxy load balancers. * Not supported by target pools. The health check supports all backends * supported by the backend service provided the backend can be health checked. * For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network @@ -52646,7 +52798,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * USE_SERVING_PORT: Provides an indirect method of specifying the health check * port by referring to the backend service. Only supported by backend services * for proxy load balancers. Not supported by target pools. Not supported by - * backend services for pass-through load balancers. Supports all backends that + * backend services for passthrough load balancers. Supports all backends that * can be health checked; for example, GCE_VM_IP_PORT network endpoint groups * and instance group backends. For GCE_VM_IP_PORT network endpoint group * backends, the health check uses the port number specified for each endpoint @@ -53032,6 +53184,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSNumber *diskSizeGb; +/** + * Whether this image is created from a confidential compute mode disk. [Output + * Only]: This field is not set by user, but from source disk. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableConfidentialCompute; + /** * The name of the image family to which this image belongs. The image family * name can be from a publicly managed image family provided by Compute Engine, @@ -53737,6 +53897,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) GTLRCompute_ResourceStatus *resourceStatus; +/** + * [Output Only] Reserved for future use. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzi; + /** * [Output Only] Reserved for future use. * @@ -72844,6 +73011,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * "PREEMPTIBLE_NVIDIA_T4_VWS_GPUS" * @arg @c kGTLRCompute_Quota_Metric_PreemptibleNvidiaV100Gpus Value * "PREEMPTIBLE_NVIDIA_V100_GPUS" + * @arg @c kGTLRCompute_Quota_Metric_PreemptibleTpuLiteDeviceV5 Value + * "PREEMPTIBLE_TPU_LITE_DEVICE_V5" + * @arg @c kGTLRCompute_Quota_Metric_PreemptibleTpuLitePodsliceV5 Value + * "PREEMPTIBLE_TPU_LITE_PODSLICE_V5" + * @arg @c kGTLRCompute_Quota_Metric_PreemptibleTpuPodsliceV4 Value + * "PREEMPTIBLE_TPU_PODSLICE_V4" * @arg @c kGTLRCompute_Quota_Metric_PscIlbConsumerForwardingRulesPerProducerNetwork * Value "PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK" * @arg @c kGTLRCompute_Quota_Metric_PscInternalLbForwardingRules Value @@ -72907,6 +73080,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * "TARGET_TCP_PROXIES" * @arg @c kGTLRCompute_Quota_Metric_TargetVpnGateways Value * "TARGET_VPN_GATEWAYS" + * @arg @c kGTLRCompute_Quota_Metric_TpuLiteDeviceV5 Value + * "TPU_LITE_DEVICE_V5" + * @arg @c kGTLRCompute_Quota_Metric_TpuLitePodsliceV5 Value + * "TPU_LITE_PODSLICE_V5" + * @arg @c kGTLRCompute_Quota_Metric_TpuPodsliceV4 Value "TPU_PODSLICE_V4" * @arg @c kGTLRCompute_Quota_Metric_UrlMaps Value "URL_MAPS" * @arg @c kGTLRCompute_Quota_Metric_VpnGateways Value "VPN_GATEWAYS" * @arg @c kGTLRCompute_Quota_Metric_VpnTunnels Value "VPN_TUNNELS" @@ -74946,6 +75124,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_Reservation : GTLRObject +/** Reservation for aggregated resources, providing shape flexibility. */ +@property(nonatomic, strong, nullable) GTLRCompute_AllocationAggregateReservation *aggregateReservation; + /** * [Output Only] Full or partial URL to a parent commitment. This field * displays for reservations that are tied to a commitment. @@ -80304,6 +80485,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) GTLRCompute_Expr *expr; +/** + * The configuration options available when specifying a user defined CEVAL + * expression (i.e., 'expr'). + */ +@property(nonatomic, strong, nullable) GTLRCompute_SecurityPolicyRuleMatcherExprOptions *exprOptions; + /** * Preconfigured versioned expression. If this field is specified, config must * also be specified. Available preconfigured expressions along with their @@ -80331,6 +80518,42 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_SecurityPolicyRuleMatcherExprOptions + */ +@interface GTLRCompute_SecurityPolicyRuleMatcherExprOptions : GTLRObject + +/** + * reCAPTCHA configuration options to be applied for the rule. If the rule does + * not evaluate reCAPTCHA tokens, this field will have no effect. + */ +@property(nonatomic, strong, nullable) GTLRCompute_SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions *recaptchaOptions; + +@end + + +/** + * GTLRCompute_SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions + */ +@interface GTLRCompute_SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions : GTLRObject + +/** + * A list of site keys to be used during the validation of reCAPTCHA + * action-tokens. The provided site keys need to be created from reCAPTCHA API + * under the same project where the security policy is created. + */ +@property(nonatomic, strong, nullable) NSArray *actionTokenSiteKeys; + +/** + * A list of site keys to be used during the validation of reCAPTCHA + * session-tokens. The provided site keys need to be created from reCAPTCHA API + * under the same project where the security policy is created. + */ +@property(nonatomic, strong, nullable) NSArray *sessionTokenSiteKeys; + +@end + + /** * Represents a match condition that incoming network traffic is evaluated * against. @@ -80541,7 +80764,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * name indication in the TLS session of the HTTPS request. The key value is * truncated to the first 128 bytes. The key type defaults to ALL on a HTTP * session. - REGION_CODE: The country/region from which the request - * originates. + * originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client + * connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type + * defaults to ALL. - USER_IP: The IP address of the originating client, which + * is resolved based on "userIpRequestHeaders" configured with the security + * policy. If there is no "userIpRequestHeaders" configuration or an IP address + * cannot be resolved from it, the key type defaults to IP. * * Likely values: * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_All @@ -80558,6 +80786,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Value "REGION_CODE" * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_Sni * Value "SNI" + * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_TlsJa3Fingerprint + * Value "TLS_JA3_FINGERPRINT" + * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_UserIp + * Value "USER_IP" * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_XffIp * Value "XFF_IP" */ @@ -80636,7 +80868,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * name indication in the TLS session of the HTTPS request. The key value is * truncated to the first 128 bytes. The key type defaults to ALL on a HTTP * session. - REGION_CODE: The country/region from which the request - * originates. + * originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client + * connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type + * defaults to ALL. - USER_IP: The IP address of the originating client, which + * is resolved based on "userIpRequestHeaders" configured with the security + * policy. If there is no "userIpRequestHeaders" configuration or an IP address + * cannot be resolved from it, the key type defaults to IP. * * Likely values: * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_All @@ -80653,6 +80890,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Value "REGION_CODE" * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_Sni * Value "SNI" + * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_TlsJa3Fingerprint + * Value "TLS_JA3_FINGERPRINT" + * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_UserIp + * Value "USER_IP" * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_XffIp * Value "XFF_IP" */ @@ -81933,6 +82174,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSNumber *downloadBytes; +/** + * Whether this snapshot is created from a confidential compute mode disk. + * [Output Only]: This field is not set by user, but from source disk. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableConfidentialCompute; + /** * [Output Only] A list of features to enable on the guest operating system. * Applicable only for bootable images. Read Enabling guest operating system @@ -83301,7 +83550,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Specifies how a port is selected for health checking. Can be one of the * following values: USE_FIXED_PORT: Specifies a port number explicitly using * the port field in the health check. Supported by backend services for - * pass-through load balancers and backend services for proxy load balancers. + * passthrough load balancers and backend services for proxy load balancers. * Not supported by target pools. The health check supports all backends * supported by the backend service provided the backend can be health checked. * For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network @@ -83309,7 +83558,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * USE_SERVING_PORT: Provides an indirect method of specifying the health check * port by referring to the backend service. Only supported by backend services * for proxy load balancers. Not supported by target pools. Not supported by - * backend services for pass-through load balancers. Supports all backends that + * backend services for passthrough load balancers. Supports all backends that * can be health checked; for example, GCE_VM_IP_PORT network endpoint groups * and instance group backends. For GCE_VM_IP_PORT network endpoint group * backends, the health check uses the port number specified for each endpoint @@ -83903,9 +84152,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** - * Represents an SSL Policy resource. Use SSL policies to control the SSL - * features, such as versions and cipher suites, offered by an HTTPS or SSL - * Proxy load balancer. For more information, read SSL Policy Concepts. + * Represents an SSL Policy resource. Use SSL policies to control SSL features, + * such as versions and cipher suites, that are offered by Application Load + * Balancers and proxy Network Load Balancers. For more information, read SSL + * policies overview. */ @interface GTLRCompute_SslPolicy : GTLRObject @@ -87488,10 +87738,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** - * Represents a Target Pool resource. Target pools are used for network TCP/UDP - * load balancing. A target pool references member instances, an associated - * legacy HttpHealthCheck resource, and, optionally, a backup target pool. For - * more information, read Using target pools. + * Represents a Target Pool resource. Target pools are used with external + * passthrough Network Load Balancers. A target pool references member + * instances, an associated legacy HttpHealthCheck resource, and, optionally, a + * backup target pool. For more information, read Using target pools. */ @interface GTLRCompute_TargetPool : GTLRObject @@ -88313,9 +88563,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * Represents a Target SSL Proxy resource. A target SSL proxy is a component of - * a SSL Proxy load balancer. Global forwarding rules reference a target SSL - * proxy, and the target proxy then references an external backend service. For - * more information, read Using Target Proxies. + * a Proxy Network Load Balancer. The forwarding rule references the target SSL + * proxy, and the target proxy then references a backend service. For more + * information, read Proxy Network Load Balancer overview. */ @interface GTLRCompute_TargetSslProxy : GTLRObject @@ -88769,9 +89019,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * Represents a Target TCP Proxy resource. A target TCP proxy is a component of - * a TCP Proxy load balancer. Global forwarding rules reference target TCP - * proxy, and the target proxy then references an external backend service. For - * more information, read TCP Proxy Load Balancing overview. + * a Proxy Network Load Balancer. The forwarding rule references the target TCP + * proxy, and the target proxy then references a backend service. For more + * information, read Proxy Network Load Balancer overview. */ @interface GTLRCompute_TargetTcpProxy : GTLRObject @@ -89899,7 +90149,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Specifies how a port is selected for health checking. Can be one of the * following values: USE_FIXED_PORT: Specifies a port number explicitly using * the port field in the health check. Supported by backend services for - * pass-through load balancers and backend services for proxy load balancers. + * passthrough load balancers and backend services for proxy load balancers. * Not supported by target pools. The health check supports all backends * supported by the backend service provided the backend can be health checked. * For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network @@ -89907,7 +90157,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * USE_SERVING_PORT: Provides an indirect method of specifying the health check * port by referring to the backend service. Only supported by backend services * for proxy load balancers. Not supported by target pools. Not supported by - * backend services for pass-through load balancers. Supports all backends that + * backend services for passthrough load balancers. Supports all backends that * can be health checked; for example, GCE_VM_IP_PORT network endpoint groups * and instance group backends. For GCE_VM_IP_PORT network endpoint group * backends, the health check uses the port number specified for each endpoint diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h index 31564c1be..86aae102b 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h @@ -10578,8 +10578,8 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar * still creating an instance, the currentAction is CREATING. If a previous * action failed, the list displays the errors for that failed action. The * orderBy query parameter is not supported. The `pageToken` query parameter is - * supported only in the alpha and beta API and only if the group's - * `listManagedInstancesResults` field is set to `PAGINATED`. + * supported only if the group's `listManagedInstancesResults` field is set to + * `PAGINATED`. * * Method: compute.instanceGroupManagers.listManagedInstances * @@ -10683,8 +10683,8 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar * still creating an instance, the currentAction is CREATING. If a previous * action failed, the list displays the errors for that failed action. The * orderBy query parameter is not supported. The `pageToken` query parameter is - * supported only in the alpha and beta API and only if the group's - * `listManagedInstancesResults` field is set to `PAGINATED`. + * supported only if the group's `listManagedInstancesResults` field is set to + * `PAGINATED`. * * @param project Project ID for this request. * @param zoneProperty The name of the zone where the managed instance group is @@ -14468,8 +14468,9 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar @interface GTLRComputeQuery_InstancesStop : GTLRComputeQuery /** - * If true, discard the contents of any attached localSSD partitions. Default - * value is false. + * This property is required if the instance has any attached Local SSD disks. + * If false, Local SSD data will be preserved when the instance is suspended. + * If true, the contents of any attached Local SSD disks will be discarded. */ @property(nonatomic, assign) BOOL discardLocalSsd; @@ -14539,8 +14540,9 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar @interface GTLRComputeQuery_InstancesSuspend : GTLRComputeQuery /** - * If true, discard the contents of any attached localSSD partitions. Default - * value is false. + * This property is required if the instance has any attached Local SSD disks. + * If false, Local SSD data will be preserved when the instance is suspended. + * If true, the contents of any attached Local SSD disks will be discarded. */ @property(nonatomic, assign) BOOL discardLocalSsd; @@ -28200,9 +28202,8 @@ GTLR_DEPRECATED * Lists the instances in the managed instance group and instances that are * scheduled to be created. The list includes any current actions that the * group has scheduled for its instances. The orderBy query parameter is not - * supported. The `pageToken` query parameter is supported only in the alpha - * and beta API and only if the group's `listManagedInstancesResults` field is - * set to `PAGINATED`. + * supported. The `pageToken` query parameter is supported only if the group's + * `listManagedInstancesResults` field is set to `PAGINATED`. * * Method: compute.regionInstanceGroupManagers.listManagedInstances * @@ -28299,9 +28300,8 @@ GTLR_DEPRECATED * Lists the instances in the managed instance group and instances that are * scheduled to be created. The list includes any current actions that the * group has scheduled for its instances. The orderBy query parameter is not - * supported. The `pageToken` query parameter is supported only in the alpha - * and beta API and only if the group's `listManagedInstancesResults` field is - * set to `PAGINATED`. + * supported. The `pageToken` query parameter is supported only if the group's + * `listManagedInstancesResults` field is set to `PAGINATED`. * * @param project Project ID for this request. * @param region Name of the region scoping this request. @@ -34057,6 +34057,116 @@ GTLR_DEPRECATED @end +/** + * Retrieves the list of Zone resources under the specific region available to + * the specified project. + * + * Method: compute.regionZones.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + * @c kGTLRAuthScopeComputeReadonly + */ +@interface GTLRComputeQuery_RegionZonesList : GTLRComputeQuery + +/** + * A filter expression that filters resources listed in the response. Most + * Compute resources support two types of filter expressions: expressions that + * support regular expressions and expressions that follow API improvement + * proposal AIP-160. These two types of filter expressions cannot be mixed in + * one request. If you want to use AIP-160, your expression must specify the + * field name, an operator, and the value that you want to use for filtering. + * The value must be a string, a number, or a boolean. The operator must be + * either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are + * filtering Compute Engine instances, you can exclude instances named + * `example-instance` by specifying `name != example-instance`. The `:*` + * comparison can be used to test whether a key has been defined. For example, + * to find all objects with `owner` label use: ``` labels.owner:* ``` You can + * also filter nested fields. For example, you could specify + * `scheduling.automaticRestart = false` to include instances only if they are + * not scheduled for automatic restarts. You can use filtering on nested fields + * to filter based on resource labels. To filter on multiple expressions, + * provide each separate expression within parentheses. For example: ``` + * (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include + * `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = + * "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true) ``` If you want to use a regular + * expression, use the `eq` (equal) or `ne` (not equal) operator against a + * single un-parenthesized expression with or without quotes or against + * multiple parenthesized expressions. Examples: `fieldname eq unquoted + * literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted + * literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal + * value is interpreted as a regular expression using Google RE2 library + * syntax. The literal value must match the entire field. For example, to + * filter for instances that do not end with name "instance", you would use + * `name ne .*instance`. You cannot combine constraints on multiple fields + * using regular expressions. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of results per page that should be returned. If the + * number of available results is larger than `maxResults`, Compute Engine + * returns a `nextPageToken` that can be used to get the next page of results + * in subsequent list requests. Acceptable values are `0` to `500`, inclusive. + * (Default: `500`) + * + * @note If not set, the documented server-side default will be 500. + */ +@property(nonatomic, assign) NSUInteger maxResults; + +/** + * Sorts list results by a certain order. By default, results are returned in + * alphanumerical order based on the resource name. You can also sort results + * in descending order based on the creation timestamp using + * `orderBy="creationTimestamp desc"`. This sorts results based on the + * `creationTimestamp` field in reverse chronological order (newest result + * first). Use this to sort resources like operations so that the newest + * operation is returned first. Currently, only sorting by `name` or + * `creationTimestamp desc` is supported. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` + * returned by a previous list request to get the next page of results. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** Region for this request. */ +@property(nonatomic, copy, nullable) NSString *region; + +/** + * Opt-in for partial success behavior which provides partial results in case + * of failure. The default value is false. + */ +@property(nonatomic, assign) BOOL returnPartialSuccess; + +/** + * Fetches a @c GTLRCompute_ZoneList. + * + * Retrieves the list of Zone resources under the specific region available to + * the specified project. + * + * @param project Project ID for this request. + * @param region Region for this request. + * + * @return GTLRComputeQuery_RegionZonesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithProject:(NSString *)project + region:(NSString *)region; + +@end + /** * Retrieves an aggregated list of reservations. * @@ -42473,8 +42583,8 @@ GTLR_DEPRECATED /** * Sets the SSL policy for TargetSslProxy. The SSL policy specifies the * server-side support for SSL features. This affects connections between - * clients and the SSL proxy load balancer. They do not affect the connection - * between the load balancer and the backends. + * clients and the load balancer. They do not affect the connection between the + * load balancer and the backends. * * Method: compute.targetSslProxies.setSslPolicy * @@ -42511,8 +42621,8 @@ GTLR_DEPRECATED * * Sets the SSL policy for TargetSslProxy. The SSL policy specifies the * server-side support for SSL features. This affects connections between - * clients and the SSL proxy load balancer. They do not affect the connection - * between the load balancer and the backends. + * clients and the load balancer. They do not affect the connection between the + * load balancer and the backends. * * @param object The @c GTLRCompute_SslPolicyReference to include in the query. * @param project Project ID for this request. diff --git a/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m b/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m index 249b8738c..160c87068 100644 --- a/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m +++ b/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m @@ -14,6 +14,12 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRConnectors_CheckStatusResponse.state +NSString * const kGTLRConnectors_CheckStatusResponse_State_Active = @"ACTIVE"; +NSString * const kGTLRConnectors_CheckStatusResponse_State_AuthError = @"AUTH_ERROR"; +NSString * const kGTLRConnectors_CheckStatusResponse_State_Error = @"ERROR"; +NSString * const kGTLRConnectors_CheckStatusResponse_State_StateUnspecified = @"STATE_UNSPECIFIED"; + // GTLRConnectors_Field.dataType NSString * const kGTLRConnectors_Field_DataType_Array = @"ARRAY"; NSString * const kGTLRConnectors_Field_DataType_Bigint = @"BIGINT"; @@ -108,6 +114,15 @@ NSString * const kGTLRConnectors_InputParameter_DataType_Varbinary = @"VARBINARY"; NSString * const kGTLRConnectors_InputParameter_DataType_Varchar = @"VARCHAR"; +// GTLRConnectors_Instance.state +NSString * const kGTLRConnectors_Instance_State_Creating = @"CREATING"; +NSString * const kGTLRConnectors_Instance_State_Deleting = @"DELETING"; +NSString * const kGTLRConnectors_Instance_State_Error = @"ERROR"; +NSString * const kGTLRConnectors_Instance_State_Ready = @"READY"; +NSString * const kGTLRConnectors_Instance_State_Repairing = @"REPAIRING"; +NSString * const kGTLRConnectors_Instance_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRConnectors_Instance_State_Updating = @"UPDATING"; + // GTLRConnectors_JsonSchema.jdbcType NSString * const kGTLRConnectors_JsonSchema_JdbcType_Array = @"ARRAY"; NSString * const kGTLRConnectors_JsonSchema_JdbcType_Bigint = @"BIGINT"; @@ -155,6 +170,11 @@ NSString * const kGTLRConnectors_JsonSchema_JdbcType_Varbinary = @"VARBINARY"; NSString * const kGTLRConnectors_JsonSchema_JdbcType_Varchar = @"VARCHAR"; +// GTLRConnectors_MaintenancePolicy.state +NSString * const kGTLRConnectors_MaintenancePolicy_State_Deleting = @"DELETING"; +NSString * const kGTLRConnectors_MaintenancePolicy_State_Ready = @"READY"; +NSString * const kGTLRConnectors_MaintenancePolicy_State_StateUnspecified = @"STATE_UNSPECIFIED"; + // GTLRConnectors_QueryParameter.dataType NSString * const kGTLRConnectors_QueryParameter_DataType_Array = @"ARRAY"; NSString * const kGTLRConnectors_QueryParameter_DataType_Bigint = @"BIGINT"; @@ -249,6 +269,34 @@ NSString * const kGTLRConnectors_ResultMetadata_DataType_Varbinary = @"VARBINARY"; NSString * const kGTLRConnectors_ResultMetadata_DataType_Varchar = @"VARCHAR"; +// GTLRConnectors_Schedule.day +NSString * const kGTLRConnectors_Schedule_Day_DayOfWeekUnspecified = @"DAY_OF_WEEK_UNSPECIFIED"; +NSString * const kGTLRConnectors_Schedule_Day_Friday = @"FRIDAY"; +NSString * const kGTLRConnectors_Schedule_Day_Monday = @"MONDAY"; +NSString * const kGTLRConnectors_Schedule_Day_Saturday = @"SATURDAY"; +NSString * const kGTLRConnectors_Schedule_Day_Sunday = @"SUNDAY"; +NSString * const kGTLRConnectors_Schedule_Day_Thursday = @"THURSDAY"; +NSString * const kGTLRConnectors_Schedule_Day_Tuesday = @"TUESDAY"; +NSString * const kGTLRConnectors_Schedule_Day_Wednesday = @"WEDNESDAY"; + +// GTLRConnectors_UpdatePolicy.channel +NSString * const kGTLRConnectors_UpdatePolicy_Channel_Earlier = @"EARLIER"; +NSString * const kGTLRConnectors_UpdatePolicy_Channel_Later = @"LATER"; +NSString * const kGTLRConnectors_UpdatePolicy_Channel_UpdateChannelUnspecified = @"UPDATE_CHANNEL_UNSPECIFIED"; +NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week1 = @"WEEK1"; +NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week2 = @"WEEK2"; +NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5 = @"WEEK5"; + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_AccessCredentials +// + +@implementation GTLRConnectors_AccessCredentials +@dynamic accessToken, expiresIn, refreshToken; +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_Action @@ -273,6 +321,61 @@ @implementation GTLRConnectors_Action @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_CheckReadinessResponse +// + +@implementation GTLRConnectors_CheckReadinessResponse +@dynamic status; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_CheckStatusResponse +// + +@implementation GTLRConnectors_CheckStatusResponse +@dynamic descriptionProperty, state; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_DailyCycle +// + +@implementation GTLRConnectors_DailyCycle +@dynamic duration, startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Date +// + +@implementation GTLRConnectors_Date +@dynamic day, month, year; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_DenyMaintenancePeriod +// + +@implementation GTLRConnectors_DenyMaintenancePeriod +@dynamic endDate, startDate, time; +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_Empty @@ -324,6 +427,25 @@ @implementation GTLRConnectors_EntityType @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExchangeAuthCodeRequest +// + +@implementation GTLRConnectors_ExchangeAuthCodeRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExchangeAuthCodeResponse +// + +@implementation GTLRConnectors_ExchangeAuthCodeResponse +@dynamic accessCredentials; +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ExecuteActionRequest @@ -482,6 +604,112 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Instance +// + +@implementation GTLRConnectors_Instance +@dynamic consumerDefinedName, createTime, instanceType, labels, + maintenancePolicyNames, maintenanceSchedules, maintenanceSettings, + name, notificationParameters, producerMetadata, provisionedResources, + slmInstanceTemplate, sloMetadata, softwareVersions, state, + tenantProjectId, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"provisionedResources" : [GTLRConnectors_ProvisionedResource class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Instance_Labels +// + +@implementation GTLRConnectors_Instance_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Instance_MaintenancePolicyNames +// + +@implementation GTLRConnectors_Instance_MaintenancePolicyNames + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Instance_MaintenanceSchedules +// + +@implementation GTLRConnectors_Instance_MaintenanceSchedules + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_MaintenanceSchedule class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Instance_NotificationParameters +// + +@implementation GTLRConnectors_Instance_NotificationParameters + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_NotificationParameter class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Instance_ProducerMetadata +// + +@implementation GTLRConnectors_Instance_ProducerMetadata + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Instance_SoftwareVersions +// + +@implementation GTLRConnectors_Instance_SoftwareVersions + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_JsonSchema @@ -608,6 +836,143 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_MaintenancePolicy +// + +@implementation GTLRConnectors_MaintenancePolicy +@dynamic createTime, descriptionProperty, labels, name, state, updatePolicy, + updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_MaintenancePolicy_Labels +// + +@implementation GTLRConnectors_MaintenancePolicy_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_MaintenanceSchedule +// + +@implementation GTLRConnectors_MaintenanceSchedule +@dynamic canReschedule, endTime, rolloutManagementPolicy, scheduleDeadlineTime, + startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_MaintenanceSettings +// + +@implementation GTLRConnectors_MaintenanceSettings +@dynamic exclude, isRollback, maintenancePolicies; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_MaintenanceSettings_MaintenancePolicies +// + +@implementation GTLRConnectors_MaintenanceSettings_MaintenancePolicies + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_MaintenancePolicy class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_MaintenanceWindow +// + +@implementation GTLRConnectors_MaintenanceWindow +@dynamic dailyCycle, weeklyCycle; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_NodeSloMetadata +// + +@implementation GTLRConnectors_NodeSloMetadata +@dynamic location, nodeId, perSliEligibility; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_NotificationParameter +// + +@implementation GTLRConnectors_NotificationParameter +@dynamic values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_PerSliSloEligibility +// + +@implementation GTLRConnectors_PerSliSloEligibility +@dynamic eligibilities; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_PerSliSloEligibility_Eligibilities +// + +@implementation GTLRConnectors_PerSliSloEligibility_Eligibilities + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_SloEligibility class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ProvisionedResource +// + +@implementation GTLRConnectors_ProvisionedResource +@dynamic resourceType, resourceUrl; +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_Query @@ -646,6 +1011,25 @@ @implementation GTLRConnectors_Reference @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_RefreshAccessTokenRequest +// + +@implementation GTLRConnectors_RefreshAccessTokenRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_RefreshAccessTokenResponse +// + +@implementation GTLRConnectors_RefreshAccessTokenResponse +@dynamic accessCredentials; +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ResultMetadata @@ -661,6 +1045,54 @@ @implementation GTLRConnectors_ResultMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Schedule +// + +@implementation GTLRConnectors_Schedule +@dynamic day, duration, startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_SloEligibility +// + +@implementation GTLRConnectors_SloEligibility +@dynamic eligible, reason; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_SloMetadata +// + +@implementation GTLRConnectors_SloMetadata +@dynamic nodes, perSliEligibility, tier; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"nodes" : [GTLRConnectors_NodeSloMetadata class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_TimeOfDay +// + +@implementation GTLRConnectors_TimeOfDay +@dynamic hours, minutes, nanos, seconds; +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_UpdateEntitiesWithConditionsResponse @@ -683,3 +1115,39 @@ + (Class)classForAdditionalProperties { } @end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_UpdatePolicy +// + +@implementation GTLRConnectors_UpdatePolicy +@dynamic channel, denyMaintenancePeriods, window; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"denyMaintenancePeriods" : [GTLRConnectors_DenyMaintenancePeriod class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_WeeklyCycle +// + +@implementation GTLRConnectors_WeeklyCycle +@dynamic schedule; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"schedule" : [GTLRConnectors_Schedule class] + }; + return map; +} + +@end diff --git a/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m b/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m index c98050da6..f8dadcdd4 100644 --- a/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m +++ b/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m @@ -97,6 +97,44 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsCheckReadiness + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}:checkReadiness"; + GTLRConnectorsQuery_ProjectsLocationsConnectionsCheckReadiness *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRConnectors_CheckReadinessResponse class]; + query.loggingName = @"connectors.projects.locations.connections.checkReadiness"; + return query; +} + +@end + +@implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsCheckStatus + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}:checkStatus"; + GTLRConnectorsQuery_ProjectsLocationsConnectionsCheckStatus *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRConnectors_CheckStatusResponse class]; + query.loggingName = @"connectors.projects.locations.connections.checkStatus"; + return query; +} + +@end + @implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsEntityTypesEntitiesCreate @dynamic parent; @@ -299,6 +337,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsExchangeAuthCode + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRConnectors_ExchangeAuthCodeRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}:exchangeAuthCode"; + GTLRConnectorsQuery_ProjectsLocationsConnectionsExchangeAuthCode *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRConnectors_ExchangeAuthCodeResponse class]; + query.loggingName = @"connectors.projects.locations.connections.exchangeAuthCode"; + return query; +} + +@end + @implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsExecuteSqlQuery @dynamic connection; @@ -325,3 +390,30 @@ + (instancetype)queryWithObject:(GTLRConnectors_ExecuteSqlQueryRequest *)object } @end + +@implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsRefreshAccessToken + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRConnectors_RefreshAccessTokenRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}:refreshAccessToken"; + GTLRConnectorsQuery_ProjectsLocationsConnectionsRefreshAccessToken *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRConnectors_RefreshAccessTokenResponse class]; + query.loggingName = @"connectors.projects.locations.connections.refreshAccessToken"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h index 1660caaa4..113e7dfa2 100644 --- a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h +++ b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h @@ -15,7 +15,11 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif +@class GTLRConnectors_AccessCredentials; @class GTLRConnectors_Action; +@class GTLRConnectors_DailyCycle; +@class GTLRConnectors_Date; +@class GTLRConnectors_DenyMaintenancePeriod; @class GTLRConnectors_Entity; @class GTLRConnectors_Entity_Fields; @class GTLRConnectors_EntityType; @@ -26,14 +30,37 @@ @class GTLRConnectors_Field_AdditionalDetails; @class GTLRConnectors_InputParameter; @class GTLRConnectors_InputParameter_AdditionalDetails; +@class GTLRConnectors_Instance_Labels; +@class GTLRConnectors_Instance_MaintenancePolicyNames; +@class GTLRConnectors_Instance_MaintenanceSchedules; +@class GTLRConnectors_Instance_NotificationParameters; +@class GTLRConnectors_Instance_ProducerMetadata; +@class GTLRConnectors_Instance_SoftwareVersions; @class GTLRConnectors_JsonSchema; @class GTLRConnectors_JsonSchema_AdditionalDetails; @class GTLRConnectors_JsonSchema_Properties; +@class GTLRConnectors_MaintenancePolicy; +@class GTLRConnectors_MaintenancePolicy_Labels; +@class GTLRConnectors_MaintenanceSchedule; +@class GTLRConnectors_MaintenanceSettings; +@class GTLRConnectors_MaintenanceSettings_MaintenancePolicies; +@class GTLRConnectors_MaintenanceWindow; +@class GTLRConnectors_NodeSloMetadata; +@class GTLRConnectors_NotificationParameter; +@class GTLRConnectors_PerSliSloEligibility; +@class GTLRConnectors_PerSliSloEligibility_Eligibilities; +@class GTLRConnectors_ProvisionedResource; @class GTLRConnectors_Query; @class GTLRConnectors_QueryParameter; @class GTLRConnectors_Reference; @class GTLRConnectors_ResultMetadata; +@class GTLRConnectors_Schedule; +@class GTLRConnectors_SloEligibility; +@class GTLRConnectors_SloMetadata; +@class GTLRConnectors_TimeOfDay; @class GTLRConnectors_UpdateEntitiesWithConditionsResponse_Response; +@class GTLRConnectors_UpdatePolicy; +@class GTLRConnectors_WeeklyCycle; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -45,6 +72,40 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRConnectors_CheckStatusResponse.state + +/** + * The connector is active and ready to process runtime requests. This can also + * mean that from the connector's perspective, the connector is not in an error + * state and should be able to process runtime requests successfully. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_CheckStatusResponse_State_Active; +/** + * This is a more specific error state that the developers can opt to use when + * the connector is facing auth-related errors caused by auth configuration not + * present, invalid auth credentials, etc. + * + * Value: "AUTH_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_CheckStatusResponse_State_AuthError; +/** + * The connector is in an error state and cannot process runtime requests. An + * example reason would be that the connection container has some network + * issues that prevent outbound requests from being sent. + * + * Value: "ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_CheckStatusResponse_State_Error; +/** + * State unspecified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_CheckStatusResponse_State_StateUnspecified; + // ---------------------------------------------------------------------------- // GTLRConnectors_Field.dataType @@ -593,6 +654,52 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_InputParameter_DataType_Varbi */ FOUNDATION_EXTERN NSString * const kGTLRConnectors_InputParameter_DataType_Varchar; +// ---------------------------------------------------------------------------- +// GTLRConnectors_Instance.state + +/** + * Instance is being created. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Instance_State_Creating; +/** + * Instance is being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Instance_State_Deleting; +/** + * Instance encountered an error and is in indeterministic state. + * + * Value: "ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Instance_State_Error; +/** + * Instance has been created and is ready to use. + * + * Value: "READY" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Instance_State_Ready; +/** + * Instance is unheathy and under repair. + * + * Value: "REPAIRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Instance_State_Repairing; +/** + * Unspecified state. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Instance_State_StateUnspecified; +/** + * Instance is being updated. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Instance_State_Updating; + // ---------------------------------------------------------------------------- // GTLRConnectors_JsonSchema.jdbcType @@ -867,6 +974,28 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_JsonSchema_JdbcType_Varbinary */ FOUNDATION_EXTERN NSString * const kGTLRConnectors_JsonSchema_JdbcType_Varchar; +// ---------------------------------------------------------------------------- +// GTLRConnectors_MaintenancePolicy.state + +/** + * Resource is being deleted. It can no longer be attached to instances. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_MaintenancePolicy_State_Deleting; +/** + * Resource is ready to be used. + * + * Value: "READY" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_MaintenancePolicy_State_Ready; +/** + * Unspecified state. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_MaintenancePolicy_State_StateUnspecified; + // ---------------------------------------------------------------------------- // GTLRConnectors_QueryParameter.dataType @@ -1415,6 +1544,124 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_ResultMetadata_DataType_Varbi */ FOUNDATION_EXTERN NSString * const kGTLRConnectors_ResultMetadata_DataType_Varchar; +// ---------------------------------------------------------------------------- +// GTLRConnectors_Schedule.day + +/** + * The day of the week is unspecified. + * + * Value: "DAY_OF_WEEK_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Schedule_Day_DayOfWeekUnspecified; +/** + * Friday + * + * Value: "FRIDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Schedule_Day_Friday; +/** + * Monday + * + * Value: "MONDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Schedule_Day_Monday; +/** + * Saturday + * + * Value: "SATURDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Schedule_Day_Saturday; +/** + * Sunday + * + * Value: "SUNDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Schedule_Day_Sunday; +/** + * Thursday + * + * Value: "THURSDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Schedule_Day_Thursday; +/** + * Tuesday + * + * Value: "TUESDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Schedule_Day_Tuesday; +/** + * Wednesday + * + * Value: "WEDNESDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_Schedule_Day_Wednesday; + +// ---------------------------------------------------------------------------- +// GTLRConnectors_UpdatePolicy.channel + +/** + * Early channel within a customer project. + * + * Value: "EARLIER" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Earlier; +/** + * Later channel within a customer project. + * + * Value: "LATER" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Later; +/** + * Unspecified channel. + * + * Value: "UPDATE_CHANNEL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_UpdateChannelUnspecified; +/** + * ! ! The follow channels can ONLY be used if you adopt the new MW system! ! ! + * NOTE: all WEEK channels are assumed to be under a weekly window. ! There is + * currently no dedicated channel definitions for Daily windows. ! If you use + * Daily window, the system will assume a 1d (24Hours) advanced ! notification + * period b/w EARLY and LATER. ! We may consider support more flexible daily + * channel specifications in ! the future. WEEK1 == EARLIER with minimum 7d + * advanced notification. {7d, 14d} The system will treat them equally and will + * use WEEK1 whenever it can. New customers are encouraged to use this channel + * annotation. + * + * Value: "WEEK1" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week1; +/** + * WEEK2 == LATER with minimum 14d advanced notification {14d, 21d}. + * + * Value: "WEEK2" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week2; +/** + * WEEK5 == 40d support. minimum 35d advanced notification {35d, 42d}. + * + * Value: "WEEK5" + */ +FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; + +/** + * AccessCredentials includes the OAuth access token, and the other fields + * returned along with it. + */ +@interface GTLRConnectors_AccessCredentials : GTLRObject + +/** OAuth access token. */ +@property(nonatomic, copy, nullable) NSString *accessToken; + +/** Duration till the access token expires. */ +@property(nonatomic, strong, nullable) GTLRDuration *expiresIn; + +/** OAuth refresh token. */ +@property(nonatomic, copy, nullable) NSString *refreshToken; + +@end + + /** * Action message contains metadata information about a single action present * in the external system. @@ -1449,6 +1696,139 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_ResultMetadata_DataType_Varch @end +/** + * Response containing status of the connector for readiness prober. + */ +@interface GTLRConnectors_CheckReadinessResponse : GTLRObject + +@property(nonatomic, copy, nullable) NSString *status; + +@end + + +/** + * The status of the connector. + */ +@interface GTLRConnectors_CheckStatusResponse : GTLRObject + +/** + * When the connector is not in ACTIVE state, the description must be populated + * to specify the reason why it's not in ACTIVE state. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * State of the connector. + * + * Likely values: + * @arg @c kGTLRConnectors_CheckStatusResponse_State_Active The connector is + * active and ready to process runtime requests. This can also mean that + * from the connector's perspective, the connector is not in an error + * state and should be able to process runtime requests successfully. + * (Value: "ACTIVE") + * @arg @c kGTLRConnectors_CheckStatusResponse_State_AuthError This is a more + * specific error state that the developers can opt to use when the + * connector is facing auth-related errors caused by auth configuration + * not present, invalid auth credentials, etc. (Value: "AUTH_ERROR") + * @arg @c kGTLRConnectors_CheckStatusResponse_State_Error The connector is + * in an error state and cannot process runtime requests. An example + * reason would be that the connection container has some network issues + * that prevent outbound requests from being sent. (Value: "ERROR") + * @arg @c kGTLRConnectors_CheckStatusResponse_State_StateUnspecified State + * unspecified. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * Time window specified for daily operations. + */ +@interface GTLRConnectors_DailyCycle : GTLRObject + +/** Output only. Duration of the time window, set by service producer. */ +@property(nonatomic, strong, nullable) GTLRDuration *duration; + +/** Time within the day to start the operations. */ +@property(nonatomic, strong, nullable) GTLRConnectors_TimeOfDay *startTime; + +@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 GTLRConnectors_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 + + +/** + * DenyMaintenancePeriod definition. Maintenance is forbidden within the deny + * period. The start_date must be less than the end_date. + */ +@interface GTLRConnectors_DenyMaintenancePeriod : GTLRObject + +/** + * Deny period end date. This can be: * A full date, with non-zero year, month + * and day values. * A month and day value, with a zero year. Allows recurring + * deny periods each year. Date matching this period will have to be before the + * end. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_Date *endDate; + +/** + * Deny period start date. This can be: * A full date, with non-zero year, + * month and day values. * A month and day value, with a zero year. Allows + * recurring deny periods each year. Date matching this period will have to be + * the same or after the start. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_Date *startDate; + +/** + * Time in UTC when the Blackout period starts on start_date and ends on + * end_date. This can be: * Full time. * All zeros for 00:00:00 UTC + */ +@property(nonatomic, strong, nullable) GTLRConnectors_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 @@ -1512,6 +1892,24 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_ResultMetadata_DataType_Varch @end +/** + * ExchangeAuthCodeRequest currently includes no fields. + */ +@interface GTLRConnectors_ExchangeAuthCodeRequest : GTLRObject +@end + + +/** + * ExchangeAuthCodeResponse includes the returned access token and its + * associated credentials. + */ +@interface GTLRConnectors_ExchangeAuthCodeResponse : GTLRObject + +@property(nonatomic, strong, nullable) GTLRConnectors_AccessCredentials *accessCredentials; + +@end + + /** * Request message for ActionService.ExecuteAction */ @@ -1921,6 +2319,246 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_ResultMetadata_DataType_Varch @end +/** + * Instance represents the interface for SLM services to actuate the state of + * control plane resources. Example Instance in JSON, where + * consumer-project-number=123456, producer-project-id=cloud-sql: ```json + * Instance: { "name": + * "projects/123456/locations/us-east1/instances/prod-instance", "create_time": + * { "seconds": 1526406431, }, "labels": { "env": "prod", "foo": "bar" }, + * "state": READY, "software_versions": { "software_update": + * "cloud-sql-09-28-2018", }, "maintenance_policy_names": { "UpdatePolicy": + * "projects/123456/locations/us-east1/maintenancePolicies/prod-update-policy", + * } "tenant_project_id": "cloud-sql-test-tenant", "producer_metadata": { + * "cloud-sql-tier": "basic", "cloud-sql-instance-size": "1G", }, + * "provisioned_resources": [ { "resource-type": "compute-instance", + * "resource-url": + * "https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1", + * } ], "maintenance_schedules": { "csa_rollout": { "start_time": { "seconds": + * 1526406431, }, "end_time": { "seconds": 1535406431, }, }, "ncsa_rollout": { + * "start_time": { "seconds": 1526406431, }, "end_time": { "seconds": + * 1535406431, }, } }, "consumer_defined_name": "my-sql-instance1", } ``` + * LINT.IfChange + */ +@interface GTLRConnectors_Instance : GTLRObject + +/** + * consumer_defined_name is the name of the instance set by the service + * consumers. Generally this is different from the `name` field which + * reperesents the system-assigned id of the instance which the service + * consumers do not recognize. This is a required field for tenants onboarding + * to Maintenance Window notifications + * (go/slm-rollout-maintenance-policies#prerequisites). + */ +@property(nonatomic, copy, nullable) NSString *consumerDefinedName; + +/** Output only. Timestamp when the resource was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. The instance_type of this instance of format: + * projects/{project_number}/locations/{location_id}/instanceTypes/{instance_type_id}. + * Instance Type represents a high-level tier or SKU of the service that this + * instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses + * 'instance_type' along with 'software_versions' to determine whether instance + * needs an update or not. + */ +@property(nonatomic, copy, nullable) NSString *instanceType; + +/** + * Optional. Resource labels to represent user provided metadata. Each label is + * a key-value pair, where both the key and the value are arbitrary strings + * provided by the user. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_Instance_Labels *labels; + +/** + * Optional. The MaintenancePolicies that have been attached to the instance. + * The key must be of the type name of the oneof policy name defined in + * MaintenancePolicy, and the referenced policy must define the same policy + * type. For details, please refer to go/mr-user-guide. Should not be set if + * maintenance_settings.maintenance_policies is set. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_Instance_MaintenancePolicyNames *maintenancePolicyNames; + +/** + * The MaintenanceSchedule contains the scheduling information of published + * maintenance schedule with same key as software_versions. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_Instance_MaintenanceSchedules *maintenanceSchedules; + +/** Optional. The MaintenanceSettings associated with instance. */ +@property(nonatomic, strong, nullable) GTLRConnectors_MaintenanceSettings *maintenanceSettings; + +/** + * Unique name of the resource. It uses the form: + * `projects/{project_number}/locations/{location_id}/instances/{instance_id}` + * Note: This name is passed, stored and logged across the rollout system. So + * use of consumer project_id or any other consumer PII in the name is strongly + * discouraged for wipeout (go/wipeout) compliance. See + * go/elysium/project_ids#storage-guidance for more details. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. notification_parameter are information that service producers may + * like to include that is not relevant to Rollout. This parameter will only be + * passed to Gamma and Cloud Logging for notification/logging purpose. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_Instance_NotificationParameters *notificationParameters; + +/** + * Output only. Custom string attributes used primarily to expose + * producer-specific information in monitoring dashboards. See + * go/get-instance-metadata. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_Instance_ProducerMetadata *producerMetadata; + +/** + * Output only. The list of data plane resources provisioned for this instance, + * e.g. compute VMs. See go/get-instance-metadata. + */ +@property(nonatomic, strong, nullable) NSArray *provisionedResources; + +/** + * Link to the SLM instance template. Only populated when updating SLM + * instances via SSA's Actuation service adaptor. Service producers with custom + * control plane (e.g. Cloud SQL) doesn't need to populate this field. Instead + * they should use software_versions. + */ +@property(nonatomic, copy, nullable) NSString *slmInstanceTemplate; + +/** + * Output only. SLO metadata for instance classification in the Standardized + * dataplane SLO platform. See go/cloud-ssa-standard-slo for feature + * description. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_SloMetadata *sloMetadata; + +/** + * Software versions that are used to deploy this instance. This can be mutated + * by rollout services. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_Instance_SoftwareVersions *softwareVersions; + +/** + * Output only. Current lifecycle state of the resource (e.g. if it's being + * created or ready to use). + * + * Likely values: + * @arg @c kGTLRConnectors_Instance_State_Creating Instance is being created. + * (Value: "CREATING") + * @arg @c kGTLRConnectors_Instance_State_Deleting Instance is being deleted. + * (Value: "DELETING") + * @arg @c kGTLRConnectors_Instance_State_Error Instance encountered an error + * and is in indeterministic state. (Value: "ERROR") + * @arg @c kGTLRConnectors_Instance_State_Ready Instance has been created and + * is ready to use. (Value: "READY") + * @arg @c kGTLRConnectors_Instance_State_Repairing Instance is unheathy and + * under repair. (Value: "REPAIRING") + * @arg @c kGTLRConnectors_Instance_State_StateUnspecified Unspecified state. + * (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRConnectors_Instance_State_Updating Instance is being updated. + * (Value: "UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. ID of the associated GCP tenant project. See + * go/get-instance-metadata. + */ +@property(nonatomic, copy, nullable) NSString *tenantProjectId; + +/** Output only. Timestamp when the resource was last modified. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Resource labels to represent user provided metadata. Each label is + * a key-value pair, where both the key and the value are arbitrary strings + * provided by the user. + * + * @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 GTLRConnectors_Instance_Labels : GTLRObject +@end + + +/** + * Optional. The MaintenancePolicies that have been attached to the instance. + * The key must be of the type name of the oneof policy name defined in + * MaintenancePolicy, and the referenced policy must define the same policy + * type. For details, please refer to go/mr-user-guide. Should not be set if + * maintenance_settings.maintenance_policies is set. + * + * @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 GTLRConnectors_Instance_MaintenancePolicyNames : GTLRObject +@end + + +/** + * The MaintenanceSchedule contains the scheduling information of published + * maintenance schedule with same key as software_versions. + * + * @note This class is documented as having more properties of + * GTLRConnectors_MaintenanceSchedule. Use @c -additionalJSONKeys and @c + * -additionalPropertyForName: to get the list of properties and then + * fetch them; or @c -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_Instance_MaintenanceSchedules : GTLRObject +@end + + +/** + * Optional. notification_parameter are information that service producers may + * like to include that is not relevant to Rollout. This parameter will only be + * passed to Gamma and Cloud Logging for notification/logging purpose. + * + * @note This class is documented as having more properties of + * GTLRConnectors_NotificationParameter. Use @c -additionalJSONKeys and + * @c -additionalPropertyForName: to get the list of properties and then + * fetch them; or @c -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_Instance_NotificationParameters : GTLRObject +@end + + +/** + * Output only. Custom string attributes used primarily to expose + * producer-specific information in monitoring dashboards. See + * go/get-instance-metadata. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_Instance_ProducerMetadata : GTLRObject +@end + + +/** + * Software versions that are used to deploy this instance. This can be mutated + * by rollout services. + * + * @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 GTLRConnectors_Instance_SoftwareVersions : GTLRObject +@end + + /** * JsonSchema representation of schema metadata */ @@ -2192,6 +2830,286 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_ResultMetadata_DataType_Varch @end +/** + * LINT.IfChange Defines policies to service maintenance events. + */ +@interface GTLRConnectors_MaintenancePolicy : GTLRObject + +/** Output only. The time when the resource was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Description of what this policy is for. Create/Update methods + * return INVALID_ARGUMENT if the length is greater than 512. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. Resource labels to represent user provided metadata. Each label is + * a key-value pair, where both the key and the value are arbitrary strings + * provided by the user. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_MaintenancePolicy_Labels *labels; + +/** + * Required. MaintenancePolicy name using the form: + * `projects/{project_id}/locations/{location_id}/maintenancePolicies/{maintenance_policy_id}` + * where {project_id} refers to a GCP consumer project ID, {location_id} refers + * to a GCP region/zone, {maintenance_policy_id} must be 1-63 characters long + * and match the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The state of the policy. + * + * Likely values: + * @arg @c kGTLRConnectors_MaintenancePolicy_State_Deleting Resource is being + * deleted. It can no longer be attached to instances. (Value: + * "DELETING") + * @arg @c kGTLRConnectors_MaintenancePolicy_State_Ready Resource is ready to + * be used. (Value: "READY") + * @arg @c kGTLRConnectors_MaintenancePolicy_State_StateUnspecified + * Unspecified state. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Maintenance policy applicable to instance update. */ +@property(nonatomic, strong, nullable) GTLRConnectors_UpdatePolicy *updatePolicy; + +/** Output only. The time when the resource was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Resource labels to represent user provided metadata. Each label is + * a key-value pair, where both the key and the value are arbitrary strings + * provided by the user. + * + * @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 GTLRConnectors_MaintenancePolicy_Labels : GTLRObject +@end + + +/** + * Maintenance schedule which is exposed to customer and potentially end user, + * indicating published upcoming future maintenance schedule + */ +@interface GTLRConnectors_MaintenanceSchedule : GTLRObject + +/** + * This field is deprecated, and will be always set to true since reschedule + * can happen multiple times now. This field should not be removed until all + * service producers remove this for their customers. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *canReschedule GTLR_DEPRECATED; + +/** The scheduled end time for the maintenance. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * The rollout management policy this maintenance schedule is associated with. + * When doing reschedule update request, the reschedule should be against this + * given policy. + */ +@property(nonatomic, copy, nullable) NSString *rolloutManagementPolicy; + +/** + * schedule_deadline_time is the time deadline any schedule start time cannot + * go beyond, including reschedule. It's normally the initial schedule start + * time plus maintenance window length (1 day or 1 week). Maintenance cannot be + * scheduled to start beyond this deadline. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *scheduleDeadlineTime; + +/** The scheduled start time for the maintenance. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + +/** + * Maintenance settings associated with instance. Allows service producers and + * end users to assign settings that controls maintenance on this instance. + */ +@interface GTLRConnectors_MaintenanceSettings : GTLRObject + +/** + * Optional. Exclude instance from maintenance. When true, rollout service will + * not attempt maintenance on the instance. Rollout service will include the + * instance in reported rollout progress as not attempted. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exclude; + +/** + * Optional. If the update call is triggered from rollback, set the value as + * true. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isRollback; + +/** + * Optional. The MaintenancePolicies that have been attached to the instance. + * The key must be of the type name of the oneof policy name defined in + * MaintenancePolicy, and the embedded policy must define the same policy type. + * For details, please refer to go/mr-user-guide. Should not be set if + * maintenance_policy_names is set. If only the name is needed, then only + * populate MaintenancePolicy.name. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_MaintenanceSettings_MaintenancePolicies *maintenancePolicies; + +@end + + +/** + * Optional. The MaintenancePolicies that have been attached to the instance. + * The key must be of the type name of the oneof policy name defined in + * MaintenancePolicy, and the embedded policy must define the same policy type. + * For details, please refer to go/mr-user-guide. Should not be set if + * maintenance_policy_names is set. If only the name is needed, then only + * populate MaintenancePolicy.name. + * + * @note This class is documented as having more properties of + * GTLRConnectors_MaintenancePolicy. Use @c -additionalJSONKeys and @c + * -additionalPropertyForName: to get the list of properties and then + * fetch them; or @c -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_MaintenanceSettings_MaintenancePolicies : GTLRObject +@end + + +/** + * MaintenanceWindow definition. + */ +@interface GTLRConnectors_MaintenanceWindow : GTLRObject + +/** Daily cycle. */ +@property(nonatomic, strong, nullable) GTLRConnectors_DailyCycle *dailyCycle; + +/** Weekly cycle. */ +@property(nonatomic, strong, nullable) GTLRConnectors_WeeklyCycle *weeklyCycle; + +@end + + +/** + * Node information for custom per-node SLO implementations. SSA does not + * support per-node SLO, but producers can populate per-node information in + * SloMetadata for custom precomputations. SSA Eligibility Exporter will emit + * per-node metric based on this information. + */ +@interface GTLRConnectors_NodeSloMetadata : GTLRObject + +/** The location of the node, if different from instance location. */ +@property(nonatomic, copy, nullable) NSString *location; + +/** The id of the node. This should be equal to SaasInstanceNode.node_id. */ +@property(nonatomic, copy, nullable) NSString *nodeId; + +/** + * If present, this will override eligibility for the node coming from instance + * or exclusions for specified SLIs. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_PerSliSloEligibility *perSliEligibility; + +@end + + +/** + * Contains notification related data. + */ +@interface GTLRConnectors_NotificationParameter : GTLRObject + +/** Optional. Array of string values. e.g. instance's replica information. */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + +/** + * PerSliSloEligibility is a mapping from an SLI name to eligibility. + */ +@interface GTLRConnectors_PerSliSloEligibility : GTLRObject + +/** + * An entry in the eligibilities map specifies an eligibility for a particular + * SLI for the given instance. The SLI key in the name must be a valid SLI name + * specified in the Eligibility Exporter binary flags otherwise an error will + * be emitted by Eligibility Exporter and the oncaller will be alerted. If an + * SLI has been defined in the binary flags but the eligibilities map does not + * contain it, the corresponding SLI time series will not be emitted by the + * Eligibility Exporter. This ensures a smooth rollout and compatibility + * between the data produced by different versions of the Eligibility + * Exporters. If eligibilities map contains a key for an SLI which has not been + * declared in the binary flags, there will be an error message emitted in the + * Eligibility Exporter log and the metric for the SLI in question will not be + * emitted. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_PerSliSloEligibility_Eligibilities *eligibilities; + +@end + + +/** + * An entry in the eligibilities map specifies an eligibility for a particular + * SLI for the given instance. The SLI key in the name must be a valid SLI name + * specified in the Eligibility Exporter binary flags otherwise an error will + * be emitted by Eligibility Exporter and the oncaller will be alerted. If an + * SLI has been defined in the binary flags but the eligibilities map does not + * contain it, the corresponding SLI time series will not be emitted by the + * Eligibility Exporter. This ensures a smooth rollout and compatibility + * between the data produced by different versions of the Eligibility + * Exporters. If eligibilities map contains a key for an SLI which has not been + * declared in the binary flags, there will be an error message emitted in the + * Eligibility Exporter log and the metric for the SLI in question will not be + * emitted. + * + * @note This class is documented as having more properties of + * GTLRConnectors_SloEligibility. Use @c -additionalJSONKeys and @c + * -additionalPropertyForName: to get the list of properties and then + * fetch them; or @c -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_PerSliSloEligibility_Eligibilities : GTLRObject +@end + + +/** + * Describes provisioned dataplane resources. + */ +@interface GTLRConnectors_ProvisionedResource : GTLRObject + +/** + * Type of the resource. This can be either a GCP resource or a custom one + * (e.g. another cloud provider's VM). For GCP compute resources use singular + * form of the names listed in GCP compute API documentation + * (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with + * 'compute-', for example: 'compute-instance', 'compute-disk', + * 'compute-autoscaler'. + */ +@property(nonatomic, copy, nullable) NSString *resourceType; + +/** + * URL identifying the resource, e.g. + * "https://www.googleapis.com/compute/v1/projects/...)". + */ +@property(nonatomic, copy, nullable) NSString *resourceUrl; + +@end + + /** * A wrapper around the SQL query statement. This is needed so that the JSON * representation of ExecuteSqlQueryRequest has the following format: @@ -2352,6 +3270,24 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_ResultMetadata_DataType_Varch @end +/** + * RefreshAccessTokenRequest currently includes no fields. + */ +@interface GTLRConnectors_RefreshAccessTokenRequest : GTLRObject +@end + + +/** + * RefreshAccessTokenResponse includes the returned access token and its + * associated credentials. + */ +@interface GTLRConnectors_RefreshAccessTokenResponse : GTLRObject + +@property(nonatomic, strong, nullable) GTLRConnectors_AccessCredentials *accessCredentials; + +@end + + /** * Result Metadata message contains metadata about the result returned after * executing an Action. @@ -2473,6 +3409,131 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_ResultMetadata_DataType_Varch @end +/** + * Configure the schedule. + */ +@interface GTLRConnectors_Schedule : GTLRObject + +/** + * Allows to define schedule that runs specified day of the week. + * + * Likely values: + * @arg @c kGTLRConnectors_Schedule_Day_DayOfWeekUnspecified The day of the + * week is unspecified. (Value: "DAY_OF_WEEK_UNSPECIFIED") + * @arg @c kGTLRConnectors_Schedule_Day_Friday Friday (Value: "FRIDAY") + * @arg @c kGTLRConnectors_Schedule_Day_Monday Monday (Value: "MONDAY") + * @arg @c kGTLRConnectors_Schedule_Day_Saturday Saturday (Value: "SATURDAY") + * @arg @c kGTLRConnectors_Schedule_Day_Sunday Sunday (Value: "SUNDAY") + * @arg @c kGTLRConnectors_Schedule_Day_Thursday Thursday (Value: "THURSDAY") + * @arg @c kGTLRConnectors_Schedule_Day_Tuesday Tuesday (Value: "TUESDAY") + * @arg @c kGTLRConnectors_Schedule_Day_Wednesday Wednesday (Value: + * "WEDNESDAY") + */ +@property(nonatomic, copy, nullable) NSString *day; + +/** Output only. Duration of the time window, set by service producer. */ +@property(nonatomic, strong, nullable) GTLRDuration *duration; + +/** Time within the window to start the operations. */ +@property(nonatomic, strong, nullable) GTLRConnectors_TimeOfDay *startTime; + +@end + + +/** + * SloEligibility is a tuple containing eligibility value: true if an instance + * is eligible for SLO calculation or false if it should be excluded from all + * SLO-related calculations along with a user-defined reason. + */ +@interface GTLRConnectors_SloEligibility : GTLRObject + +/** + * Whether an instance is eligible or ineligible. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *eligible; + +/** + * User-defined reason for the current value of instance eligibility. Usually, + * this can be directly mapped to the internal state. An empty reason is + * allowed. + */ +@property(nonatomic, copy, nullable) NSString *reason; + +@end + + +/** + * SloMetadata contains resources required for proper SLO classification of the + * instance. + */ +@interface GTLRConnectors_SloMetadata : GTLRObject + +/** + * Optional. List of nodes. Some producers need to use per-node metadata to + * calculate SLO. This field allows such producers to publish per-node SLO meta + * data, which will be consumed by SSA Eligibility Exporter and published in + * the form of per node metric to Monarch. + */ +@property(nonatomic, strong, nullable) NSArray *nodes; + +/** + * Optional. Multiple per-instance SLI eligibilities which apply for individual + * SLIs. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_PerSliSloEligibility *perSliEligibility; + +/** + * Name of the SLO tier the Instance belongs to. This name will be expected to + * match the tiers specified in the service SLO configuration. Field is + * mandatory and must not be empty. + */ +@property(nonatomic, copy, nullable) NSString *tier; + +@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 GTLRConnectors_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 + + /** * Response message for EntityService.UpdateEntitiesWithConditions */ @@ -2495,6 +3556,65 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_ResultMetadata_DataType_Varch @interface GTLRConnectors_UpdateEntitiesWithConditionsResponse_Response : GTLRObject @end + +/** + * Maintenance policy applicable to instance updates. + */ +@interface GTLRConnectors_UpdatePolicy : GTLRObject + +/** + * Optional. Relative scheduling channel applied to resource. + * + * Likely values: + * @arg @c kGTLRConnectors_UpdatePolicy_Channel_Earlier Early channel within + * a customer project. (Value: "EARLIER") + * @arg @c kGTLRConnectors_UpdatePolicy_Channel_Later Later channel within a + * customer project. (Value: "LATER") + * @arg @c kGTLRConnectors_UpdatePolicy_Channel_UpdateChannelUnspecified + * Unspecified channel. (Value: "UPDATE_CHANNEL_UNSPECIFIED") + * @arg @c kGTLRConnectors_UpdatePolicy_Channel_Week1 ! ! The follow channels + * can ONLY be used if you adopt the new MW system! ! ! NOTE: all WEEK + * channels are assumed to be under a weekly window. ! There is currently + * no dedicated channel definitions for Daily windows. ! If you use Daily + * window, the system will assume a 1d (24Hours) advanced ! notification + * period b/w EARLY and LATER. ! We may consider support more flexible + * daily channel specifications in ! the future. WEEK1 == EARLIER with + * minimum 7d advanced notification. {7d, 14d} The system will treat them + * equally and will use WEEK1 whenever it can. New customers are + * encouraged to use this channel annotation. (Value: "WEEK1") + * @arg @c kGTLRConnectors_UpdatePolicy_Channel_Week2 WEEK2 == LATER with + * minimum 14d advanced notification {14d, 21d}. (Value: "WEEK2") + * @arg @c kGTLRConnectors_UpdatePolicy_Channel_Week5 WEEK5 == 40d support. + * minimum 35d advanced notification {35d, 42d}. (Value: "WEEK5") + */ +@property(nonatomic, copy, nullable) NSString *channel; + +/** + * Deny Maintenance Period that is applied to resource to indicate when + * maintenance is forbidden. The protocol supports zero-to-many such periods, + * but the current SLM Rollout implementation only supports zero-to-one. + */ +@property(nonatomic, strong, nullable) NSArray *denyMaintenancePeriods; + +/** + * Optional. Maintenance window that is applied to resources covered by this + * policy. + */ +@property(nonatomic, strong, nullable) GTLRConnectors_MaintenanceWindow *window; + +@end + + +/** + * Time window specified for weekly operations. + */ +@interface GTLRConnectors_WeeklyCycle : GTLRObject + +/** User can specify multiple windows in a week. Minimum of 1 window. */ +@property(nonatomic, strong, nullable) NSArray *schedule; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h index 67314c58f..832f8d6c5 100644 --- a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h +++ b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h @@ -205,6 +205,66 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectorsViewEntityTypeViewUnspecified; @end +/** + * Reports readiness status of the connector. Similar logic to GetStatus but + * modified for kubernetes health check to understand. + * + * Method: connectors.projects.locations.connections.checkReadiness + * + * Authorization scope(s): + * @c kGTLRAuthScopeConnectorsCloudPlatform + */ +@interface GTLRConnectorsQuery_ProjectsLocationsConnectionsCheckReadiness : GTLRConnectorsQuery + +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRConnectors_CheckReadinessResponse. + * + * Reports readiness status of the connector. Similar logic to GetStatus but + * modified for kubernetes health check to understand. + * + * @param name NSString + * + * @return GTLRConnectorsQuery_ProjectsLocationsConnectionsCheckReadiness + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Reports the status of the connection. Note that when the connection is in a + * state that is not ACTIVE, the implementation of this RPC method must return + * a Status with the corresponding State instead of returning a gRPC status + * code that is not "OK", which indicates that ConnectionStatus itself, not the + * connection, failed. + * + * Method: connectors.projects.locations.connections.checkStatus + * + * Authorization scope(s): + * @c kGTLRAuthScopeConnectorsCloudPlatform + */ +@interface GTLRConnectorsQuery_ProjectsLocationsConnectionsCheckStatus : GTLRConnectorsQuery + +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRConnectors_CheckStatusResponse. + * + * Reports the status of the connection. Note that when the connection is in a + * state that is not ACTIVE, the implementation of this RPC method must return + * a Status with the corresponding State instead of returning a gRPC status + * code that is not "OK", which indicates that ConnectionStatus itself, not the + * connection, failed. + * + * @param name NSString + * + * @return GTLRConnectorsQuery_ProjectsLocationsConnectionsCheckStatus + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Creates a new entity row of the specified entity type in the external * system. The field values for creating the row are contained in the body of @@ -593,6 +653,36 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectorsViewEntityTypeViewUnspecified; @end +/** + * ExchangeAuthCode exchanges the OAuth authorization code (and other necessary + * data) for an access token (and associated credentials). + * + * Method: connectors.projects.locations.connections.exchangeAuthCode + * + * Authorization scope(s): + * @c kGTLRAuthScopeConnectorsCloudPlatform + */ +@interface GTLRConnectorsQuery_ProjectsLocationsConnectionsExchangeAuthCode : GTLRConnectorsQuery + +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRConnectors_ExchangeAuthCodeResponse. + * + * ExchangeAuthCode exchanges the OAuth authorization code (and other necessary + * data) for an access token (and associated credentials). + * + * @param object The @c GTLRConnectors_ExchangeAuthCodeRequest to include in + * the query. + * @param name NSString + * + * @return GTLRConnectorsQuery_ProjectsLocationsConnectionsExchangeAuthCode + */ ++ (instancetype)queryWithObject:(GTLRConnectors_ExchangeAuthCodeRequest *)object + name:(NSString *)name; + +@end + /** * Executes a SQL statement specified in the body of the request. An example of * this SQL statement in the case of Salesforce connector would be 'select * @@ -630,6 +720,36 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectorsViewEntityTypeViewUnspecified; @end +/** + * RefreshAccessToken exchanges the OAuth refresh token (and other necessary + * data) for a new access token (and new associated credentials). + * + * Method: connectors.projects.locations.connections.refreshAccessToken + * + * Authorization scope(s): + * @c kGTLRAuthScopeConnectorsCloudPlatform + */ +@interface GTLRConnectorsQuery_ProjectsLocationsConnectionsRefreshAccessToken : GTLRConnectorsQuery + +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRConnectors_RefreshAccessTokenResponse. + * + * RefreshAccessToken exchanges the OAuth refresh token (and other necessary + * data) for a new access token (and new associated credentials). + * + * @param object The @c GTLRConnectors_RefreshAccessTokenRequest to include in + * the query. + * @param name NSString + * + * @return GTLRConnectorsQuery_ProjectsLocationsConnectionsRefreshAccessToken + */ ++ (instancetype)queryWithObject:(GTLRConnectors_RefreshAccessTokenRequest *)object + name:(NSString *)name; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h index 133bd8238..a9d5396a3 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h @@ -439,7 +439,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource_BucketObjectType_Audio; /** - * The object type is unspecified and will default to TRANSCRIPT. + * The object type is unspecified and will default to `TRANSCRIPT`. * * Value: "BUCKET_OBJECT_TYPE_UNSPECIFIED" */ @@ -809,7 +809,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource_BucketObjectType_Audio; /** - * The object type is unspecified and will default to TRANSCRIPT. + * The object type is unspecified and will default to `TRANSCRIPT`. * * Value: "BUCKET_OBJECT_TYPE_UNSPECIFIED" */ @@ -1716,8 +1716,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact /** - * The conversation source, which is a combination of transcript, audio, and - * metadata. + * The conversation source, which is a combination of transcript and audio. */ @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource : GTLRObject @@ -2599,8 +2598,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * @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") + * 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") */ @@ -3212,14 +3211,14 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @property(nonatomic, copy, nullable) NSString *parent; /** - * Optional. DLP settings for transcript redaction. Optional, will default to - * the config specified in Settings. + * Optional. DLP settings for transcript redaction. 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. + * Optional. Speech-to-Text configuration. Will default to the config specified + * in Settings. */ @property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SpeechConfig *speechConfig; @@ -4104,8 +4103,7 @@ GTLR_DEPRECATED /** - * The conversation source, which is a combination of transcript, audio, and - * metadata. + * The conversation source, which is a combination of transcript and audio. */ @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationDataSource : GTLRObject @@ -5002,8 +5000,8 @@ GTLR_DEPRECATED * @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") + * 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") */ @@ -6042,14 +6040,14 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *parent; /** - * Optional. DLP settings for transcript redaction. Optional, will default to - * the config specified in Settings. + * Optional. DLP settings for transcript redaction. 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. + * Optional. Speech-to-Text configuration. Will default to the config specified + * in Settings. */ @property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SpeechConfig *speechConfig; diff --git a/Sources/GeneratedServices/Container/GTLRContainerObjects.m b/Sources/GeneratedServices/Container/GTLRContainerObjects.m index efddc2823..b1bddda07 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerObjects.m +++ b/Sources/GeneratedServices/Container/GTLRContainerObjects.m @@ -282,6 +282,7 @@ // GTLRContainer_SecurityPostureConfig.vulnerabilityMode NSString * const kGTLRContainer_SecurityPostureConfig_VulnerabilityMode_VulnerabilityBasic = @"VULNERABILITY_BASIC"; NSString * const kGTLRContainer_SecurityPostureConfig_VulnerabilityMode_VulnerabilityDisabled = @"VULNERABILITY_DISABLED"; +NSString * const kGTLRContainer_SecurityPostureConfig_VulnerabilityMode_VulnerabilityEnterprise = @"VULNERABILITY_ENTERPRISE"; NSString * const kGTLRContainer_SecurityPostureConfig_VulnerabilityMode_VulnerabilityModeUnspecified = @"VULNERABILITY_MODE_UNSPECIFIED"; // GTLRContainer_SetMasterAuthRequest.action @@ -419,7 +420,7 @@ @implementation GTLRContainer_AddonsConfig // @implementation GTLRContainer_AdvancedDatapathObservabilityConfig -@dynamic enableMetrics, relayMode; +@dynamic enableMetrics, enableRelay, relayMode; @end diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h index 34398931d..47451db4c 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h @@ -1519,6 +1519,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_SecurityPostureConfig_Vulnerab * Value: "VULNERABILITY_DISABLED" */ FOUNDATION_EXTERN NSString * const kGTLRContainer_SecurityPostureConfig_VulnerabilityMode_VulnerabilityDisabled; +/** + * Applies the Security Posture's vulnerability on cluster Enterprise level + * features. + * + * Value: "VULNERABILITY_ENTERPRISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_SecurityPostureConfig_VulnerabilityMode_VulnerabilityEnterprise; /** * Default value not specified. * @@ -2090,6 +2097,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) NSNumber *enableMetrics; +/** + * Enable Relay component + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableRelay; + /** * Method used to make Relay available * @@ -6752,6 +6766,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * @arg @c kGTLRContainer_SecurityPostureConfig_VulnerabilityMode_VulnerabilityDisabled * Disables vulnerability scanning on the cluster. (Value: * "VULNERABILITY_DISABLED") + * @arg @c kGTLRContainer_SecurityPostureConfig_VulnerabilityMode_VulnerabilityEnterprise + * Applies the Security Posture's vulnerability on cluster Enterprise + * level features. (Value: "VULNERABILITY_ENTERPRISE") * @arg @c kGTLRContainer_SecurityPostureConfig_VulnerabilityMode_VulnerabilityModeUnspecified * Default value not specified. (Value: "VULNERABILITY_MODE_UNSPECIFIED") */ diff --git a/Sources/GeneratedServices/CustomSearchAPI/Public/GoogleAPIClientForREST/GTLRCustomSearchAPIQuery.h b/Sources/GeneratedServices/CustomSearchAPI/Public/GoogleAPIClientForREST/GTLRCustomSearchAPIQuery.h index 4493c95d6..5de5566fb 100644 --- a/Sources/GeneratedServices/CustomSearchAPI/Public/GoogleAPIClientForREST/GTLRCustomSearchAPIQuery.h +++ b/Sources/GeneratedServices/CustomSearchAPI/Public/GoogleAPIClientForREST/GTLRCustomSearchAPIQuery.h @@ -585,11 +585,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCustomSearchAPISiteSearchFilterSiteSearc /** Query */ @property(nonatomic, copy, nullable) NSString *q; -/** - * Specifies that all search results should be pages that are related to the - * specified URL. - */ -@property(nonatomic, copy, nullable) NSString *relatedSite; +/** Deprecated. */ +@property(nonatomic, copy, nullable) NSString *relatedSite GTLR_DEPRECATED; /** * Filters based on licensing. Supported values include: `cc_publicdomain`, @@ -939,11 +936,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCustomSearchAPISiteSearchFilterSiteSearc /** Query */ @property(nonatomic, copy, nullable) NSString *q; -/** - * Specifies that all search results should be pages that are related to the - * specified URL. - */ -@property(nonatomic, copy, nullable) NSString *relatedSite; +/** Deprecated. */ +@property(nonatomic, copy, nullable) NSString *relatedSite GTLR_DEPRECATED; /** * Filters based on licensing. Supported values include: `cc_publicdomain`, diff --git a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m index 4a578b031..62d12e941 100644 --- a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m +++ b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m @@ -1094,7 +1094,7 @@ @implementation GTLRDLP_GooglePrivacyDlpV2DataProfileBigQueryRowSchema // @implementation GTLRDLP_GooglePrivacyDlpV2DataProfileConfigSnapshot -@dynamic dataProfileJob, inspectConfig; +@dynamic dataProfileJob, discoveryConfig, inspectConfig; @end diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h index a7eedb4e0..dfef98ffd 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h @@ -2759,7 +2759,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal * scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and * 100 means no limit. Defaults to 0. Only one of rows_limit and * rows_limit_percent can be specified. Cannot be used in conjunction with - * TimespanConfig. + * TimespanConfig. Caution: A [known + * issue](https://cloud.google.com/dlp/docs/known-issues#bq-sampling) is + * causing the `rowsLimitPercent` field to behave unexpectedly. We recommend + * using `rowsLimit` instead. * * Uses NSNumber of intValue. */ @@ -4142,13 +4145,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** * 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 + * deprecated, and the DiscoveryConfig field is preferred moving forward. + * 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 configuration used to generate this profile. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DiscoveryConfig *discoveryConfig; + /** * A copy of the inspection config used to generate this profile. This is a * copy of the inspect_template specified in `DataProfileJobConfig`. diff --git a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h index ed77769b9..7d9608590 100644 --- a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h +++ b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h @@ -2642,7 +2642,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert @property(nonatomic, copy, nullable) NSString *displayName; /** - * Output only. Resource name of this policy tag in the URL format. The policy + * Identifier. Resource name of this policy tag in the URL format. The policy * tag manager generates unique taxonomy IDs and policy tag IDs. */ @property(nonatomic, copy, nullable) NSString *name; @@ -3661,7 +3661,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert @property(nonatomic, copy, nullable) NSString *displayName; /** - * Output only. Resource name of this taxonomy in URL format. Note: Policy tag + * Identifier. Resource name of this taxonomy in URL format. Note: Policy tag * manager generates unique taxonomy IDs. */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h index a0b76a901..ebaadc0d4 100644 --- a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h +++ b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h @@ -2368,7 +2368,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDataCatalogQuery_ProjectsLocationsTaxonomiesPatch : GTLRDataCatalogQuery /** - * Output only. Resource name of this taxonomy in URL format. Note: Policy tag + * Identifier. Resource name of this taxonomy in URL format. Note: Policy tag * manager generates unique taxonomy IDs. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2390,7 +2390,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRDataCatalog_GoogleCloudDatacatalogV1Taxonomy to * include in the query. - * @param name Output only. Resource name of this taxonomy in URL format. Note: + * @param name Identifier. Resource name of this taxonomy in URL format. Note: * Policy tag manager generates unique taxonomy IDs. * * @return GTLRDataCatalogQuery_ProjectsLocationsTaxonomiesPatch @@ -2585,7 +2585,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDataCatalogQuery_ProjectsLocationsTaxonomiesPolicyTagsPatch : GTLRDataCatalogQuery /** - * Output only. Resource name of this policy tag in the URL format. The policy + * Identifier. Resource name of this policy tag in the URL format. The policy * tag manager generates unique taxonomy IDs and policy tag IDs. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2608,7 +2608,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRDataCatalog_GoogleCloudDatacatalogV1PolicyTag to * include in the query. - * @param name Output only. Resource name of this policy tag in the URL format. + * @param name Identifier. Resource name of this policy tag in the URL format. * The policy tag manager generates unique taxonomy IDs and policy tag IDs. * * @return GTLRDataCatalogQuery_ProjectsLocationsTaxonomiesPolicyTagsPatch diff --git a/Sources/GeneratedServices/DataFusion/GTLRDataFusionObjects.m b/Sources/GeneratedServices/DataFusion/GTLRDataFusionObjects.m index 61845396a..e709e6721 100644 --- a/Sources/GeneratedServices/DataFusion/GTLRDataFusionObjects.m +++ b/Sources/GeneratedServices/DataFusion/GTLRDataFusionObjects.m @@ -61,6 +61,11 @@ NSString * const kGTLRDataFusion_Instance_Type_Enterprise = @"ENTERPRISE"; NSString * const kGTLRDataFusion_Instance_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRDataFusion_NetworkConfig.connectionType +NSString * const kGTLRDataFusion_NetworkConfig_ConnectionType_ConnectionTypeUnspecified = @"CONNECTION_TYPE_UNSPECIFIED"; +NSString * const kGTLRDataFusion_NetworkConfig_ConnectionType_PrivateServiceConnectInterfaces = @"PRIVATE_SERVICE_CONNECT_INTERFACES"; +NSString * const kGTLRDataFusion_NetworkConfig_ConnectionType_VpcPeering = @"VPC_PEERING"; + // GTLRDataFusion_Version.type NSString * const kGTLRDataFusion_Version_Type_TypeGeneralAvailability = @"TYPE_GENERAL_AVAILABILITY"; NSString * const kGTLRDataFusion_Version_Type_TypePreview = @"TYPE_PREVIEW"; @@ -149,6 +154,26 @@ @implementation GTLRDataFusion_CryptoKeyConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRDataFusion_DataResidencyAugmentedView +// + +@implementation GTLRDataFusion_DataResidencyAugmentedView +@dynamic crGopoGuris, crGopoPrefixes, serviceData, tpIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"crGopoGuris" : [NSString class], + @"crGopoPrefixes" : [NSString class], + @"tpIds" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDataFusion_DnsPeering @@ -205,8 +230,9 @@ @implementation GTLRDataFusion_Expr @implementation GTLRDataFusion_Instance @dynamic accelerators, apiEndpoint, availableVersion, createTime, - cryptoKeyConfig, dataprocServiceAccount, descriptionProperty, - disabledReason, displayName, enableRbac, enableStackdriverLogging, + cryptoKeyConfig, dataplexDataLineageIntegrationEnabled, + dataprocServiceAccount, descriptionProperty, disabledReason, + displayName, enableRbac, enableStackdriverLogging, enableStackdriverMonitoring, enableZoneSeparation, eventPublishConfig, gcsBucket, labels, name, networkConfig, options, p4ServiceAccount, patchRevision, privateInstance, satisfiesPzs, serviceAccount, @@ -416,7 +442,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDataFusion_NetworkConfig -@dynamic ipAllocation, network; +@dynamic connectionType, ipAllocation, network, privateServiceConnectConfig; @end @@ -483,6 +509,25 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDataFusion_PersistentDiskData +// + +@implementation GTLRDataFusion_PersistentDiskData +@dynamic cfsRoots, gcsBucketNames; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"cfsRoots" : [NSString class], + @"gcsBucketNames" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDataFusion_Policy @@ -506,6 +551,16 @@ @implementation GTLRDataFusion_Policy @end +// ---------------------------------------------------------------------------- +// +// GTLRDataFusion_PrivateServiceConnectConfig +// + +@implementation GTLRDataFusion_PrivateServiceConnectConfig +@dynamic effectiveUnreachableCidrBlock, networkAttachment, unreachableCidrBlock; +@end + + // ---------------------------------------------------------------------------- // // GTLRDataFusion_RestartInstanceRequest @@ -515,6 +570,16 @@ @implementation GTLRDataFusion_RestartInstanceRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRDataFusion_ServiceData +// + +@implementation GTLRDataFusion_ServiceData +@dynamic pd; +@end + + // ---------------------------------------------------------------------------- // // GTLRDataFusion_SetIamPolicyRequest diff --git a/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionObjects.h b/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionObjects.h index 0d54577d7..9146c7ea4 100644 --- a/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionObjects.h +++ b/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionObjects.h @@ -39,7 +39,10 @@ @class GTLRDataFusion_Operation_Metadata; @class GTLRDataFusion_Operation_Response; @class GTLRDataFusion_OperationMetadata_AdditionalStatus; +@class GTLRDataFusion_PersistentDiskData; @class GTLRDataFusion_Policy; +@class GTLRDataFusion_PrivateServiceConnectConfig; +@class GTLRDataFusion_ServiceData; @class GTLRDataFusion_Status; @class GTLRDataFusion_Status_Details_Item; @class GTLRDataFusion_Version; @@ -271,6 +274,31 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Instance_Type_Enterprise; */ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Instance_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDataFusion_NetworkConfig.connectionType + +/** + * No specific connection type was requested, the default value of VPC_PEERING + * is chosen. + * + * Value: "CONNECTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataFusion_NetworkConfig_ConnectionType_ConnectionTypeUnspecified; +/** + * Requests the use of Private Service Connect Interfaces for connecting the + * consumer and tenant projects. + * + * Value: "PRIVATE_SERVICE_CONNECT_INTERFACES" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataFusion_NetworkConfig_ConnectionType_PrivateServiceConnectInterfaces; +/** + * Requests the use of VPC peerings for connecting the consumer and tenant + * projects. + * + * Value: "VPC_PEERING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataFusion_NetworkConfig_ConnectionType_VpcPeering; + // ---------------------------------------------------------------------------- // GTLRDataFusion_Version.type @@ -492,6 +520,45 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end +/** + * Next tag: 7 + */ +@interface GTLRDataFusion_DataResidencyAugmentedView : GTLRObject + +/** + * Cloud resource to Google owned production object mapping in the form of + * GURIs. The GURIs should be available in DG KB storage/cns tables. This is + * the preferred way of providing cloud resource mappings. For further details + * please read go/cloud-resource-monitoring_sig + */ +@property(nonatomic, strong, nullable) NSArray *crGopoGuris; + +/** + * Cloud resource to Google owned production object mapping in the form of + * prefixes. These should be available in DG KB storage/cns tables. The entity + * type, which is the part of the string before the first colon in the GURI, + * must be completely specified in prefix. For details about GURI please read + * go/guri. For further details about the field please read + * go/cloud-resource-monitoring_sig. + */ +@property(nonatomic, strong, nullable) NSArray *crGopoPrefixes; + +/** + * Service-specific data. Only required for pre-determined services. Generally + * used to bind a Cloud Resource to some a TI container that uniquely specifies + * a customer. See milestone 2 of DRZ KR8 SIG for more information. + */ +@property(nonatomic, strong, nullable) GTLRDataFusion_ServiceData *serviceData; + +/** + * The list of project_id's of the tenant projects in the 'google.com' org + * which serve the Cloud Resource. See go/drz-mst-sig for more details. + */ +@property(nonatomic, strong, nullable) NSArray *tpIds; + +@end + + /** * DNS peering configuration. These configurations are used to create DNS * peering with the customer Cloud DNS. @@ -629,6 +696,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; */ @property(nonatomic, strong, nullable) GTLRDataFusion_CryptoKeyConfig *cryptoKeyConfig; +/** + * Optional. Reserved for future use. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dataplexDataLineageIntegrationEnabled; + /** * User-managed service account to set on Dataproc when Cloud Data Fusion * creates Dataproc to run data processing pipelines. This allows users to have @@ -1061,20 +1135,49 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @interface GTLRDataFusion_NetworkConfig : GTLRObject /** - * The IP range in CIDR notation to use for the managed Data Fusion instance - * nodes. This range must not overlap with any other ranges used in the - * customer network. + * Optional. Type of connection for establishing private IP connectivity + * between the Data Fusion customer project VPC and the corresponding tenant + * project from a predefined list of available connection modes. If this field + * is unspecified for a private instance, VPC peering is used. + * + * Likely values: + * @arg @c kGTLRDataFusion_NetworkConfig_ConnectionType_ConnectionTypeUnspecified + * No specific connection type was requested, the default value of + * VPC_PEERING is chosen. (Value: "CONNECTION_TYPE_UNSPECIFIED") + * @arg @c kGTLRDataFusion_NetworkConfig_ConnectionType_PrivateServiceConnectInterfaces + * Requests the use of Private Service Connect Interfaces for connecting + * the consumer and tenant projects. (Value: + * "PRIVATE_SERVICE_CONNECT_INTERFACES") + * @arg @c kGTLRDataFusion_NetworkConfig_ConnectionType_VpcPeering Requests + * the use of VPC peerings for connecting the consumer and tenant + * projects. (Value: "VPC_PEERING") + */ +@property(nonatomic, copy, nullable) NSString *connectionType; + +/** + * Optional. The IP range in CIDR notation to use for the managed Data Fusion + * instance nodes. This range must not overlap with any other ranges used in + * the Data Fusion instance network. This is required only when using + * connection type VPC_PEERING. Format: a.b.c.d/22 Example: 192.168.0.0/22 */ @property(nonatomic, copy, nullable) NSString *ipAllocation; /** - * Name of the network in the customer project with which the Tenant Project - * will be peered for executing pipelines. In case of shared VPC where the - * network resides in another host project the network should specified in the - * form of projects/{host-project-id}/global/networks/{network} + * Optional. Name of the network in the customer project with which the Tenant + * Project will be peered for executing pipelines. This is required only when + * using connection type VPC peering. In case of shared VPC where the network + * resides in another host project the network should specified in the form of + * projects/{host-project-id}/global/networks/{network}. This is only required + * for connectivity type VPC_PEERING. */ @property(nonatomic, copy, nullable) NSString *network; +/** + * Optional. Configuration for Private Service Connect. This is required only + * when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES. + */ +@property(nonatomic, strong, nullable) GTLRDataFusion_PrivateServiceConnectConfig *privateServiceConnectConfig; + @end @@ -1214,6 +1317,40 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end +/** + * Persistent Disk service-specific Data. Contains information that may not be + * appropriate for the generic DRZ Augmented View. This currently includes LSV + * Colossus Roots and GCS Buckets. + */ +@interface GTLRDataFusion_PersistentDiskData : GTLRObject + +/** + * Path to Colossus root for an LSV. NOTE: Unlike `cr_ti_guris` and + * `cr_ti_prefixes`, the field `cfs_roots` below does not need to be a GUri or + * GUri prefix. It can simply be any valid CFS or CFS2 Path. The DRZ KR8 SIG + * has more details overall, but generally the `cfs_roots` provided here should + * be scoped to an individual Persistent Disk. An example for a PD Disk with a + * disk ID 3277719120423414466, follows: * `cr_ti_guris` could be + * ‘/cfs2/pj/pd-cloud-prod’ as this is a valid GUri present in the DG KB and + * contains enough information to perform location monitoring and scope + * ownership of the Production Object. * `cfs_roots` would be: + * ‘/cfs2/pj/pd-cloud-staging/lsv000001234\@/ + * lsv/projects~773365403387~zones~2700~disks~3277719120423414466 + * ~bank-blue-careful-3526-lsv00054DB1B7254BA3/’ as this allows us to enumerate + * the files on CFS2 that belong to an individual Disk. + */ +@property(nonatomic, strong, nullable) NSArray *cfsRoots; + +/** + * The GCS Buckets that back this snapshot or image. This is required as + * `cr_ti_prefixes` and `cr_ti_guris` only accept TI resources. This should be + * the globally unique bucket name. + */ +@property(nonatomic, strong, nullable) NSArray *gcsBucketNames; + +@end + + /** * An Identity and Access Management (IAM) policy, which specifies access * controls for Google Cloud resources. A `Policy` is a collection of @@ -1305,6 +1442,42 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end +/** + * Configuration for using Private Service Connect to establish connectivity + * between the Data Fusion consumer project and the corresponding tenant + * project. + */ +@interface GTLRDataFusion_PrivateServiceConnectConfig : GTLRObject + +/** + * Output only. The CIDR block to which the CDF instance can't route traffic to + * in the consumer project VPC. The size of this block is /25. The format of + * this field is governed by RFC 4632. Example: 240.0.0.0/25 + */ +@property(nonatomic, copy, nullable) NSString *effectiveUnreachableCidrBlock; + +/** + * Required. The reference to the network attachment used to establish private + * connectivity. It will be of the form + * projects/{project-id}/regions/{region}/networkAttachments/{network-attachment-id}. + */ +@property(nonatomic, copy, nullable) NSString *networkAttachment; + +/** + * Optional. Input only. The CIDR block to which the CDF instance can't route + * traffic to in the consumer project VPC. The size of this block should be at + * least /25. This range should not overlap with the primary address range of + * any subnetwork used by the network attachment. This range can be used for + * other purposes in the consumer VPC as long as there is no requirement for + * CDF to reach destinations using these addresses. If this value is not + * provided, the server chooses a non RFC 1918 address range. The format of + * this field is governed by RFC 4632. Example: 192.168.0.0/25 + */ +@property(nonatomic, copy, nullable) NSString *unreachableCidrBlock; + +@end + + /** * Request message for restarting a Data Fusion instance. */ @@ -1312,6 +1485,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end +/** + * This message defines service-specific data that certain service teams must + * provide as part of the Data Residency Augmented View for a resource. Next + * ID: 2 + */ +@interface GTLRDataFusion_ServiceData : GTLRObject + +/** + * Auxiliary data for the persistent disk pipeline provided to provide the LSV + * Colossus Roots and GCS Buckets. + */ +@property(nonatomic, strong, nullable) GTLRDataFusion_PersistentDiskData *pd; + +@end + + /** * Request message for `SetIamPolicy` method. */ diff --git a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m index 52efd8235..536c1395f 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m +++ b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m @@ -59,6 +59,7 @@ 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_Mysql8035 = @"MYSQL_8_0_35"; NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres10 = @"POSTGRES_10"; NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres11 = @"POSTGRES_11"; NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres12 = @"POSTGRES_12"; diff --git a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h index 49f8c7345..8e54b1d3d 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h @@ -377,6 +377,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSetting * Value: "MYSQL_8_0_34" */ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8034; +/** + * The database major version is MySQL 8.0 and the minor version is 35. + * + * Value: "MYSQL_8_0_35" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Mysql8035; /** * PostgreSQL 10. * @@ -2457,9 +2463,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -2473,7 +2495,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -2624,6 +2649,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter * @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_Mysql8035 + * The database major version is MySQL 8.0 and the minor version is 35. + * (Value: "MYSQL_8_0_35") * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres10 * PostgreSQL 10. (Value: "POSTGRES_10") * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres11 diff --git a/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m b/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m index eb17a8d4e..2a90320b9 100644 --- a/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m +++ b/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m @@ -78,6 +78,11 @@ NSString * const kGTLRDataflow_Environment_ShuffleMode_ShuffleModeUnspecified = @"SHUFFLE_MODE_UNSPECIFIED"; NSString * const kGTLRDataflow_Environment_ShuffleMode_VmBased = @"VM_BASED"; +// GTLRDataflow_Environment.streamingMode +NSString * const kGTLRDataflow_Environment_StreamingMode_StreamingModeAtLeastOnce = @"STREAMING_MODE_AT_LEAST_ONCE"; +NSString * const kGTLRDataflow_Environment_StreamingMode_StreamingModeExactlyOnce = @"STREAMING_MODE_EXACTLY_ONCE"; +NSString * const kGTLRDataflow_Environment_StreamingMode_StreamingModeUnspecified = @"STREAMING_MODE_UNSPECIFIED"; + // GTLRDataflow_ExecutionStageState.executionStageState NSString * const kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStateCancelled = @"JOB_STATE_CANCELLED"; NSString * const kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStateCancelling = @"JOB_STATE_CANCELLING"; @@ -702,8 +707,9 @@ @implementation GTLRDataflow_Environment @dynamic clusterManagerApiService, dataset, debugOptions, experiments, flexResourceSchedulingGoal, internalExperiments, sdkPipelineOptions, serviceAccountEmail, serviceKmsKeyName, serviceOptions, shuffleMode, - tempStoragePrefix, userAgent, useStreamingEngineResourceBasedBilling, - version, workerPools, workerRegion, workerZone; + streamingMode, tempStoragePrefix, userAgent, + useStreamingEngineResourceBasedBilling, version, workerPools, + workerRegion, workerZone; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2111,7 +2117,7 @@ @implementation GTLRDataflow_RuntimeMetadata // @implementation GTLRDataflow_RuntimeUpdatableParams -@dynamic maxNumWorkers, minNumWorkers; +@dynamic maxNumWorkers, minNumWorkers, workerUtilizationHint; @end @@ -2895,6 +2901,17 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDataflow_StreamingScalingReport +// + +@implementation GTLRDataflow_StreamingScalingReport +@dynamic activeBundleCount, activeThreadCount, maximumBundleCount, + maximumBytesCount, maximumThreadCount, outstandingBytesCount; +@end + + // ---------------------------------------------------------------------------- // // GTLRDataflow_StreamingSetupTask @@ -3183,9 +3200,9 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDataflow_WorkerMessage -@dynamic dataSamplingReport, labels, time, workerHealthReport, - workerLifecycleEvent, workerMessageCode, workerMetrics, - workerShutdownNotice, workerThreadScalingReport; +@dynamic dataSamplingReport, labels, streamingScalingReport, time, + workerHealthReport, workerLifecycleEvent, workerMessageCode, + workerMetrics, workerShutdownNotice, workerThreadScalingReport; @end diff --git a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h index 7bcad86f4..11b314b15 100644 --- a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h +++ b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h @@ -175,6 +175,7 @@ @class GTLRDataflow_StreamingComputationTask; @class GTLRDataflow_StreamingConfigTask; @class GTLRDataflow_StreamingConfigTask_UserStepToStateFamilyNameMap; +@class GTLRDataflow_StreamingScalingReport; @class GTLRDataflow_StreamingSetupTask; @class GTLRDataflow_StreamingSideInputLocation; @class GTLRDataflow_StreamingStageLocation; @@ -544,6 +545,31 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_Environment_ShuffleMode_Shuffle */ FOUNDATION_EXTERN NSString * const kGTLRDataflow_Environment_ShuffleMode_VmBased; +// ---------------------------------------------------------------------------- +// GTLRDataflow_Environment.streamingMode + +/** + * Message deduplication is not performed. Messages might be processed multiple + * times, and the results are applied multiple times. Note: Setting this value + * also enables Streaming Engine and Streaming Engine resource-based billing. + * + * Value: "STREAMING_MODE_AT_LEAST_ONCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataflow_Environment_StreamingMode_StreamingModeAtLeastOnce; +/** + * In this mode, message deduplication is performed against persistent state to + * make sure each message is processed and committed to storage exactly once. + * + * Value: "STREAMING_MODE_EXACTLY_ONCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataflow_Environment_StreamingMode_StreamingModeExactlyOnce; +/** + * Run in the default mode. + * + * Value: "STREAMING_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataflow_Environment_StreamingMode_StreamingModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDataflow_ExecutionStageState.executionStageState @@ -2951,6 +2977,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution */ @property(nonatomic, copy, nullable) NSString *shuffleMode; +/** + * Optional. Specifies the Streaming Engine message processing guarantees. + * Reduces cost and latency but might result in duplicate messages committed to + * storage. Designed to run simple mapping streaming ETL jobs at the lowest + * cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use + * case. + * + * Likely values: + * @arg @c kGTLRDataflow_Environment_StreamingMode_StreamingModeAtLeastOnce + * Message deduplication is not performed. Messages might be processed + * multiple times, and the results are applied multiple times. Note: + * Setting this value also enables Streaming Engine and Streaming Engine + * resource-based billing. (Value: "STREAMING_MODE_AT_LEAST_ONCE") + * @arg @c kGTLRDataflow_Environment_StreamingMode_StreamingModeExactlyOnce + * In this mode, message deduplication is performed against persistent + * state to make sure each message is processed and committed to storage + * exactly once. (Value: "STREAMING_MODE_EXACTLY_ONCE") + * @arg @c kGTLRDataflow_Environment_StreamingMode_StreamingModeUnspecified + * Run in the default mode. (Value: "STREAMING_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *streamingMode; + /** * The prefix of the resources the system should use for temporary storage. The * system will append the suffix "/temp-{JOBNAME} to this resource prefix, @@ -2967,8 +3015,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution @property(nonatomic, strong, nullable) GTLRDataflow_Environment_UserAgent *userAgent; /** - * Output only. Whether the job uses the new streaming engine billing model - * based on resource usage. + * Output only. Whether the job uses the Streaming Engine resource-based + * billing model. * * Uses NSNumber of boolValue. */ @@ -3818,8 +3866,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution * The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` * state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may * asynchronously enter a terminal state. After a job has reached a terminal - * state, no further state updates may be made. This field may be mutated by - * the Cloud Dataflow service; callers cannot mutate it. + * state, no further state updates may be made. This field might be mutated by + * the Dataflow service; callers cannot mutate it. * * Likely values: * @arg @c kGTLRDataflow_Job_CurrentState_JobStateCancelled @@ -3899,8 +3947,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution @property(nonatomic, strong, nullable) GTLRDataflow_JobExecutionInfo *executionInfo; /** - * The unique ID of this job. This field is set by the Cloud Dataflow service - * when the Job is created, and is immutable for the life of the job. + * The unique ID of this job. This field is set by the Dataflow service when + * the job is created, and is immutable for the life of the job. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -3930,11 +3978,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution @property(nonatomic, copy, nullable) NSString *location; /** - * The user-specified Cloud Dataflow job name. Only one Job with a given name + * The user-specified Dataflow job name. Only one active job with a given name * can exist in a project within one region at any given time. Jobs in * different regions can have the same name. If a caller attempts to create a - * Job with the same name as an already-existing Job, the attempt returns the - * existing Job. The name must match the regular expression + * job with the same name as an active job that already exists, the attempt + * returns the existing job. The name must match the regular expression * `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?` */ @property(nonatomic, copy, nullable) NSString *name; @@ -3947,7 +3995,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution */ @property(nonatomic, strong, nullable) GTLRDataflow_PipelineDescription *pipelineDescription; -/** The ID of the Cloud Platform project that the job belongs to. */ +/** The ID of the Google Cloud project that the job belongs to. */ @property(nonatomic, copy, nullable) NSString *projectId; /** @@ -4106,7 +4154,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution @property(nonatomic, strong, nullable) GTLRDataflow_Job_TransformNameMapping *transformNameMapping; /** - * The type of Cloud Dataflow job. + * The type of Dataflow job. * * Likely values: * @arg @c kGTLRDataflow_Job_Type_JobTypeBatch A batch job with a @@ -5896,6 +5944,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution */ @property(nonatomic, strong, nullable) NSNumber *minNumWorkers; +/** + * Target worker utilization, compared against the aggregate utilization of the + * worker pool by autoscaler, to determine upscaling and downscaling when + * absent other constraints such as backlog. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *workerUtilizationHint; + @end @@ -7203,6 +7260,56 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution @end +/** + * Contains per-user worker telemetry used in streaming autoscaling. + */ +@interface GTLRDataflow_StreamingScalingReport : GTLRObject + +/** + * Current acive bundle count. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *activeBundleCount; + +/** + * Current acive thread count. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *activeThreadCount; + +/** + * Maximum bundle count limit. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maximumBundleCount; + +/** + * Maximum bytes count limit. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maximumBytesCount; + +/** + * Maximum thread count limit. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maximumThreadCount; + +/** + * Current outstanding bytes count. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *outstandingBytesCount; + +@end + + /** * A task which initializes part of a streaming Dataflow job. */ @@ -7747,6 +7854,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution */ @property(nonatomic, strong, nullable) GTLRDataflow_WorkerMessage_Labels *labels; +/** Contains per-user worker telemetry used in streaming autoscaling. */ +@property(nonatomic, strong, nullable) GTLRDataflow_StreamingScalingReport *streamingScalingReport; + /** The timestamp of the worker_message. */ @property(nonatomic, strong, nullable) GTLRDateTime *time; diff --git a/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m b/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m index 32c3bf713..86e8a81c0 100644 --- a/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m +++ b/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m @@ -1045,7 +1045,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDataform_ReleaseConfig -@dynamic codeCompilationConfig, cronSchedule, gitCommitish, name, +@dynamic codeCompilationConfig, cronSchedule, disabled, gitCommitish, name, recentScheduledReleaseRecords, releaseCompilationResult, timeZone; + (NSDictionary *)arrayPropertyToClassMap { diff --git a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h index d41482f7a..cc3da3b4c 100644 --- a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h +++ b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h @@ -1954,6 +1954,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ */ @property(nonatomic, copy, nullable) NSString *cronSchedule; +/** + * Optional. Disables automatic creation of compilation results. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disabled; + /** * Required. Git commit/tag/branch name at which the repository should be * compiled. Must exist in the remote repository. Examples: - a commit SHA: diff --git a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h index e7c23e324..b25650b02 100644 --- a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h +++ b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h @@ -2201,8 +2201,9 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDataformQuery_ProjectsLocationsRepositoriesWorkspacesSearchFiles : GTLRDataformQuery /** - * Optional. Optional filter for the returned list in go/filtering format. - * Filtering is only currently supported on the `path` field. + * Optional. Optional filter for the returned list in filtering format. + * Filtering is only currently supported on the `path` field. See + * https://google.aip.dev/160 for details. */ @property(nonatomic, copy, nullable) NSString *filter; diff --git a/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m b/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m index d7900b145..2f98aa56a 100644 --- a/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m +++ b/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m @@ -1391,11 +1391,12 @@ + (NSString *)collectionItemsKey { // @implementation GTLRDataproc_ListBatchesResponse -@dynamic batches, nextPageToken; +@dynamic batches, nextPageToken, unreachable; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"batches" : [GTLRDataproc_Batch class] + @"batches" : [GTLRDataproc_Batch class], + @"unreachable" : [NSString class] }; return map; } diff --git a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h index 0e256e45f..76d18ce71 100644 --- a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h +++ b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h @@ -2305,14 +2305,38 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted @interface GTLRDataproc_EncryptionConfig : GTLRObject /** - * Optional. The Cloud KMS key name to use for PD disk encryption for all - * instances in the cluster. + * Optional. The Cloud KMS key resource name to use for persistent disk + * encryption for all instances in the cluster. See Use CMEK with cluster data + * (https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_cluster_data) + * for more information. */ @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. + * Optional. The Cloud KMS key resource name to use for cluster persistent disk + * and job argument encryption. See Use CMEK with cluster data + * (https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_cluster_data) + * for more information.When this key resource name is provided, the following + * job arguments of the following job types submitted to the cluster are + * encrypted using CMEK: FlinkJob args + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob) + * HadoopJob args + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) + * SparkJob args + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) + * SparkRJob args + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) + * PySparkJob args + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob) + * SparkSqlJob + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob) + * scriptVariables and queryList.queries HiveJob + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob) + * scriptVariables and queryList.queries PigJob + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob) + * scriptVariables and queryList.queries PrestoJob + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob) + * scriptVariables and queryList.queries */ @property(nonatomic, copy, nullable) NSString *kmsKey; @@ -2936,13 +2960,36 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted /** - * Encryption settings for the encrypting customer core content. NEXT ID: 2 + * Encryption settings for encrypting workflow template job arguments. */ @interface GTLRDataproc_GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig : GTLRObject /** - * Optional. The Cloud KMS key name to use for encrypting customer core - * content. + * Optional. The Cloud KMS key name to use for encrypting workflow template job + * arguments.When this this key is provided, the following workflow template + * job arguments + * (https://cloud.google.com/dataproc/docs/concepts/workflows/use-workflows#adding_jobs_to_a_template), + * if present, are CMEK encrypted + * (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_workflow_template_data): + * FlinkJob args + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob) + * HadoopJob args + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) + * SparkJob args + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) + * SparkRJob args + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) + * PySparkJob args + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob) + * SparkSqlJob + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob) + * scriptVariables and queryList.queries HiveJob + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob) + * scriptVariables and queryList.queries PigJob + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob) + * scriptVariables and queryList.queries PrestoJob + * (https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob) + * scriptVariables and queryList.queries */ @property(nonatomic, copy, nullable) NSString *kmsKey; @@ -3873,9 +3920,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted */ @property(nonatomic, copy, nullable) NSString *keystoreUri; -/** - * Optional. The uri of the KMS key used to encrypt various sensitive files. - */ +/** Optional. The URI of the KMS key used to encrypt sensitive files. */ @property(nonatomic, copy, nullable) NSString *kmsKeyUri; /** @@ -4087,6 +4132,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted */ @property(nonatomic, copy, nullable) NSString *nextPageToken; +/** + * Output only. List of Batches 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 @@ -4144,9 +4196,9 @@ 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. + * Output only. List of jobs with kms_key-encrypted parameters that could not + * be decrypted. A response to a jobs.get request may indicate the reason for + * the decryption failure for a specific job. */ @property(nonatomic, strong, nullable) NSArray *unreachable; @@ -6881,7 +6933,10 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRDuration *dagTimeout; -/** Optional. Encryption settings for the encrypting customer core content. */ +/** + * Optional. Encryption settings for encrypting workflow template job + * arguments. + */ @property(nonatomic, strong, nullable) GTLRDataproc_GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig *encryptionConfig; /** diff --git a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m index f29f5367e..2d39e7a2d 100644 --- a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m +++ b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m @@ -163,6 +163,30 @@ @implementation GTLRDataprocMetastore_AlterMetadataResourceLocationResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRDataprocMetastore_AlterTablePropertiesRequest +// + +@implementation GTLRDataprocMetastore_AlterTablePropertiesRequest +@dynamic properties, tableName, updateMask; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDataprocMetastore_AlterTablePropertiesRequest_Properties +// + +@implementation GTLRDataprocMetastore_AlterTablePropertiesRequest_Properties + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDataprocMetastore_AuditConfig @@ -889,7 +913,7 @@ @implementation GTLRDataprocMetastore_QueryMetadataResponse // @implementation GTLRDataprocMetastore_Restore -@dynamic backup, backupLocation, details, endTime, startTime, state, type; +@dynamic backup, details, endTime, startTime, state, type; @end diff --git a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreQuery.m b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreQuery.m index 145f8b54b..debaade35 100644 --- a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreQuery.m +++ b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreQuery.m @@ -354,6 +354,33 @@ + (instancetype)queryWithObject:(GTLRDataprocMetastore_AlterMetadataResourceLoca @end +@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterTableProperties + +@dynamic service; + ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_AlterTablePropertiesRequest *)object + service:(NSString *)service { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"service" ]; + NSString *pathURITemplate = @"v1/{+service}:alterTableProperties"; + GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterTableProperties *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.service = service; + query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; + query.loggingName = @"metastore.projects.locations.services.alterTableProperties"; + return query; +} + +@end + @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsCreate @dynamic backupId, parent, requestId; diff --git a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h index 7a654f431..cfcb8367d 100644 --- a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h +++ b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h @@ -15,6 +15,7 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif +@class GTLRDataprocMetastore_AlterTablePropertiesRequest_Properties; @class GTLRDataprocMetastore_AuditConfig; @class GTLRDataprocMetastore_AuditLogConfig; @class GTLRDataprocMetastore_AuxiliaryVersionConfig; @@ -716,6 +717,54 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor @end +/** + * Request message for DataprocMetastore.AlterTableProperties. + */ +@interface GTLRDataprocMetastore_AlterTablePropertiesRequest : GTLRObject + +/** + * A map that describes the desired values to mutate. If update_mask is empty, + * the properties will not update. Otherwise, the properties only alters the + * value whose associated paths exist in the update mask + */ +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_AlterTablePropertiesRequest_Properties *properties; + +/** + * Required. The name of the table containing the properties you're altering in + * the following format.databases/{database_id}/tables/{table_id} + */ +@property(nonatomic, copy, nullable) NSString *tableName; + +/** + * A field mask that specifies the metadata table properties that are + * overwritten by the update. Fields specified in the update_mask are relative + * to the resource (not to the full request). A field is overwritten if it is + * in the mask.For example, given the target properties: properties { a: 1 b: 2 + * } And an update properties: properties { a: 2 b: 3 c: 4 } then if the field + * mask is:paths: "properties.b", "properties.c"then the result will be: + * properties { a: 1 b: 3 c: 4 } + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + +/** + * A map that describes the desired values to mutate. If update_mask is empty, + * the properties will not update. Otherwise, the properties only alters the + * value whose associated paths exist in the update mask + * + * @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 GTLRDataprocMetastore_AlterTablePropertiesRequest_Properties : GTLRObject +@end + + /** * Specifies the audit configuration for a service. The configuration * determines which permission types are logged, and what identities, if any, @@ -943,14 +992,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor * 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, + * example.com. + * principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: + * A single identity in a workforce identity pool. + * principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}: + * All workforce identities in a group. + * principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}: + * All workforce identities with a specific attribute value. + * principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *: All identities in a workforce identity pool. + * principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}: + * A single identity in a workload identity pool. + * principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}: + * A workload identity pool group. + * principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}: + * All identities in a workload identity pool with a certain attribute. + * principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *: All identities in a workload identity pool. + * deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, + * alice\@example.com?uid=123456789012345678901. If the user is recovered, this + * value reverts to user:{emailid} and the recovered user retains the role in + * the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email + * address (plus unique identifier) representing a service account that has + * been recently deleted. For example, * my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901. If the * service account is undeleted, this value reverts to serviceAccount:{emailid} * and the undeleted service account retains the role in the binding. @@ -959,6 +1024,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor * example, admins\@example.com?uid=123456789012345678901. If the group is * recovered, this value reverts to group:{emailid} and the recovered group * retains the role in the binding. + * deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: + * Deleted single identity in a workforce identity pool. For example, + * deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -2169,12 +2237,6 @@ 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. diff --git a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreQuery.h b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreQuery.h index 7c388f472..9fd966098 100644 --- a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreQuery.h +++ b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreQuery.h @@ -686,6 +686,42 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Alter metadata table properties. + * + * Method: metastore.projects.locations.services.alterTableProperties + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform + */ +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterTableProperties : GTLRDataprocMetastoreQuery + +/** + * Required. The relative resource name of the Dataproc Metastore service + * that's being used to mutate metadata table properties, in the following + * format:projects/{project_id}/locations/{location_id}/services/{service_id}. + */ +@property(nonatomic, copy, nullable) NSString *service; + +/** + * Fetches a @c GTLRDataprocMetastore_Operation. + * + * Alter metadata table properties. + * + * @param object The @c GTLRDataprocMetastore_AlterTablePropertiesRequest to + * include in the query. + * @param service Required. The relative resource name of the Dataproc + * Metastore service that's being used to mutate metadata table properties, + * in the following + * format:projects/{project_id}/locations/{location_id}/services/{service_id}. + * + * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterTableProperties + */ ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_AlterTablePropertiesRequest *)object + service:(NSString *)service; + +@end + /** * Creates a new backup in a given project and location. * diff --git a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m index b88d2950a..957beceda 100644 --- a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m +++ b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m @@ -60,6 +60,7 @@ NSString * const kGTLRDatastream_Validation_State_NotExecuted = @"NOT_EXECUTED"; NSString * const kGTLRDatastream_Validation_State_Passed = @"PASSED"; NSString * const kGTLRDatastream_Validation_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDatastream_Validation_State_Warning = @"WARNING"; // GTLRDatastream_ValidationMessage.level NSString * const kGTLRDatastream_ValidationMessage_Level_Error = @"ERROR"; diff --git a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h index ee6156d2e..fc5c72a8b 100644 --- a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h +++ b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h @@ -346,6 +346,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_Validation_State_Passed; * Value: "STATE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRDatastream_Validation_State_StateUnspecified; +/** + * Validation executed with warnings. + * + * Value: "WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatastream_Validation_State_Warning; // ---------------------------------------------------------------------------- // GTLRDatastream_ValidationMessage.level @@ -2367,6 +2373,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni * "PASSED") * @arg @c kGTLRDatastream_Validation_State_StateUnspecified Unspecified * state. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDatastream_Validation_State_Warning Validation executed with + * warnings. (Value: "WARNING") */ @property(nonatomic, copy, nullable) NSString *state; diff --git a/Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/GTLRDeploymentManagerObjects.h b/Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/GTLRDeploymentManagerObjects.h index 0c04af03c..92304fc02 100644 --- a/Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/GTLRDeploymentManagerObjects.h +++ b/Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/GTLRDeploymentManagerObjects.h @@ -887,9 +887,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDeploymentManager_SetCommonInstanceMetad * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -903,7 +919,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDeploymentManager_SetCommonInstanceMetad * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; diff --git a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m index ba1ef5ab1..3904a1975 100644 --- a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m +++ b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m @@ -1746,9 +1746,13 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1KnowledgeConnectorS // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1Page -@dynamic advancedSettings, displayName, entryFulfillment, eventHandlers, form, - knowledgeConnectorSettings, name, transitionRouteGroups, - transitionRoutes; +@dynamic advancedSettings, descriptionProperty, displayName, entryFulfillment, + eventHandlers, form, knowledgeConnectorSettings, name, + transitionRouteGroups, transitionRoutes; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3361,7 +3365,41 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3GenerativeSettingsFallba // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings -@dynamic agent, agentIdentity, agentScope, business, businessDescription; +@dynamic agent, agentIdentity, agentScope, business, businessDescription, + disableDataStoreFallback; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3Generator +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Generator +@dynamic displayName, name, placeholders, promptText; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"placeholders" : [GTLRDialogflow_GoogleCloudDialogflowCxV3GeneratorPlaceholder class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3GeneratorPlaceholder +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3GeneratorPlaceholder +@dynamic identifier, name; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + @end @@ -3882,6 +3920,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3ListGeneratorsResponse +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3ListGeneratorsResponse +@dynamic generators, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"generators" : [GTLRDialogflow_GoogleCloudDialogflowCxV3Generator class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"generators"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3ListIntentsResponse @@ -4190,9 +4250,13 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3OutputAudioConfig // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Page -@dynamic advancedSettings, displayName, entryFulfillment, eventHandlers, form, - knowledgeConnectorSettings, name, transitionRouteGroups, - transitionRoutes; +@dynamic advancedSettings, descriptionProperty, displayName, entryFulfillment, + eventHandlers, form, knowledgeConnectorSettings, name, + transitionRouteGroups, transitionRoutes; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4244,6 +4308,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfoParamete @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3Phrase +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Phrase +@dynamic text; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3QueryInput @@ -5710,16 +5784,6 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowV2beta1DialogflowAssistAnswe @end -// ---------------------------------------------------------------------------- -// -// GTLRDialogflow_GoogleCloudDialogflowV2beta1EncryptionSpec -// - -@implementation GTLRDialogflow_GoogleCloudDialogflowV2beta1EncryptionSpec -@dynamic kmsKey, name; -@end - - // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowV2beta1EntityType @@ -5877,26 +5941,6 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowV2beta1ImportDocumentsRespon @end -// ---------------------------------------------------------------------------- -// -// GTLRDialogflow_GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata -// - -@implementation GTLRDialogflow_GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata -@dynamic request; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDialogflow_GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest -// - -@implementation GTLRDialogflow_GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest -@dynamic encryptionSpec; -@end - - // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowV2beta1Intent @@ -7066,16 +7110,6 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowV2DeployConversationModelOpe @end -// ---------------------------------------------------------------------------- -// -// GTLRDialogflow_GoogleCloudDialogflowV2EncryptionSpec -// - -@implementation GTLRDialogflow_GoogleCloudDialogflowV2EncryptionSpec -@dynamic kmsKey, name; -@end - - // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowV2EntityType @@ -7261,26 +7295,6 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowV2ImportDocumentsResponse @end -// ---------------------------------------------------------------------------- -// -// GTLRDialogflow_GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata -// - -@implementation GTLRDialogflow_GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata -@dynamic request; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDialogflow_GoogleCloudDialogflowV2InitializeEncryptionSpecRequest -// - -@implementation GTLRDialogflow_GoogleCloudDialogflowV2InitializeEncryptionSpecRequest -@dynamic encryptionSpec; -@end - - // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowV2InputDataset diff --git a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowQuery.m b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowQuery.m index 9545f24e5..7d7e89771 100644 --- a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowQuery.m +++ b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowQuery.m @@ -1485,6 +1485,117 @@ + (instancetype)queryWithObject:(GTLRDialogflow_GoogleCloudDialogflowCxV3Version @end +@implementation GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsCreate + +@dynamic languageCode, parent; + ++ (instancetype)queryWithObject:(GTLRDialogflow_GoogleCloudDialogflowCxV3Generator *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v3/{+parent}/generators"; + GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRDialogflow_GoogleCloudDialogflowCxV3Generator class]; + query.loggingName = @"dialogflow.projects.locations.agents.generators.create"; + return query; +} + +@end + +@implementation GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsDelete + +@dynamic force, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v3/{+name}"; + GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDialogflow_GoogleProtobufEmpty class]; + query.loggingName = @"dialogflow.projects.locations.agents.generators.delete"; + return query; +} + +@end + +@implementation GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsGet + +@dynamic languageCode, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v3/{+name}"; + GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDialogflow_GoogleCloudDialogflowCxV3Generator class]; + query.loggingName = @"dialogflow.projects.locations.agents.generators.get"; + return query; +} + +@end + +@implementation GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsList + +@dynamic languageCode, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v3/{+parent}/generators"; + GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRDialogflow_GoogleCloudDialogflowCxV3ListGeneratorsResponse class]; + query.loggingName = @"dialogflow.projects.locations.agents.generators.list"; + return query; +} + +@end + +@implementation GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsPatch + +@dynamic languageCode, name, updateMask; + ++ (instancetype)queryWithObject:(GTLRDialogflow_GoogleCloudDialogflowCxV3Generator *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v3/{+name}"; + GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDialogflow_GoogleCloudDialogflowCxV3Generator class]; + query.loggingName = @"dialogflow.projects.locations.agents.generators.patch"; + return query; +} + +@end + @implementation GTLRDialogflowQuery_ProjectsLocationsAgentsGet @dynamic name; diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h index 1658af20f..764de8b95 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h @@ -157,6 +157,8 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate; @class GTLRDialogflow_GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3Generator; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3GeneratorPlaceholder; @class GTLRDialogflow_GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata; @class GTLRDialogflow_GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources; @class GTLRDialogflow_GoogleCloudDialogflowCxV3InlineDestination; @@ -180,6 +182,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3PageInfo; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfo; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3Phrase; @class GTLRDialogflow_GoogleCloudDialogflowCxV3QueryInput; @class GTLRDialogflow_GoogleCloudDialogflowCxV3QueryParameters; @class GTLRDialogflow_GoogleCloudDialogflowCxV3QueryParameters_EndUserMetadata; @@ -268,7 +271,6 @@ @class GTLRDialogflow_GoogleCloudDialogflowV2beta1Context; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1Context_Parameters; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1DialogflowAssistAnswer; -@class GTLRDialogflow_GoogleCloudDialogflowV2beta1EncryptionSpec; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1EntityType; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1EntityTypeEntity; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1EventInput; @@ -277,7 +279,6 @@ @class GTLRDialogflow_GoogleCloudDialogflowV2beta1FaqAnswer; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1FaqAnswer_Metadata; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1GcsDestination; -@class GTLRDialogflow_GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1Intent; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1IntentMessage; @@ -349,7 +350,6 @@ @class GTLRDialogflow_GoogleCloudDialogflowV2beta1WebhookResponse_Payload; @class GTLRDialogflow_GoogleCloudDialogflowV2Context; @class GTLRDialogflow_GoogleCloudDialogflowV2Context_Parameters; -@class GTLRDialogflow_GoogleCloudDialogflowV2EncryptionSpec; @class GTLRDialogflow_GoogleCloudDialogflowV2EntityType; @class GTLRDialogflow_GoogleCloudDialogflowV2EntityTypeEntity; @class GTLRDialogflow_GoogleCloudDialogflowV2EventInput; @@ -358,7 +358,6 @@ @class GTLRDialogflow_GoogleCloudDialogflowV2FaqAnswer; @class GTLRDialogflow_GoogleCloudDialogflowV2FaqAnswer_Metadata; @class GTLRDialogflow_GoogleCloudDialogflowV2GcsDestination; -@class GTLRDialogflow_GoogleCloudDialogflowV2InitializeEncryptionSpecRequest; @class GTLRDialogflow_GoogleCloudDialogflowV2InputDataset; @class GTLRDialogflow_GoogleCloudDialogflowV2Intent; @class GTLRDialogflow_GoogleCloudDialogflowV2IntentFollowupIntentInfo; @@ -616,9 +615,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3beta FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3beta1InputAudioConfig_ModelVariant_SpeechModelVariantUnspecified; /** * Use the best available variant of the Speech model that the caller is - * eligible for. Please see the [Dialogflow - * docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make - * your project eligible for enhanced models. + * eligible for. * * Value: "USE_BEST_AVAILABLE" */ @@ -628,10 +625,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3beta * the given model and request language, Dialogflow falls back to the standard * variant. The [Cloud Speech * documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) - * describes which models have enhanced variants. * If the API caller isn't - * eligible for enhanced models, Dialogflow returns an error. Please see the - * [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for - * how to make your project eligible. + * describes which models have enhanced variants. * * Value: "USE_ENHANCED" */ @@ -1412,9 +1406,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Inpu FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig_ModelVariant_SpeechModelVariantUnspecified; /** * Use the best available variant of the Speech model that the caller is - * eligible for. Please see the [Dialogflow - * docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make - * your project eligible for enhanced models. + * eligible for. * * Value: "USE_BEST_AVAILABLE" */ @@ -1424,10 +1416,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Inpu * the given model and request language, Dialogflow falls back to the standard * variant. The [Cloud Speech * documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) - * describes which models have enhanced variants. * If the API caller isn't - * eligible for enhanced models, Dialogflow returns an error. Please see the - * [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for - * how to make your project eligible. + * describes which models have enhanced variants. * * Value: "USE_ENHANCED" */ @@ -4127,11 +4116,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 * 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 + * the audio length from the the start of the input audio. No-speech event is a * response with END_OF_UTTERANCE without any transcript following up. */ @interface GTLRDialogflow_GoogleCloudDialogflowCxV3BargeInConfig : GTLRObject @@ -4332,11 +4317,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 * 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 + * the audio length from the the start of the input audio. No-speech event is a * response with END_OF_UTTERANCE without any transcript following up. */ @interface GTLRDialogflow_GoogleCloudDialogflowCxV3beta1BargeInConfig : GTLRObject @@ -5407,18 +5388,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @property(nonatomic, strong, nullable) NSNumber *enableWordInfo; /** - * Optional. Which Speech model to select for the given request. Select the - * model best suited to your domain to get best results. If a model is not - * explicitly specified, then we auto-select a model based on the parameters in - * the InputAudioConfig. If enhanced speech model is enabled for the agent and - * an enhanced version of the specified model for the language does not exist, - * then the speech is recognized using the standard version of the specified - * model. Refer to [Cloud Speech API - * documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) - * for more details. If you specify a model, the following models typically - * have the best performance: - phone_call (best for Agent Assist and - * telephony) - latest_short (best for Dialogflow non-telephony) - - * command_and_search (best for very short utterances and commands) + * Optional. Which Speech model to select for the given request. For more + * information, see [Speech + * models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models). */ @property(nonatomic, copy, nullable) NSString *model; @@ -5431,20 +5403,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 * USE_BEST_AVAILABLE. (Value: "SPEECH_MODEL_VARIANT_UNSPECIFIED") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3beta1InputAudioConfig_ModelVariant_UseBestAvailable * Use the best available variant of the Speech model that the caller is - * eligible for. Please see the [Dialogflow - * docs](https://cloud.google.com/dialogflow/docs/data-logging) for how - * to make your project eligible for enhanced models. (Value: - * "USE_BEST_AVAILABLE") + * eligible for. (Value: "USE_BEST_AVAILABLE") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3beta1InputAudioConfig_ModelVariant_UseEnhanced * Use an enhanced model variant: * If an enhanced variant does not exist * for the given model and request language, Dialogflow falls back to the * standard variant. The [Cloud Speech * documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) - * describes which models have enhanced variants. * If the API caller - * isn't eligible for enhanced models, Dialogflow returns an error. - * Please see the [Dialogflow - * docs](https://cloud.google.com/dialogflow/docs/data-logging) for how - * to make your project eligible. (Value: "USE_ENHANCED") + * describes which models have enhanced variants. (Value: "USE_ENHANCED") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3beta1InputAudioConfig_ModelVariant_UseStandard * Use standard model variant even if an enhanced model is available. See * the [Cloud Speech @@ -5755,6 +5720,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3beta1AdvancedSettings *advancedSettings; +/** + * The description of the page. The maximum length is 500 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + /** Required. The human-readable name of the page, unique within the flow. */ @property(nonatomic, copy, nullable) NSString *displayName; @@ -5925,6 +5897,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 * in the form of text. 2. An intent query that specifies which intent to * trigger. 3. Natural language speech audio to be processed. 4. An event to be * triggered. 5. DTMF digits to invoke an intent and fill in parameter value. + * 6. The results of a tool executed by the client. */ @interface GTLRDialogflow_GoogleCloudDialogflowCxV3beta1QueryInput : GTLRObject @@ -9197,6 +9170,64 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, copy, nullable) NSString *businessDescription; +/** + * Whether to disable fallback to Data Store search results (in case the LLM + * couldn't pick a proper answer). Per default the feature is enabled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableDataStoreFallback; + +@end + + +/** + * Generators contain prompt to be sent to the LLM model to generate text. The + * prompt can contain parameters which will be resolved before calling the + * model. It can optionally contain banned phrases to ensure the model + * responses are safe. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3Generator : GTLRObject + +/** + * Required. The human-readable name of the generator, unique within the agent. + * The prompt contains pre-defined parameters such as $conversation, + * $last-user-utterance, etc. populated by Dialogflow. It can also contain + * custom placeholders which will be resolved during fulfillment. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * The unique identifier of the generator. Must be set for the + * Generators.UpdateGenerator method. Generators.CreateGenerate populates the + * name automatically. Format: `projects//locations//agents//generators/`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. List of custom placeholders in the prompt text. */ +@property(nonatomic, strong, nullable) NSArray *placeholders; + +/** Required. Prompt for the LLM model. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3Phrase *promptText; + +@end + + +/** + * Represents a custom placeholder in the prompt text. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3GeneratorPlaceholder : GTLRObject + +/** + * Unique ID used to map custom placeholder to parameters in fulfillment. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** Custom placeholder value in the prompt text. */ +@property(nonatomic, copy, nullable) NSString *name; + @end @@ -9552,18 +9583,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @property(nonatomic, strong, nullable) NSNumber *enableWordInfo; /** - * Optional. Which Speech model to select for the given request. Select the - * model best suited to your domain to get best results. If a model is not - * explicitly specified, then we auto-select a model based on the parameters in - * the InputAudioConfig. If enhanced speech model is enabled for the agent and - * an enhanced version of the specified model for the language does not exist, - * then the speech is recognized using the standard version of the specified - * model. Refer to [Cloud Speech API - * documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) - * for more details. If you specify a model, the following models typically - * have the best performance: - phone_call (best for Agent Assist and - * telephony) - latest_short (best for Dialogflow non-telephony) - - * command_and_search (best for very short utterances and commands) + * Optional. Which Speech model to select for the given request. For more + * information, see [Speech + * models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models). */ @property(nonatomic, copy, nullable) NSString *model; @@ -9576,20 +9598,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 * USE_BEST_AVAILABLE. (Value: "SPEECH_MODEL_VARIANT_UNSPECIFIED") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig_ModelVariant_UseBestAvailable * Use the best available variant of the Speech model that the caller is - * eligible for. Please see the [Dialogflow - * docs](https://cloud.google.com/dialogflow/docs/data-logging) for how - * to make your project eligible for enhanced models. (Value: - * "USE_BEST_AVAILABLE") + * eligible for. (Value: "USE_BEST_AVAILABLE") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig_ModelVariant_UseEnhanced * Use an enhanced model variant: * If an enhanced variant does not exist * for the given model and request language, Dialogflow falls back to the * standard variant. The [Cloud Speech * documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) - * describes which models have enhanced variants. * If the API caller - * isn't eligible for enhanced models, Dialogflow returns an error. - * Please see the [Dialogflow - * docs](https://cloud.google.com/dialogflow/docs/data-logging) for how - * to make your project eligible. (Value: "USE_ENHANCED") + * describes which models have enhanced variants. (Value: "USE_ENHANCED") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig_ModelVariant_UseStandard * Use standard model variant even if an enhanced model is available. See * the [Cloud Speech @@ -10145,6 +10160,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * The response message for Generators.ListGenerators. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "generators" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3ListGeneratorsResponse : GTLRCollectionObject + +/** + * The list of generators. There will be a maximum number of items returned + * based on the page_size field in the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *generators; + +/** + * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * The response message for Intents.ListIntents. * @@ -10727,6 +10770,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3AdvancedSettings *advancedSettings; +/** + * The description of the page. The maximum length is 500 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + /** Required. The human-readable name of the page, unique within the flow. */ @property(nonatomic, copy, nullable) NSString *displayName; @@ -10892,11 +10942,23 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Text input which can be used for prompt or banned phrases. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3Phrase : GTLRObject + +/** Required. Text input which can be used for prompt or banned phrases. */ +@property(nonatomic, copy, nullable) NSString *text; + +@end + + /** * Represents the query input. It can contain one of: 1. A conversational query * in the form of text. 2. An intent query that specifies which intent to * trigger. 3. Natural language speech audio to be processed. 4. An event to be * triggered. 5. DTMF digits to invoke an intent and fill in parameter value. + * 6. The results of a tool executed by the client. */ @interface GTLRDialogflow_GoogleCloudDialogflowCxV3QueryInput : GTLRObject @@ -11023,9 +11085,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @property(nonatomic, strong, nullable) NSArray *sessionEntityTypes; /** - * Optional. Sets Dialogflow session life time. By default, a Dialogflow - * session remains active and its data is stored for 30 minutes after the last - * request is sent for the session. This value should be no longer than 1 day. + * Optional. Configure lifetime of the Dialogflow session. By default, a + * Dialogflow session remains active and its data is stored for 30 minutes + * after the last request is sent for the session. This value should be no + * longer than 1 day. */ @property(nonatomic, strong, nullable) GTLRDuration *sessionTtl; @@ -14010,30 +14073,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end -/** - * A customer-managed encryption key specification that can be applied to all - * created resources (e.g. Conversation). - */ -@interface GTLRDialogflow_GoogleCloudDialogflowV2beta1EncryptionSpec : GTLRObject - -/** - * Required. The name of customer-managed encryption key that is used to secure - * a resource and its sub-resources. If empty, the resource is secured by the - * default Google encryption key. Only the key in the same location as this - * resource is allowed to be used for encryption. Format: - * `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` - */ -@property(nonatomic, copy, nullable) NSString *kmsKey; - -/** - * Immutable. The resource name of the encryption key specification resource. - * Format: projects/{project}/locations/{location}/encryptionSpec - */ -@property(nonatomic, copy, nullable) NSString *name; - -@end - - /** * Each intent parameter has a type, called the entity type, which dictates * exactly how data from an end-user expression is extracted. Dialogflow @@ -14334,33 +14373,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end -/** - * Metadata for initializing a location-level encryption specification. - */ -@interface GTLRDialogflow_GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata : GTLRObject - -/** Output only. The original request for initialization. */ -@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest *request; - -@end - - -/** - * The request to initialize a location-level encryption specification. - */ -@interface GTLRDialogflow_GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest : GTLRObject - -/** - * Required. The encryption spec used for CMEK encryption. It is required that - * the kms key is in the same region as the endpoint. The same key will be used - * for all provisioned resources, if encryption is available. If the - * kms_key_name is left empty, no encryption will be enforced. - */ -@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowV2beta1EncryptionSpec *encryptionSpec; - -@end - - /** * An intent categorizes an end-user's intention for one conversation turn. For * each agent, you define many intents, where your combined intents can handle @@ -17026,30 +17038,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end -/** - * A customer-managed encryption key specification that can be applied to all - * created resources (e.g. Conversation). - */ -@interface GTLRDialogflow_GoogleCloudDialogflowV2EncryptionSpec : GTLRObject - -/** - * Required. The name of customer-managed encryption key that is used to secure - * a resource and its sub-resources. If empty, the resource is secured by the - * default Google encryption key. Only the key in the same location as this - * resource is allowed to be used for encryption. Format: - * `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` - */ -@property(nonatomic, copy, nullable) NSString *kmsKey; - -/** - * Immutable. The resource name of the encryption key specification resource. - * Format: projects/{project}/locations/{location}/encryptionSpec - */ -@property(nonatomic, copy, nullable) NSString *name; - -@end - - /** * Each intent parameter has a type, called the entity type, which dictates * exactly how data from an end-user expression is extracted. Dialogflow @@ -17391,33 +17379,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end -/** - * Metadata for initializing a location-level encryption specification. - */ -@interface GTLRDialogflow_GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata : GTLRObject - -/** Output only. The original request for initialization. */ -@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowV2InitializeEncryptionSpecRequest *request; - -@end - - -/** - * The request to initialize a location-level encryption specification. - */ -@interface GTLRDialogflow_GoogleCloudDialogflowV2InitializeEncryptionSpecRequest : GTLRObject - -/** - * Required. The encryption spec used for CMEK encryption. It is required that - * the kms key is in the same region as the endpoint. The same key will be used - * for all provisioned resources, if encryption is available. If the - * kms_key_name is left empty, no encryption will be enforced. - */ -@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowV2EncryptionSpec *encryptionSpec; - -@end - - /** * InputDataset used to create model or do evaluation. NextID:5 */ diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h index 42ed9ee99..9fa12151d 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h @@ -2948,6 +2948,216 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflowViewTestCaseViewUnspecified; @end +/** + * Creates a generator in the specified agent. + * + * Method: dialogflow.projects.locations.agents.generators.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDialogflow + * @c kGTLRAuthScopeDialogflowCloudPlatform + */ +@interface GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsCreate : GTLRDialogflowQuery + +/** + * The language to create generators for the following fields: * + * `Generator.prompt_text.text` If not specified, the agent's default language + * is used. + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** + * Required. The agent to create a generator for. Format: + * `projects//locations//agents/`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDialogflow_GoogleCloudDialogflowCxV3Generator. + * + * Creates a generator in the specified agent. + * + * @param object The @c GTLRDialogflow_GoogleCloudDialogflowCxV3Generator to + * include in the query. + * @param parent Required. The agent to create a generator for. Format: + * `projects//locations//agents/`. + * + * @return GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsCreate + */ ++ (instancetype)queryWithObject:(GTLRDialogflow_GoogleCloudDialogflowCxV3Generator *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes the specified generators. + * + * Method: dialogflow.projects.locations.agents.generators.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeDialogflow + * @c kGTLRAuthScopeDialogflowCloudPlatform + */ +@interface GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsDelete : GTLRDialogflowQuery + +/** + * This field has no effect for generators not being used. For generators that + * are used by pages/flows/transition route groups: * If `force` is set to + * false, an error will be returned with message indicating the referenced + * resources. * If `force` is set to true, Dialogflow will remove the + * generator, as well as any references to the generator (i.e. Generator) in + * fulfillments. + */ +@property(nonatomic, assign) BOOL force; + +/** + * Required. The name of the generator to delete. Format: + * `projects//locations//agents//generators/`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDialogflow_GoogleProtobufEmpty. + * + * Deletes the specified generators. + * + * @param name Required. The name of the generator to delete. Format: + * `projects//locations//agents//generators/`. + * + * @return GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieves the specified generator. + * + * Method: dialogflow.projects.locations.agents.generators.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDialogflow + * @c kGTLRAuthScopeDialogflowCloudPlatform + */ +@interface GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsGet : GTLRDialogflowQuery + +/** The language to list generators for. */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** + * Required. The name of the generator. Format: + * `projects//locations//agents//generators/`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDialogflow_GoogleCloudDialogflowCxV3Generator. + * + * Retrieves the specified generator. + * + * @param name Required. The name of the generator. Format: + * `projects//locations//agents//generators/`. + * + * @return GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Returns the list of all generators in the specified agent. + * + * Method: dialogflow.projects.locations.agents.generators.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDialogflow + * @c kGTLRAuthScopeDialogflowCloudPlatform + */ +@interface GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsList : GTLRDialogflowQuery + +/** The language to list generators for. */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** + * The maximum number of items to return in a single page. By default 100 and + * at most 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** The next_page_token value returned from a previous list request. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The agent to list all generators for. Format: + * `projects//locations//agents/`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDialogflow_GoogleCloudDialogflowCxV3ListGeneratorsResponse. + * + * Returns the list of all generators in the specified agent. + * + * @param parent Required. The agent to list all generators for. Format: + * `projects//locations//agents/`. + * + * @return GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Update the specified generator. + * + * Method: dialogflow.projects.locations.agents.generators.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDialogflow + * @c kGTLRAuthScopeDialogflowCloudPlatform + */ +@interface GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsPatch : GTLRDialogflowQuery + +/** The language to list generators for. */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** + * The unique identifier of the generator. Must be set for the + * Generators.UpdateGenerator method. Generators.CreateGenerate populates the + * name automatically. Format: `projects//locations//agents//generators/`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The mask to control which fields get updated. 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; + +/** + * Fetches a @c GTLRDialogflow_GoogleCloudDialogflowCxV3Generator. + * + * Update the specified generator. + * + * @param object The @c GTLRDialogflow_GoogleCloudDialogflowCxV3Generator to + * include in the query. + * @param name The unique identifier of the generator. Must be set for the + * Generators.UpdateGenerator method. Generators.CreateGenerate populates the + * name automatically. Format: `projects//locations//agents//generators/`. + * + * @return GTLRDialogflowQuery_ProjectsLocationsAgentsGeneratorsPatch + */ ++ (instancetype)queryWithObject:(GTLRDialogflow_GoogleCloudDialogflowCxV3Generator *)object + name:(NSString *)name; + +@end + /** * Retrieves the specified agent. * diff --git a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m index ef68542e3..7829c0a30 100644 --- a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m +++ b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m @@ -21,6 +21,25 @@ NSString * const kGTLRDirectory_AuxiliaryMessage_Severity_SeverityUnspecified = @"SEVERITY_UNSPECIFIED"; NSString * const kGTLRDirectory_AuxiliaryMessage_Severity_SeverityWarning = @"SEVERITY_WARNING"; +// GTLRDirectory_BatchChangeChromeOsDeviceStatusRequest.changeChromeOsDeviceStatusAction +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_ChangeChromeOsDeviceStatusAction_ChangeChromeOsDeviceStatusActionDeprovision = @"CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION"; +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_ChangeChromeOsDeviceStatusAction_ChangeChromeOsDeviceStatusActionDisable = @"CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DISABLE"; +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_ChangeChromeOsDeviceStatusAction_ChangeChromeOsDeviceStatusActionReenable = @"CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_REENABLE"; +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_ChangeChromeOsDeviceStatusAction_ChangeChromeOsDeviceStatusActionUnspecified = @"CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_UNSPECIFIED"; + +// GTLRDirectory_BatchChangeChromeOsDeviceStatusRequest.deprovisionReason +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonDifferentModelReplacement = @"DEPROVISION_REASON_DIFFERENT_MODEL_REPLACEMENT"; +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonDomainMove = @"DEPROVISION_REASON_DOMAIN_MOVE"; +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonNotRequired = @"DEPROVISION_REASON_NOT_REQUIRED"; +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonOther = @"DEPROVISION_REASON_OTHER"; +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonRepairCenter = @"DEPROVISION_REASON_REPAIR_CENTER"; +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonRetiringDevice = @"DEPROVISION_REASON_RETIRING_DEVICE"; +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonSameModelReplacement = @"DEPROVISION_REASON_SAME_MODEL_REPLACEMENT"; +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonServiceExpiration = @"DEPROVISION_REASON_SERVICE_EXPIRATION"; +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonUnspecified = @"DEPROVISION_REASON_UNSPECIFIED"; +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonUpgrade = @"DEPROVISION_REASON_UPGRADE"; +NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonUpgradeTransfer = @"DEPROVISION_REASON_UPGRADE_TRANSFER"; + // GTLRDirectory_ChromeOsDevice.deprovisionReason NSString * const kGTLRDirectory_ChromeOsDevice_DeprovisionReason_DeprovisionReasonDifferentModelReplacement = @"DEPROVISION_REASON_DIFFERENT_MODEL_REPLACEMENT"; NSString * const kGTLRDirectory_ChromeOsDevice_DeprovisionReason_DeprovisionReasonDomainMove = @"DEPROVISION_REASON_DOMAIN_MOVE"; @@ -213,6 +232,42 @@ @implementation GTLRDirectory_AuxiliaryMessage @end +// ---------------------------------------------------------------------------- +// +// GTLRDirectory_BatchChangeChromeOsDeviceStatusRequest +// + +@implementation GTLRDirectory_BatchChangeChromeOsDeviceStatusRequest +@dynamic changeChromeOsDeviceStatusAction, deprovisionReason, deviceIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"deviceIds" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDirectory_BatchChangeChromeOsDeviceStatusResponse +// + +@implementation GTLRDirectory_BatchChangeChromeOsDeviceStatusResponse +@dynamic changeChromeOsDeviceStatusResults; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"changeChromeOsDeviceStatusResults" : [GTLRDirectory_ChangeChromeOsDeviceStatusResult class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDirectory_BatchCreatePrintersRequest @@ -474,6 +529,25 @@ @implementation GTLRDirectory_CalendarResources @end +// ---------------------------------------------------------------------------- +// +// GTLRDirectory_ChangeChromeOsDeviceStatusResult +// + +@implementation GTLRDirectory_ChangeChromeOsDeviceStatusResult +@dynamic deviceId, error, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDirectory_ChangeChromeOsDeviceStatusSucceeded +// + +@implementation GTLRDirectory_ChangeChromeOsDeviceStatusSucceeded +@end + + // ---------------------------------------------------------------------------- // // GTLRDirectory_Channel @@ -1646,6 +1720,38 @@ @implementation GTLRDirectory_Schemas @end +// ---------------------------------------------------------------------------- +// +// GTLRDirectory_Status +// + +@implementation GTLRDirectory_Status +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLRDirectory_Status_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDirectory_Status_Details_Item +// + +@implementation GTLRDirectory_Status_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDirectory_Token diff --git a/Sources/GeneratedServices/Directory/GTLRDirectoryQuery.m b/Sources/GeneratedServices/Directory/GTLRDirectoryQuery.m index ed789aeb2..e49abb5d5 100644 --- a/Sources/GeneratedServices/Directory/GTLRDirectoryQuery.m +++ b/Sources/GeneratedServices/Directory/GTLRDirectoryQuery.m @@ -65,6 +65,9 @@ // Query Classes // +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + @implementation GTLRDirectoryQuery @dynamic fields; @@ -319,6 +322,33 @@ + (instancetype)queryWithObject:(GTLRDirectory_ChromeOsDevice *)object @end +@implementation GTLRDirectoryQuery_CustomerDevicesChromeosBatchChangeStatus + +@dynamic customerId; + ++ (instancetype)queryWithObject:(GTLRDirectory_BatchChangeChromeOsDeviceStatusRequest *)object + customerId:(NSString *)customerId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"customerId" ]; + NSString *pathURITemplate = @"admin/directory/v1/customer/{customerId}/devices/chromeos:batchChangeStatus"; + GTLRDirectoryQuery_CustomerDevicesChromeosBatchChangeStatus *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.customerId = customerId; + query.expectedObjectClass = [GTLRDirectory_BatchChangeChromeOsDeviceStatusResponse class]; + query.loggingName = @"admin.customer.devices.chromeos.batchChangeStatus"; + return query; +} + +@end + @implementation GTLRDirectoryQuery_CustomerDevicesChromeosCommandsGet @dynamic commandId, customerId, deviceId; @@ -3058,3 +3088,5 @@ + (instancetype)queryWithUserKey:(NSString *)userKey { } @end + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h index ffd5de025..4141ebf70 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h @@ -22,6 +22,8 @@ @class GTLRDirectory_BuildingAddress; @class GTLRDirectory_BuildingCoordinates; @class GTLRDirectory_CalendarResource; +@class GTLRDirectory_ChangeChromeOsDeviceStatusResult; +@class GTLRDirectory_ChangeChromeOsDeviceStatusSucceeded; @class GTLRDirectory_Channel_Params; @class GTLRDirectory_ChromeOsDevice; @class GTLRDirectory_ChromeOsDevice_ActiveTimeRanges_Item; @@ -63,6 +65,8 @@ @class GTLRDirectory_Schema; @class GTLRDirectory_SchemaFieldSpec; @class GTLRDirectory_SchemaFieldSpec_NumericIndexingSpec; +@class GTLRDirectory_Status; +@class GTLRDirectory_Status_Details_Item; @class GTLRDirectory_Token; @class GTLRDirectory_User; @class GTLRDirectory_User_CustomSchemas; @@ -109,6 +113,127 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_AuxiliaryMessage_Severity_Seve */ FOUNDATION_EXTERN NSString * const kGTLRDirectory_AuxiliaryMessage_Severity_SeverityWarning; +// ---------------------------------------------------------------------------- +// GTLRDirectory_BatchChangeChromeOsDeviceStatusRequest.changeChromeOsDeviceStatusAction + +/** + * Deprovisions a ChromeOS device. If you have ChromeOS devices that are no + * longer being used in your organization, you should deprovision them so that + * you’re no longer managing them. Deprovisioning the device removes all + * policies that were on the device as well as device-level printers and the + * ability to use the device as a kiosk. Depending on the upgrade that’s + * associated with the device this action might release the license back into + * the license pool; which allows you to use the license on a different device. + * + * Value: "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_ChangeChromeOsDeviceStatusAction_ChangeChromeOsDeviceStatusActionDeprovision; +/** + * Disables a ChromeOS device. Use this action if a user loses their device or + * it’s stolen, this makes it such that the device is still managed, so it will + * still receive policies, but no one can use it. Depending on the upgrade + * that’s associated with the device this action might release the license back + * into the license pool; which allows you to use the license on a different + * device. + * + * Value: "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DISABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_ChangeChromeOsDeviceStatusAction_ChangeChromeOsDeviceStatusActionDisable; +/** + * Reenables a ChromeOS device to be used after being disabled. Reenables the + * device once it's no longer lost or it's been recovered. This allows the + * device to be used again. Depending on the upgrade associated with the device + * this might consume one license from the license pool, meaning that if there + * aren't enough licenses available the operation will fail. + * + * Value: "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_REENABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_ChangeChromeOsDeviceStatusAction_ChangeChromeOsDeviceStatusActionReenable; +/** + * Default value. Value is unused. + * + * Value: "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_ChangeChromeOsDeviceStatusAction_ChangeChromeOsDeviceStatusActionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDirectory_BatchChangeChromeOsDeviceStatusRequest.deprovisionReason + +/** + * Different model replacement. You are replacing this device with an upgraded + * or newer device model. + * + * Value: "DEPROVISION_REASON_DIFFERENT_MODEL_REPLACEMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonDifferentModelReplacement; +/** + * The device's domain was changed. + * + * Value: "DEPROVISION_REASON_DOMAIN_MOVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonDomainMove GTLR_DEPRECATED; +/** + * A reason was not required. For example, the licenses were returned to the + * customer's license pool. + * + * Value: "DEPROVISION_REASON_NOT_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonNotRequired; +/** + * The device was deprovisioned for a legacy reason that is no longer + * supported. + * + * Value: "DEPROVISION_REASON_OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonOther GTLR_DEPRECATED; +/** + * The device was deprovisioned by the Repair Service Center. Can only be set + * by Repair Service Center during RMA. + * + * Value: "DEPROVISION_REASON_REPAIR_CENTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonRepairCenter; +/** + * Retiring from fleet. You are donating, discarding, or otherwise removing the + * device from use. + * + * Value: "DEPROVISION_REASON_RETIRING_DEVICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonRetiringDevice; +/** + * Same model replacement. You have return materials authorization (RMA) or you + * are replacing a malfunctioning device under warranty with the same device + * model. + * + * Value: "DEPROVISION_REASON_SAME_MODEL_REPLACEMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonSameModelReplacement; +/** + * Service expired for the device. + * + * Value: "DEPROVISION_REASON_SERVICE_EXPIRATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonServiceExpiration GTLR_DEPRECATED; +/** + * The deprovision reason is unknown. + * + * Value: "DEPROVISION_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonUnspecified; +/** + * The device was upgraded. + * + * Value: "DEPROVISION_REASON_UPGRADE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonUpgrade GTLR_DEPRECATED; +/** + * ChromeOS Flex upgrade transfer. This is a ChromeOS Flex device that you are + * replacing with a Chromebook within a year. + * + * Value: "DEPROVISION_REASON_UPGRADE_TRANSFER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonUpgradeTransfer; + // ---------------------------------------------------------------------------- // GTLRDirectory_ChromeOsDevice.deprovisionReason @@ -952,6 +1077,116 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us @end +/** + * A request for changing the status of a batch of ChromeOS devices. + */ +@interface GTLRDirectory_BatchChangeChromeOsDeviceStatusRequest : GTLRObject + +/** + * Required. The action to take on the ChromeOS device in order to change its + * status. + * + * Likely values: + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_ChangeChromeOsDeviceStatusAction_ChangeChromeOsDeviceStatusActionDeprovision + * Deprovisions a ChromeOS device. If you have ChromeOS devices that are + * no longer being used in your organization, you should deprovision them + * so that you’re no longer managing them. Deprovisioning the device + * removes all policies that were on the device as well as device-level + * printers and the ability to use the device as a kiosk. Depending on + * the upgrade that’s associated with the device this action might + * release the license back into the license pool; which allows you to + * use the license on a different device. (Value: + * "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION") + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_ChangeChromeOsDeviceStatusAction_ChangeChromeOsDeviceStatusActionDisable + * Disables a ChromeOS device. Use this action if a user loses their + * device or it’s stolen, this makes it such that the device is still + * managed, so it will still receive policies, but no one can use it. + * Depending on the upgrade that’s associated with the device this action + * might release the license back into the license pool; which allows you + * to use the license on a different device. (Value: + * "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DISABLE") + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_ChangeChromeOsDeviceStatusAction_ChangeChromeOsDeviceStatusActionReenable + * Reenables a ChromeOS device to be used after being disabled. Reenables + * the device once it's no longer lost or it's been recovered. This + * allows the device to be used again. Depending on the upgrade + * associated with the device this might consume one license from the + * license pool, meaning that if there aren't enough licenses available + * the operation will fail. (Value: + * "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_REENABLE") + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_ChangeChromeOsDeviceStatusAction_ChangeChromeOsDeviceStatusActionUnspecified + * Default value. Value is unused. (Value: + * "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *changeChromeOsDeviceStatusAction; + +/** + * Optional. The reason behind a device deprovision. Must be provided if + * 'changeChromeOsDeviceStatusAction' is set to + * 'CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION'. Otherwise, omit this + * field. + * + * Likely values: + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonDifferentModelReplacement + * Different model replacement. You are replacing this device with an + * upgraded or newer device model. (Value: + * "DEPROVISION_REASON_DIFFERENT_MODEL_REPLACEMENT") + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonDomainMove + * The device's domain was changed. (Value: + * "DEPROVISION_REASON_DOMAIN_MOVE") + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonNotRequired + * A reason was not required. For example, the licenses were returned to + * the customer's license pool. (Value: + * "DEPROVISION_REASON_NOT_REQUIRED") + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonOther + * The device was deprovisioned for a legacy reason that is no longer + * supported. (Value: "DEPROVISION_REASON_OTHER") + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonRepairCenter + * The device was deprovisioned by the Repair Service Center. Can only be + * set by Repair Service Center during RMA. (Value: + * "DEPROVISION_REASON_REPAIR_CENTER") + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonRetiringDevice + * Retiring from fleet. You are donating, discarding, or otherwise + * removing the device from use. (Value: + * "DEPROVISION_REASON_RETIRING_DEVICE") + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonSameModelReplacement + * Same model replacement. You have return materials authorization (RMA) + * or you are replacing a malfunctioning device under warranty with the + * same device model. (Value: + * "DEPROVISION_REASON_SAME_MODEL_REPLACEMENT") + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonServiceExpiration + * Service expired for the device. (Value: + * "DEPROVISION_REASON_SERVICE_EXPIRATION") + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonUnspecified + * The deprovision reason is unknown. (Value: + * "DEPROVISION_REASON_UNSPECIFIED") + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonUpgrade + * The device was upgraded. (Value: "DEPROVISION_REASON_UPGRADE") + * @arg @c kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonUpgradeTransfer + * ChromeOS Flex upgrade transfer. This is a ChromeOS Flex device that + * you are replacing with a Chromebook within a year. (Value: + * "DEPROVISION_REASON_UPGRADE_TRANSFER") + */ +@property(nonatomic, copy, nullable) NSString *deprovisionReason; + +/** + * Required. List of the IDs of the ChromeOS devices to change. Maximum 50. + */ +@property(nonatomic, strong, nullable) NSArray *deviceIds; + +@end + + +/** + * The response of changing the status of a batch of ChromeOS devices. + */ +@interface GTLRDirectory_BatchChangeChromeOsDeviceStatusResponse : GTLRObject + +/** The results for each of the ChromeOS devices provided in the request. */ +@property(nonatomic, strong, nullable) NSArray *changeChromeOsDeviceStatusResults; + +@end + + /** * Request for adding new printers in batch. */ @@ -1320,6 +1555,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us @end +/** + * The result of a single ChromeOS device for a Change state operation. + */ +@interface GTLRDirectory_ChangeChromeOsDeviceStatusResult : GTLRObject + +/** The unique ID of the ChromeOS device. */ +@property(nonatomic, copy, nullable) NSString *deviceId; + +/** The error result of the operation in case of failure. */ +@property(nonatomic, strong, nullable) GTLRDirectory_Status *error; + +/** The device could change its status successfully. */ +@property(nonatomic, strong, nullable) GTLRDirectory_ChangeChromeOsDeviceStatusSucceeded *response; + +@end + + +/** + * Response for a successful ChromeOS device status change. + */ +@interface GTLRDirectory_ChangeChromeOsDeviceStatusSucceeded : GTLRObject +@end + + /** * An notification channel used to watch for resource changes. */ @@ -4138,6 +4397,51 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us @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 GTLRDirectory_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 + + +/** + * GTLRDirectory_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 GTLRDirectory_Status_Details_Item : GTLRObject +@end + + /** * JSON template for token resource in Directory API. */ diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h index a12b30fd6..f91d1eee0 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h @@ -361,7 +361,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; @end /** - * Takes an action that affects a Chrome OS Device. This includes + * Use + * [BatchChangeChromeOsDeviceStatus](/admin-sdk/directory/reference/rest/v1/customer.devices.chromeos/batchChangeStatus) + * instead. Takes an action that affects a Chrome OS Device. This includes * deprovisioning, disabling, and re-enabling devices. *Warning:* * * Deprovisioning a device will stop device policy syncing and remove * device-level printers. After a device is deprovisioned, it must be wiped @@ -377,6 +379,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; * Authorization scope(s): * @c kGTLRAuthScopeDirectoryDirectoryDeviceChromeos */ +GTLR_DEPRECATED @interface GTLRDirectoryQuery_ChromeosdevicesAction : GTLRDirectoryQuery /** @@ -399,7 +402,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; * Upon successful completion, the callback's object and error parameters will * be nil. This query does not fetch an object. * - * Takes an action that affects a Chrome OS Device. This includes + * Use + * [BatchChangeChromeOsDeviceStatus](/admin-sdk/directory/reference/rest/v1/customer.devices.chromeos/batchChangeStatus) + * instead. Takes an action that affects a Chrome OS Device. This includes * deprovisioning, disabling, and re-enabling devices. *Warning:* * * Deprovisioning a device will stop device policy syncing and remove * device-level printers. After a device is deprovisioned, it must be wiped @@ -772,6 +777,39 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; @end +/** + * Changes the status of a batch of ChromeOS devices. For more information + * about changing a ChromeOS device state [Repair, repurpose, or retire + * ChromeOS devices](https://support.google.com/chrome/a/answer/3523633). + * + * Method: admin.customer.devices.chromeos.batchChangeStatus + * + * Authorization scope(s): + * @c kGTLRAuthScopeDirectoryDirectoryDeviceChromeos + */ +@interface GTLRDirectoryQuery_CustomerDevicesChromeosBatchChangeStatus : GTLRDirectoryQuery + +/** Required. Immutable ID of the Google Workspace account. */ +@property(nonatomic, copy, nullable) NSString *customerId; + +/** + * Fetches a @c GTLRDirectory_BatchChangeChromeOsDeviceStatusResponse. + * + * Changes the status of a batch of ChromeOS devices. For more information + * about changing a ChromeOS device state [Repair, repurpose, or retire + * ChromeOS devices](https://support.google.com/chrome/a/answer/3523633). + * + * @param object The @c GTLRDirectory_BatchChangeChromeOsDeviceStatusRequest to + * include in the query. + * @param customerId Required. Immutable ID of the Google Workspace account. + * + * @return GTLRDirectoryQuery_CustomerDevicesChromeosBatchChangeStatus + */ ++ (instancetype)queryWithObject:(GTLRDirectory_BatchChangeChromeOsDeviceStatusRequest *)object + customerId:(NSString *)customerId; + +@end + /** * Gets command data a specific command issued to the device. * diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m index 804970b0f..f86c75b71 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m @@ -281,6 +281,34 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingSourceLocat @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse +@dynamic targetSites; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"targetSites" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata @@ -311,6 +339,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateSchem @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata +@dynamic createTime, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore @@ -360,6 +398,64 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSchem @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig +@dynamic name, ocrConfig; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine @@ -479,6 +575,26 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSimil @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata +@dynamic createTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse +@dynamic dataSizeBytes, documentCount; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig @@ -557,6 +673,24 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportUserE @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrConfig +@dynamic enabled, enhancedDocumentElements, useNativeText; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"enhancedDocumentElements" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata @@ -743,6 +877,34 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteF @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse +@dynamic errorConfig, errorSamples, modelStatus; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"errorSamples" : [GTLRDiscoveryEngine_GoogleRpcStatus class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata @@ -772,6 +934,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateSchem @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata +@dynamic createTime, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBigQuerySource @@ -881,7 +1053,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConverseConversationRequest -@dynamic conversation, query, safeSearch, servingConfig, summarySpec, +@dynamic conversation, filter, query, safeSearch, servingConfig, summarySpec, userLabels; @end @@ -1600,7 +1772,27 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchReques @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec @dynamic ignoreAdversarialQuery, ignoreNonSummarySeekingQuery, includeCitations, - languageCode, summaryResultCount; + languageCode, modelPromptSpec, modelSpec, summaryResultCount; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec +@dynamic preamble; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec +@dynamic version; @end @@ -1845,7 +2037,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummary -@dynamic safetyAttributes, summarySkippedReasons, summaryText; +@dynamic safetyAttributes, summarySkippedReasons, summaryText, + summaryWithMetadata; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1857,6 +2050,62 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRespon @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation +@dynamic endIndex, sources, startIndex; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sources" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata +@dynamic citations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"citations" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource +@dynamic referenceIndex; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference +@dynamic document, title, uri; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes @@ -1876,6 +2125,24 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRespon @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata +@dynamic citationMetadata, references, summary; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"references" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTextInput diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m index 929d14851..0a25f0985 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m @@ -842,6 +842,144 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsConverse + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConverseConversationRequest *)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 = @"v1beta/{+name}:converse"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsConverse *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConverseConversationResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.conversations.converse"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation *)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 = @"v1beta/{+parent}/conversations"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.conversations.create"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleProtobufEmpty class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.conversations.delete"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.conversations.get"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1beta/{+parent}/conversations"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaListConversationsResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.conversations.list"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation *)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 = @"v1beta/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.conversations.patch"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesOperationsGet @dynamic name; diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h index eabfcee32..35468755e 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h @@ -33,10 +33,12 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema_StructSchema; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBigQuerySource; @@ -78,6 +80,8 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec; @@ -94,7 +98,12 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult_ModelScores; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummary; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTextInput; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTransactionInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserEvent; @@ -1016,6 +1025,36 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Metadata related to the progress of the + * SiteSearchEngineService.BatchCreateTargetSite operation. This will be + * returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata : 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 + + +/** + * Response message for SiteSearchEngineService.BatchCreateTargetSites method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse : GTLRObject + +/** TargetSites created. */ +@property(nonatomic, strong, nullable) NSArray *targetSites; + +@end + + /** * Metadata related to the progress of the DataStoreService.CreateDataStore * operation. This will be returned by the @@ -1071,6 +1110,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Metadata related to the progress of the + * SiteSearchEngineService.CreateTargetSite operation. This will be returned by + * the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata : 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 + + /** * DataStore captures global settings and configs at the DataStore level. */ @@ -1198,6 +1256,100 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Metadata related to the progress of the + * SiteSearchEngineService.DeleteTargetSite operation. This will be returned by + * the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata : 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 + * SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be + * returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata : 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 + + +/** + * Response message for SiteSearchEngineService.DisableAdvancedSiteSearch + * method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse : GTLRObject +@end + + +/** + * A singleton resource of DataStore. It's empty when DataStore is created, + * which defaults to digital parser. The first call to + * DataStoreService.UpdateDocumentProcessingConfig method will initialize the + * config. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig : GTLRObject + +/** + * Output only. The full resource name of the Document Processing Config. + * Format: `projects/ * /locations/ * /collections/ * /dataStores/ * + * /documentProcessingConfig`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The OCR config. Currently it only applies to PDFs. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrConfig *ocrConfig; + +@end + + +/** + * Metadata related to the progress of the + * SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be + * returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata : 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 + + +/** + * Response message for SiteSearchEngineService.EnableAdvancedSiteSearch + * method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse : GTLRObject +@end + + /** * Metadata that describes the training and serving parameters of an Engine. */ @@ -1565,6 +1717,43 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Metadata related to the progress of the EstimateDataSize operation. This is + * returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +@end + + +/** + * Response of the EstimateDataSize request. If the long running operation was + * successful, then this message is returned by the + * google.longrunning.Operations.response field if the operation was + * successful. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse : GTLRObject + +/** + * Data size in terms of bytes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dataSizeBytes; + +/** + * Total number of documents. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *documentCount; + +@end + + /** * Configurations for fields of a schema. For example, configuring a field is * indexable, or searchable. @@ -1876,6 +2065,36 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * The OCR options for parsing documents. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrConfig : GTLRObject + +/** + * Required. If OCR is enabled or not. OCR must be enabled for other OcrConfig + * options to apply. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +/** + * Apply additional enhanced OCR processing to a list of document elements. + * Supported values: * `table`: advanced table parsing model. + */ +@property(nonatomic, strong, nullable) NSArray *enhancedDocumentElements; + +/** + * If true, will use native text instead of OCR text on pages containing native + * text. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *useNativeText; + +@end + + /** * Metadata related to the progress of the PurgeDocuments operation. This will * be returned by the google.longrunning.Operation.metadata field. @@ -2258,6 +2477,47 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Metadata related to the progress of the TrainCustomModel operation. This is + * returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata : 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 + + +/** + * Response of the TrainCustomModelRequest. This message is returned by the + * google.longrunning.Operations.response field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse : GTLRObject + +/** Echoes the destination for the complete errors in the request if set. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig *errorConfig; + +/** A sample of errors encountered while processing the data. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** + * The trained model status. Possible values are: * **bad-data**: The training + * data quality is bad. * **no-improvement**: Tuning didn't improve + * performance. Won't deploy. * **in-progress**: Model training is in progress. + * * **ready**: The model is ready for serving. + */ +@property(nonatomic, copy, nullable) NSString *modelStatus; + +@end + + /** * Metadata associated with a tune operation. */ @@ -2296,6 +2556,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Metadata related to the progress of the + * SiteSearchEngineService.UpdateTargetSite operation. This will be returned by + * the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata : 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 + + /** * BigQuery source import data from. */ @@ -2419,6 +2698,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Immutable. Fully qualified name `project/ * * /locations/global/collections/{collection}/dataStore/ * /conversations/ *` + * or `project/ * /locations/global/collections/{collection}/engines/ * + * /conversations/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2493,6 +2774,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation *conversation; +/** + * The filter syntax consists of an expression language for constructing a + * predicate from one or more fields of the documents being filtered. Filter + * expression is case-sensitive. This will be used to filter search results + * which may affect the summary response. If this field is unrecognizable, an + * `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by + * mapping the LHS filter key to a key property defined in the Vertex AI Search + * backend -- this mapping is defined by the customer in their schema. For + * example a media customer might have a field 'name' in their schema. In this + * case the filter would look like this: filter --> name:'ANY("king kong")' For + * more information about filtering including syntax and filter operators, see + * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + */ +@property(nonatomic, copy, nullable) NSString *filter; + /** Required. Current user input. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTextInput *query; @@ -4190,6 +4486,18 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *languageCode; +/** + * If specified, the spec will be used to modify the prompt provided to the + * LLM. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec *modelPromptSpec; + +/** + * If specified, the spec will be used to modify the model specification + * provided to the LLM. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec *modelSpec; + /** * The number of top results to generate the summary from. If the number of * results returned is less than `summaryResultCount`, the summary is generated @@ -4203,6 +4511,31 @@ GTLR_DEPRECATED @end +/** + * Specification of the prompt to use with the model. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec : GTLRObject + +/** + * Text at the beginning of the prompt that instructs the assistant. Examples + * are available in the user guide. + */ +@property(nonatomic, copy, nullable) NSString *preamble; + +@end + + +/** + * Specification of the model. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec : GTLRObject + +/** The string format of the model version. e.g. stable, preview, etc. */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + /** * The specification that uses customized query embedding vector to do semantic * document retrieval. @@ -4678,6 +5011,82 @@ GTLR_DEPRECATED /** The summary content. */ @property(nonatomic, copy, nullable) NSString *summaryText; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata *summaryWithMetadata; + +@end + + +/** + * Citation info for a segment. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation : GTLRObject + +/** + * End of the attributed segment, exclusive. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *endIndex; + +/** Citation sources for the attributed segment. */ +@property(nonatomic, strong, nullable) NSArray *sources; + +/** + * Index indicates the start of the segment, measured in bytes/unicode. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *startIndex; + +@end + + +/** + * Citation metadata. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata : GTLRObject + +/** Citations for segments. */ +@property(nonatomic, strong, nullable) NSArray *citations; + +@end + + +/** + * Citation source. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource : GTLRObject + +/** + * Document reference index from SummaryWithMetadata.references. It is + * 0-indexed and the value will be zero if the reference_index is not set + * explicitly. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *referenceIndex; + +@end + + +/** + * Document reference. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference : GTLRObject + +/** + * Required. Document.name of the document. Full resource name of the + * referenced document, in the format `projects/ * /locations/ * /collections/ + * * /dataStores/ * /branches/ * /documents/ *`. + */ +@property(nonatomic, copy, nullable) NSString *document; + +/** Title of the document. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** GCS or HTTP uri for the document. */ +@property(nonatomic, copy, nullable) NSString *uri; + @end @@ -4703,6 +5112,23 @@ GTLR_DEPRECATED @end +/** + * Summary with metadata information. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata : GTLRObject + +/** Citation metadata for given summary. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata *citationMetadata; + +/** Document References. */ +@property(nonatomic, strong, nullable) NSArray *references; + +/** Summary text with no citation information. */ +@property(nonatomic, copy, nullable) NSString *summary; + +@end + + /** * Defines text input. */ diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h index e0e483e22..52481d354 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h @@ -771,6 +771,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Immutable. Fully qualified name `project/ * * /locations/global/collections/{collection}/dataStore/ * /conversations/ *` + * or `project/ * /locations/global/collections/{collection}/engines/ * + * /conversations/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -795,6 +797,8 @@ NS_ASSUME_NONNULL_BEGIN * include in the query. * @param name Immutable. Fully qualified name `project/ * * /locations/global/collections/{collection}/dataStore/ * /conversations/ *` + * or `project/ * /locations/global/collections/{collection}/engines/ * + * /conversations/ *`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresConversationsPatch */ @@ -1582,6 +1586,261 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Converses a conversation. + * + * Method: discoveryengine.projects.locations.collections.engines.conversations.converse + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsConverse : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Conversation to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. + * Use + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` + * to activate auto session mode, which automatically creates a new + * conversation inside a ConverseConversation session. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConverseConversationResponse. + * + * Converses a conversation. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConverseConversationRequest + * to include in the query. + * @param name Required. The resource name of the Conversation to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. + * Use + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` + * to activate auto session mode, which automatically creates a new + * conversation inside a ConverseConversation session. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsConverse + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConverseConversationRequest *)object + name:(NSString *)name; + +@end + +/** + * Creates a Conversation. If the Conversation to create already exists, an + * ALREADY_EXISTS error is returned. + * + * Method: discoveryengine.projects.locations.collections.engines.conversations.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsCreate : GTLRDiscoveryEngineQuery + +/** + * Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation. + * + * Creates a Conversation. If the Conversation to create already exists, an + * ALREADY_EXISTS error is returned. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation to + * include in the query. + * @param parent Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsCreate + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a Conversation. If the Conversation to delete does not exist, a + * NOT_FOUND error is returned. + * + * Method: discoveryengine.projects.locations.collections.engines.conversations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsDelete : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Conversation to delete. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleProtobufEmpty. + * + * Deletes a Conversation. If the Conversation to delete does not exist, a + * NOT_FOUND error is returned. + * + * @param name Required. The resource name of the Conversation to delete. + * Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a Conversation. + * + * Method: discoveryengine.projects.locations.collections.engines.conversations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsGet : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Conversation to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation. + * + * Gets a Conversation. + * + * @param name Required. The resource name of the Conversation to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all Conversations by their parent DataStore. + * + * Method: discoveryengine.projects.locations.collections.engines.conversations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsList : GTLRDiscoveryEngineQuery + +/** + * A filter to apply on the list results. The supported features are: + * user_pseudo_id, state. Example: "user_pseudo_id = some_id" + */ +@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: * `update_time` + * * `create_time` * `conversation_name` Example: "update_time desc" + * "create_time" + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Maximum number of results to return. If unspecified, defaults to 50. Max + * allowed value is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListConversations` call. Provide + * this to retrieve the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaListConversationsResponse. + * + * Lists all Conversations by their parent DataStore. + * + * @param parent Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a Conversation. Conversation action type cannot be changed. If the + * Conversation to update does not exist, a NOT_FOUND error is returned. + * + * Method: discoveryengine.projects.locations.collections.engines.conversations.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsPatch : GTLRDiscoveryEngineQuery + +/** + * Immutable. Fully qualified name `project/ * + * /locations/global/collections/{collection}/dataStore/ * /conversations/ *` + * or `project/ * /locations/global/collections/{collection}/engines/ * + * /conversations/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Indicates which fields in the provided Conversation to update. The following + * are NOT supported: * conversation.name If not set or empty, all supported + * fields are updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation. + * + * Updates a Conversation. Conversation action type cannot be changed. If the + * Conversation to update does not exist, a NOT_FOUND error is returned. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation to + * include in the query. + * @param name Immutable. Fully qualified name `project/ * + * /locations/global/collections/{collection}/dataStore/ * /conversations/ *` + * or `project/ * /locations/global/collections/{collection}/engines/ * + * /conversations/ *`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsPatch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConversation *)object + name:(NSString *)name; + +@end + /** * Gets the latest state of a long-running operation. Clients can use this * method to poll the operation result at intervals as recommended by the API @@ -2484,6 +2743,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Immutable. Fully qualified name `project/ * * /locations/global/collections/{collection}/dataStore/ * /conversations/ *` + * or `project/ * /locations/global/collections/{collection}/engines/ * + * /conversations/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2508,6 +2769,8 @@ NS_ASSUME_NONNULL_BEGIN * include in the query. * @param name Immutable. Fully qualified name `project/ * * /locations/global/collections/{collection}/dataStore/ * /conversations/ *` + * or `project/ * /locations/global/collections/{collection}/engines/ * + * /conversations/ *`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresConversationsPatch */ diff --git a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m index cd67c8956..769166833 100644 --- a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m +++ b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m @@ -6898,7 +6898,7 @@ @implementation GTLRDisplayVideo_UrlAssignedTargetingOptionDetails // @implementation GTLRDisplayVideo_User -@dynamic assignedUserRoles, displayName, email, name, userId; +@dynamic assignedUserRoles, displayName, email, lastLoginTime, name, userId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h index 6eb54e5b4..fd3a66efb 100644 --- a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h +++ b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h @@ -2919,7 +2919,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Consent_AdPersonalization_C */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Consent_AdPersonalization_ConsentStatusGranted; /** - * Consent is not specified. + * Not specified. * * Value: "CONSENT_STATUS_UNSPECIFIED" */ @@ -2941,7 +2941,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Consent_AdUserData_ConsentS */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Consent_AdUserData_ConsentStatusGranted; /** - * Consent is not specified. + * Not specified. * * Value: "CONSENT_STATUS_UNSPECIFIED" */ @@ -17928,7 +17928,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * @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") + * Not specified. (Value: "CONSENT_STATUS_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *adPersonalization; @@ -17940,8 +17940,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * 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") + * @arg @c kGTLRDisplayVideo_Consent_AdUserData_ConsentStatusUnspecified Not + * specified. (Value: "CONSENT_STATUS_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *adUserData; @@ -18001,7 +18001,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail */ @interface GTLRDisplayVideo_ContactInfoList : GTLRObject -/** Input only. User consent status. */ +/** Input only. The consent setting for the users in contact_infos. */ @property(nonatomic, strong, nullable) GTLRDisplayVideo_Consent *consent; /** @@ -26222,7 +26222,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail */ @interface GTLRDisplayVideo_MobileDeviceIdList : GTLRObject -/** Input only. User consent status. */ +/** Input only. The consent setting for the users in mobile_device_ids. */ @property(nonatomic, strong, nullable) GTLRDisplayVideo_Consent *consent; /** @@ -27540,13 +27540,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail /** * Required. The targeting_option_id of a TargetingOption of type * `TARGETING_TYPE_POI`. Accepted POI targeting option IDs can be retrieved - * using SearchTargetingOptions. If targeting a specific latitude/longitude - * coordinate removed from an address or POI name, you can generate the - * necessary targeting option ID by rounding the desired coordinate values to - * the 6th decimal place, removing the decimals, and concatenating the string - * values separated by a semicolon. For example, you can target the - * latitude/longitude pair of 40.7414691, -74.003387 using the targeting option - * ID "40741469;-74003387". + * using `targetingTypes.targetingOptions.search`. If targeting a specific + * latitude/longitude coordinate removed from an address or POI name, you can + * generate the necessary targeting option ID by rounding the desired + * coordinate values to the 6th decimal place, removing the decimals, and + * concatenating the string values separated by a semicolon. For example, you + * can target the latitude/longitude pair of 40.7414691, -74.003387 using the + * targeting option ID "40741469;-74003387". **Upon** **creation, this field + * value will be updated to append a semicolon and** **alphanumerical hash + * value if only latitude/longitude coordinates are** **provided.** */ @property(nonatomic, copy, nullable) NSString *targetingOptionId; @@ -29335,6 +29337,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail /** Required. Immutable. The email address used to identify the user. */ @property(nonatomic, copy, nullable) NSString *email; +/** Output only. The timestamp when the user last logged in DV360 UI. */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastLoginTime; + /** Output only. The resource name of the user. */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h index 81ae6144a..0d7a3b704 100644 --- a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h +++ b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h @@ -3119,7 +3119,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo @end /** - * Creates a new creative. Returns the newly created creative if successful. + * Creates a new creative. Returns the newly created creative if successful. A + * ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or + * greater for the parent advertiser or partner is required to make this + * request. * * Method: displayvideo.advertisers.creatives.create * @@ -3134,7 +3137,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo /** * Fetches a @c GTLRDisplayVideo_Creative. * - * Creates a new creative. Returns the newly created creative if successful. + * Creates a new creative. Returns the newly created creative if successful. A + * ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or + * greater for the parent advertiser or partner is required to make this + * request. * * @param object The @c GTLRDisplayVideo_Creative to include in the query. * @param advertiserId Output only. The unique ID of the advertiser the @@ -3150,7 +3156,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo /** * Deletes a creative. Returns error code `NOT_FOUND` if the creative does not * exist. The creative should be archived first, i.e. set entity_status to - * `ENTITY_STATUS_ARCHIVED`, before it can be deleted. + * `ENTITY_STATUS_ARCHIVED`, before it can be deleted. A ["Standard" user + * role](//support.google.com/displayvideo/answer/2723011) or greater for the + * parent advertiser or partner is required to make this request. * * Method: displayvideo.advertisers.creatives.delete * @@ -3170,7 +3178,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * * Deletes a creative. Returns error code `NOT_FOUND` if the creative does not * exist. The creative should be archived first, i.e. set entity_status to - * `ENTITY_STATUS_ARCHIVED`, before it can be deleted. + * `ENTITY_STATUS_ARCHIVED`, before it can be deleted. A ["Standard" user + * role](//support.google.com/displayvideo/answer/2723011) or greater for the + * parent advertiser or partner is required to make this request. * * @param advertiserId The ID of the advertiser this creative belongs to. * @param creativeId The ID of the creative to be deleted. @@ -3313,7 +3323,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo @end /** - * Updates an existing creative. Returns the updated creative if successful. + * Updates an existing creative. Returns the updated creative if successful. A + * ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or + * greater for the parent advertiser or partner is required to make this + * request. * * Method: displayvideo.advertisers.creatives.patch * @@ -3338,7 +3351,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo /** * Fetches a @c GTLRDisplayVideo_Creative. * - * Updates an existing creative. Returns the updated creative if successful. + * Updates an existing creative. Returns the updated creative if successful. A + * ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or + * greater for the parent advertiser or partner is required to make this + * request. * * @param object The @c GTLRDisplayVideo_Creative to include in the query. * @param advertiserId Output only. The unique ID of the advertiser the @@ -5562,7 +5578,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * BulkEditAssignedTargetingOptionsRequest.create_requests. Requests to this * endpoint cannot be made concurrently with the following requests updating * the same line item: * lineItems.bulkUpdate * lineItems.patch * - * assignedTargetingOptions.create * assignedTargetingOptions.delete + * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & + * Partners line items cannot be created or updated using the API. * * Method: displayvideo.advertisers.lineItems.bulkEditAssignedTargetingOptions * @@ -5584,7 +5601,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * BulkEditAssignedTargetingOptionsRequest.create_requests. Requests to this * endpoint cannot be made concurrently with the following requests updating * the same line item: * lineItems.bulkUpdate * lineItems.patch * - * assignedTargetingOptions.create * assignedTargetingOptions.delete + * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & + * Partners line items cannot be created or updated using the API. * * @param object The @c * GTLRDisplayVideo_BulkEditAssignedTargetingOptionsRequest to include in the @@ -5685,7 +5703,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * Updates multiple line items. Requests to this endpoint cannot be made * concurrently with the following requests updating the same line item: * * BulkEditAssignedTargetingOptions * UpdateLineItem * - * assignedTargetingOptions.create * assignedTargetingOptions.delete + * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & + * Partners line items cannot be created or updated using the API. * * Method: displayvideo.advertisers.lineItems.bulkUpdate * @@ -5703,7 +5722,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * Updates multiple line items. Requests to this endpoint cannot be made * concurrently with the following requests updating the same line item: * * BulkEditAssignedTargetingOptions * UpdateLineItem * - * assignedTargetingOptions.create * assignedTargetingOptions.delete + * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & + * Partners line items cannot be created or updated using the API. * * @param object The @c GTLRDisplayVideo_BulkUpdateLineItemsRequest to include * in the query. @@ -5719,6 +5739,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo /** * Creates a new line item. Returns the newly created line item if successful. + * YouTube & Partners line items cannot be created or updated using the API. * * Method: displayvideo.advertisers.lineItems.create * @@ -5734,6 +5755,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * Fetches a @c GTLRDisplayVideo_LineItem. * * Creates a new line item. Returns the newly created line item if successful. + * YouTube & Partners line items cannot be created or updated using the API. * * @param object The @c GTLRDisplayVideo_LineItem to include in the query. * @param advertiserId Output only. The unique ID of the advertiser the line @@ -5749,7 +5771,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo /** * Deletes a line item. Returns error code `NOT_FOUND` if the line item does * not exist. The line item should be archived first, i.e. set entity_status to - * `ENTITY_STATUS_ARCHIVED`, to be able to delete it. + * `ENTITY_STATUS_ARCHIVED`, to be able to delete it. YouTube & Partners line + * items cannot be created or updated using the API. * * Method: displayvideo.advertisers.lineItems.delete * @@ -5769,7 +5792,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * * Deletes a line item. Returns error code `NOT_FOUND` if the line item does * not exist. The line item should be archived first, i.e. set entity_status to - * `ENTITY_STATUS_ARCHIVED`, to be able to delete it. + * `ENTITY_STATUS_ARCHIVED`, to be able to delete it. YouTube & Partners line + * items cannot be created or updated using the API. * * @param advertiserId The ID of the advertiser this line item belongs to. * @param lineItemId The ID of the line item to delete. @@ -5783,7 +5807,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo /** * Duplicates a line item. Returns the ID of the created line item if - * successful. + * successful. YouTube & Partners line items cannot be created or updated using + * the API. * * Method: displayvideo.advertisers.lineItems.duplicate * @@ -5802,7 +5827,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * Fetches a @c GTLRDisplayVideo_DuplicateLineItemResponse. * * Duplicates a line item. Returns the ID of the created line item if - * successful. + * successful. YouTube & Partners line items cannot be created or updated using + * the API. * * @param object The @c GTLRDisplayVideo_DuplicateLineItemRequest to include in * the query. @@ -5823,7 +5849,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * the insertion order and an `ENTITY_STATUS_DRAFT` entity_status. Returns the * newly created line item if successful. There are default values based on the * three fields: * The insertion order's insertion_order_type * The insertion - * order's automation_type * The given line_item_type + * order's automation_type * The given line_item_type YouTube & Partners line + * items cannot be created or updated using the API. * * Method: displayvideo.advertisers.lineItems.generateDefault * @@ -5842,7 +5869,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * the insertion order and an `ENTITY_STATUS_DRAFT` entity_status. Returns the * newly created line item if successful. There are default values based on the * three fields: * The insertion order's insertion_order_type * The insertion - * order's automation_type * The given line_item_type + * order's automation_type * The given line_item_type YouTube & Partners line + * items cannot be created or updated using the API. * * @param object The @c GTLRDisplayVideo_GenerateDefaultLineItemRequest to * include in the query. @@ -5977,7 +6005,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * Requests to this endpoint cannot be made concurrently with the following * requests updating the same line item: * BulkEditAssignedTargetingOptions * * BulkUpdateLineItems * assignedTargetingOptions.create * - * assignedTargetingOptions.delete + * assignedTargetingOptions.delete YouTube & Partners line items cannot be + * created or updated using the API. * * Method: displayvideo.advertisers.lineItems.patch * @@ -6006,7 +6035,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * Requests to this endpoint cannot be made concurrently with the following * requests updating the same line item: * BulkEditAssignedTargetingOptions * * BulkUpdateLineItems * assignedTargetingOptions.create * - * assignedTargetingOptions.delete + * assignedTargetingOptions.delete YouTube & Partners line items cannot be + * created or updated using the API. * * @param object The @c GTLRDisplayVideo_LineItem to include in the query. * @param advertiserId Output only. The unique ID of the advertiser the line @@ -6027,7 +6057,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * option if successful. Requests to this endpoint cannot be made concurrently * with the following requests updating the same line item: * * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * - * lineItems.patch * DeleteLineItemAssignedTargetingOption + * lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube & Partners + * line items cannot be created or updated using the API. * * Method: displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.create * @@ -6241,7 +6272,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * option if successful. Requests to this endpoint cannot be made concurrently * with the following requests updating the same line item: * * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * - * lineItems.patch * DeleteLineItemAssignedTargetingOption + * lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube & Partners + * line items cannot be created or updated using the API. * * @param object The @c GTLRDisplayVideo_AssignedTargetingOption to include in * the query. @@ -6450,7 +6482,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * endpoint cannot be made concurrently with the following requests updating * the same line item: * lineItems.bulkEditAssignedTargetingOptions * * lineItems.bulkUpdate * lineItems.patch * - * CreateLineItemAssignedTargetingOption + * CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot + * be created or updated using the API. * * Method: displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.delete * @@ -6666,7 +6699,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * endpoint cannot be made concurrently with the following requests updating * the same line item: * lineItems.bulkEditAssignedTargetingOptions * * lineItems.bulkUpdate * lineItems.patch * - * CreateLineItemAssignedTargetingOption + * CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot + * be created or updated using the API. * * @param advertiserId Required. The ID of the advertiser the line item belongs * to. diff --git a/Sources/GeneratedServices/Dns/GTLRDnsObjects.m b/Sources/GeneratedServices/Dns/GTLRDnsObjects.m index 5870bae84..8139de822 100644 --- a/Sources/GeneratedServices/Dns/GTLRDnsObjects.m +++ b/Sources/GeneratedServices/Dns/GTLRDnsObjects.m @@ -1022,7 +1022,7 @@ @implementation GTLRDns_ResponsePolicyRulesUpdateResponse // @implementation GTLRDns_RRSetRoutingPolicy -@dynamic geo, kind, primaryBackup, wrr; +@dynamic geo, healthCheck, kind, primaryBackup, wrr; @end @@ -1069,10 +1069,11 @@ @implementation GTLRDns_RRSetRoutingPolicyGeoPolicyGeoPolicyItem // @implementation GTLRDns_RRSetRoutingPolicyHealthCheckTargets -@dynamic internalLoadBalancers; +@dynamic externalEndpoints, internalLoadBalancers; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"externalEndpoints" : [NSString class], @"internalLoadBalancers" : [GTLRDns_RRSetRoutingPolicyLoadBalancerTarget class] }; return map; diff --git a/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h b/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h index c771d8459..d6f39333e 100644 --- a/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h +++ b/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h @@ -707,9 +707,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDns_RRSetRoutingPolicyLoadBalancerTarget * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -723,7 +739,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDns_RRSetRoutingPolicyLoadBalancerTarget * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -2255,6 +2274,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDns_RRSetRoutingPolicyLoadBalancerTarget @interface GTLRDns_RRSetRoutingPolicy : GTLRObject @property(nonatomic, strong, nullable) GTLRDns_RRSetRoutingPolicyGeoPolicy *geo; + +/** + * The selfLink attribute of the HealthCheck resource to use for this + * RRSetRoutingPolicy. + * https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks + */ +@property(nonatomic, copy, nullable) NSString *healthCheck; + @property(nonatomic, copy, nullable) NSString *kind; @property(nonatomic, strong, nullable) GTLRDns_RRSetRoutingPolicyPrimaryBackupPolicy *primaryBackup; @property(nonatomic, strong, nullable) GTLRDns_RRSetRoutingPolicyWrrPolicy *wrr; @@ -2333,10 +2360,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDns_RRSetRoutingPolicyLoadBalancerTarget /** * HealthCheckTargets describes endpoints to health-check when responding to * Routing Policy queries. Only the healthy endpoints will be included in the - * response. + * response. Only one of internal_load_balancer and external_endpoints should + * be set. */ @interface GTLRDns_RRSetRoutingPolicyHealthCheckTargets : GTLRObject +/** + * The Internet IP addresses to be health checked. The format matches the + * format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and + * RFC 1034 (section 3.6.1) + */ +@property(nonatomic, strong, nullable) NSArray *externalEndpoints; + +/** Configuration for internal load balancers to be health checked. */ @property(nonatomic, strong, nullable) NSArray *internalLoadBalancers; @end diff --git a/Sources/GeneratedServices/Drive/GTLRDriveObjects.m b/Sources/GeneratedServices/Drive/GTLRDriveObjects.m index a71c4f167..fe62d2e60 100644 --- a/Sources/GeneratedServices/Drive/GTLRDriveObjects.m +++ b/Sources/GeneratedServices/Drive/GTLRDriveObjects.m @@ -239,7 +239,7 @@ + (NSString *)collectionItemsKey { @implementation GTLRDrive_ContentRestriction @dynamic ownerRestricted, readOnly, reason, restrictingUser, restrictionTime, - type; + systemRestricted, type; @end diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h index 0e52758e0..0bc039f5f 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h @@ -601,6 +601,15 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, strong, nullable) GTLRDateTime *restrictionTime; +/** + * Output only. Whether the content restriction was applied by the system, for + * example due to an esignature. Users cannot modify or remove system + * restricted content restrictions. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *systemRestricted; + /** * Output only. The type of the content restriction. Currently the only * possible value is `globalContentRestriction`. @@ -675,7 +684,9 @@ NS_ASSUME_NONNULL_BEGIN /** * A set of restrictions that apply to this shared drive or items inside this - * shared drive. + * shared drive. Note that restrictions can't be set when creating a shared + * drive. To add a restriction, first create a shared drive and then use + * `drives.update` to add restrictions. */ @property(nonatomic, strong, nullable) GTLRDrive_Drive_Restrictions *restrictions; @@ -910,7 +921,9 @@ NS_ASSUME_NONNULL_BEGIN /** * A set of restrictions that apply to this shared drive or items inside this - * shared drive. + * shared drive. Note that restrictions can't be set when creating a shared + * drive. To add a restriction, first create a shared drive and then use + * `drives.update` to add restrictions. */ @interface GTLRDrive_Drive_Restrictions : GTLRObject diff --git a/Sources/GeneratedServices/DriveLabels/GTLRDriveLabelsObjects.m b/Sources/GeneratedServices/DriveLabels/GTLRDriveLabelsObjects.m index 8b395e386..1bfb646c6 100644 --- a/Sources/GeneratedServices/DriveLabels/GTLRDriveLabelsObjects.m +++ b/Sources/GeneratedServices/DriveLabels/GTLRDriveLabelsObjects.m @@ -319,8 +319,8 @@ @implementation GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUp // @implementation GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest -@dynamic dateOptions, identifier, integerOptions, longTextOptions, - selectionOptions, textOptions, updateMask, userOptions; +@dynamic dateOptions, identifier, integerOptions, selectionOptions, textOptions, + updateMask, userOptions; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -607,16 +607,6 @@ @implementation GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldListOptions @end -// ---------------------------------------------------------------------------- -// -// GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldLongTextOptions -// - -@implementation GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldLongTextOptions -@dynamic maxLength, minLength; -@end - - // ---------------------------------------------------------------------------- // // GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldProperties diff --git a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h index 125ce6cc1..9ae598399 100644 --- a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h +++ b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h @@ -51,7 +51,6 @@ @class GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldIntegerOptions; @class GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldLimits; @class GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldListOptions; -@class GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldLongTextOptions; @class GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldProperties; @class GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldSchemaCapabilities; @class GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldSelectionOptions; @@ -750,9 +749,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** Update field to Integer. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldIntegerOptions *integerOptions; -/** Update field to Long Text. */ -@property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldLongTextOptions *longTextOptions; - /** Update field to Selection. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldSelectionOptions *selectionOptions; @@ -1363,28 +1359,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @end -/** - * Options the Long Text field type. - */ -@interface GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldLongTextOptions : GTLRObject - -/** - * Output only. The maximum valid length of values for the text field. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *maxLength; - -/** - * Output only. The minimum valid length of values for the text field. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *minLength; - -@end - - /** * The basic properties of the field. */ diff --git a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h index cc24bb9df..d11691b5e 100644 --- a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h +++ b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h @@ -384,9 +384,25 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -400,7 +416,10 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; diff --git a/Sources/GeneratedServices/FirebaseRules/GTLRFirebaseRulesObjects.m b/Sources/GeneratedServices/FirebaseRules/GTLRFirebaseRulesObjects.m index e1aae79b1..28054618d 100644 --- a/Sources/GeneratedServices/FirebaseRules/GTLRFirebaseRulesObjects.m +++ b/Sources/GeneratedServices/FirebaseRules/GTLRFirebaseRulesObjects.m @@ -249,7 +249,7 @@ @implementation GTLRFirebaseRules_Result // @implementation GTLRFirebaseRules_Ruleset -@dynamic createTime, metadata, name, source; +@dynamic attachmentPoint, createTime, metadata, name, source; @end diff --git a/Sources/GeneratedServices/FirebaseRules/Public/GoogleAPIClientForREST/GTLRFirebaseRulesObjects.h b/Sources/GeneratedServices/FirebaseRules/Public/GoogleAPIClientForREST/GTLRFirebaseRulesObjects.h index 0d68b2406..90c4733ca 100644 --- a/Sources/GeneratedServices/FirebaseRules/Public/GoogleAPIClientForREST/GTLRFirebaseRulesObjects.h +++ b/Sources/GeneratedServices/FirebaseRules/Public/GoogleAPIClientForREST/GTLRFirebaseRulesObjects.h @@ -539,6 +539,13 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseRules_TestResult_State_Success; */ @interface GTLRFirebaseRules_Ruleset : GTLRObject +/** + * Immutable. Intended resource to which this Ruleset should be released. May + * be left blank to signify the resource associated with the default release. + * Expected format: firestore.googleapis.com/projects//databases/ + */ +@property(nonatomic, copy, nullable) NSString *attachmentPoint; + /** Output only. Time the `Ruleset` was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; diff --git a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m index 8ea82ca8b..580f316ab 100644 --- a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m +++ b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m @@ -597,11 +597,10 @@ @implementation GTLRGKEHub_ClusterUpgradeMembershipGKEUpgradeState // @implementation GTLRGKEHub_ClusterUpgradeMembershipState -@dynamic fleet, ignored, scopes, upgrades; +@dynamic ignored, upgrades; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"scopes" : [NSString class], @"upgrades" : [GTLRGKEHub_ClusterUpgradeMembershipGKEUpgradeState class] }; return map; diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h index fa2347cad..85dce8984 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h @@ -2239,12 +2239,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; */ @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 @@ -2252,12 +2246,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; */ @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; @@ -2419,8 +2407,7 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Identity is enabled. The GSA should have the Monitoring Metric Writer * (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount * `default` in the namespace `config-management-monitoring` should be bound to - * the GSA. This field is required when automatic Feature management is - * enabled. + * the GSA. */ @property(nonatomic, copy, nullable) NSString *metricsGcpServiceAccountEmail; @@ -5734,11 +5721,11 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; @property(nonatomic, copy, nullable) NSString *podAffinity; /** - * Pod anti-affinity enablement. + * Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *podAntiAffinity; +@property(nonatomic, strong, nullable) NSNumber *podAntiAffinity GTLR_DEPRECATED; /** Pod tolerations of node taints. */ @property(nonatomic, strong, nullable) NSArray *podTolerations; diff --git a/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m b/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m index 5bb262519..283f60b3b 100644 --- a/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m +++ b/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m @@ -1931,7 +1931,7 @@ @implementation GTLRGKEOnPrem_VmwareAdminSeesawConfig @implementation GTLRGKEOnPrem_VmwareAdminVCenterConfig @dynamic address, caCertData, cluster, datacenter, dataDisk, datastore, folder, - resourcePool; + resourcePool, storagePolicyName; @end diff --git a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h index 53f1199d9..26176d6ff 100644 --- a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h +++ b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h @@ -4373,6 +4373,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; /** The name of the vCenter resource pool for the admin cluster. */ @property(nonatomic, copy, nullable) NSString *resourcePool; +/** The name of the vCenter storage policy for the user cluster. */ +@property(nonatomic, copy, nullable) NSString *storagePolicyName; + @end @@ -4954,8 +4957,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; @property(nonatomic, strong, nullable) GTLRGKEOnPrem_VmwareStaticIpConfig *staticIpConfig; /** - * vcenter_network specifies vCenter network name. Inherited from the admin - * cluster. + * Output only. 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 d577e5b83..3da4f04f0 100644 --- a/Sources/GeneratedServices/Gmail/GTLRGmailObjects.m +++ b/Sources/GeneratedServices/Gmail/GTLRGmailObjects.m @@ -582,7 +582,7 @@ + (NSString *)collectionItemsKey { // @implementation GTLRGmail_ListLabelsResponse -@dynamic labels, productId; +@dynamic labels; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailObjects.h b/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailObjects.h index 066485ded..f5d59114e 100644 --- a/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailObjects.h +++ b/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailObjects.h @@ -1318,13 +1318,6 @@ 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/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h index e1e2ecd4e..e4c2eb880 100644 --- a/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h +++ b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h @@ -272,13 +272,14 @@ NS_ASSUME_NONNULL_BEGIN * Returns a customized report of data access records. The report provides * records of each time a user reads Google Analytics reporting data. Access * records are retained for up to 2 years. Data Access Reports can be requested - * for a property. The property must be in Google Analytics 360. This method is - * only available to Administrators. These data access records include GA4 UI - * Reporting, GA4 UI Explorations, GA4 Data API, and other products like - * Firebase & Admob that can retrieve data from Google Analytics through a - * linkage. These records don't include property configuration changes like - * adding a stream or changing a property's time zone. For configuration change - * history, see + * for a property. Reports may be requested for any property, but dimensions + * that aren't related to quota can only be requested on Google Analytics 360 + * properties. This method is only available to Administrators. These data + * access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, + * and other products like Firebase & Admob that can retrieve data from Google + * Analytics through a linkage. These records don't include property + * configuration changes like adding a stream or changing a property's time + * zone. For configuration change history, see * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). * * Method: analyticsadmin.accounts.runAccessReport @@ -305,13 +306,14 @@ NS_ASSUME_NONNULL_BEGIN * Returns a customized report of data access records. The report provides * records of each time a user reads Google Analytics reporting data. Access * records are retained for up to 2 years. Data Access Reports can be requested - * for a property. The property must be in Google Analytics 360. This method is - * only available to Administrators. These data access records include GA4 UI - * Reporting, GA4 UI Explorations, GA4 Data API, and other products like - * Firebase & Admob that can retrieve data from Google Analytics through a - * linkage. These records don't include property configuration changes like - * adding a stream or changing a property's time zone. For configuration change - * history, see + * for a property. Reports may be requested for any property, but dimensions + * that aren't related to quota can only be requested on Google Analytics 360 + * properties. This method is only available to Administrators. These data + * access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, + * and other products like Firebase & Admob that can retrieve data from Google + * Analytics through a linkage. These records don't include property + * configuration changes like adding a stream or changing a property's time + * zone. For configuration change history, see * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). * * @param object The @c GTLRGoogleAnalyticsAdmin_V1betaRunAccessReportRequest @@ -1879,13 +1881,14 @@ NS_ASSUME_NONNULL_BEGIN * Returns a customized report of data access records. The report provides * records of each time a user reads Google Analytics reporting data. Access * records are retained for up to 2 years. Data Access Reports can be requested - * for a property. The property must be in Google Analytics 360. This method is - * only available to Administrators. These data access records include GA4 UI - * Reporting, GA4 UI Explorations, GA4 Data API, and other products like - * Firebase & Admob that can retrieve data from Google Analytics through a - * linkage. These records don't include property configuration changes like - * adding a stream or changing a property's time zone. For configuration change - * history, see + * for a property. Reports may be requested for any property, but dimensions + * that aren't related to quota can only be requested on Google Analytics 360 + * properties. This method is only available to Administrators. These data + * access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, + * and other products like Firebase & Admob that can retrieve data from Google + * Analytics through a linkage. These records don't include property + * configuration changes like adding a stream or changing a property's time + * zone. For configuration change history, see * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). * * Method: analyticsadmin.properties.runAccessReport @@ -1912,13 +1915,14 @@ NS_ASSUME_NONNULL_BEGIN * Returns a customized report of data access records. The report provides * records of each time a user reads Google Analytics reporting data. Access * records are retained for up to 2 years. Data Access Reports can be requested - * for a property. The property must be in Google Analytics 360. This method is - * only available to Administrators. These data access records include GA4 UI - * Reporting, GA4 UI Explorations, GA4 Data API, and other products like - * Firebase & Admob that can retrieve data from Google Analytics through a - * linkage. These records don't include property configuration changes like - * adding a stream or changing a property's time zone. For configuration change - * history, see + * for a property. Reports may be requested for any property, but dimensions + * that aren't related to quota can only be requested on Google Analytics 360 + * properties. This method is only available to Administrators. These data + * access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, + * and other products like Firebase & Admob that can retrieve data from Google + * Analytics through a linkage. These records don't include property + * configuration changes like adding a stream or changing a property's time + * zone. For configuration change history, see * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). * * @param object The @c GTLRGoogleAnalyticsAdmin_V1betaRunAccessReportRequest diff --git a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m index 4c77f28f5..0a6c042c2 100644 --- a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m +++ b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m @@ -21,6 +21,7 @@ NSString * const kGTLRHangoutsChat_ActionResponse_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; NSString * const kGTLRHangoutsChat_ActionResponse_Type_UpdateMessage = @"UPDATE_MESSAGE"; NSString * const kGTLRHangoutsChat_ActionResponse_Type_UpdateUserMessageCards = @"UPDATE_USER_MESSAGE_CARDS"; +NSString * const kGTLRHangoutsChat_ActionResponse_Type_UpdateWidget = @"UPDATE_WIDGET"; // GTLRHangoutsChat_ActionStatus.statusCode NSString * const kGTLRHangoutsChat_ActionStatus_StatusCode_Aborted = @"ABORTED"; @@ -96,6 +97,7 @@ NSString * const kGTLRHangoutsChat_DeprecatedEvent_Type_Message = @"MESSAGE"; NSString * const kGTLRHangoutsChat_DeprecatedEvent_Type_RemovedFromSpace = @"REMOVED_FROM_SPACE"; NSString * const kGTLRHangoutsChat_DeprecatedEvent_Type_Unspecified = @"UNSPECIFIED"; +NSString * const kGTLRHangoutsChat_DeprecatedEvent_Type_WidgetUpdated = @"WIDGET_UPDATED"; // GTLRHangoutsChat_GoogleAppsCardV1Action.interaction NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Action_Interaction_InteractionUnspecified = @"INTERACTION_UNSPECIFIED"; @@ -326,7 +328,7 @@ @implementation GTLRHangoutsChat_ActionParameter // @implementation GTLRHangoutsChat_ActionResponse -@dynamic dialogAction, type, url; +@dynamic dialogAction, type, updatedWidget, url; @end @@ -1051,6 +1053,16 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1Widgets @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_Group +// + +@implementation GTLRHangoutsChat_Group +@dynamic name; +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_HostAppDataSourceMarkup @@ -1216,7 +1228,7 @@ @implementation GTLRHangoutsChat_Media // @implementation GTLRHangoutsChat_Membership -@dynamic createTime, member, name, role, state; +@dynamic createTime, groupMember, member, name, role, state; @end @@ -1229,8 +1241,9 @@ @implementation GTLRHangoutsChat_Message @dynamic actionResponse, annotations, argumentText, attachedGifs, attachment, cards, cardsV2, clientAssignedMessageId, createTime, deleteTime, deletionMetadata, emojiReactionSummaries, fallbackText, formattedText, - lastUpdateTime, matchedUrl, name, quotedMessageMetadata, sender, - slashCommand, space, text, thread, threadReply; + lastUpdateTime, matchedUrl, name, privateMessageViewer, + quotedMessageMetadata, sender, slashCommand, space, text, thread, + threadReply; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1305,6 +1318,24 @@ @implementation GTLRHangoutsChat_Section @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_SelectionItems +// + +@implementation GTLRHangoutsChat_SelectionItems +@dynamic items; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"items" : [GTLRHangoutsChat_GoogleAppsCardV1SelectionItem class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_SetUpSpaceRequest @@ -1485,6 +1516,16 @@ @implementation GTLRHangoutsChat_TimeZone @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_UpdatedWidget +// + +@implementation GTLRHangoutsChat_UpdatedWidget +@dynamic suggestions, widget; +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_UploadAttachmentRequest diff --git a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatQuery.m b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatQuery.m index 91696d95d..919efef85 100644 --- a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatQuery.m +++ b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatQuery.m @@ -248,7 +248,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRHangoutsChatQuery_SpacesMembersList -@dynamic filter, pageSize, pageToken, parent, showInvited; +@dynamic filter, pageSize, pageToken, parent, showGroups, showInvited; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h index 41b73c757..cff94a696 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h @@ -75,6 +75,7 @@ @class GTLRHangoutsChat_GoogleAppsCardV1TextParagraph; @class GTLRHangoutsChat_GoogleAppsCardV1Widget; @class GTLRHangoutsChat_GoogleAppsCardV1Widgets; +@class GTLRHangoutsChat_Group; @class GTLRHangoutsChat_HostAppDataSourceMarkup; @class GTLRHangoutsChat_Image; @class GTLRHangoutsChat_ImageButton; @@ -88,6 +89,7 @@ @class GTLRHangoutsChat_QuotedMessageMetadata; @class GTLRHangoutsChat_Reaction; @class GTLRHangoutsChat_Section; +@class GTLRHangoutsChat_SelectionItems; @class GTLRHangoutsChat_SlashCommand; @class GTLRHangoutsChat_SlashCommandMetadata; @class GTLRHangoutsChat_Space; @@ -101,6 +103,7 @@ @class GTLRHangoutsChat_Thread; @class GTLRHangoutsChat_TimeInput; @class GTLRHangoutsChat_TimeZone; +@class GTLRHangoutsChat_UpdatedWidget; @class GTLRHangoutsChat_User; @class GTLRHangoutsChat_UserMentionMetadata; @class GTLRHangoutsChat_WidgetMarkup; @@ -157,6 +160,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_ActionResponse_Type_UpdateM * Value: "UPDATE_USER_MESSAGE_CARDS" */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_ActionResponse_Type_UpdateUserMessageCards; +/** + * Widget text autocomplete options query. + * + * Value: "UPDATE_WIDGET" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_ActionResponse_Type_UpdateWidget; // ---------------------------------------------------------------------------- // GTLRHangoutsChat_ActionStatus.statusCode @@ -568,6 +577,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_DeprecatedEvent_Type_Remove * Value: "UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_DeprecatedEvent_Type_Unspecified; +/** + * A user updates a widget in a card message or dialog. + * + * Value: "WIDGET_UPDATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_DeprecatedEvent_Type_WidgetUpdated; // ---------------------------------------------------------------------------- // GTLRHangoutsChat_GoogleAppsCardV1Action.interaction @@ -1428,7 +1443,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @interface GTLRHangoutsChat_ActionResponse : GTLRObject /** - * Input only. A response to an event related to a + * Input only. A response to an interaction event related to a * [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be * accompanied by `ResponseType.Dialog`. */ @@ -1456,9 +1471,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * response to a `MESSAGE` event with a matched url, or a `CARD_CLICKED` * event where the message sender type is `HUMAN`. Text is ignored. * (Value: "UPDATE_USER_MESSAGE_CARDS") + * @arg @c kGTLRHangoutsChat_ActionResponse_Type_UpdateWidget Widget text + * autocomplete options query. (Value: "UPDATE_WIDGET") */ @property(nonatomic, copy, nullable) NSString *type; +/** Input only. The response of the updated widget. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_UpdatedWidget *updatedWidget; + /** * Input only. URL for users to authenticate or configure. (Only for * `REQUEST_CONFIG` response types.) @@ -1820,7 +1840,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * a Google Chat message. Only Chat apps can create cards. If your Chat app * [authenticates as a * user](https://developers.google.com/chat/api/guides/auth/users), the message - * can't contain cards. + * can't contain cards. [Card + * builder](https://addons.gsuite.google.com/uikit/builder) */ @interface GTLRHangoutsChat_CardWithId : GTLRObject @@ -2293,6 +2314,9 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * removes the Chat app from a space. (Value: "REMOVED_FROM_SPACE") * @arg @c kGTLRHangoutsChat_DeprecatedEvent_Type_Unspecified Default value * for the enum. DO NOT USE. (Value: "UNSPECIFIED") + * @arg @c kGTLRHangoutsChat_DeprecatedEvent_Type_WidgetUpdated A user + * updates a widget in a card message or dialog. (Value: + * "WIDGET_UPDATED") */ @property(nonatomic, copy, nullable) NSString *type; @@ -2624,8 +2648,9 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * Add-on. Cards support a defined layout, interactive UI elements like * buttons, and rich media like images. Use cards to present detailed * information, gather information from users, and guide users to take a next - * step. To learn how to build cards, see the following documentation: * For - * Google Chat apps, see [Design dynamic, interactive, and consistent UIs with + * step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To + * learn how to build cards, see the following documentation: * For Google Chat + * apps, see [Design dynamic, interactive, and consistent UIs with * cards](https://developers.google.com/chat/ui). * For Google Workspace * Add-ons, see [Card-based * interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). @@ -3946,6 +3971,21 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * A Google Group in Google Chat. + */ +@interface GTLRHangoutsChat_Group : GTLRObject + +/** + * Resource name for a Google Group. Represents a + * [group](https://cloud.google.com/identity/docs/reference/rest/v1/groups) in + * Cloud Identity Groups API. Format: groups/{group} + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, * a data source from a Google Workspace application. The data source populates @@ -4319,11 +4359,21 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @interface GTLRHangoutsChat_Membership : GTLRObject /** - * Output only. The creation time of the membership, such as when a member - * joined or was invited to join a space. + * Optional. Immutable. The creation time of the membership, such as when a + * member joined or was invited to join a space. [Developer + * Preview](https://developers.google.com/workspace/preview): This field is + * output only, except when used to import historical memberships in import + * mode spaces. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * The Google Group the membership corresponds to. Only supports read + * operations. Other operations, like creating or updating a membership, aren't + * currently supported. + */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_Group *groupMember; + /** * The Google Chat user or app the membership corresponds to. If your Chat app * [authenticates as a @@ -4423,7 +4473,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * user](https://developers.google.com/chat/api/guides/auth/users), the * messages can't contain cards. To learn about cards and how to create them, * see [Design dynamic, interactive, and consistent UIs with - * cards](https://developers.google.com/chat/ui). + * cards](https://developers.google.com/chat/ui). [Card + * builder](https://addons.gsuite.google.com/uikit/builder) */ @property(nonatomic, strong, nullable) NSArray *cardsV2; @@ -4509,6 +4560,19 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Immutable. Input for creating a message, otherwise output only. The user + * that can view the message. When set, the message is private and only visible + * to the specified user and the Chat app. Link previews and attachments aren't + * supported for private messages. Only Chat apps can send private messages. If + * your Chat app [authenticates as a + * user](https://developers.google.com/chat/api/guides/auth/users) to send a + * message, the message can't be private and must omit this field. For details, + * see [Send private messages to Google Chat + * users](https://developers.google.com/chat/api/guides/v1/messages/private). + */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_User *privateMessageViewer; + /** * Output only. Information about a message that's quoted by a Google Chat user * in a space. Google Chat users can quote a message to reply to it. @@ -4657,6 +4721,25 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * List of widget autocomplete results. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "items" property. + */ +@interface GTLRHangoutsChat_SelectionItems : GTLRCollectionObject + +/** + * An array of the SelectionItem objects. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *items; + +@end + + /** * GTLRHangoutsChat_SetUpSpaceRequest */ @@ -5109,6 +5192,24 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * The response of the updated widget. Used to provide autocomplete options for + * a widget. + */ +@interface GTLRHangoutsChat_UpdatedWidget : GTLRObject + +/** List of widget autocomplete results */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_SelectionItems *suggestions; + +/** + * The ID of the updated widget. The ID must match the one for the widget that + * triggered the update request. + */ +@property(nonatomic, copy, nullable) NSString *widget; + +@end + + /** * GTLRHangoutsChat_UploadAttachmentRequest */ diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h index 69aed0429..d4ba671f5 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h @@ -46,7 +46,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionMessageRep FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessageFallbackToNewThread; /** * Creates the message as a reply to the thread specified by thread ID or - * `thread_key`. If it fails, a `NOT_FOUND` error is returned instead. + * `thread_key`. If a new `thread_key` is used, a new thread is created. If the + * message creation fails, a `NOT_FOUND` error is returned instead. * * Value: "REPLY_MESSAGE_OR_FAIL" */ @@ -257,12 +258,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * With [user * authentication](https://developers.google.com/chat/api/guides/auth/users), * returns the direct message space between the specified user and the - * authenticated user. With [service account + * authenticated user. With [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts), * returns the direct message space between the specified user and the calling * Chat app. Requires [user * authentication](https://developers.google.com/chat/api/guides/auth/users) or - * [service account + * [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). * * Method: chat.spaces.findDirectMessage @@ -298,12 +299,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * With [user * authentication](https://developers.google.com/chat/api/guides/auth/users), * returns the direct message space between the specified user and the - * authenticated user. With [service account + * authenticated user. With [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts), * returns the direct message space between the specified user and the calling * Chat app. Requires [user * authentication](https://developers.google.com/chat/api/guides/auth/users) or - * [service account + * [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). * * @return GTLRHangoutsChatQuery_SpacesFindDirectMessage @@ -316,8 +317,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Returns details about a space. For an example, see [Get a * space](https://developers.google.com/chat/api/guides/v1/spaces/get). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). @@ -343,8 +344,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Returns details about a space. For an example, see [Get a * space](https://developers.google.com/chat/api/guides/v1/spaces/get). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). @@ -363,8 +364,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * until the first message is sent. For an example, see [List * spaces](https://developers.google.com/chat/api/guides/v1/spaces/list). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). @@ -381,21 +382,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @interface GTLRHangoutsChatQuery_SpacesList : GTLRHangoutsChatQuery /** - * Optional. A query filter. Requires [user - * authentication](https://developers.google.com/chat/api/guides/auth/users). - * You can filter spaces by the space type + * Optional. A query filter. You can filter spaces by the space type * ([`space_type`](https://developers.google.com/chat/api/reference/rest/v1/spaces#spacetype)). * To filter by space type, you must specify valid enum value, such as `SPACE` * or `GROUP_CHAT` (the `space_type` can't be `SPACE_TYPE_UNSPECIFIED`). To * query for multiple space types, use the `OR` operator. For example, the * following queries are valid: ``` space_type = "SPACE" spaceType = * "GROUP_CHAT" OR spaceType = "DIRECT_MESSAGE" ``` Invalid queries are - * rejected by the server with an `INVALID_ARGUMENT` error. With [service - * account - * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts), - * this field is ignored and the query always returns all spaces. But the Chat - * API still validates the query syntax with service accounts, so invalid - * queries are still rejected. + * rejected by the server with an `INVALID_ARGUMENT` error. */ @property(nonatomic, copy, nullable) NSString *filter; @@ -423,8 +417,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * until the first message is sent. For an example, see [List * spaces](https://developers.google.com/chat/api/guides/v1/spaces/list). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). @@ -566,8 +560,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Returns details about a membership. For an example, see [Get a * membership](https://developers.google.com/chat/api/guides/v1/members/get). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). @@ -599,8 +593,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Returns details about a membership. For an example, see [Get a * membership](https://developers.google.com/chat/api/guides/v1/members/get). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). @@ -630,8 +624,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * authentication](https://developers.google.com/chat/api/guides/auth/users) * lists memberships in spaces that the authenticated user has access to. * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). @@ -687,6 +681,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. When `true`, also returns memberships associated with a Google + * Group, in addition to other types of memberships. If a filter is set, Google + * Group memberships that don't match the filter criteria aren't returned. + */ +@property(nonatomic, assign) BOOL showGroups; + /** * Optional. When `true`, also returns memberships associated with invited * members, in addition to other types of memberships. If a filter is set, @@ -708,8 +709,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * authentication](https://developers.google.com/chat/api/guides/auth/users) * lists memberships in spaces that the authenticated user has access to. * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). @@ -733,7 +734,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * API](https://developers.google.com/chat/api/reference/rest/v1/media/download). * For an example, see [Get a message * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/get). - * Requires [service account + * Requires [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). * * Method: chat.spaces.messages.attachments.get @@ -757,7 +758,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * API](https://developers.google.com/chat/api/reference/rest/v1/media/download). * For an example, see [Get a message * attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/get). - * Requires [service account + * Requires [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). * * @param name Required. Resource name of the attachment, in the form `spaces/ @@ -820,8 +821,9 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * (Value: "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD") * @arg @c kGTLRHangoutsChatMessageReplyOptionReplyMessageOrFail Creates the * message as a reply to the thread specified by thread ID or - * `thread_key`. If it fails, a `NOT_FOUND` error is returned instead. - * (Value: "REPLY_MESSAGE_OR_FAIL") + * `thread_key`. If a new `thread_key` is used, a new thread is created. + * If the message creation fails, a `NOT_FOUND` error is returned + * instead. (Value: "REPLY_MESSAGE_OR_FAIL") */ @property(nonatomic, copy, nullable) NSString *messageReplyOption; @@ -874,13 +876,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Deletes a message. For an example, see [Delete a * message](https://developers.google.com/chat/api/guides/v1/messages/delete). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). - * Requests authenticated with service accounts can only delete messages - * created by the calling Chat app. + * When using app authentication, requests can only delete messages created by + * the calling Chat app. * * Method: chat.spaces.messages.delete * @@ -896,7 +898,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * `false`, if a message has threaded replies, deletion fails. Only applies * when [authenticating as a * user](https://developers.google.com/chat/api/guides/auth/users). Has no - * effect when [authenticating with a service account] + * effect when [authenticating as a Chat app] * (https://developers.google.com/chat/api/guides/auth/service-accounts). */ @property(nonatomic, assign) BOOL force; @@ -914,13 +916,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Deletes a message. For an example, see [Delete a * message](https://developers.google.com/chat/api/guides/v1/messages/delete). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). - * Requests authenticated with service accounts can only delete messages - * created by the calling Chat app. + * When using app authentication, requests can only delete messages created by + * the calling Chat app. * * @param name Required. Resource name of the message that you want to delete, * in the form `spaces/ * /messages/ *` Example: @@ -936,8 +938,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Returns details about a message. For an example, see [Read a * message](https://developers.google.com/chat/api/guides/v1/messages/get). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). @@ -969,8 +971,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Returns details about a message. For an example, see [Read a * message](https://developers.google.com/chat/api/guides/v1/messages/get). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). @@ -1093,13 +1095,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * see [Update a * message](https://developers.google.com/chat/api/guides/v1/messages/update). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). - * Requests authenticated with service accounts can only update messages - * created by the calling Chat app. + * When using app authentication, requests can only update messages created by + * the calling Chat app. * * Method: chat.spaces.messages.patch * @@ -1127,9 +1129,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa /** * Required. The field paths to update. Separate multiple values with commas. * Currently supported field paths: - `text` - `attachment` - `cards` (Requires - * [service account authentication](/chat/api/guides/auth/service-accounts).) - - * `cards_v2` (Requires [service account - * authentication](/chat/api/guides/auth/service-accounts).) + * [app authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` + * (Requires [app authentication](/chat/api/guides/auth/service-accounts).) * * String format is a comma-separated list of fields. */ @@ -1144,13 +1145,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * see [Update a * message](https://developers.google.com/chat/api/guides/v1/messages/update). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). - * Requests authenticated with service accounts can only update messages - * created by the calling Chat app. + * When using app authentication, requests can only update messages created by + * the calling Chat app. * * @param object The @c GTLRHangoutsChat_Message to include in the query. * @param name Resource name in the form `spaces/ * /messages/ *`. Example: @@ -1335,13 +1336,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * see [Update a * message](https://developers.google.com/chat/api/guides/v1/messages/update). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). - * Requests authenticated with service accounts can only update messages - * created by the calling Chat app. + * When using app authentication, requests can only update messages created by + * the calling Chat app. * * Method: chat.spaces.messages.update * @@ -1369,9 +1370,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa /** * Required. The field paths to update. Separate multiple values with commas. * Currently supported field paths: - `text` - `attachment` - `cards` (Requires - * [service account authentication](/chat/api/guides/auth/service-accounts).) - - * `cards_v2` (Requires [service account - * authentication](/chat/api/guides/auth/service-accounts).) + * [app authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` + * (Requires [app authentication](/chat/api/guides/auth/service-accounts).) * * String format is a comma-separated list of fields. */ @@ -1386,13 +1386,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * see [Update a * message](https://developers.google.com/chat/api/guides/v1/messages/update). * Requires - * [authentication](https://developers.google.com/chat/api/guides/auth). Fully - * supports [service account + * [authentication](https://developers.google.com/chat/api/guides/auth). + * Supports [app * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) * and [user * authentication](https://developers.google.com/chat/api/guides/auth/users). - * Requests authenticated with service accounts can only update messages - * created by the calling Chat app. + * When using app authentication, requests can only update messages created by + * the calling Chat app. * * @param object The @c GTLRHangoutsChat_Message to include in the query. * @param name Resource name in the form `spaces/ * /messages/ *`. Example: diff --git a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h index 71ec19f9c..4227f5fee 100644 --- a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h +++ b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h @@ -1216,10 +1216,10 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns * (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:* + * example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERRORTo + * match all logs, don't add exclusions and use the following line as the value + * of filter:logName:*Cannot be empty or unset when the value of mode is + * OVERWRITE. */ @property(nonatomic, copy, nullable) NSString *filter; @@ -2616,11 +2616,11 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns /** * 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). + * part of the error group resource name: + * /project/[PROJECT_ID]/errors/[ERROR_GROUP_ID]. 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'). */ @@ -2895,9 +2895,9 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns /** * Describes a sink used to export log entries to one of the following - * destinations in any project: a Cloud Storage bucket, a BigQuery dataset, a - * Pub/Sub topic or a Cloud Logging log bucket. A logs filter controls which - * log entries are exported. The sink must be created within a project, + * destinations: a Cloud Logging log bucket, a Cloud Storage bucket, a BigQuery + * dataset, a Pub/Sub topic, a Cloud project.A logs filter controls which log + * entries are exported. The sink must be created within a project, * organization, billing account, or folder. */ @interface GTLRLogging_LogSink : GTLRObject @@ -2976,9 +2976,9 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns /** * Required. The client-assigned sink identifier, unique within the project.For - * example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 + * example: "my-syslog-errors-to-pubsub".Sink identifiers are limited to 100 * characters and can include only the following characters: upper and - * lower-case alphanumeric characters, underscores, hyphens, and periods. First + * lower-case alphanumeric characters, underscores, hyphens, periods.First * character has to be alphanumeric. */ @property(nonatomic, copy, nullable) NSString *name; @@ -3071,10 +3071,13 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns /** * Filter that restricts which log entries in a bucket are visible in this - * view.Filters are restricted to be a logical AND of ==/!= of any of the - * following: originating project/folder/organization/billing account. resource - * type log idFor example:SOURCE("projects/myproject") AND resource.type = - * "gce_instance" AND LOG_ID("stdout") + * view.Filters must be logical conjunctions that use the AND operator, and + * they can use any of the following qualifiers: SOURCE(), which specifies a + * project, folder, organization, or billing account of origin. resource.type, + * which specifies the resource type. LOG_ID(), which identifies the log.They + * can also use the negations of these qualifiers with the NOT operator.For + * example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND + * NOT LOG_ID("stdout") */ @property(nonatomic, copy, nullable) NSString *filter; @@ -3933,8 +3936,8 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns /** - * Describes the settings associated with a project, folder, organization, - * billing account, or flexible resource. + * Describes the settings associated with a project, folder, organization, or + * billing account. */ @interface GTLRLogging_Settings : GTLRObject @@ -3957,16 +3960,12 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * For * example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To - * enable CMEK for the Log Router, set this field to a valid kms_key_name for - * which the associated service account has the required - * roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.The - * Cloud KMS key used by the Log Router can be updated by changing the - * kms_key_name to a new valid key name. Encryption operations that are in - * progress will be completed with the key that was in use when they started. - * Decryption operations will be completed using the key that was used at the - * time of encryption unless access to that key has been revoked.To disable - * CMEK for the Log Router, set this field to an empty string.See Enabling CMEK - * for Log Router + * enable CMEK, set this field to a valid kms_key_name for which the associated + * service account has the required roles/cloudkms.cryptoKeyEncrypterDecrypter + * role assigned for the key.The Cloud KMS key used by the Log Router can be + * updated by changing the kms_key_name to a new valid key name.To disable CMEK + * for the Log Router, set this field to an empty string.See Enabling CMEK for + * Log Router * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more * information. */ @@ -3974,12 +3973,12 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns /** * Output only. The service account that will be used by the Log Router to - * access your Cloud KMS key.Before enabling CMEK for Log Router, you must - * first assign the role roles/cloudkms.cryptoKeyEncrypterDecrypter to the - * service account that the Log Router will use to access your Cloud KMS key. - * Use GetSettings to obtain the service account ID.See Enabling CMEK for Log - * Router (https://cloud.google.com/logging/docs/routing/managed-encryption) - * for more information. + * access your Cloud KMS key.Before enabling CMEK, you must first assign the + * role roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account that + * will be used to access your Cloud KMS key. Use GetSettings to obtain the + * service account ID.See Enabling CMEK for Log Router + * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more + * information. */ @property(nonatomic, copy, nullable) NSString *kmsServiceAccountId; @@ -3995,12 +3994,11 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @property(nonatomic, copy, nullable) NSString *name; /** - * Optional. The storage location that Cloud Logging will use to create new - * resources when a location is needed but not explicitly provided. The use - * cases includes: The location of _Default and _Required log bucket for newly - * created projects and folders.Example value: europe-west1.Note: this setting - * does not affect the location of resources where a location is explicitly - * provided when created, such as custom log buckets. + * Optional. The storage location for the _Default and _Required log buckets of + * newly created projects and folders, unless the storage location is + * explicitly provided.Example value: europe-west1.Note: this setting does not + * affect the location of resources where a location is explicitly provided + * when created, such as custom log buckets. */ @property(nonatomic, copy, nullable) NSString *storageLocation; diff --git a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h index ef9a8a7de..4bf5e122f 100644 --- a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h +++ b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h @@ -265,7 +265,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log - * Router can be configured for Google Cloud projects, folders, organizations + * Router can be configured for Google Cloud projects, folders, organizations, * and billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization.See Enabling CMEK for * Log Router @@ -289,7 +289,7 @@ NS_ASSUME_NONNULL_BEGIN * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" * "folders/[FOLDER_ID]/cmekSettings" For * example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can - * be configured for Google Cloud projects, folders, organizations and billing + * be configured for Google Cloud projects, folders, organizations, and billing * accounts. Once configured for an organization, it applies to all projects * and folders in the Google Cloud organization. */ @@ -299,7 +299,7 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_CmekSettings. * * Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log - * Router can be configured for Google Cloud projects, folders, organizations + * Router can be configured for Google Cloud projects, folders, organizations, * and billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization.See Enabling CMEK for * Log Router @@ -312,7 +312,7 @@ NS_ASSUME_NONNULL_BEGIN * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" * "folders/[FOLDER_ID]/cmekSettings" For * example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router - * can be configured for Google Cloud projects, folders, organizations and + * can be configured for Google Cloud projects, folders, organizations, and * billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization. * @@ -323,13 +323,11 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Gets the Log Router settings for the given resource.Note: Settings for the - * Log Router can be get for Google Cloud projects, folders, organizations and - * billing accounts. Currently it can only be configured for organizations. - * Once configured for an organization, it applies to all projects and folders - * in the Google Cloud organization.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more - * information. + * Gets the settings for the given resource.Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts.See View + * default resource settings for Logging + * (https://cloud.google.com/logging/docs/default-settings#view-org-settings) + * for more information. * * Method: logging.billingAccounts.getSettings * @@ -346,35 +344,27 @@ NS_ASSUME_NONNULL_BEGIN * "projects/[PROJECT_ID]/settings" "organizations/[ORGANIZATION_ID]/settings" * "billingAccounts/[BILLING_ACCOUNT_ID]/settings" * "folders/[FOLDER_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router can - * be get for Google Cloud projects, folders, organizations and billing - * accounts. Currently it can only be configured for organizations. Once - * configured for an organization, it applies to all projects and folders in - * the Google Cloud organization. + * example:"organizations/12345/settings"Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRLogging_Settings. * - * Gets the Log Router settings for the given resource.Note: Settings for the - * Log Router can be get for Google Cloud projects, folders, organizations and - * billing accounts. Currently it can only be configured for organizations. - * Once configured for an organization, it applies to all projects and folders - * in the Google Cloud organization.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more - * information. + * Gets the settings for the given resource.Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts.See View + * default resource settings for Logging + * (https://cloud.google.com/logging/docs/default-settings#view-org-settings) + * for more information. * * @param name Required. The resource for which to retrieve settings. * "projects/[PROJECT_ID]/settings" * "organizations/[ORGANIZATION_ID]/settings" * "billingAccounts/[BILLING_ACCOUNT_ID]/settings" * "folders/[FOLDER_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router - * can be get for Google Cloud projects, folders, organizations and billing - * accounts. Currently it can only be configured for organizations. Once - * configured for an organization, it applies to all projects and folders in - * the Google Cloud organization. + * example:"organizations/12345/settings"Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts. * * @return GTLRLoggingQuery_BillingAccountsGetSettings */ @@ -1196,10 +1186,11 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a view on a log bucket. This method replaces the following fields in - * the existing view with values from the new view: filter. If an UNAVAILABLE - * error is returned, this indicates that system is not in a state where it can - * update the view. If this occurs, please try again in a few minutes. + * Updates a view on a log bucket. This method replaces the value of the filter + * field from the existing view with the corresponding value from the new view. + * If an UNAVAILABLE error is returned, this indicates that system is not in a + * state where it can update the view. If this occurs, please try again in a + * few minutes. * * Method: logging.billingAccounts.locations.buckets.views.patch * @@ -1232,10 +1223,11 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogView. * - * Updates a view on a log bucket. This method replaces the following fields in - * the existing view with values from the new view: filter. If an UNAVAILABLE - * error is returned, this indicates that system is not in a state where it can - * update the view. If this occurs, please try again in a few minutes. + * Updates a view on a log bucket. This method replaces the value of the filter + * field from the existing view with the corresponding value from the new view. + * If an UNAVAILABLE error is returned, this indicates that system is not in a + * state where it can update the view. If this occurs, please try again in a + * few minutes. * * @param object The @c GTLRLogging_LogView to include in the query. * @param name Required. The full resource name of the view to update @@ -1545,8 +1537,8 @@ NS_ASSUME_NONNULL_BEGIN * 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. + * upper and lower-case alphanumeric characters, underscores, hyphens, + * periods.First character has to be alphanumeric. */ @property(nonatomic, copy, nullable) NSString *savedQueryId; @@ -1998,9 +1990,10 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * Method: logging.billingAccounts.sinks.patch * @@ -2060,9 +2053,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogSink. * - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -2081,9 +2075,10 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * Method: logging.billingAccounts.sinks.update * @@ -2143,9 +2138,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogSink. * - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -2746,7 +2742,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log - * Router can be configured for Google Cloud projects, folders, organizations + * Router can be configured for Google Cloud projects, folders, organizations, * and billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization.See Enabling CMEK for * Log Router @@ -2770,7 +2766,7 @@ NS_ASSUME_NONNULL_BEGIN * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" * "folders/[FOLDER_ID]/cmekSettings" For * example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can - * be configured for Google Cloud projects, folders, organizations and billing + * be configured for Google Cloud projects, folders, organizations, and billing * accounts. Once configured for an organization, it applies to all projects * and folders in the Google Cloud organization. */ @@ -2780,7 +2776,7 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_CmekSettings. * * Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log - * Router can be configured for Google Cloud projects, folders, organizations + * Router can be configured for Google Cloud projects, folders, organizations, * and billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization.See Enabling CMEK for * Log Router @@ -2793,7 +2789,7 @@ NS_ASSUME_NONNULL_BEGIN * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" * "folders/[FOLDER_ID]/cmekSettings" For * example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router - * can be configured for Google Cloud projects, folders, organizations and + * can be configured for Google Cloud projects, folders, organizations, and * billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization. * @@ -2804,13 +2800,11 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Gets the Log Router settings for the given resource.Note: Settings for the - * Log Router can be get for Google Cloud projects, folders, organizations and - * billing accounts. Currently it can only be configured for organizations. - * Once configured for an organization, it applies to all projects and folders - * in the Google Cloud organization.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more - * information. + * Gets the settings for the given resource.Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts.See View + * default resource settings for Logging + * (https://cloud.google.com/logging/docs/default-settings#view-org-settings) + * for more information. * * Method: logging.folders.getSettings * @@ -2827,35 +2821,27 @@ NS_ASSUME_NONNULL_BEGIN * "projects/[PROJECT_ID]/settings" "organizations/[ORGANIZATION_ID]/settings" * "billingAccounts/[BILLING_ACCOUNT_ID]/settings" * "folders/[FOLDER_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router can - * be get for Google Cloud projects, folders, organizations and billing - * accounts. Currently it can only be configured for organizations. Once - * configured for an organization, it applies to all projects and folders in - * the Google Cloud organization. + * example:"organizations/12345/settings"Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRLogging_Settings. * - * Gets the Log Router settings for the given resource.Note: Settings for the - * Log Router can be get for Google Cloud projects, folders, organizations and - * billing accounts. Currently it can only be configured for organizations. - * Once configured for an organization, it applies to all projects and folders - * in the Google Cloud organization.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more - * information. + * Gets the settings for the given resource.Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts.See View + * default resource settings for Logging + * (https://cloud.google.com/logging/docs/default-settings#view-org-settings) + * for more information. * * @param name Required. The resource for which to retrieve settings. * "projects/[PROJECT_ID]/settings" * "organizations/[ORGANIZATION_ID]/settings" * "billingAccounts/[BILLING_ACCOUNT_ID]/settings" * "folders/[FOLDER_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router - * can be get for Google Cloud projects, folders, organizations and billing - * accounts. Currently it can only be configured for organizations. Once - * configured for an organization, it applies to all projects and folders in - * the Google Cloud organization. + * example:"organizations/12345/settings"Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts. * * @return GTLRLoggingQuery_FoldersGetSettings */ @@ -3677,10 +3663,11 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a view on a log bucket. This method replaces the following fields in - * the existing view with values from the new view: filter. If an UNAVAILABLE - * error is returned, this indicates that system is not in a state where it can - * update the view. If this occurs, please try again in a few minutes. + * Updates a view on a log bucket. This method replaces the value of the filter + * field from the existing view with the corresponding value from the new view. + * If an UNAVAILABLE error is returned, this indicates that system is not in a + * state where it can update the view. If this occurs, please try again in a + * few minutes. * * Method: logging.folders.locations.buckets.views.patch * @@ -3713,10 +3700,11 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogView. * - * Updates a view on a log bucket. This method replaces the following fields in - * the existing view with values from the new view: filter. If an UNAVAILABLE - * error is returned, this indicates that system is not in a state where it can - * update the view. If this occurs, please try again in a few minutes. + * Updates a view on a log bucket. This method replaces the value of the filter + * field from the existing view with the corresponding value from the new view. + * If an UNAVAILABLE error is returned, this indicates that system is not in a + * state where it can update the view. If this occurs, please try again in a + * few minutes. * * @param object The @c GTLRLogging_LogView to include in the query. * @param name Required. The full resource name of the view to update @@ -4026,8 +4014,8 @@ NS_ASSUME_NONNULL_BEGIN * 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. + * upper and lower-case alphanumeric characters, underscores, hyphens, + * periods.First character has to be alphanumeric. */ @property(nonatomic, copy, nullable) NSString *savedQueryId; @@ -4479,9 +4467,10 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * Method: logging.folders.sinks.patch * @@ -4541,9 +4530,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogSink. * - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -4562,9 +4552,10 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * Method: logging.folders.sinks.update * @@ -4624,9 +4615,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogSink. * - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -4645,15 +4637,16 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates the Log Router settings for the given resource.Note: Settings for - * the Log Router can currently only be configured for Google Cloud - * organizations. Once configured, it applies to all projects and folders in - * the Google Cloud organization.UpdateSettings will fail if 1) kms_key_name is - * invalid, or 2) the associated service account does not have the required - * roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) - * access to the key is disabled. 4) location_id is not supported by Logging. - * 5) location_id violate OrgPolicy.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more + * Updates the settings for the given resource. This method applies to all + * feature configurations for organization and folders.UpdateSettings fails + * when any of the following are true: The value of storage_location either + * isn't supported by Logging or violates the location OrgPolicy. The + * default_sink_config field is set, but it has an unspecified filter write + * mode. The value of kms_key_name is invalid. The associated service account + * doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role + * assigned for the key. Access to the key is disabled.See Configure default + * settings for organizations and folders + * (https://cloud.google.com/logging/docs/default-settings) for more * information. * * Method: logging.folders.updateSettings @@ -4667,10 +4660,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name for the settings to update. * "organizations/[ORGANIZATION_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router can - * currently only be configured for Google Cloud organizations. Once - * configured, it applies to all projects and folders in the Google Cloud - * organization. + * example:"organizations/12345/settings" */ @property(nonatomic, copy, nullable) NSString *name; @@ -4687,24 +4677,22 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_Settings. * - * Updates the Log Router settings for the given resource.Note: Settings for - * the Log Router can currently only be configured for Google Cloud - * organizations. Once configured, it applies to all projects and folders in - * the Google Cloud organization.UpdateSettings will fail if 1) kms_key_name is - * invalid, or 2) the associated service account does not have the required - * roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) - * access to the key is disabled. 4) location_id is not supported by Logging. - * 5) location_id violate OrgPolicy.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more + * Updates the settings for the given resource. This method applies to all + * feature configurations for organization and folders.UpdateSettings fails + * when any of the following are true: The value of storage_location either + * isn't supported by Logging or violates the location OrgPolicy. The + * default_sink_config field is set, but it has an unspecified filter write + * mode. The value of kms_key_name is invalid. The associated service account + * doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role + * assigned for the key. Access to the key is disabled.See Configure default + * settings for organizations and folders + * (https://cloud.google.com/logging/docs/default-settings) for more * information. * * @param object The @c GTLRLogging_Settings to include in the query. * @param name Required. The resource name for the settings to update. * "organizations/[ORGANIZATION_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router - * can currently only be configured for Google Cloud organizations. Once - * configured, it applies to all projects and folders in the Google Cloud - * organization. + * example:"organizations/12345/settings" * * @return GTLRLoggingQuery_FoldersUpdateSettings */ @@ -5462,10 +5450,11 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a view on a log bucket. This method replaces the following fields in - * the existing view with values from the new view: filter. If an UNAVAILABLE - * error is returned, this indicates that system is not in a state where it can - * update the view. If this occurs, please try again in a few minutes. + * Updates a view on a log bucket. This method replaces the value of the filter + * field from the existing view with the corresponding value from the new view. + * If an UNAVAILABLE error is returned, this indicates that system is not in a + * state where it can update the view. If this occurs, please try again in a + * few minutes. * * Method: logging.locations.buckets.views.patch * @@ -5498,10 +5487,11 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogView. * - * Updates a view on a log bucket. This method replaces the following fields in - * the existing view with values from the new view: filter. If an UNAVAILABLE - * error is returned, this indicates that system is not in a state where it can - * update the view. If this occurs, please try again in a few minutes. + * Updates a view on a log bucket. This method replaces the value of the filter + * field from the existing view with the corresponding value from the new view. + * If an UNAVAILABLE error is returned, this indicates that system is not in a + * state where it can update the view. If this occurs, please try again in a + * few minutes. * * @param object The @c GTLRLogging_LogView to include in the query. * @param name Required. The full resource name of the view to update @@ -6109,7 +6099,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log - * Router can be configured for Google Cloud projects, folders, organizations + * Router can be configured for Google Cloud projects, folders, organizations, * and billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization.See Enabling CMEK for * Log Router @@ -6133,7 +6123,7 @@ NS_ASSUME_NONNULL_BEGIN * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" * "folders/[FOLDER_ID]/cmekSettings" For * example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can - * be configured for Google Cloud projects, folders, organizations and billing + * be configured for Google Cloud projects, folders, organizations, and billing * accounts. Once configured for an organization, it applies to all projects * and folders in the Google Cloud organization. */ @@ -6143,7 +6133,7 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_CmekSettings. * * Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log - * Router can be configured for Google Cloud projects, folders, organizations + * Router can be configured for Google Cloud projects, folders, organizations, * and billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization.See Enabling CMEK for * Log Router @@ -6156,7 +6146,7 @@ NS_ASSUME_NONNULL_BEGIN * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" * "folders/[FOLDER_ID]/cmekSettings" For * example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router - * can be configured for Google Cloud projects, folders, organizations and + * can be configured for Google Cloud projects, folders, organizations, and * billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization. * @@ -6167,13 +6157,11 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Gets the Log Router settings for the given resource.Note: Settings for the - * Log Router can be get for Google Cloud projects, folders, organizations and - * billing accounts. Currently it can only be configured for organizations. - * Once configured for an organization, it applies to all projects and folders - * in the Google Cloud organization.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more - * information. + * Gets the settings for the given resource.Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts.See View + * default resource settings for Logging + * (https://cloud.google.com/logging/docs/default-settings#view-org-settings) + * for more information. * * Method: logging.organizations.getSettings * @@ -6190,35 +6178,27 @@ NS_ASSUME_NONNULL_BEGIN * "projects/[PROJECT_ID]/settings" "organizations/[ORGANIZATION_ID]/settings" * "billingAccounts/[BILLING_ACCOUNT_ID]/settings" * "folders/[FOLDER_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router can - * be get for Google Cloud projects, folders, organizations and billing - * accounts. Currently it can only be configured for organizations. Once - * configured for an organization, it applies to all projects and folders in - * the Google Cloud organization. + * example:"organizations/12345/settings"Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRLogging_Settings. * - * Gets the Log Router settings for the given resource.Note: Settings for the - * Log Router can be get for Google Cloud projects, folders, organizations and - * billing accounts. Currently it can only be configured for organizations. - * Once configured for an organization, it applies to all projects and folders - * in the Google Cloud organization.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more - * information. + * Gets the settings for the given resource.Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts.See View + * default resource settings for Logging + * (https://cloud.google.com/logging/docs/default-settings#view-org-settings) + * for more information. * * @param name Required. The resource for which to retrieve settings. * "projects/[PROJECT_ID]/settings" * "organizations/[ORGANIZATION_ID]/settings" * "billingAccounts/[BILLING_ACCOUNT_ID]/settings" * "folders/[FOLDER_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router - * can be get for Google Cloud projects, folders, organizations and billing - * accounts. Currently it can only be configured for organizations. Once - * configured for an organization, it applies to all projects and folders in - * the Google Cloud organization. + * example:"organizations/12345/settings"Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts. * * @return GTLRLoggingQuery_OrganizationsGetSettings */ @@ -7040,10 +7020,11 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a view on a log bucket. This method replaces the following fields in - * the existing view with values from the new view: filter. If an UNAVAILABLE - * error is returned, this indicates that system is not in a state where it can - * update the view. If this occurs, please try again in a few minutes. + * Updates a view on a log bucket. This method replaces the value of the filter + * field from the existing view with the corresponding value from the new view. + * If an UNAVAILABLE error is returned, this indicates that system is not in a + * state where it can update the view. If this occurs, please try again in a + * few minutes. * * Method: logging.organizations.locations.buckets.views.patch * @@ -7076,10 +7057,11 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogView. * - * Updates a view on a log bucket. This method replaces the following fields in - * the existing view with values from the new view: filter. If an UNAVAILABLE - * error is returned, this indicates that system is not in a state where it can - * update the view. If this occurs, please try again in a few minutes. + * Updates a view on a log bucket. This method replaces the value of the filter + * field from the existing view with the corresponding value from the new view. + * If an UNAVAILABLE error is returned, this indicates that system is not in a + * state where it can update the view. If this occurs, please try again in a + * few minutes. * * @param object The @c GTLRLogging_LogView to include in the query. * @param name Required. The full resource name of the view to update @@ -7389,8 +7371,8 @@ NS_ASSUME_NONNULL_BEGIN * 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. + * upper and lower-case alphanumeric characters, underscores, hyphens, + * periods.First character has to be alphanumeric. */ @property(nonatomic, copy, nullable) NSString *savedQueryId; @@ -7842,9 +7824,10 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * Method: logging.organizations.sinks.patch * @@ -7904,9 +7887,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogSink. * - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -7925,9 +7909,10 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * Method: logging.organizations.sinks.update * @@ -7987,9 +7972,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogSink. * - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -8011,12 +7997,13 @@ NS_ASSUME_NONNULL_BEGIN * Updates the Log Router CMEK settings for the given resource.Note: CMEK for * the Log Router can currently only be configured for Google Cloud * organizations. Once configured, it applies to all projects and folders in - * the Google Cloud organization.UpdateCmekSettings will fail if 1) - * kms_key_name is invalid, or 2) the associated service account does not have - * the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for - * the key, or 3) access to the key is disabled.See Enabling CMEK for Log - * Router (https://cloud.google.com/logging/docs/routing/managed-encryption) - * for more information. + * the Google Cloud organization.UpdateCmekSettings fails when any of the + * following are true: The value of kms_key_name is invalid. The associated + * service account doesn't have the required + * roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access + * to the key is disabled.See Enabling CMEK for Log Router + * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more + * information. * * Method: logging.organizations.updateCmekSettings * @@ -8055,12 +8042,13 @@ NS_ASSUME_NONNULL_BEGIN * Updates the Log Router CMEK settings for the given resource.Note: CMEK for * the Log Router can currently only be configured for Google Cloud * organizations. Once configured, it applies to all projects and folders in - * the Google Cloud organization.UpdateCmekSettings will fail if 1) - * kms_key_name is invalid, or 2) the associated service account does not have - * the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for - * the key, or 3) access to the key is disabled.See Enabling CMEK for Log - * Router (https://cloud.google.com/logging/docs/routing/managed-encryption) - * for more information. + * the Google Cloud organization.UpdateCmekSettings fails when any of the + * following are true: The value of kms_key_name is invalid. The associated + * service account doesn't have the required + * roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access + * to the key is disabled.See Enabling CMEK for Log Router + * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more + * information. * * @param object The @c GTLRLogging_CmekSettings to include in the query. * @param name Required. The resource name for the CMEK settings to update. @@ -8081,15 +8069,16 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates the Log Router settings for the given resource.Note: Settings for - * the Log Router can currently only be configured for Google Cloud - * organizations. Once configured, it applies to all projects and folders in - * the Google Cloud organization.UpdateSettings will fail if 1) kms_key_name is - * invalid, or 2) the associated service account does not have the required - * roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) - * access to the key is disabled. 4) location_id is not supported by Logging. - * 5) location_id violate OrgPolicy.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more + * Updates the settings for the given resource. This method applies to all + * feature configurations for organization and folders.UpdateSettings fails + * when any of the following are true: The value of storage_location either + * isn't supported by Logging or violates the location OrgPolicy. The + * default_sink_config field is set, but it has an unspecified filter write + * mode. The value of kms_key_name is invalid. The associated service account + * doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role + * assigned for the key. Access to the key is disabled.See Configure default + * settings for organizations and folders + * (https://cloud.google.com/logging/docs/default-settings) for more * information. * * Method: logging.organizations.updateSettings @@ -8103,10 +8092,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name for the settings to update. * "organizations/[ORGANIZATION_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router can - * currently only be configured for Google Cloud organizations. Once - * configured, it applies to all projects and folders in the Google Cloud - * organization. + * example:"organizations/12345/settings" */ @property(nonatomic, copy, nullable) NSString *name; @@ -8123,24 +8109,22 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_Settings. * - * Updates the Log Router settings for the given resource.Note: Settings for - * the Log Router can currently only be configured for Google Cloud - * organizations. Once configured, it applies to all projects and folders in - * the Google Cloud organization.UpdateSettings will fail if 1) kms_key_name is - * invalid, or 2) the associated service account does not have the required - * roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) - * access to the key is disabled. 4) location_id is not supported by Logging. - * 5) location_id violate OrgPolicy.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more + * Updates the settings for the given resource. This method applies to all + * feature configurations for organization and folders.UpdateSettings fails + * when any of the following are true: The value of storage_location either + * isn't supported by Logging or violates the location OrgPolicy. The + * default_sink_config field is set, but it has an unspecified filter write + * mode. The value of kms_key_name is invalid. The associated service account + * doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role + * assigned for the key. Access to the key is disabled.See Configure default + * settings for organizations and folders + * (https://cloud.google.com/logging/docs/default-settings) for more * information. * * @param object The @c GTLRLogging_Settings to include in the query. * @param name Required. The resource name for the settings to update. * "organizations/[ORGANIZATION_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router - * can currently only be configured for Google Cloud organizations. Once - * configured, it applies to all projects and folders in the Google Cloud - * organization. + * example:"organizations/12345/settings" * * @return GTLRLoggingQuery_OrganizationsUpdateSettings */ @@ -8381,7 +8365,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log - * Router can be configured for Google Cloud projects, folders, organizations + * Router can be configured for Google Cloud projects, folders, organizations, * and billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization.See Enabling CMEK for * Log Router @@ -8405,7 +8389,7 @@ NS_ASSUME_NONNULL_BEGIN * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" * "folders/[FOLDER_ID]/cmekSettings" For * example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can - * be configured for Google Cloud projects, folders, organizations and billing + * be configured for Google Cloud projects, folders, organizations, and billing * accounts. Once configured for an organization, it applies to all projects * and folders in the Google Cloud organization. */ @@ -8415,7 +8399,7 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_CmekSettings. * * Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log - * Router can be configured for Google Cloud projects, folders, organizations + * Router can be configured for Google Cloud projects, folders, organizations, * and billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization.See Enabling CMEK for * Log Router @@ -8428,7 +8412,7 @@ NS_ASSUME_NONNULL_BEGIN * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" * "folders/[FOLDER_ID]/cmekSettings" For * example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router - * can be configured for Google Cloud projects, folders, organizations and + * can be configured for Google Cloud projects, folders, organizations, and * billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization. * @@ -8439,13 +8423,11 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Gets the Log Router settings for the given resource.Note: Settings for the - * Log Router can be get for Google Cloud projects, folders, organizations and - * billing accounts. Currently it can only be configured for organizations. - * Once configured for an organization, it applies to all projects and folders - * in the Google Cloud organization.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more - * information. + * Gets the settings for the given resource.Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts.See View + * default resource settings for Logging + * (https://cloud.google.com/logging/docs/default-settings#view-org-settings) + * for more information. * * Method: logging.projects.getSettings * @@ -8462,35 +8444,27 @@ NS_ASSUME_NONNULL_BEGIN * "projects/[PROJECT_ID]/settings" "organizations/[ORGANIZATION_ID]/settings" * "billingAccounts/[BILLING_ACCOUNT_ID]/settings" * "folders/[FOLDER_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router can - * be get for Google Cloud projects, folders, organizations and billing - * accounts. Currently it can only be configured for organizations. Once - * configured for an organization, it applies to all projects and folders in - * the Google Cloud organization. + * example:"organizations/12345/settings"Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRLogging_Settings. * - * Gets the Log Router settings for the given resource.Note: Settings for the - * Log Router can be get for Google Cloud projects, folders, organizations and - * billing accounts. Currently it can only be configured for organizations. - * Once configured for an organization, it applies to all projects and folders - * in the Google Cloud organization.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more - * information. + * Gets the settings for the given resource.Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts.See View + * default resource settings for Logging + * (https://cloud.google.com/logging/docs/default-settings#view-org-settings) + * for more information. * * @param name Required. The resource for which to retrieve settings. * "projects/[PROJECT_ID]/settings" * "organizations/[ORGANIZATION_ID]/settings" * "billingAccounts/[BILLING_ACCOUNT_ID]/settings" * "folders/[FOLDER_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router - * can be get for Google Cloud projects, folders, organizations and billing - * accounts. Currently it can only be configured for organizations. Once - * configured for an organization, it applies to all projects and folders in - * the Google Cloud organization. + * example:"organizations/12345/settings"Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts. * * @return GTLRLoggingQuery_ProjectsGetSettings */ @@ -9312,10 +9286,11 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a view on a log bucket. This method replaces the following fields in - * the existing view with values from the new view: filter. If an UNAVAILABLE - * error is returned, this indicates that system is not in a state where it can - * update the view. If this occurs, please try again in a few minutes. + * Updates a view on a log bucket. This method replaces the value of the filter + * field from the existing view with the corresponding value from the new view. + * If an UNAVAILABLE error is returned, this indicates that system is not in a + * state where it can update the view. If this occurs, please try again in a + * few minutes. * * Method: logging.projects.locations.buckets.views.patch * @@ -9348,10 +9323,11 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogView. * - * Updates a view on a log bucket. This method replaces the following fields in - * the existing view with values from the new view: filter. If an UNAVAILABLE - * error is returned, this indicates that system is not in a state where it can - * update the view. If this occurs, please try again in a few minutes. + * Updates a view on a log bucket. This method replaces the value of the filter + * field from the existing view with the corresponding value from the new view. + * If an UNAVAILABLE error is returned, this indicates that system is not in a + * state where it can update the view. If this occurs, please try again in a + * few minutes. * * @param object The @c GTLRLogging_LogView to include in the query. * @param name Required. The full resource name of the view to update @@ -9661,8 +9637,8 @@ NS_ASSUME_NONNULL_BEGIN * 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. + * upper and lower-case alphanumeric characters, underscores, hyphens, + * periods.First character has to be alphanumeric. */ @property(nonatomic, copy, nullable) NSString *savedQueryId; @@ -10305,9 +10281,10 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * Method: logging.projects.sinks.patch * @@ -10367,9 +10344,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogSink. * - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -10388,9 +10366,10 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * Method: logging.projects.sinks.update * @@ -10450,9 +10429,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogSink. * - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -10675,9 +10655,10 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * Method: logging.sinks.update * @@ -10737,9 +10718,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_LogSink. * - * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter.The updated sink - * might also have a new writer_identity; see the unique_writer_identity field. + * Updates a sink. This method replaces the values of the destination and + * filter fields of the existing sink with the corresponding values from the + * new sink.The updated sink might also have a new writer_identity; see the + * unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -10759,7 +10741,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log - * Router can be configured for Google Cloud projects, folders, organizations + * Router can be configured for Google Cloud projects, folders, organizations, * and billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization.See Enabling CMEK for * Log Router @@ -10783,7 +10765,7 @@ NS_ASSUME_NONNULL_BEGIN * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" * "folders/[FOLDER_ID]/cmekSettings" For * example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can - * be configured for Google Cloud projects, folders, organizations and billing + * be configured for Google Cloud projects, folders, organizations, and billing * accounts. Once configured for an organization, it applies to all projects * and folders in the Google Cloud organization. */ @@ -10793,7 +10775,7 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_CmekSettings. * * Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log - * Router can be configured for Google Cloud projects, folders, organizations + * Router can be configured for Google Cloud projects, folders, organizations, * and billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization.See Enabling CMEK for * Log Router @@ -10806,7 +10788,7 @@ NS_ASSUME_NONNULL_BEGIN * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" * "folders/[FOLDER_ID]/cmekSettings" For * example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router - * can be configured for Google Cloud projects, folders, organizations and + * can be configured for Google Cloud projects, folders, organizations, and * billing accounts. Once configured for an organization, it applies to all * projects and folders in the Google Cloud organization. * @@ -10817,13 +10799,11 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Gets the Log Router settings for the given resource.Note: Settings for the - * Log Router can be get for Google Cloud projects, folders, organizations and - * billing accounts. Currently it can only be configured for organizations. - * Once configured for an organization, it applies to all projects and folders - * in the Google Cloud organization.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more - * information. + * Gets the settings for the given resource.Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts.See View + * default resource settings for Logging + * (https://cloud.google.com/logging/docs/default-settings#view-org-settings) + * for more information. * * Method: logging.getSettings * @@ -10840,35 +10820,27 @@ NS_ASSUME_NONNULL_BEGIN * "projects/[PROJECT_ID]/settings" "organizations/[ORGANIZATION_ID]/settings" * "billingAccounts/[BILLING_ACCOUNT_ID]/settings" * "folders/[FOLDER_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router can - * be get for Google Cloud projects, folders, organizations and billing - * accounts. Currently it can only be configured for organizations. Once - * configured for an organization, it applies to all projects and folders in - * the Google Cloud organization. + * example:"organizations/12345/settings"Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRLogging_Settings. * - * Gets the Log Router settings for the given resource.Note: Settings for the - * Log Router can be get for Google Cloud projects, folders, organizations and - * billing accounts. Currently it can only be configured for organizations. - * Once configured for an organization, it applies to all projects and folders - * in the Google Cloud organization.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more - * information. + * Gets the settings for the given resource.Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts.See View + * default resource settings for Logging + * (https://cloud.google.com/logging/docs/default-settings#view-org-settings) + * for more information. * * @param name Required. The resource for which to retrieve settings. * "projects/[PROJECT_ID]/settings" * "organizations/[ORGANIZATION_ID]/settings" * "billingAccounts/[BILLING_ACCOUNT_ID]/settings" * "folders/[FOLDER_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router - * can be get for Google Cloud projects, folders, organizations and billing - * accounts. Currently it can only be configured for organizations. Once - * configured for an organization, it applies to all projects and folders in - * the Google Cloud organization. + * example:"organizations/12345/settings"Note: Settings can be retrieved for + * Google Cloud projects, folders, organizations, and billing accounts. * * @return GTLRLoggingQuery_V2GetSettings */ @@ -10880,12 +10852,13 @@ NS_ASSUME_NONNULL_BEGIN * Updates the Log Router CMEK settings for the given resource.Note: CMEK for * the Log Router can currently only be configured for Google Cloud * organizations. Once configured, it applies to all projects and folders in - * the Google Cloud organization.UpdateCmekSettings will fail if 1) - * kms_key_name is invalid, or 2) the associated service account does not have - * the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for - * the key, or 3) access to the key is disabled.See Enabling CMEK for Log - * Router (https://cloud.google.com/logging/docs/routing/managed-encryption) - * for more information. + * the Google Cloud organization.UpdateCmekSettings fails when any of the + * following are true: The value of kms_key_name is invalid. The associated + * service account doesn't have the required + * roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access + * to the key is disabled.See Enabling CMEK for Log Router + * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more + * information. * * Method: logging.updateCmekSettings * @@ -10924,12 +10897,13 @@ NS_ASSUME_NONNULL_BEGIN * Updates the Log Router CMEK settings for the given resource.Note: CMEK for * the Log Router can currently only be configured for Google Cloud * organizations. Once configured, it applies to all projects and folders in - * the Google Cloud organization.UpdateCmekSettings will fail if 1) - * kms_key_name is invalid, or 2) the associated service account does not have - * the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for - * the key, or 3) access to the key is disabled.See Enabling CMEK for Log - * Router (https://cloud.google.com/logging/docs/routing/managed-encryption) - * for more information. + * the Google Cloud organization.UpdateCmekSettings fails when any of the + * following are true: The value of kms_key_name is invalid. The associated + * service account doesn't have the required + * roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access + * to the key is disabled.See Enabling CMEK for Log Router + * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more + * information. * * @param object The @c GTLRLogging_CmekSettings to include in the query. * @param name Required. The resource name for the CMEK settings to update. @@ -10950,15 +10924,16 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates the Log Router settings for the given resource.Note: Settings for - * the Log Router can currently only be configured for Google Cloud - * organizations. Once configured, it applies to all projects and folders in - * the Google Cloud organization.UpdateSettings will fail if 1) kms_key_name is - * invalid, or 2) the associated service account does not have the required - * roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) - * access to the key is disabled. 4) location_id is not supported by Logging. - * 5) location_id violate OrgPolicy.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more + * Updates the settings for the given resource. This method applies to all + * feature configurations for organization and folders.UpdateSettings fails + * when any of the following are true: The value of storage_location either + * isn't supported by Logging or violates the location OrgPolicy. The + * default_sink_config field is set, but it has an unspecified filter write + * mode. The value of kms_key_name is invalid. The associated service account + * doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role + * assigned for the key. Access to the key is disabled.See Configure default + * settings for organizations and folders + * (https://cloud.google.com/logging/docs/default-settings) for more * information. * * Method: logging.updateSettings @@ -10972,10 +10947,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name for the settings to update. * "organizations/[ORGANIZATION_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router can - * currently only be configured for Google Cloud organizations. Once - * configured, it applies to all projects and folders in the Google Cloud - * organization. + * example:"organizations/12345/settings" */ @property(nonatomic, copy, nullable) NSString *name; @@ -10992,24 +10964,22 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_Settings. * - * Updates the Log Router settings for the given resource.Note: Settings for - * the Log Router can currently only be configured for Google Cloud - * organizations. Once configured, it applies to all projects and folders in - * the Google Cloud organization.UpdateSettings will fail if 1) kms_key_name is - * invalid, or 2) the associated service account does not have the required - * roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) - * access to the key is disabled. 4) location_id is not supported by Logging. - * 5) location_id violate OrgPolicy.See Enabling CMEK for Log Router - * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more + * Updates the settings for the given resource. This method applies to all + * feature configurations for organization and folders.UpdateSettings fails + * when any of the following are true: The value of storage_location either + * isn't supported by Logging or violates the location OrgPolicy. The + * default_sink_config field is set, but it has an unspecified filter write + * mode. The value of kms_key_name is invalid. The associated service account + * doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role + * assigned for the key. Access to the key is disabled.See Configure default + * settings for organizations and folders + * (https://cloud.google.com/logging/docs/default-settings) for more * information. * * @param object The @c GTLRLogging_Settings to include in the query. * @param name Required. The resource name for the settings to update. * "organizations/[ORGANIZATION_ID]/settings" For - * example:"organizations/12345/settings"Note: Settings for the Log Router - * can currently only be configured for Google Cloud organizations. Once - * configured, it applies to all projects and folders in the Google Cloud - * organization. + * example:"organizations/12345/settings" * * @return GTLRLoggingQuery_V2UpdateSettings */ diff --git a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h index 5c382a3a2..407d6cff2 100644 --- a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h +++ b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h @@ -473,7 +473,6 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequest_RankPreference_RankPreferenceUnspecified; /** * Ranks results by relevance. Sort order determined by normal ranking stack. - * See SortRefinement::RELEVANCE. * * Value: "RELEVANCE" */ @@ -746,8 +745,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** * 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}). + * look up this place photo again (also called the API "resource" name: + * `places/{place_id}/photos/{photo}`). */ @property(nonatomic, copy, nullable) NSString *name; @@ -768,7 +767,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** * The resource name of a photo media in the format: - * `places/place_id/photos/photo_reference/media`. + * `places/{place_id}/photos/{photo_reference}/media`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1561,7 +1560,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** * 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). + * `places/{place_id}/reviews/{review}`). */ @property(nonatomic, copy, nullable) NSString *name; @@ -1598,27 +1597,31 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** * Excluded primary Place type (e.g. "restaurant" or "gas_station") from * https://developers.google.com/maps/documentation/places/web-service/place-types. - * If there are any conflicting primary types, i.e. a type appears in both - * included_primary_types and excluded_primary_types, an INVALID_ARGUMENT error - * is returned. If a Place type is specified with multiple type restrictions, - * only places that satisfy all of the restrictions are returned. For example, - * if we have {included_types = ["restaurant"], excluded_primary_types = - * ["restaurant"]}, the returned places provide "restaurant" related services - * but do not operate primarily as "restaurants". + * Up to 50 types from [Table + * A](https://developers.google.com/maps/documentation/places/web-service/place-types#table-a) + * may be specified. If there are any conflicting primary types, i.e. a type + * appears in both included_primary_types and excluded_primary_types, an + * INVALID_ARGUMENT error is returned. If a Place type is specified with + * multiple type restrictions, only places that satisfy all of the restrictions + * are returned. For example, if we have {included_types = ["restaurant"], + * excluded_primary_types = ["restaurant"]}, the returned places provide + * "restaurant" related services but do not operate primarily as "restaurants". */ @property(nonatomic, strong, nullable) NSArray *excludedPrimaryTypes; /** * Excluded Place type (eg, "restaurant" or "gas_station") from * https://developers.google.com/maps/documentation/places/web-service/place-types. - * If the client provides both included_types (e.g. restaurant) and - * excluded_types (e.g. cafe), then the response should include places that are - * restaurant but not cafe. The response includes places that match at least - * one of the included_types and none of the excluded_types. If there are any - * conflicting types, i.e. a type appears in both included_types and - * excluded_types, an INVALID_ARGUMENT error is returned. If a Place type is - * specified with multiple type restrictions, only places that satisfy all of - * the restrictions are returned. For example, if we have {included_types = + * Up to 50 types from [Table + * A](https://developers.google.com/maps/documentation/places/web-service/place-types#table-a) + * may be specified. If the client provides both included_types (e.g. + * restaurant) and excluded_types (e.g. cafe), then the response should include + * places that are restaurant but not cafe. The response includes places that + * match at least one of the included_types and none of the excluded_types. If + * there are any conflicting types, i.e. a type appears in both included_types + * and excluded_types, an INVALID_ARGUMENT error is returned. If a Place type + * is specified with multiple type restrictions, only places that satisfy all + * of the restrictions are returned. For example, if we have {included_types = * ["restaurant"], excluded_primary_types = ["restaurant"]}, the returned * places provide "restaurant" related services but do not operate primarily as * "restaurants". @@ -1629,7 +1632,9 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR * Included primary Place type (e.g. "restaurant" or "gas_station") from * https://developers.google.com/maps/documentation/places/web-service/place-types. * A place can only have a single primary type from the supported types table - * associated with it. If there are any conflicting primary types, i.e. a type + * associated with it. Up to 50 types from [Table + * A](https://developers.google.com/maps/documentation/places/web-service/place-types#table-a) + * may be specified. If there are any conflicting primary types, i.e. a type * appears in both included_primary_types and excluded_primary_types, an * INVALID_ARGUMENT error is returned. If a Place type is specified with * multiple type restrictions, only places that satisfy all of the restrictions @@ -1642,13 +1647,15 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** * Included Place type (eg, "restaurant" or "gas_station") from * https://developers.google.com/maps/documentation/places/web-service/place-types. - * If there are any conflicting types, i.e. a type appears in both - * included_types and excluded_types, an INVALID_ARGUMENT error is returned. If - * a Place type is specified with multiple type restrictions, only places that - * satisfy all of the restrictions are returned. For example, if we have - * {included_types = ["restaurant"], excluded_primary_types = ["restaurant"]}, - * the returned places provide "restaurant" related services but do not operate - * primarily as "restaurants". + * Up to 50 types from [Table + * A](https://developers.google.com/maps/documentation/places/web-service/place-types#table-a) + * may be specified. If there are any conflicting types, i.e. a type appears in + * both included_types and excluded_types, an INVALID_ARGUMENT error is + * returned. If a Place type is specified with multiple type restrictions, only + * places that satisfy all of the restrictions are returned. For example, if we + * have {included_types = ["restaurant"], excluded_primary_types = + * ["restaurant"]}, the returned places provide "restaurant" related services + * but do not operate primarily as "restaurants". */ @property(nonatomic, strong, nullable) NSArray *includedTypes; @@ -1773,11 +1780,10 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** * Filter out results whose average user rating is strictly less than this - * limit. A valid value must be an float between 0 and 5 (inclusively) at a 0.5 - * cadence i.e. [0, 0.5, 1.0, ... , 5.0] inclusively. This is to keep parity - * with LocalRefinement_UserRating. The input rating will round up to the - * nearest 0.5(ceiling). For instance, a rating of 0.6 will eliminate all - * results with a less than 1.0 rating. + * limit. A valid value must be a float between 0 and 5 (inclusively) at a 0.5 + * cadence i.e. [0, 0.5, 1.0, ... , 5.0] inclusively. The input rating will + * round up to the nearest 0.5(ceiling). For instance, a rating of 0.6 will + * eliminate all results with a less than 1.0 rating. * * Uses NSNumber of doubleValue. */ @@ -1809,7 +1815,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR * "RANK_PREFERENCE_UNSPECIFIED") * @arg @c kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequest_RankPreference_Relevance * Ranks results by relevance. Sort order determined by normal ranking - * stack. See SortRefinement::RELEVANCE. (Value: "RELEVANCE") + * stack. (Value: "RELEVANCE") */ @property(nonatomic, copy, nullable) NSString *rankPreference; @@ -1850,6 +1856,9 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR * 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. + * `rectangle.low().latitude()` cannot be greater than + * `rectangle.high().latitude()`. This will result in an empty latitude range. + * A rectangle viewport cannot be wider than 180 degrees. */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleGeoTypeViewport *rectangle; @@ -1866,6 +1875,9 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR * 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. + * `rectangle.low().latitude()` cannot be greater than + * `rectangle.high().latitude()`. This will result in an empty latitude range. + * A rectangle viewport cannot be wider than 180 degrees. */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleGeoTypeViewport *rectangle; diff --git a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesQuery.h b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesQuery.h index e75cd4812..0368cbcca 100644 --- a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesQuery.h +++ b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesQuery.h @@ -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; @@ -72,8 +72,8 @@ NS_ASSUME_NONNULL_BEGIN * 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 */ @@ -122,10 +122,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of a photo media in the format: - * `"places/place_id/photos/photo_reference/media"`. The resource name of a + * `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 + * 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; @@ -144,11 +144,11 @@ NS_ASSUME_NONNULL_BEGIN * Get a photo media with a photo reference string. * * @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 + * `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. + * 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/MigrationCenterAPI/GTLRMigrationCenterAPIObjects.m b/Sources/GeneratedServices/MigrationCenterAPI/GTLRMigrationCenterAPIObjects.m index 5cf377b24..f21e006da 100644 --- a/Sources/GeneratedServices/MigrationCenterAPI/GTLRMigrationCenterAPIObjects.m +++ b/Sources/GeneratedServices/MigrationCenterAPI/GTLRMigrationCenterAPIObjects.m @@ -1021,7 +1021,15 @@ @implementation GTLRMigrationCenterAPI_GuestConfigDetails // @implementation GTLRMigrationCenterAPI_GuestInstalledApplication -@dynamic applicationName, installTime, path, vendor, version; +@dynamic applicationName, installTime, licenses, path, vendor, version; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"licenses" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h index 3d1282034..e0811b231 100644 --- a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h +++ b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h @@ -2353,6 +2353,9 @@ FOUNDATION_EXTERN NSString * const kGTLRMigrationCenterAPI_VmwareEnginePreferenc /** The time when the application was installed. */ @property(nonatomic, strong, nullable) GTLRDateTime *installTime; +/** License strings associated with the installed application. */ +@property(nonatomic, strong, nullable) NSArray *licenses; + /** Source path. */ @property(nonatomic, copy, nullable) NSString *path; @@ -3933,7 +3936,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMigrationCenterAPI_VmwareEnginePreferenc /** Count of assets grouped by Operating System families. */ @property(nonatomic, strong, nullable) GTLRMigrationCenterAPI_ReportSummaryChartData *operatingSystem; -/** Histogram showing a distribution of memory sizes. */ +/** Histogram showing a distribution of storage sizes. */ @property(nonatomic, strong, nullable) GTLRMigrationCenterAPI_ReportSummaryHistogramChartData *storageBytesHistogram; /** Total memory split into Used/Free buckets. */ diff --git a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h index 0ca48db13..bdfc8ab7a 100644 --- a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h +++ b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h @@ -2288,9 +2288,9 @@ 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. + * Optional. The severity of an alert policy indicates how important incidents + * generated by that policy are. The severity level will be displayed on the + * Incident detail page and in notifications. * * Likely values: * @arg @c kGTLRMonitoring_AlertPolicy_Severity_Critical This is the highest @@ -5192,7 +5192,7 @@ GTLR_DEPRECATED /** * Required. The monitored resource type. For example, the type * "cloudsql_database" represents databases in Google Cloud SQL. For a list of - * types, see Monitoring resource types + * types, see Monitored resource types * (https://cloud.google.com/monitoring/api/resources) and Logging resource * types (https://cloud.google.com/logging/docs/api/v2/resource-list). */ diff --git a/Sources/GeneratedServices/MyBusinessBusinessInformation/Public/GoogleAPIClientForREST/GTLRMyBusinessBusinessInformationObjects.h b/Sources/GeneratedServices/MyBusinessBusinessInformation/Public/GoogleAPIClientForREST/GTLRMyBusinessBusinessInformationObjects.h index e0d00c833..469b4180d 100644 --- a/Sources/GeneratedServices/MyBusinessBusinessInformation/Public/GoogleAPIClientForREST/GTLRMyBusinessBusinessInformationObjects.h +++ b/Sources/GeneratedServices/MyBusinessBusinessInformation/Public/GoogleAPIClientForREST/GTLRMyBusinessBusinessInformationObjects.h @@ -906,6 +906,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessBusinessInformation_TimePeriod /** * The approximate number of Locations in the list irrespective of pagination. + * This field will only be returned if `filter` is used as a query parameter. * * Uses NSNumber of intValue. */ diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m index 9330abca8..a0fd0f4be 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m @@ -25,6 +25,7 @@ NSString * const kGTLRNetworkManagement_AbortInfo_Cause_MismatchedIpVersion = @"MISMATCHED_IP_VERSION"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_MismatchedSourceNetwork = @"MISMATCHED_SOURCE_NETWORK"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_NoExternalIp = @"NO_EXTERNAL_IP"; +NSString * const kGTLRNetworkManagement_AbortInfo_Cause_NonRoutableIpAddress = @"NON_ROUTABLE_IP_ADDRESS"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_NoSourceLocation = @"NO_SOURCE_LOCATION"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_PermissionDenied = @"PERMISSION_DENIED"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_ResourceConfigNotFound = @"RESOURCE_CONFIG_NOT_FOUND"; @@ -60,6 +61,7 @@ // GTLRNetworkManagement_DropInfo.cause NSString * const kGTLRNetworkManagement_DropInfo_Cause_CauseUnspecified = @"CAUSE_UNSPECIFIED"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudFunctionNotActive = @"CLOUD_FUNCTION_NOT_ACTIVE"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudNatNoAddresses = @"CLOUD_NAT_NO_ADDRESSES"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudRunRevisionNotReady = @"CLOUD_RUN_REVISION_NOT_READY"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudSqlInstanceNoIpAddress = @"CLOUD_SQL_INSTANCE_NO_IP_ADDRESS"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudSqlInstanceNoRoute = @"CLOUD_SQL_INSTANCE_NO_ROUTE"; @@ -86,18 +88,26 @@ NSString * const kGTLRNetworkManagement_DropInfo_Cause_LoadBalancerHasNoProxySubnet = @"LOAD_BALANCER_HAS_NO_PROXY_SUBNET"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoExternalAddress = @"NO_EXTERNAL_ADDRESS"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoRoute = @"NO_ROUTE"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoRouteFromInternetToPrivateIpv6Address = @"NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_PrivateGoogleAccessDisallowed = @"PRIVATE_GOOGLE_ACCESS_DISALLOWED"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_PrivateGoogleAccessViaVpnTunnelUnsupported = @"PRIVATE_GOOGLE_ACCESS_VIA_VPN_TUNNEL_UNSUPPORTED"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_PrivateTrafficToInternet = @"PRIVATE_TRAFFIC_TO_INTERNET"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_PscConnectionNotAccepted = @"PSC_CONNECTION_NOT_ACCEPTED"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_PscEndpointAccessedFromPeeredNetwork = @"PSC_ENDPOINT_ACCESSED_FROM_PEERED_NETWORK"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_PscNegProducerEndpointNoGlobalAccess = @"PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_PublicCloudSqlInstanceToPrivateDestination = @"PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_PublicGkeControlPlaneToPrivateDestination = @"PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteBlackhole = @"ROUTE_BLACKHOLE"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopIpAddressNotResolved = @"ROUTE_NEXT_HOP_IP_ADDRESS_NOT_RESOLVED"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopResourceNotFound = @"ROUTE_NEXT_HOP_RESOURCE_NOT_FOUND"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteWrongNetwork = @"ROUTE_WRONG_NETWORK"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_TrafficTypeBlocked = @"TRAFFIC_TYPE_BLOCKED"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_UnknownExternalAddress = @"UNKNOWN_EXTERNAL_ADDRESS"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_UnknownInternalAddress = @"UNKNOWN_INTERNAL_ADDRESS"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_VpcConnectorNotRunning = @"VPC_CONNECTOR_NOT_RUNNING"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_VpcConnectorNotSet = @"VPC_CONNECTOR_NOT_SET"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_VpnTunnelLocalSelectorMismatch = @"VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_VpnTunnelRemoteSelectorMismatch = @"VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH"; // GTLRNetworkManagement_Endpoint.forwardingRuleTarget NSString * const kGTLRNetworkManagement_Endpoint_ForwardingRuleTarget_ForwardingRuleTargetUnspecified = @"FORWARDING_RULE_TARGET_UNSPECIFIED"; @@ -131,6 +141,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_TrackingState = @"TRACKING_STATE"; NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_UnsupportedFirewallPolicyRule = @"UNSUPPORTED_FIREWALL_POLICY_RULE"; NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_VpcFirewallRule = @"VPC_FIREWALL_RULE"; @@ -142,12 +153,16 @@ NSString * const kGTLRNetworkManagement_ForwardInfo_Target_Interconnect = @"INTERCONNECT"; NSString * const kGTLRNetworkManagement_ForwardInfo_Target_NccHub = @"NCC_HUB"; NSString * const kGTLRNetworkManagement_ForwardInfo_Target_PeeringVpc = @"PEERING_VPC"; +NSString * const kGTLRNetworkManagement_ForwardInfo_Target_RouterAppliance = @"ROUTER_APPLIANCE"; NSString * const kGTLRNetworkManagement_ForwardInfo_Target_TargetUnspecified = @"TARGET_UNSPECIFIED"; NSString * const kGTLRNetworkManagement_ForwardInfo_Target_VpnGateway = @"VPN_GATEWAY"; // GTLRNetworkManagement_GoogleServiceInfo.googleServiceType NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_CloudDns = @"CLOUD_DNS"; NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_GfeProxyOrHealthCheckProber = @"GFE_PROXY_OR_HEALTH_CHECK_PROBER"; +NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_GoogleApi = @"GOOGLE_API"; +NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_GoogleApiPsc = @"GOOGLE_API_PSC"; +NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_GoogleApiVpcSc = @"GOOGLE_API_VPC_SC"; NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_GoogleServiceTypeUnspecified = @"GOOGLE_SERVICE_TYPE_UNSPECIFIED"; NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_Iap = @"IAP"; @@ -156,6 +171,13 @@ NSString * const kGTLRNetworkManagement_LoadBalancerBackend_HealthCheckFirewallState_HealthCheckFirewallStateUnspecified = @"HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED"; NSString * const kGTLRNetworkManagement_LoadBalancerBackend_HealthCheckFirewallState_Misconfigured = @"MISCONFIGURED"; +// GTLRNetworkManagement_LoadBalancerBackendInfo.healthCheckFirewallsConfigState +NSString * const kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_FirewallsConfigured = @"FIREWALLS_CONFIGURED"; +NSString * const kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_FirewallsNotConfigured = @"FIREWALLS_NOT_CONFIGURED"; +NSString * const kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_FirewallsPartiallyConfigured = @"FIREWALLS_PARTIALLY_CONFIGURED"; +NSString * const kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_FirewallsUnsupported = @"FIREWALLS_UNSUPPORTED"; +NSString * const kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_HealthCheckFirewallsConfigStateUnspecified = @"HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED"; + // GTLRNetworkManagement_LoadBalancerInfo.backendType NSString * const kGTLRNetworkManagement_LoadBalancerInfo_BackendType_BackendService = @"BACKEND_SERVICE"; NSString * const kGTLRNetworkManagement_LoadBalancerInfo_BackendType_BackendTypeUnspecified = @"BACKEND_TYPE_UNSPECIFIED"; @@ -170,6 +192,13 @@ NSString * const kGTLRNetworkManagement_LoadBalancerInfo_LoadBalancerType_SslProxy = @"SSL_PROXY"; NSString * const kGTLRNetworkManagement_LoadBalancerInfo_LoadBalancerType_TcpProxy = @"TCP_PROXY"; +// GTLRNetworkManagement_NatInfo.type +NSString * const kGTLRNetworkManagement_NatInfo_Type_CloudNat = @"CLOUD_NAT"; +NSString * const kGTLRNetworkManagement_NatInfo_Type_ExternalToInternal = @"EXTERNAL_TO_INTERNAL"; +NSString * const kGTLRNetworkManagement_NatInfo_Type_InternalToExternal = @"INTERNAL_TO_EXTERNAL"; +NSString * const kGTLRNetworkManagement_NatInfo_Type_PrivateServiceConnect = @"PRIVATE_SERVICE_CONNECT"; +NSString * const kGTLRNetworkManagement_NatInfo_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + // GTLRNetworkManagement_ProbingDetails.abortCause NSString * const kGTLRNetworkManagement_ProbingDetails_AbortCause_NoSourceLocation = @"NO_SOURCE_LOCATION"; NSString * const kGTLRNetworkManagement_ProbingDetails_AbortCause_PermissionDenied = @"PERMISSION_DENIED"; @@ -221,6 +250,7 @@ // GTLRNetworkManagement_Step.state NSString * const kGTLRNetworkManagement_Step_State_Abort = @"ABORT"; +NSString * const kGTLRNetworkManagement_Step_State_AnalyzeLoadBalancerBackend = @"ANALYZE_LOAD_BALANCER_BACKEND"; NSString * const kGTLRNetworkManagement_Step_State_ApplyEgressFirewallRule = @"APPLY_EGRESS_FIREWALL_RULE"; NSString * const kGTLRNetworkManagement_Step_State_ApplyForwardingRule = @"APPLY_FORWARDING_RULE"; NSString * const kGTLRNetworkManagement_Step_State_ApplyIngressFirewallRule = @"APPLY_INGRESS_FIREWALL_RULE"; @@ -460,7 +490,7 @@ @implementation GTLRNetworkManagement_DeliverInfo // @implementation GTLRNetworkManagement_DropInfo -@dynamic cause, resourceUri; +@dynamic cause, destinationIp, region, resourceUri, sourceIp; @end @@ -717,6 +747,17 @@ @implementation GTLRNetworkManagement_LoadBalancerBackend @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_LoadBalancerBackendInfo +// + +@implementation GTLRNetworkManagement_LoadBalancerBackendInfo +@dynamic backendServiceUri, healthCheckFirewallsConfigState, healthCheckUri, + instanceGroupUri, instanceUri, name, networkEndpointGroupUri; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_LoadBalancerInfo @@ -773,6 +814,18 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_NatInfo +// + +@implementation GTLRNetworkManagement_NatInfo +@dynamic natGatewayName, networkUri, newDestinationIp, newDestinationPort, + newSourceIp, newSourcePort, oldDestinationIp, oldDestinationPort, + oldSourceIp, oldSourcePort, protocol, routerUri, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_NetworkInfo @@ -867,6 +920,18 @@ @implementation GTLRNetworkManagement_ProbingDetails @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_ProxyConnectionInfo +// + +@implementation GTLRNetworkManagement_ProxyConnectionInfo +@dynamic networkUri, newDestinationIp, newDestinationPort, newSourceIp, + newSourcePort, oldDestinationIp, oldDestinationPort, oldSourceIp, + oldSourcePort, protocol, subnetUri; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_ReachabilityDetails @@ -968,8 +1033,8 @@ @implementation GTLRNetworkManagement_Step @dynamic abort, appEngineVersion, causesDrop, cloudFunction, cloudRunRevision, cloudSqlInstance, deliver, descriptionProperty, drop, endpoint, firewall, forward, forwardingRule, gkeMaster, googleService, instance, - loadBalancer, network, projectId, route, state, vpcConnector, - vpnGateway, vpnTunnel; + loadBalancer, loadBalancerBackendInfo, nat, network, projectId, + proxyConnection, route, state, vpcConnector, vpnGateway, vpnTunnel; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h index 9a09d7c72..4c7611e1c 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h @@ -43,16 +43,19 @@ @class GTLRNetworkManagement_LatencyDistribution; @class GTLRNetworkManagement_LatencyPercentile; @class GTLRNetworkManagement_LoadBalancerBackend; +@class GTLRNetworkManagement_LoadBalancerBackendInfo; @class GTLRNetworkManagement_LoadBalancerInfo; @class GTLRNetworkManagement_Location; @class GTLRNetworkManagement_Location_Labels; @class GTLRNetworkManagement_Location_Metadata; +@class GTLRNetworkManagement_NatInfo; @class GTLRNetworkManagement_NetworkInfo; @class GTLRNetworkManagement_Operation; @class GTLRNetworkManagement_Operation_Metadata; @class GTLRNetworkManagement_Operation_Response; @class GTLRNetworkManagement_Policy; @class GTLRNetworkManagement_ProbingDetails; +@class GTLRNetworkManagement_ProxyConnectionInfo; @class GTLRNetworkManagement_ReachabilityDetails; @class GTLRNetworkManagement_RouteInfo; @class GTLRNetworkManagement_Status; @@ -146,6 +149,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_AbortInfo_Cause_Mismat * Value: "NO_EXTERNAL_IP" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_AbortInfo_Cause_NoExternalIp; +/** + * Aborted because one of the endpoints is a non-routable IP address (loopback, + * link-local, etc). + * + * Value: "NON_ROUTABLE_IP_ADDRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_AbortInfo_Cause_NonRoutableIpAddress; /** * Aborted because no valid source endpoint is derived from the input test * request. @@ -345,6 +355,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_CauseUn * Value: "CLOUD_FUNCTION_NOT_ACTIVE" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudFunctionNotActive; +/** + * Packet sent to Cloud Nat without active NAT IPs. + * + * Value: "CLOUD_NAT_NO_ADDRESSES" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudNatNoAddresses; /** * Packet sent from a Cloud Run revision that is not ready. * @@ -520,18 +536,32 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_LoadBal */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoExternalAddress; /** - * Dropped due to no routes. + * Dropped due to no matching routes. * * Value: "NO_ROUTE" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoRoute; +/** + * Packet is sent from the Internet to the private IPv6 address. + * + * Value: "NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoRouteFromInternetToPrivateIpv6Address; /** * Instance with only an internal IP address tries to access Google API and - * services, but private Google access is not enabled. + * services, but private Google access is not enabled in the subnet. * * Value: "PRIVATE_GOOGLE_ACCESS_DISALLOWED" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_PrivateGoogleAccessDisallowed; +/** + * Source endpoint tries to access Google API and services through the VPN + * tunnel to another network, but Private Google Access needs to be enabled in + * the source endpoint network. + * + * Value: "PRIVATE_GOOGLE_ACCESS_VIA_VPN_TUNNEL_UNSUPPORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_PrivateGoogleAccessViaVpnTunnelUnsupported; /** * Packet with internal destination address sent to the internet gateway. * @@ -545,6 +575,22 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_Private * Value: "PSC_CONNECTION_NOT_ACCEPTED" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_PscConnectionNotAccepted; +/** + * The packet is sent to the Private Service Connect endpoint over the peering, + * but [it's not + * supported](https://cloud.google.com/vpc/docs/configure-private-service-connect-services#on-premises). + * + * Value: "PSC_ENDPOINT_ACCESSED_FROM_PEERED_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_PscEndpointAccessedFromPeeredNetwork; +/** + * The packet is sent to the Private Service Connect backend (network endpoint + * group), but the producer PSC forwarding rule does not have global access + * enabled. + * + * Value: "PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_PscNegProducerEndpointNoGlobalAccess; /** * Packet sent from a Cloud SQL instance with only a public IP address to a * private IP address. @@ -564,6 +610,18 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_PublicG * Value: "ROUTE_BLACKHOLE" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteBlackhole; +/** + * Route's next hop IP address cannot be resolved to a GCP resource. + * + * Value: "ROUTE_NEXT_HOP_IP_ADDRESS_NOT_RESOLVED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopIpAddressNotResolved; +/** + * Route's next hop resource is not found. + * + * Value: "ROUTE_NEXT_HOP_RESOURCE_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopResourceNotFound; /** * 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 @@ -610,6 +668,18 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_VpcConn * Value: "VPC_CONNECTOR_NOT_SET" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_VpcConnectorNotSet; +/** + * The packet does not match a policy-based VPN tunnel local selector. + * + * Value: "VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_VpnTunnelLocalSelectorMismatch; +/** + * The packet does not match a policy-based VPN tunnel remote selector. + * + * Value: "VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_VpnTunnelRemoteSelectorMismatch; // ---------------------------------------------------------------------------- // GTLRNetworkManagement_Endpoint.forwardingRuleTarget @@ -787,6 +857,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallR * Value: "SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_ServerlessVpcAccessManagedFirewallRule; +/** + * Tracking state for response traffic created when request traffic goes + * through allow firewall rule. For details, see [firewall rules + * specifications](https://cloud.google.com/firewall/docs/firewalls#specifications) + * + * Value: "TRACKING_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_TrackingState; /** * Firewall policy rule containing attributes not yet supported in Connectivity * tests. Firewall analysis is skipped if such a rule can potentially be @@ -849,6 +927,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ForwardInfo_Target_Ncc * Value: "PEERING_VPC" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ForwardInfo_Target_PeeringVpc; +/** + * Forwarded to a router appliance. + * + * Value: "ROUTER_APPLIANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ForwardInfo_Target_RouterAppliance; /** * Target not specified. * @@ -883,7 +967,27 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_GoogleServiceInfo_Goog */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_GfeProxyOrHealthCheckProber; /** - * Unspecified Google Service. Includes most of Google APIs and services. + * private.googleapis.com and restricted.googleapis.com + * + * Value: "GOOGLE_API" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_GoogleApi; +/** + * Google API via Private Service Connect. + * https://cloud.google.com/vpc/docs/configure-private-service-connect-apis + * + * Value: "GOOGLE_API_PSC" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_GoogleApiPsc; +/** + * Google API via VPC Service Controls. + * https://cloud.google.com/vpc/docs/configure-private-service-connect-apis + * + * Value: "GOOGLE_API_VPC_SC" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_GoogleApiVpcSc; +/** + * Unspecified Google Service. * * Value: "GOOGLE_SERVICE_TYPE_UNSPECIFIED" */ @@ -921,6 +1025,48 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_LoadBalancerBackend_He */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_LoadBalancerBackend_HealthCheckFirewallState_Misconfigured; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_LoadBalancerBackendInfo.healthCheckFirewallsConfigState + +/** + * Firewall rules (policies) allowing health check traffic from all required IP + * ranges to the backend are configured. + * + * Value: "FIREWALLS_CONFIGURED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_FirewallsConfigured; +/** + * Firewall rules (policies) deny health check traffic from all required IP + * ranges to the backend. + * + * Value: "FIREWALLS_NOT_CONFIGURED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_FirewallsNotConfigured; +/** + * Firewall rules (policies) allow health check traffic only from a part of + * required IP ranges. + * + * Value: "FIREWALLS_PARTIALLY_CONFIGURED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_FirewallsPartiallyConfigured; +/** + * The network contains firewall rules of unsupported types, so Connectivity + * tests were not able to verify health check configuration status. Please + * refer to the documentation for the list of unsupported configurations: + * https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs + * + * Value: "FIREWALLS_UNSUPPORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_FirewallsUnsupported; +/** + * Configuration state unspecified. It usually means that the backend has no + * health check attached, or there was an unexpected configuration error + * preventing Connectivity tests from verifying health check configuration. + * + * Value: "HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_HealthCheckFirewallsConfigStateUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetworkManagement_LoadBalancerInfo.backendType @@ -989,6 +1135,40 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_LoadBalancerInfo_LoadB */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_LoadBalancerInfo_LoadBalancerType_TcpProxy; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_NatInfo.type + +/** + * Cloud NAT Gateway. + * + * Value: "CLOUD_NAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NatInfo_Type_CloudNat; +/** + * From Compute Engine instance's external address to internal address. + * + * Value: "EXTERNAL_TO_INTERNAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NatInfo_Type_ExternalToInternal; +/** + * From Compute Engine instance's internal address to external address. + * + * Value: "INTERNAL_TO_EXTERNAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NatInfo_Type_InternalToExternal; +/** + * Private service connect NAT. + * + * Value: "PRIVATE_SERVICE_CONNECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NatInfo_Type_PrivateServiceConnect; +/** + * Type is unspecified. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NatInfo_Type_TypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetworkManagement_ProbingDetails.abortCause @@ -1266,6 +1446,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_RouteInfo_RouteType_Su * Value: "ABORT" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_Abort; +/** + * Config checking state: verify load balancer backend configuration. + * + * Value: "ANALYZE_LOAD_BALANCER_BACKEND" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_AnalyzeLoadBalancerBackend; /** * Config checking state: verify egress firewall rule. * @@ -1401,9 +1587,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_StartFromCl */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_StartFromGkeMaster; /** - * Initial state: packet originating from a Google service. Some Google - * services, such as health check probers or Identity Aware Proxy use special - * routes, outside VPC routing configuration to reach Compute Engine Instances. + * Initial state: packet originating from a Google service. The google_service + * information is populated. * * Value: "START_FROM_GOOGLE_SERVICE" */ @@ -1515,6 +1700,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_AbortInfo_Cause_NoExternalIp Aborted * because traffic is sent from a public IP to an instance without an * external IP. (Value: "NO_EXTERNAL_IP") + * @arg @c kGTLRNetworkManagement_AbortInfo_Cause_NonRoutableIpAddress + * Aborted because one of the endpoints is a non-routable IP address + * (loopback, link-local, etc). (Value: "NON_ROUTABLE_IP_ADDRESS") * @arg @c kGTLRNetworkManagement_AbortInfo_Cause_NoSourceLocation Aborted * because no valid source endpoint is derived from the input test * request. (Value: "NO_SOURCE_LOCATION") @@ -2003,6 +2191,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_DropInfo_Cause_CloudFunctionNotActive * Packet could be dropped because the Cloud Function is not in an active * status. (Value: "CLOUD_FUNCTION_NOT_ACTIVE") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_CloudNatNoAddresses Packet + * sent to Cloud Nat without active NAT IPs. (Value: + * "CLOUD_NAT_NO_ADDRESSES") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_CloudRunRevisionNotReady * Packet sent from a Cloud Run revision that is not ready. (Value: * "CLOUD_RUN_REVISION_NOT_READY") @@ -2097,17 +2288,35 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * Cloud NAT is not enabled in the subnet, unless special configurations * on a VM allow this connection. (Value: "NO_EXTERNAL_ADDRESS") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_NoRoute Dropped due to no - * routes. (Value: "NO_ROUTE") + * matching routes. (Value: "NO_ROUTE") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_NoRouteFromInternetToPrivateIpv6Address + * Packet is sent from the Internet to the private IPv6 address. (Value: + * "NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_PrivateGoogleAccessDisallowed * Instance with only an internal IP address tries to access Google API - * and services, but private Google access is not enabled. (Value: - * "PRIVATE_GOOGLE_ACCESS_DISALLOWED") + * and services, but private Google access is not enabled in the subnet. + * (Value: "PRIVATE_GOOGLE_ACCESS_DISALLOWED") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_PrivateGoogleAccessViaVpnTunnelUnsupported + * Source endpoint tries to access Google API and services through the + * VPN tunnel to another network, but Private Google Access needs to be + * enabled in the source endpoint network. (Value: + * "PRIVATE_GOOGLE_ACCESS_VIA_VPN_TUNNEL_UNSUPPORTED") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_PrivateTrafficToInternet * Packet with internal destination address sent to the internet gateway. * (Value: "PRIVATE_TRAFFIC_TO_INTERNET") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_PscConnectionNotAccepted The * Private Service Connect endpoint is in a project that is not approved * to connect to the service. (Value: "PSC_CONNECTION_NOT_ACCEPTED") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_PscEndpointAccessedFromPeeredNetwork + * The packet is sent to the Private Service Connect endpoint over the + * peering, but [it's not + * supported](https://cloud.google.com/vpc/docs/configure-private-service-connect-services#on-premises). + * (Value: "PSC_ENDPOINT_ACCESSED_FROM_PEERED_NETWORK") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_PscNegProducerEndpointNoGlobalAccess + * The packet is sent to the Private Service Connect backend (network + * endpoint group), but the producer PSC forwarding rule does not have + * global access enabled. (Value: + * "PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_PublicCloudSqlInstanceToPrivateDestination * Packet sent from a Cloud SQL instance with only a public IP address to * a private IP address. (Value: @@ -2118,6 +2327,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RouteBlackhole Dropped due * to invalid route. Route's next hop is a blackhole. (Value: * "ROUTE_BLACKHOLE") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopIpAddressNotResolved + * Route's next hop IP address cannot be resolved to a GCP resource. + * (Value: "ROUTE_NEXT_HOP_IP_ADDRESS_NOT_RESOLVED") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopResourceNotFound + * Route's next hop resource is not found. (Value: + * "ROUTE_NEXT_HOP_RESOURCE_NOT_FOUND") * @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 @@ -2143,12 +2358,27 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_DropInfo_Cause_VpcConnectorNotSet Packet * could be dropped because no VPC connector is set. (Value: * "VPC_CONNECTOR_NOT_SET") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_VpnTunnelLocalSelectorMismatch + * The packet does not match a policy-based VPN tunnel local selector. + * (Value: "VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_VpnTunnelRemoteSelectorMismatch + * The packet does not match a policy-based VPN tunnel remote selector. + * (Value: "VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH") */ @property(nonatomic, copy, nullable) NSString *cause; +/** Destination IP address of the dropped packet (if relevant). */ +@property(nonatomic, copy, nullable) NSString *destinationIp; + +/** Region of the dropped packet (if relevant). */ +@property(nonatomic, copy, nullable) NSString *region; + /** URI of the resource that caused the drop. */ @property(nonatomic, copy, nullable) NSString *resourceUri; +/** Source IP address of the dropped packet (if relevant). */ +@property(nonatomic, copy, nullable) NSString *sourceIp; + @end @@ -2236,10 +2466,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @property(nonatomic, copy, nullable) NSString *instance; /** - * The IP address of the endpoint, which can be an external or internal IP. An - * IPv6 address is only allowed when the test's destination is a [global load - * balancer - * VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview). + * The IP address of the endpoint, which can be an external or internal IP. */ @property(nonatomic, copy, nullable) NSString *ipAddress; @@ -2427,7 +2654,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @interface GTLRNetworkManagement_FirewallInfo : GTLRObject -/** Possible values: ALLOW, DENY */ +/** Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP */ @property(nonatomic, copy, nullable) NSString *action; /** Possible values: INGRESS, EGRESS */ @@ -2470,6 +2697,11 @@ 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_TrackingState + * Tracking state for response traffic created when request traffic goes + * through allow firewall rule. For details, see [firewall rules + * specifications](https://cloud.google.com/firewall/docs/firewalls#specifications) + * (Value: "TRACKING_STATE") * @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 @@ -2548,6 +2780,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * NCC Hub. (Value: "NCC_HUB") * @arg @c kGTLRNetworkManagement_ForwardInfo_Target_PeeringVpc Forwarded to * a VPC peering network. (Value: "PEERING_VPC") + * @arg @c kGTLRNetworkManagement_ForwardInfo_Target_RouterAppliance + * Forwarded to a router appliance. (Value: "ROUTER_APPLIANCE") * @arg @c kGTLRNetworkManagement_ForwardInfo_Target_TargetUnspecified Target * not specified. (Value: "TARGET_UNSPECIFIED") * @arg @c kGTLRNetworkManagement_ForwardInfo_Target_VpnGateway Forwarded to @@ -2632,9 +2866,19 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * Centralized Health Check prober * https://cloud.google.com/load-balancing/docs/firewall-rules (Value: * "GFE_PROXY_OR_HEALTH_CHECK_PROBER") + * @arg @c kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_GoogleApi + * private.googleapis.com and restricted.googleapis.com (Value: + * "GOOGLE_API") + * @arg @c kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_GoogleApiPsc + * Google API via Private Service Connect. + * https://cloud.google.com/vpc/docs/configure-private-service-connect-apis + * (Value: "GOOGLE_API_PSC") + * @arg @c kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_GoogleApiVpcSc + * Google API via VPC Service Controls. + * https://cloud.google.com/vpc/docs/configure-private-service-connect-apis + * (Value: "GOOGLE_API_VPC_SC") * @arg @c kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_GoogleServiceTypeUnspecified - * Unspecified Google Service. Includes most of Google APIs and services. - * (Value: "GOOGLE_SERVICE_TYPE_UNSPECIFIED") + * Unspecified Google Service. (Value: "GOOGLE_SERVICE_TYPE_UNSPECIFIED") * @arg @c kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_Iap * Identity aware proxy. * https://cloud.google.com/iap/docs/using-tcp-forwarding (Value: "IAP") @@ -2834,6 +3078,76 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * For display only. Metadata associated with the load balancer backend. + */ +@interface GTLRNetworkManagement_LoadBalancerBackendInfo : GTLRObject + +/** URI of the backend service this backend belongs to (if applicable). */ +@property(nonatomic, copy, nullable) NSString *backendServiceUri; + +/** + * Output only. Health check firewalls configuration state for the backend. + * This is a result of the static firewall analysis (verifying that health + * check traffic from required IP ranges to the backend is allowed or not). The + * backend might still be unhealthy even if these firewalls are configured. + * Please refer to the documentation for more information: + * https://cloud.google.com/load-balancing/docs/firewall-rules + * + * Likely values: + * @arg @c kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_FirewallsConfigured + * Firewall rules (policies) allowing health check traffic from all + * required IP ranges to the backend are configured. (Value: + * "FIREWALLS_CONFIGURED") + * @arg @c kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_FirewallsNotConfigured + * Firewall rules (policies) deny health check traffic from all required + * IP ranges to the backend. (Value: "FIREWALLS_NOT_CONFIGURED") + * @arg @c kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_FirewallsPartiallyConfigured + * Firewall rules (policies) allow health check traffic only from a part + * of required IP ranges. (Value: "FIREWALLS_PARTIALLY_CONFIGURED") + * @arg @c kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_FirewallsUnsupported + * The network contains firewall rules of unsupported types, so + * Connectivity tests were not able to verify health check configuration + * status. Please refer to the documentation for the list of unsupported + * configurations: + * https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs + * (Value: "FIREWALLS_UNSUPPORTED") + * @arg @c kGTLRNetworkManagement_LoadBalancerBackendInfo_HealthCheckFirewallsConfigState_HealthCheckFirewallsConfigStateUnspecified + * Configuration state unspecified. It usually means that the backend has + * no health check attached, or there was an unexpected configuration + * error preventing Connectivity tests from verifying health check + * configuration. (Value: + * "HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *healthCheckFirewallsConfigState; + +/** URI of the health check attached to this backend (if applicable). */ +@property(nonatomic, copy, nullable) NSString *healthCheckUri; + +/** URI of the instance group this backend belongs to (if applicable). */ +@property(nonatomic, copy, nullable) NSString *instanceGroupUri; + +/** + * URI of the backend instance (if applicable). Populated for instance group + * backends, and zonal NEG backends. + */ +@property(nonatomic, copy, nullable) NSString *instanceUri; + +/** + * Display name of the backend. For example, it might be an instance name for + * the instance group backends, or an IP address and port for zonal network + * endpoint group backends. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * URI of the network endpoint group this backend belongs to (if applicable). + */ +@property(nonatomic, copy, nullable) NSString *networkEndpointGroupUri; + +@end + + /** * For display only. Metadata associated with a load balancer. */ @@ -2952,6 +3266,87 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * For display only. Metadata associated with NAT. + */ +@interface GTLRNetworkManagement_NatInfo : GTLRObject + +/** The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT. */ +@property(nonatomic, copy, nullable) NSString *natGatewayName; + +/** URI of the network where NAT translation takes place. */ +@property(nonatomic, copy, nullable) NSString *networkUri; + +/** Destination IP address after NAT translation. */ +@property(nonatomic, copy, nullable) NSString *newDestinationIp NS_RETURNS_NOT_RETAINED; + +/** + * Destination port after NAT translation. Only valid when protocol is TCP or + * UDP. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *newDestinationPort NS_RETURNS_NOT_RETAINED; + +/** Source IP address after NAT translation. */ +@property(nonatomic, copy, nullable) NSString *newSourceIp NS_RETURNS_NOT_RETAINED; + +/** + * Source port after NAT translation. Only valid when protocol is TCP or UDP. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *newSourcePort NS_RETURNS_NOT_RETAINED; + +/** Destination IP address before NAT translation. */ +@property(nonatomic, copy, nullable) NSString *oldDestinationIp; + +/** + * Destination port before NAT translation. Only valid when protocol is TCP or + * UDP. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *oldDestinationPort; + +/** Source IP address before NAT translation. */ +@property(nonatomic, copy, nullable) NSString *oldSourceIp; + +/** + * Source port before NAT translation. Only valid when protocol is TCP or UDP. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *oldSourcePort; + +/** IP protocol in string format, for example: "TCP", "UDP", "ICMP". */ +@property(nonatomic, copy, nullable) NSString *protocol; + +/** Uri of the Cloud Router. Only valid when type is CLOUD_NAT. */ +@property(nonatomic, copy, nullable) NSString *routerUri; + +/** + * Type of NAT. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_NatInfo_Type_CloudNat Cloud NAT Gateway. + * (Value: "CLOUD_NAT") + * @arg @c kGTLRNetworkManagement_NatInfo_Type_ExternalToInternal From + * Compute Engine instance's external address to internal address. + * (Value: "EXTERNAL_TO_INTERNAL") + * @arg @c kGTLRNetworkManagement_NatInfo_Type_InternalToExternal From + * Compute Engine instance's internal address to external address. + * (Value: "INTERNAL_TO_EXTERNAL") + * @arg @c kGTLRNetworkManagement_NatInfo_Type_PrivateServiceConnect Private + * service connect NAT. (Value: "PRIVATE_SERVICE_CONNECT") + * @arg @c kGTLRNetworkManagement_NatInfo_Type_TypeUnspecified Type is + * unspecified. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * For display only. Metadata associated with a Compute Engine network. */ @@ -3263,6 +3658,66 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * For display only. Metadata associated with ProxyConnection. + */ +@interface GTLRNetworkManagement_ProxyConnectionInfo : GTLRObject + +/** URI of the network where connection is proxied. */ +@property(nonatomic, copy, nullable) NSString *networkUri; + +/** Destination IP address of a new connection. */ +@property(nonatomic, copy, nullable) NSString *newDestinationIp NS_RETURNS_NOT_RETAINED; + +/** + * Destination port of a new connection. Only valid when protocol is TCP or + * UDP. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *newDestinationPort NS_RETURNS_NOT_RETAINED; + +/** Source IP address of a new connection. */ +@property(nonatomic, copy, nullable) NSString *newSourceIp NS_RETURNS_NOT_RETAINED; + +/** + * Source port of a new connection. Only valid when protocol is TCP or UDP. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *newSourcePort NS_RETURNS_NOT_RETAINED; + +/** Destination IP address of an original connection */ +@property(nonatomic, copy, nullable) NSString *oldDestinationIp; + +/** + * Destination port of an original connection. Only valid when protocol is TCP + * or UDP. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *oldDestinationPort; + +/** Source IP address of an original connection. */ +@property(nonatomic, copy, nullable) NSString *oldSourceIp; + +/** + * Source port of an original connection. Only valid when protocol is TCP or + * UDP. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *oldSourcePort; + +/** IP protocol in string format, for example: "TCP", "UDP", "ICMP". */ +@property(nonatomic, copy, nullable) NSString *protocol; + +/** Uri of proxy subnet. */ +@property(nonatomic, copy, nullable) NSString *subnetUri; + +@end + + /** * Results of the configuration analysis from the last run of the test. */ @@ -3595,12 +4050,21 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** Display information of the load balancers. */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_LoadBalancerInfo *loadBalancer; +/** Display information of a specific load balancer backend. */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_LoadBalancerBackendInfo *loadBalancerBackendInfo; + +/** Display information of a NAT. */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_NatInfo *nat; + /** Display information of a Google Cloud network. */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_NetworkInfo *network; /** Project ID that contains the configuration this step is validating. */ @property(nonatomic, copy, nullable) NSString *projectId; +/** Display information of a ProxyConnection. */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_ProxyConnectionInfo *proxyConnection; + /** Display information of a Compute Engine route. */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_RouteInfo *route; @@ -3610,6 +4074,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * Likely values: * @arg @c kGTLRNetworkManagement_Step_State_Abort Final state: analysis is * aborted. (Value: "ABORT") + * @arg @c kGTLRNetworkManagement_Step_State_AnalyzeLoadBalancerBackend + * Config checking state: verify load balancer backend configuration. + * (Value: "ANALYZE_LOAD_BALANCER_BACKEND") * @arg @c kGTLRNetworkManagement_Step_State_ApplyEgressFirewallRule Config * checking state: verify egress firewall rule. (Value: * "APPLY_EGRESS_FIREWALL_RULE") @@ -3673,10 +4140,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * master. A GKEMasterInfo is populated with starting instance * information. (Value: "START_FROM_GKE_MASTER") * @arg @c kGTLRNetworkManagement_Step_State_StartFromGoogleService Initial - * state: packet originating from a Google service. Some Google services, - * such as health check probers or Identity Aware Proxy use special - * routes, outside VPC routing configuration to reach Compute Engine - * Instances. (Value: "START_FROM_GOOGLE_SERVICE") + * state: packet originating from a Google service. The google_service + * information is populated. (Value: "START_FROM_GOOGLE_SERVICE") * @arg @c kGTLRNetworkManagement_Step_State_StartFromInstance Initial state: * packet originating from a Compute Engine instance. An InstanceInfo is * populated with starting instance information. (Value: diff --git a/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m b/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m index 4019e7c3f..6170ef493 100644 --- a/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m +++ b/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m @@ -27,6 +27,16 @@ NSString * const kGTLRNetworkServices_EndpointPolicy_Type_GrpcServer = @"GRPC_SERVER"; NSString * const kGTLRNetworkServices_EndpointPolicy_Type_SidecarProxy = @"SIDECAR_PROXY"; +// GTLRNetworkServices_Gateway.envoyHeaders +NSString * const kGTLRNetworkServices_Gateway_EnvoyHeaders_DebugHeaders = @"DEBUG_HEADERS"; +NSString * const kGTLRNetworkServices_Gateway_EnvoyHeaders_EnvoyHeadersUnspecified = @"ENVOY_HEADERS_UNSPECIFIED"; +NSString * const kGTLRNetworkServices_Gateway_EnvoyHeaders_None = @"NONE"; + +// GTLRNetworkServices_Gateway.ipVersion +NSString * const kGTLRNetworkServices_Gateway_IpVersion_Ipv4 = @"IPV4"; +NSString * const kGTLRNetworkServices_Gateway_IpVersion_Ipv6 = @"IPV6"; +NSString * const kGTLRNetworkServices_Gateway_IpVersion_IpVersionUnspecified = @"IP_VERSION_UNSPECIFIED"; + // GTLRNetworkServices_Gateway.type NSString * const kGTLRNetworkServices_Gateway_Type_OpenMesh = @"OPEN_MESH"; NSString * const kGTLRNetworkServices_Gateway_Type_SecureWebGateway = @"SECURE_WEB_GATEWAY"; @@ -50,6 +60,11 @@ NSString * const kGTLRNetworkServices_HttpRouteRedirect_ResponseCode_SeeOther = @"SEE_OTHER"; NSString * const kGTLRNetworkServices_HttpRouteRedirect_ResponseCode_TemporaryRedirect = @"TEMPORARY_REDIRECT"; +// GTLRNetworkServices_Mesh.envoyHeaders +NSString * const kGTLRNetworkServices_Mesh_EnvoyHeaders_DebugHeaders = @"DEBUG_HEADERS"; +NSString * const kGTLRNetworkServices_Mesh_EnvoyHeaders_EnvoyHeadersUnspecified = @"ENVOY_HEADERS_UNSPECIFIED"; +NSString * const kGTLRNetworkServices_Mesh_EnvoyHeaders_None = @"NONE"; + // ---------------------------------------------------------------------------- // // GTLRNetworkServices_AuditConfig @@ -213,8 +228,8 @@ @implementation GTLRNetworkServices_Expr @implementation GTLRNetworkServices_Gateway @dynamic addresses, certificateUrls, createTime, descriptionProperty, - gatewaySecurityPolicy, labels, name, network, ports, scope, selfLink, - serverTlsPolicy, subnetwork, type, updateTime; + envoyHeaders, gatewaySecurityPolicy, ipVersion, labels, name, network, + ports, scope, selfLink, serverTlsPolicy, subnetwork, type, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -370,7 +385,7 @@ @implementation GTLRNetworkServices_GrpcRouteRetryPolicy // @implementation GTLRNetworkServices_GrpcRouteRouteAction -@dynamic destinations, faultInjectionPolicy, retryPolicy, +@dynamic destinations, faultInjectionPolicy, idleTimeout, retryPolicy, statefulSessionAffinity, timeout; + (NSDictionary *)arrayPropertyToClassMap { @@ -498,7 +513,7 @@ @implementation GTLRNetworkServices_HttpRouteCorsPolicy // @implementation GTLRNetworkServices_HttpRouteDestination -@dynamic serviceName, weight; +@dynamic requestHeaderModifier, responseHeaderModifier, serviceName, weight; @end @@ -599,6 +614,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkServices_HttpRouteHttpDirectResponse +// + +@implementation GTLRNetworkServices_HttpRouteHttpDirectResponse +@dynamic bytesBody, status, stringBody; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkServices_HttpRouteQueryParameterMatch @@ -626,7 +651,7 @@ @implementation GTLRNetworkServices_HttpRouteRedirect // @implementation GTLRNetworkServices_HttpRouteRequestMirrorPolicy -@dynamic destination; +@dynamic destination, mirrorPercent; @end @@ -654,9 +679,10 @@ @implementation GTLRNetworkServices_HttpRouteRetryPolicy // @implementation GTLRNetworkServices_HttpRouteRouteAction -@dynamic corsPolicy, destinations, faultInjectionPolicy, redirect, - requestHeaderModifier, requestMirrorPolicy, responseHeaderModifier, - retryPolicy, statefulSessionAffinity, timeout, urlRewrite; +@dynamic corsPolicy, destinations, directResponse, faultInjectionPolicy, + idleTimeout, redirect, requestHeaderModifier, requestMirrorPolicy, + responseHeaderModifier, retryPolicy, statefulSessionAffinity, timeout, + urlRewrite; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -991,8 +1017,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRNetworkServices_Mesh -@dynamic createTime, descriptionProperty, interceptionPort, labels, name, - selfLink, updateTime; +@dynamic createTime, descriptionProperty, envoyHeaders, interceptionPort, + labels, name, selfLink, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1204,7 +1230,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRNetworkServices_TcpRouteRouteAction -@dynamic destinations, originalDestination; +@dynamic destinations, idleTimeout, originalDestination; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1335,7 +1361,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRNetworkServices_TlsRouteRouteAction -@dynamic destinations; +@dynamic destinations, idleTimeout; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h index 3c3d449c4..b60ea7163 100644 --- a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h +++ b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h @@ -48,6 +48,7 @@ @class GTLRNetworkServices_HttpRouteHeaderModifier; @class GTLRNetworkServices_HttpRouteHeaderModifier_Add; @class GTLRNetworkServices_HttpRouteHeaderModifier_Set; +@class GTLRNetworkServices_HttpRouteHttpDirectResponse; @class GTLRNetworkServices_HttpRouteQueryParameterMatch; @class GTLRNetworkServices_HttpRouteRedirect; @class GTLRNetworkServices_HttpRouteRequestMirrorPolicy; @@ -168,6 +169,53 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_EndpointPolicy_Type_Grpc */ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_EndpointPolicy_Type_SidecarProxy; +// ---------------------------------------------------------------------------- +// GTLRNetworkServices_Gateway.envoyHeaders + +/** + * Envoy will insert default internal debug headers into upstream requests: + * x-envoy-attempt-count x-envoy-is-timeout-retry + * x-envoy-expected-rq-timeout-ms x-envoy-original-path + * x-envoy-upstream-stream-duration-ms + * + * Value: "DEBUG_HEADERS" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_Gateway_EnvoyHeaders_DebugHeaders; +/** + * Defaults to NONE. + * + * Value: "ENVOY_HEADERS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_Gateway_EnvoyHeaders_EnvoyHeadersUnspecified; +/** + * Suppress envoy debug headers. + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_Gateway_EnvoyHeaders_None; + +// ---------------------------------------------------------------------------- +// GTLRNetworkServices_Gateway.ipVersion + +/** + * The type for IP version 4. + * + * Value: "IPV4" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_Gateway_IpVersion_Ipv4; +/** + * The type for IP version 6. + * + * Value: "IPV6" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_Gateway_IpVersion_Ipv6; +/** + * The type when IP version is not specified. Defaults to IPV4. + * + * Value: "IP_VERSION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_Gateway_IpVersion_IpVersionUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetworkServices_Gateway.type @@ -276,6 +324,31 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_Respon */ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_ResponseCode_TemporaryRedirect; +// ---------------------------------------------------------------------------- +// GTLRNetworkServices_Mesh.envoyHeaders + +/** + * Envoy will insert default internal debug headers into upstream requests: + * x-envoy-attempt-count x-envoy-is-timeout-retry + * x-envoy-expected-rq-timeout-ms x-envoy-original-path + * x-envoy-upstream-stream-duration-ms + * + * Value: "DEBUG_HEADERS" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_Mesh_EnvoyHeaders_DebugHeaders; +/** + * Defaults to NONE. + * + * Value: "ENVOY_HEADERS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_Mesh_EnvoyHeaders_EnvoyHeadersUnspecified; +/** + * Suppress envoy debug headers. + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_Mesh_EnvoyHeaders_None; + /** * Specifies the audit configuration for a service. The configuration * determines which permission types are logged, and what identities, if any, @@ -650,7 +723,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_Respon * Gateway represents the configuration for a proxy, typically a load balancer. * It captures the ip:port over which the services are exposed by the proxy, * along with any policy configurations. Routes have reference to to Gateways - * to dictate how requests should be routed by this Gateway. + * to dictate how requests should be routed by this Gateway. Next id: 29 */ @interface GTLRNetworkServices_Gateway : GTLRObject @@ -680,6 +753,24 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_Respon */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** + * Optional. Determines if envoy will insert internal debug headers into + * upstream requests. Other Envoy headers may still be injected. By default, + * envoy will not insert any debug headers. + * + * Likely values: + * @arg @c kGTLRNetworkServices_Gateway_EnvoyHeaders_DebugHeaders Envoy will + * insert default internal debug headers into upstream requests: + * x-envoy-attempt-count x-envoy-is-timeout-retry + * x-envoy-expected-rq-timeout-ms x-envoy-original-path + * x-envoy-upstream-stream-duration-ms (Value: "DEBUG_HEADERS") + * @arg @c kGTLRNetworkServices_Gateway_EnvoyHeaders_EnvoyHeadersUnspecified + * Defaults to NONE. (Value: "ENVOY_HEADERS_UNSPECIFIED") + * @arg @c kGTLRNetworkServices_Gateway_EnvoyHeaders_None Suppress envoy + * debug headers. (Value: "NONE") + */ +@property(nonatomic, copy, nullable) NSString *envoyHeaders; + /** * Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how * a server should apply security policy to inbound (VM to Proxy) initiated @@ -689,6 +780,21 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_Respon */ @property(nonatomic, copy, nullable) NSString *gatewaySecurityPolicy; +/** + * Optional. The IP Version that will be used by this gateway. Valid options + * are IPV4 or IPV6. Default is IPV4. + * + * Likely values: + * @arg @c kGTLRNetworkServices_Gateway_IpVersion_Ipv4 The type for IP + * version 4. (Value: "IPV4") + * @arg @c kGTLRNetworkServices_Gateway_IpVersion_Ipv6 The type for IP + * version 6. (Value: "IPV6") + * @arg @c kGTLRNetworkServices_Gateway_IpVersion_IpVersionUnspecified The + * type when IP version is not specified. Defaults to IPV4. (Value: + * "IP_VERSION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *ipVersion; + /** Optional. Set of label tags associated with the Gateway resource. */ @property(nonatomic, strong, nullable) GTLRNetworkServices_Gateway_Labels *labels; @@ -1087,6 +1193,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_Respon */ @property(nonatomic, strong, nullable) GTLRNetworkServices_GrpcRouteFaultInjectionPolicy *faultInjectionPolicy; +/** + * Optional. Specifies the idle timeout for the selected route. The idle + * timeout is defined as the period in which there are no bytes sent or + * received on either the upstream or downstream connection. If not set, the + * default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. + */ +@property(nonatomic, strong, nullable) GTLRDuration *idleTimeout; + /** Optional. Specifies the retry policy associated with this route. */ @property(nonatomic, strong, nullable) GTLRNetworkServices_GrpcRouteRetryPolicy *retryPolicy; @@ -1313,6 +1427,22 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_Respon */ @interface GTLRNetworkServices_HttpRouteDestination : GTLRObject +/** + * Optional. The specification for modifying the headers of a matching request + * prior to delivery of the request to the destination. If HeaderModifiers are + * set on both the Destination and the RouteAction, they will be merged. + * Conflicts between the two will not be resolved on the configuration. + */ +@property(nonatomic, strong, nullable) GTLRNetworkServices_HttpRouteHeaderModifier *requestHeaderModifier; + +/** + * Optional. The specification for modifying the headers of a response prior to + * sending the response back to the client. If HeaderModifiers are set on both + * the Destination and the RouteAction, they will be merged. Conflicts between + * the two will not be resolved on the configuration. + */ +@property(nonatomic, strong, nullable) GTLRNetworkServices_HttpRouteHeaderModifier *responseHeaderModifier; + /** The URL of a BackendService to route traffic to. */ @property(nonatomic, copy, nullable) NSString *serviceName; @@ -1521,6 +1651,35 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_Respon @end +/** + * Static HTTP response object to be returned. + */ +@interface GTLRNetworkServices_HttpRouteHttpDirectResponse : GTLRObject + +/** + * Optional. Response body as bytes. Maximum body size is 4096B. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *bytesBody; + +/** + * Required. Status to return as part of HTTP Response. Must be a positive + * integer. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *status; + +/** + * Optional. Response body as a string. Maximum body length is 1024 characters. + */ +@property(nonatomic, copy, nullable) NSString *stringBody; + +@end + + /** * Specifications to match a query parameter in the request. */ @@ -1646,6 +1805,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_Respon */ @property(nonatomic, strong, nullable) GTLRNetworkServices_HttpRouteDestination *destination; +/** + * Optional. The percentage of requests to get mirrored to the desired + * destination. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *mirrorPercent; + @end @@ -1696,6 +1863,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_Respon /** The destination to which traffic should be forwarded. */ @property(nonatomic, strong, nullable) NSArray *destinations; +/** + * Optional. Static HTTP Response object to be returned regardless of the + * request. + */ +@property(nonatomic, strong, nullable) GTLRNetworkServices_HttpRouteHttpDirectResponse *directResponse; + /** * The specification for fault injection introduced into traffic to test the * resiliency of clients to backend service failure. As part of fault @@ -1707,6 +1880,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_Respon */ @property(nonatomic, strong, nullable) GTLRNetworkServices_HttpRouteFaultInjectionPolicy *faultInjectionPolicy; +/** + * Optional. Specifies the idle timeout for the selected route. The idle + * timeout is defined as the period in which there are no bytes sent or + * received on either the upstream or downstream connection. If not set, the + * default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. + */ +@property(nonatomic, strong, nullable) GTLRDuration *idleTimeout; + /** If set, the request is directed as configured by this field. */ @property(nonatomic, strong, nullable) GTLRNetworkServices_HttpRouteRedirect *redirect; @@ -2227,6 +2408,24 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_Respon */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** + * Optional. Determines if envoy will insert internal debug headers into + * upstream requests. Other Envoy headers may still be injected. By default, + * envoy will not insert any debug headers. + * + * Likely values: + * @arg @c kGTLRNetworkServices_Mesh_EnvoyHeaders_DebugHeaders Envoy will + * insert default internal debug headers into upstream requests: + * x-envoy-attempt-count x-envoy-is-timeout-retry + * x-envoy-expected-rq-timeout-ms x-envoy-original-path + * x-envoy-upstream-stream-duration-ms (Value: "DEBUG_HEADERS") + * @arg @c kGTLRNetworkServices_Mesh_EnvoyHeaders_EnvoyHeadersUnspecified + * Defaults to NONE. (Value: "ENVOY_HEADERS_UNSPECIFIED") + * @arg @c kGTLRNetworkServices_Mesh_EnvoyHeaders_None Suppress envoy debug + * headers. (Value: "NONE") + */ +@property(nonatomic, copy, nullable) NSString *envoyHeaders; + /** * Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy * to listen on the specified port of localhost (127.0.0.1) address. The @@ -2689,6 +2888,15 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_Respon */ @property(nonatomic, strong, nullable) NSArray *destinations; +/** + * Optional. Specifies the idle timeout for the selected route. The idle + * timeout is defined as the period in which there are no bytes sent or + * received on either the upstream or downstream connection. If not set, the + * default idle timeout is 30 seconds. If set to 0s, the timeout will be + * disabled. + */ +@property(nonatomic, strong, nullable) GTLRDuration *idleTimeout; + /** * Optional. If true, Router will use the destination IP and port of the * original connection as the destination of the request. Default is false. @@ -2879,6 +3087,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_HttpRouteRedirect_Respon */ @property(nonatomic, strong, nullable) NSArray *destinations; +/** + * Optional. Specifies the idle timeout for the selected route. The idle + * timeout is defined as the period in which there are no bytes sent or + * received on either the upstream or downstream connection. If not set, the + * default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. + */ +@property(nonatomic, strong, nullable) GTLRDuration *idleTimeout; + @end diff --git a/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m b/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m index 1c4a2d1d5..22b665145 100644 --- a/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m +++ b/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m @@ -122,13 +122,17 @@ NSString * const kGTLROnDemandScanning_Occurrence_Kind_VulnerabilityAssessment = @"VULNERABILITY_ASSESSMENT"; // GTLROnDemandScanning_PackageData.packageType +NSString * const kGTLROnDemandScanning_PackageData_PackageType_Composer = @"COMPOSER"; NSString * const kGTLROnDemandScanning_PackageData_PackageType_Go = @"GO"; NSString * const kGTLROnDemandScanning_PackageData_PackageType_GoStdlib = @"GO_STDLIB"; NSString * const kGTLROnDemandScanning_PackageData_PackageType_Maven = @"MAVEN"; NSString * const kGTLROnDemandScanning_PackageData_PackageType_Npm = @"NPM"; +NSString * const kGTLROnDemandScanning_PackageData_PackageType_Nuget = @"NUGET"; NSString * const kGTLROnDemandScanning_PackageData_PackageType_Os = @"OS"; NSString * const kGTLROnDemandScanning_PackageData_PackageType_PackageTypeUnspecified = @"PACKAGE_TYPE_UNSPECIFIED"; NSString * const kGTLROnDemandScanning_PackageData_PackageType_Pypi = @"PYPI"; +NSString * const kGTLROnDemandScanning_PackageData_PackageType_Rubygems = @"RUBYGEMS"; +NSString * const kGTLROnDemandScanning_PackageData_PackageType_Rust = @"RUST"; // GTLROnDemandScanning_PackageIssue.effectiveSeverity NSString * const kGTLROnDemandScanning_PackageIssue_EffectiveSeverity_Critical = @"CRITICAL"; diff --git a/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h b/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h index 6180c42d0..ce9ecadec 100644 --- a/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h +++ b/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h @@ -509,6 +509,12 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_Occurrence_Kind_Vulnera // ---------------------------------------------------------------------------- // GTLROnDemandScanning_PackageData.packageType +/** + * PHP packages from Composer package manager. + * + * Value: "COMPOSER" + */ +FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_PackageData_PackageType_Composer; /** * Go third-party packages. * @@ -533,6 +539,12 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_PackageData_PackageType * Value: "NPM" */ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_PackageData_PackageType_Npm; +/** + * Nuget (C#/.NET) packages. + * + * Value: "NUGET" + */ +FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_PackageData_PackageType_Nuget; /** * Operating System * @@ -547,6 +559,18 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_PackageData_PackageType * Value: "PYPI" */ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_PackageData_PackageType_Pypi; +/** + * Ruby packges (from RubyGems package manager). + * + * Value: "RUBYGEMS" + */ +FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_PackageData_PackageType_Rubygems; +/** + * Rust packages from Cargo (Github ecosystem is `RUST`). + * + * Value: "RUST" + */ +FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_PackageData_PackageType_Rust; // ---------------------------------------------------------------------------- // GTLROnDemandScanning_PackageIssue.effectiveSeverity @@ -2618,6 +2642,8 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence * The type of package: os, maven, go, etc. * * Likely values: + * @arg @c kGTLROnDemandScanning_PackageData_PackageType_Composer PHP + * packages from Composer package manager. (Value: "COMPOSER") * @arg @c kGTLROnDemandScanning_PackageData_PackageType_Go Go third-party * packages. (Value: "GO") * @arg @c kGTLROnDemandScanning_PackageData_PackageType_GoStdlib Go @@ -2626,12 +2652,18 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence * from Maven. (Value: "MAVEN") * @arg @c kGTLROnDemandScanning_PackageData_PackageType_Npm NPM packages. * (Value: "NPM") + * @arg @c kGTLROnDemandScanning_PackageData_PackageType_Nuget Nuget + * (C#/.NET) packages. (Value: "NUGET") * @arg @c kGTLROnDemandScanning_PackageData_PackageType_Os Operating System * (Value: "OS") * @arg @c kGTLROnDemandScanning_PackageData_PackageType_PackageTypeUnspecified * Value "PACKAGE_TYPE_UNSPECIFIED" * @arg @c kGTLROnDemandScanning_PackageData_PackageType_Pypi Python * packages. (Value: "PYPI") + * @arg @c kGTLROnDemandScanning_PackageData_PackageType_Rubygems Ruby + * packges (from RubyGems package manager). (Value: "RUBYGEMS") + * @arg @c kGTLROnDemandScanning_PackageData_PackageType_Rust Rust packages + * from Cargo (Github ecosystem is `RUST`). (Value: "RUST") */ @property(nonatomic, copy, nullable) NSString *packageType; diff --git a/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIObjects.m b/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIObjects.m index 022a20996..6374096ec 100644 --- a/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIObjects.m +++ b/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIObjects.m @@ -171,7 +171,12 @@ + (NSString *)collectionItemsKey { // @implementation GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Policy -@dynamic alternate, dryRunSpec, name, spec; +@dynamic alternate, dryRunSpec, ETag, name, spec; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + @end diff --git a/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIQuery.m b/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIQuery.m index 897fdd2e1..69e24efd7 100644 --- a/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIQuery.m +++ b/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIQuery.m @@ -65,7 +65,11 @@ + (instancetype)queryWithObject:(GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Policy * @implementation GTLROrgPolicyAPIQuery_FoldersPoliciesDelete -@dynamic name; +@dynamic ETag, name; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; @@ -325,7 +329,11 @@ + (instancetype)queryWithObject:(GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Policy * @implementation GTLROrgPolicyAPIQuery_OrganizationsPoliciesDelete -@dynamic name; +@dynamic ETag, name; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; @@ -474,7 +482,11 @@ + (instancetype)queryWithObject:(GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Policy * @implementation GTLROrgPolicyAPIQuery_ProjectsPoliciesDelete -@dynamic name; +@dynamic ETag, name; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; diff --git a/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h b/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h index df1a605de..b4525ab7b 100644 --- a/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h +++ b/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h @@ -403,6 +403,14 @@ FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Custo */ @property(nonatomic, strong, nullable) GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2PolicySpec *dryRunSpec; +/** + * Optional. An opaque tag indicating the current state of the policy, used for + * concurrency control. This 'etag' is computed by the server based on the + * value of other fields, and may be sent on update and delete requests to + * ensure the client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + /** * Immutable. The resource name of the policy. Must be one of the following * forms, where `constraint_name` is the name of the constraint which this @@ -429,12 +437,12 @@ FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Custo @interface GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2PolicySpec : GTLRObject /** - * An opaque tag indicating the current version of the policy, used for + * An opaque tag indicating the current version of the policySpec, used for * concurrency control. This field is ignored if used in a `CreatePolicy` - * request. When the policy` is returned from either a `GetPolicy` or a + * request. When the policy is returned from either a `GetPolicy` or a * `ListPolicies` request, this `etag` indicates the version of the current - * policy to use when executing a read-modify-write loop. When the policy is - * returned from a `GetEffectivePolicy` request, the `etag` will be unset. + * policySpec to use when executing a read-modify-write loop. When the policy + * is returned from a `GetEffectivePolicy` request, the `etag` will be unset. */ @property(nonatomic, copy, nullable) NSString *ETag; diff --git a/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIQuery.h b/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIQuery.h index 4703a3d5b..0132a63c0 100644 --- a/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIQuery.h +++ b/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIQuery.h @@ -140,6 +140,13 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLROrgPolicyAPIQuery_FoldersPoliciesDelete : GTLROrgPolicyAPIQuery +/** + * Optional. The current etag of policy. If an etag is provided and does not + * match the current etag of the policy, deletion will be blocked and an + * ABORTED error will be returned. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + /** * Required. Name of the policy to delete. See the policy entry for naming * rules. @@ -657,6 +664,13 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLROrgPolicyAPIQuery_OrganizationsPoliciesDelete : GTLROrgPolicyAPIQuery +/** + * Optional. The current etag of policy. If an etag is provided and does not + * match the current etag of the policy, deletion will be blocked and an + * ABORTED error will be returned. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + /** * Required. Name of the policy to delete. See the policy entry for naming * rules. @@ -974,6 +988,13 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLROrgPolicyAPIQuery_ProjectsPoliciesDelete : GTLROrgPolicyAPIQuery +/** + * Optional. The current etag of policy. If an etag is provided and does not + * match the current etag of the policy, deletion will be blocked and an + * ABORTED error will be returned. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + /** * Required. Name of the policy to delete. See the policy entry for naming * rules. diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionService.m b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionService.m index 31d6bb840..34b4770e5 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionService.m +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionService.m @@ -8,6 +8,15 @@ #import +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopePaymentsResellerSubscriptionOpenid = @"openid"; + +// ---------------------------------------------------------------------------- +// GTLRPaymentsResellerSubscriptionService +// + @implementation GTLRPaymentsResellerSubscriptionService - (instancetype)init { diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h index 69892df9a..79ed5e44a 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN */ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccidentalPurchase; /** - * User account closed. + * Used for notification only, do not use in Cancel API. User account closed. * * Value: "CANCELLATION_REASON_ACCOUNT_CLOSED" */ @@ -89,13 +89,15 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud */ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse; /** - * Cancellation by a system. + * Used for notification only, do not use in Cancel API. The subscription is + * cancelled by Google automatically since it is no longer valid. * * Value: "CANCELLATION_REASON_SYSTEM_CANCEL" */ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel; /** - * Cancellation due to an unrecoverable system error. + * Used for notification only, do not use in Cancel API. Cancellation due to an + * unrecoverable system error. * * Value: "CANCELLATION_REASON_SYSTEM_ERROR" */ @@ -348,7 +350,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud */ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccidentalPurchase; /** - * User account closed. + * Used for notification only, do not use in Cancel API. User account closed. * * Value: "CANCELLATION_REASON_ACCOUNT_CLOSED" */ @@ -378,13 +380,15 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud */ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonRemorse; /** - * Cancellation by a system. + * Used for notification only, do not use in Cancel API. The subscription is + * cancelled by Google automatically since it is no longer valid. * * Value: "CANCELLATION_REASON_SYSTEM_CANCEL" */ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel; /** - * Cancellation due to an unrecoverable system error. + * Used for notification only, do not use in Cancel API. Cancellation due to an + * unrecoverable system error. * * Value: "CANCELLATION_REASON_SYSTEM_ERROR" */ @@ -601,7 +605,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Accidential purchase. (Value: * "CANCELLATION_REASON_ACCIDENTAL_PURCHASE") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccountClosed - * User account closed. (Value: "CANCELLATION_REASON_ACCOUNT_CLOSED") + * Used for notification only, do not use in Cancel API. User account + * closed. (Value: "CANCELLATION_REASON_ACCOUNT_CLOSED") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonFraud * Fraudualant transaction. (Value: "CANCELLATION_REASON_FRAUD") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonOther @@ -611,9 +616,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse * Buyer's remorse. (Value: "CANCELLATION_REASON_REMORSE") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel - * Cancellation by a system. (Value: "CANCELLATION_REASON_SYSTEM_CANCEL") + * Used for notification only, do not use in Cancel API. The subscription + * is cancelled by Google automatically since it is no longer valid. + * (Value: "CANCELLATION_REASON_SYSTEM_CANCEL") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError - * Cancellation due to an unrecoverable system error. (Value: + * Used for notification only, do not use in Cancel API. Cancellation due + * to an unrecoverable system error. (Value: * "CANCELLATION_REASON_SYSTEM_ERROR") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified * Reason is unspecified. (Value: "CANCELLATION_REASON_UNSPECIFIED") @@ -738,7 +746,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * The idempotency key for the request. The ID generation logic is controlled * by the partner. request_id should be the same as on retries of the same * request. A different request_id must be used for a extension of a different - * cycle. A random UUID is recommended. + * cycle. */ @property(nonatomic, copy, nullable) NSString *requestId; @@ -1404,7 +1412,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Accidential purchase. (Value: * "CANCELLATION_REASON_ACCIDENTAL_PURCHASE") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccountClosed - * User account closed. (Value: "CANCELLATION_REASON_ACCOUNT_CLOSED") + * Used for notification only, do not use in Cancel API. User account + * closed. (Value: "CANCELLATION_REASON_ACCOUNT_CLOSED") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonFraud * Fraudualant transaction. (Value: "CANCELLATION_REASON_FRAUD") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonOther @@ -1414,9 +1423,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonRemorse * Buyer's remorse. (Value: "CANCELLATION_REASON_REMORSE") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel - * Cancellation by a system. (Value: "CANCELLATION_REASON_SYSTEM_CANCEL") + * Used for notification only, do not use in Cancel API. The subscription + * is cancelled by Google automatically since it is no longer valid. + * (Value: "CANCELLATION_REASON_SYSTEM_CANCEL") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemError - * Cancellation due to an unrecoverable system error. (Value: + * Used for notification only, do not use in Cancel API. Cancellation due + * to an unrecoverable system error. (Value: * "CANCELLATION_REASON_SYSTEM_ERROR") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified * Reason is unspecified. (Value: "CANCELLATION_REASON_UNSPECIFIED") diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h index 7e0cfc5ae..447755c16 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h @@ -36,6 +36,9 @@ NS_ASSUME_NONNULL_BEGIN * autenticated with a service account. * * Method: paymentsresellersubscription.partners.products.list + * + * Authorization scope(s): + * @c kGTLRAuthScopePaymentsResellerSubscriptionOpenid */ @interface GTLRPaymentsResellerSubscriptionQuery_PartnersProductsList : GTLRPaymentsResellerSubscriptionQuery @@ -96,10 +99,13 @@ NS_ASSUME_NONNULL_BEGIN /** * To find eligible promotions for the current user. The API requires user - * authorization via OAuth. The user is inferred from the authenticated OAuth - * credential. + * authorization via OAuth. The bare minimum oauth scope `openid` is + * sufficient, which will skip the consent screen. * * Method: paymentsresellersubscription.partners.promotions.findEligible + * + * Authorization scope(s): + * @c kGTLRAuthScopePaymentsResellerSubscriptionOpenid */ @interface GTLRPaymentsResellerSubscriptionQuery_PartnersPromotionsFindEligible : GTLRPaymentsResellerSubscriptionQuery @@ -114,8 +120,8 @@ NS_ASSUME_NONNULL_BEGIN * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse. * * To find eligible promotions for the current user. The API requires user - * authorization via OAuth. The user is inferred from the authenticated OAuth - * credential. + * authorization via OAuth. The bare minimum oauth scope `openid` is + * sufficient, which will skip the consent screen. * * @param object The @c * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest @@ -135,6 +141,9 @@ NS_ASSUME_NONNULL_BEGIN * partner. It should be autenticated with a service account. * * Method: paymentsresellersubscription.partners.promotions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopePaymentsResellerSubscriptionOpenid */ @interface GTLRPaymentsResellerSubscriptionQuery_PartnersPromotionsList : GTLRPaymentsResellerSubscriptionQuery @@ -200,6 +209,9 @@ NS_ASSUME_NONNULL_BEGIN * called directly by the partner using service accounts. * * Method: paymentsresellersubscription.partners.subscriptions.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopePaymentsResellerSubscriptionOpenid */ @interface GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsCancel : GTLRPaymentsResellerSubscriptionQuery @@ -237,6 +249,9 @@ NS_ASSUME_NONNULL_BEGIN * credentials. This API must be authorized by the end user using OAuth. * * Method: paymentsresellersubscription.partners.subscriptions.create + * + * Authorization scope(s): + * @c kGTLRAuthScopePaymentsResellerSubscriptionOpenid */ @interface GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsCreate : GTLRPaymentsResellerSubscriptionQuery @@ -282,6 +297,9 @@ NS_ASSUME_NONNULL_BEGIN * OAuth. * * Method: paymentsresellersubscription.partners.subscriptions.entitle + * + * Authorization scope(s): + * @c kGTLRAuthScopePaymentsResellerSubscriptionOpenid */ @interface GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsEntitle : GTLRPaymentsResellerSubscriptionQuery @@ -322,6 +340,9 @@ NS_ASSUME_NONNULL_BEGIN * called directly by the partner using service accounts. * * Method: paymentsresellersubscription.partners.subscriptions.extend + * + * Authorization scope(s): + * @c kGTLRAuthScopePaymentsResellerSubscriptionOpenid */ @interface GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsExtend : GTLRPaymentsResellerSubscriptionQuery @@ -359,6 +380,9 @@ NS_ASSUME_NONNULL_BEGIN * by the partner using service accounts. * * Method: paymentsresellersubscription.partners.subscriptions.get + * + * Authorization scope(s): + * @c kGTLRAuthScopePaymentsResellerSubscriptionOpenid */ @interface GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsGet : GTLRPaymentsResellerSubscriptionQuery @@ -393,6 +417,9 @@ NS_ASSUME_NONNULL_BEGIN * directly by the partner using service accounts. * * Method: paymentsresellersubscription.partners.subscriptions.provision + * + * Authorization scope(s): + * @c kGTLRAuthScopePaymentsResellerSubscriptionOpenid */ @interface GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsProvision : GTLRPaymentsResellerSubscriptionQuery @@ -440,6 +467,9 @@ NS_ASSUME_NONNULL_BEGIN * the partner using service accounts. * * Method: paymentsresellersubscription.partners.subscriptions.undoCancel + * + * Authorization scope(s): + * @c kGTLRAuthScopePaymentsResellerSubscriptionOpenid */ @interface GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsUndoCancel : GTLRPaymentsResellerSubscriptionQuery diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionService.h b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionService.h index cebb8b6cc..8f49542bd 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionService.h +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionService.h @@ -19,6 +19,20 @@ NS_ASSUME_NONNULL_BEGIN +// ---------------------------------------------------------------------------- +// Authorization scope + +/** + * Authorization scope: Associate you with your personal info on Google + * + * Value "openid" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopePaymentsResellerSubscriptionOpenid; + +// ---------------------------------------------------------------------------- +// GTLRPaymentsResellerSubscriptionService +// + /** * Service for executing Payments Reseller Subscription API queries. */ diff --git a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m index 614435099..f88d3e5ba 100644 --- a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m +++ b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m @@ -57,7 +57,6 @@ NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_MeetsDeviceIntegrity = @"MEETS_DEVICE_INTEGRITY"; NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_MeetsStrongIntegrity = @"MEETS_STRONG_INTEGRITY"; NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_MeetsVirtualIntegrity = @"MEETS_VIRTUAL_INTEGRITY"; -NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_MeetsWeakIntegrity = @"MEETS_WEAK_INTEGRITY"; NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_Unknown = @"UNKNOWN"; // GTLRPlayIntegrity_EnvironmentDetails.playProtectVerdict @@ -69,6 +68,14 @@ NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_PossibleRisk = @"POSSIBLE_RISK"; NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_Unevaluated = @"UNEVALUATED"; +// GTLRPlayIntegrity_RecentDeviceActivity.deviceActivityLevel +NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_DeviceActivityLevelUnspecified = @"DEVICE_ACTIVITY_LEVEL_UNSPECIFIED"; +NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level1 = @"LEVEL_1"; +NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level2 = @"LEVEL_2"; +NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level3 = @"LEVEL_3"; +NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level4 = @"LEVEL_4"; +NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Unevaluated = @"UNEVALUATED"; + // ---------------------------------------------------------------------------- // // GTLRPlayIntegrity_AccountActivity @@ -144,7 +151,7 @@ @implementation GTLRPlayIntegrity_DecodeIntegrityTokenResponse // @implementation GTLRPlayIntegrity_DeviceIntegrity -@dynamic deviceRecognitionVerdict; +@dynamic deviceRecognitionVerdict, recentDeviceActivity; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -166,6 +173,16 @@ @implementation GTLRPlayIntegrity_EnvironmentDetails @end +// ---------------------------------------------------------------------------- +// +// GTLRPlayIntegrity_RecentDeviceActivity +// + +@implementation GTLRPlayIntegrity_RecentDeviceActivity +@dynamic deviceActivityLevel; +@end + + // ---------------------------------------------------------------------------- // // GTLRPlayIntegrity_RequestDetails diff --git a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h index 86e6e4a87..ae8dcec6d 100644 --- a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h +++ b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h @@ -23,6 +23,7 @@ @class GTLRPlayIntegrity_AppIntegrity; @class GTLRPlayIntegrity_DeviceIntegrity; @class GTLRPlayIntegrity_EnvironmentDetails; +@class GTLRPlayIntegrity_RecentDeviceActivity; @class GTLRPlayIntegrity_RequestDetails; @class GTLRPlayIntegrity_TestingDetails; @class GTLRPlayIntegrity_TokenPayloadExternal; @@ -258,13 +259,6 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceReco * Value: "MEETS_VIRTUAL_INTEGRITY" */ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_MeetsVirtualIntegrity; -/** - * 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 GTLR_DEPRECATED; /** * Play does not have sufficient information to evaluate device integrity * @@ -319,6 +313,46 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayPro */ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_Unevaluated; +// ---------------------------------------------------------------------------- +// GTLRPlayIntegrity_RecentDeviceActivity.deviceActivityLevel + +/** + * Device activity level has not been set. + * + * Value: "DEVICE_ACTIVITY_LEVEL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_DeviceActivityLevelUnspecified; +/** + * Indicates the amount of used tokens. See the documentation for details. + * + * Value: "LEVEL_1" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level1; +/** + * Indicates the amount of used tokens. See the documentation for details. + * + * Value: "LEVEL_2" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level2; +/** + * Indicates the amount of used tokens. See the documentation for details. + * + * Value: "LEVEL_3" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level3; +/** + * Indicates the amount of used tokens. See the documentation for details. + * + * Value: "LEVEL_4" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level4; +/** + * Device activity level has not been evaluated. + * + * Value: "UNEVALUATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Unevaluated; + /** * (Restricted Access) Contains a signal helping apps differentiating between * likely genuine and likely non-genuine user traffic. @@ -530,6 +564,9 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayPro /** Details about the integrity of the device the app is running on. */ @property(nonatomic, strong, nullable) NSArray *deviceRecognitionVerdict; +/** Details about the device activity of the device the app is running on. */ +@property(nonatomic, strong, nullable) GTLRPlayIntegrity_RecentDeviceActivity *recentDeviceActivity; + @end @@ -571,6 +608,40 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayPro @end +/** + * Recent device activity can help developers identify devices that have + * exhibited hyperactive attestation activity, which could be a sign of an + * attack or token farming. + */ +@interface GTLRPlayIntegrity_RecentDeviceActivity : GTLRObject + +/** + * Required. Indicates the activity level of the device. + * + * Likely values: + * @arg @c kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_DeviceActivityLevelUnspecified + * Device activity level has not been set. (Value: + * "DEVICE_ACTIVITY_LEVEL_UNSPECIFIED") + * @arg @c kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level1 + * Indicates the amount of used tokens. See the documentation for + * details. (Value: "LEVEL_1") + * @arg @c kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level2 + * Indicates the amount of used tokens. See the documentation for + * details. (Value: "LEVEL_2") + * @arg @c kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level3 + * Indicates the amount of used tokens. See the documentation for + * details. (Value: "LEVEL_3") + * @arg @c kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level4 + * Indicates the amount of used tokens. See the documentation for + * details. (Value: "LEVEL_4") + * @arg @c kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Unevaluated + * Device activity level has not been evaluated. (Value: "UNEVALUATED") + */ +@property(nonatomic, copy, nullable) NSString *deviceActivityLevel; + +@end + + /** * Contains the integrity request information. */ diff --git a/Sources/GeneratedServices/Playdeveloperreporting/GTLRPlaydeveloperreportingObjects.m b/Sources/GeneratedServices/Playdeveloperreporting/GTLRPlaydeveloperreportingObjects.m index 3a8982a8d..6f16db84f 100644 --- a/Sources/GeneratedServices/Playdeveloperreporting/GTLRPlaydeveloperreportingObjects.m +++ b/Sources/GeneratedServices/Playdeveloperreporting/GTLRPlaydeveloperreportingObjects.m @@ -201,7 +201,8 @@ @implementation GTLRPlaydeveloperreporting_GooglePlayDeveloperReportingV1beta1Er // @implementation GTLRPlaydeveloperreporting_GooglePlayDeveloperReportingV1beta1ErrorReport -@dynamic deviceModel, eventTime, issue, name, osVersion, reportText, type; +@dynamic appVersion, deviceModel, eventTime, issue, name, osVersion, reportText, + type, vcsInformation; @end diff --git a/Sources/GeneratedServices/Playdeveloperreporting/Public/GoogleAPIClientForREST/GTLRPlaydeveloperreportingObjects.h b/Sources/GeneratedServices/Playdeveloperreporting/Public/GoogleAPIClientForREST/GTLRPlaydeveloperreportingObjects.h index 17dbb9d6d..3ebb602ee 100644 --- a/Sources/GeneratedServices/Playdeveloperreporting/Public/GoogleAPIClientForREST/GTLRPlaydeveloperreportingObjects.h +++ b/Sources/GeneratedServices/Playdeveloperreporting/Public/GoogleAPIClientForREST/GTLRPlaydeveloperreportingObjects.h @@ -391,7 +391,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPlaydeveloperreporting_GooglePlayDevelop /** Metric set resource where the anomaly was detected. */ @property(nonatomic, copy, nullable) NSString *metricSet; -/** Name of the anomaly. Format: apps/{app}/anomalies/{anomaly} */ +/** Identifier. Name of the anomaly. Format: apps/{app}/anomalies/{anomaly} */ @property(nonatomic, copy, nullable) NSString *name; /** Timeline specification that covers the anomaly period. */ @@ -470,7 +470,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPlaydeveloperreporting_GooglePlayDevelop /** Summary about data freshness in this resource. */ @property(nonatomic, strong, nullable) GTLRPlaydeveloperreporting_GooglePlayDeveloperReportingV1beta1FreshnessInfo *freshnessInfo; -/** The resource name. Format: apps/{app}/anrRateMetricSet */ +/** Identifier. The resource name. Format: apps/{app}/anrRateMetricSet */ @property(nonatomic, copy, nullable) NSString *name; @end @@ -488,7 +488,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPlaydeveloperreporting_GooglePlayDevelop */ @property(nonatomic, copy, nullable) NSString *displayName; -/** The resource name. Format: apps/{app} */ +/** Identifier. The resource name. Format: apps/{app} */ @property(nonatomic, copy, nullable) NSString *name; /** Package name of the app. Example: `com.example.app123`. */ @@ -585,7 +585,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPlaydeveloperreporting_GooglePlayDevelop /** Summary about data freshness in this resource. */ @property(nonatomic, strong, nullable) GTLRPlaydeveloperreporting_GooglePlayDeveloperReportingV1beta1FreshnessInfo *freshnessInfo; -/** The resource name. Format: apps/{app}/crashRateMetricSet */ +/** Identifier. The resource name. Format: apps/{app}/crashRateMetricSet */ @property(nonatomic, copy, nullable) NSString *name; @end @@ -810,7 +810,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPlaydeveloperreporting_GooglePlayDevelop */ @property(nonatomic, copy, nullable) NSString *location; -/** The resource name of the issue. Format: apps/{app}/errorIssues/{issue} */ +/** + * Identifier. The resource name of the issue. Format: + * apps/{app}/errorIssues/{issue} + */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -843,6 +846,9 @@ FOUNDATION_EXTERN NSString * const kGTLRPlaydeveloperreporting_GooglePlayDevelop */ @interface GTLRPlaydeveloperreporting_GooglePlayDeveloperReportingV1beta1ErrorReport : GTLRObject +/** The app version on which an event in this error report occurred on. */ +@property(nonatomic, strong, nullable) GTLRPlaydeveloperreporting_GooglePlayDeveloperReportingV1beta1AppVersion *appVersion; + /** A device model on which an event in this error report occurred on. */ @property(nonatomic, strong, nullable) GTLRPlaydeveloperreporting_GooglePlayDeveloperReportingV1beta1DeviceModelSummary *deviceModel; @@ -895,6 +901,14 @@ FOUNDATION_EXTERN NSString * const kGTLRPlaydeveloperreporting_GooglePlayDevelop */ @property(nonatomic, copy, nullable) NSString *type; +/** + * Version control system information from + * BUNDLE-METADATA/version-control-info.textproto or + * META-INF/version-control-info.textproto of the app bundle or APK, + * respectively. + */ +@property(nonatomic, copy, nullable) NSString *vcsInformation; + @end @@ -956,7 +970,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPlaydeveloperreporting_GooglePlayDevelop /** Summary about data freshness in this resource. */ @property(nonatomic, strong, nullable) GTLRPlaydeveloperreporting_GooglePlayDeveloperReportingV1beta1FreshnessInfo *freshnessInfo; -/** The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet */ +/** + * Identifier. The resource name. Format: + * apps/{app}/excessiveWakeupRateMetricSet + */ @property(nonatomic, copy, nullable) NSString *name; @end @@ -2278,7 +2295,9 @@ FOUNDATION_EXTERN NSString * const kGTLRPlaydeveloperreporting_GooglePlayDevelop /** Summary about data freshness in this resource. */ @property(nonatomic, strong, nullable) GTLRPlaydeveloperreporting_GooglePlayDeveloperReportingV1beta1FreshnessInfo *freshnessInfo; -/** The resource name. Format: apps/{app}/slowRenderingRateMetricSet */ +/** + * Identifier. The resource name. Format: apps/{app}/slowRenderingRateMetricSet + */ @property(nonatomic, copy, nullable) NSString *name; @end @@ -2342,7 +2361,9 @@ FOUNDATION_EXTERN NSString * const kGTLRPlaydeveloperreporting_GooglePlayDevelop /** Summary about data freshness in this resource. */ @property(nonatomic, strong, nullable) GTLRPlaydeveloperreporting_GooglePlayDeveloperReportingV1beta1FreshnessInfo *freshnessInfo; -/** The resource name. Format: apps/{app}/slowStartRateMetricSet */ +/** + * Identifier. The resource name. Format: apps/{app}/slowStartRateMetricSet + */ @property(nonatomic, copy, nullable) NSString *name; @end @@ -2407,7 +2428,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPlaydeveloperreporting_GooglePlayDevelop @property(nonatomic, strong, nullable) GTLRPlaydeveloperreporting_GooglePlayDeveloperReportingV1beta1FreshnessInfo *freshnessInfo; /** - * The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet + * Identifier. The resource name. Format: + * apps/{app}/stuckBackgroundWakelockRateMetricSet */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/PolicySimulator/GTLRPolicySimulatorObjects.m b/Sources/GeneratedServices/PolicySimulator/GTLRPolicySimulatorObjects.m index c239c4ea3..182d5a023 100644 --- a/Sources/GeneratedServices/PolicySimulator/GTLRPolicySimulatorObjects.m +++ b/Sources/GeneratedServices/PolicySimulator/GTLRPolicySimulatorObjects.m @@ -178,7 +178,12 @@ @implementation GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint // @implementation GTLRPolicySimulator_GoogleCloudOrgpolicyV2Policy -@dynamic alternate, dryRunSpec, name, spec; +@dynamic alternate, dryRunSpec, ETag, name, spec; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + @end diff --git a/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h b/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h index d6362cf71..581871cab 100644 --- a/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h +++ b/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h @@ -770,6 +770,14 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi */ @property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpec *dryRunSpec; +/** + * Optional. An opaque tag indicating the current state of the policy, used for + * concurrency control. This 'etag' is computed by the server based on the + * value of other fields, and may be sent on update and delete requests to + * ensure the client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + /** * Immutable. The resource name of the policy. Must be one of the following * forms, where `constraint_name` is the name of the constraint which this @@ -796,12 +804,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi @interface GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpec : GTLRObject /** - * An opaque tag indicating the current version of the policy, used for + * An opaque tag indicating the current version of the policySpec, used for * concurrency control. This field is ignored if used in a `CreatePolicy` - * request. When the policy` is returned from either a `GetPolicy` or a + * request. When the policy is returned from either a `GetPolicy` or a * `ListPolicies` request, this `etag` indicates the version of the current - * policy to use when executing a read-modify-write loop. When the policy is - * returned from a `GetEffectivePolicy` request, the `etag` will be unset. + * policySpec to use when executing a read-modify-write loop. When the policy + * is returned from a `GetEffectivePolicy` request, the `etag` will be unset. */ @property(nonatomic, copy, nullable) NSString *ETag; @@ -2173,9 +2181,25 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -2189,7 +2213,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; diff --git a/Sources/GeneratedServices/PolicyTroubleshooter/Public/GoogleAPIClientForREST/GTLRPolicyTroubleshooterObjects.h b/Sources/GeneratedServices/PolicyTroubleshooter/Public/GoogleAPIClientForREST/GTLRPolicyTroubleshooterObjects.h index 2f8ea07ea..c7d1e4390 100644 --- a/Sources/GeneratedServices/PolicyTroubleshooter/Public/GoogleAPIClientForREST/GTLRPolicyTroubleshooterObjects.h +++ b/Sources/GeneratedServices/PolicyTroubleshooter/Public/GoogleAPIClientForREST/GTLRPolicyTroubleshooterObjects.h @@ -799,9 +799,25 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicyTroubleshooter_GoogleIamV1AuditLog * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -815,7 +831,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicyTroubleshooter_GoogleIamV1AuditLog * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; diff --git a/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m b/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m index cde9e5a8d..ccf36ea78 100644 --- a/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m +++ b/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m @@ -83,7 +83,8 @@ @implementation GTLRPubsub_AvroConfig // @implementation GTLRPubsub_BigQueryConfig -@dynamic dropUnknownFields, state, table, useTopicSchema, writeMetadata; +@dynamic dropUnknownFields, state, table, useTableSchema, useTopicSchema, + writeMetadata; @end diff --git a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h index c6c5fbb3f..b3ca4fd6c 100644 --- a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h +++ b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h @@ -313,9 +313,19 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J */ @property(nonatomic, copy, nullable) NSString *table; +/** + * Optional. When true, use the BigQuery table's schema as the columns to write + * to in BigQuery. `use_table_schema` and `use_topic_schema` cannot be enabled + * at the same time. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *useTableSchema; + /** * Optional. When true, use the topic's schema as the columns to write to in - * BigQuery, if it exists. + * BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be + * enabled at the same time. * * Uses NSNumber of boolValue. */ @@ -369,9 +379,25 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -385,7 +411,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m b/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m index d0ac30355..3546185d1 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m +++ b/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m @@ -639,7 +639,7 @@ @implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RelatedA // @implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership -@dynamic hashedAccountId, name; +@dynamic accountId, hashedAccountId, name; @end @@ -726,7 +726,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest -@dynamic hashedAccountId, pageSize, pageToken; +@dynamic accountId, hashedAccountId, pageSize, pageToken; @end diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h index 988151c23..4a6d7c80f 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h +++ b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h @@ -1798,14 +1798,22 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @interface GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership : GTLRObject /** - * The unique stable hashed user identifier of the member. The identifier - * corresponds to a `hashed_account_id` provided in a previous - * `CreateAssessment` or `AnnotateAssessment` call. + * The unique stable account identifier of the member. The identifier + * corresponds to an `account_id` provided in a previous `CreateAssessment` or + * `AnnotateAssessment` call. + */ +@property(nonatomic, copy, nullable) NSString *accountId; + +/** + * Deprecated: use `account_id` instead. The unique stable hashed account + * identifier of the member. The identifier corresponds to a + * `hashed_account_id` provided in a previous `CreateAssessment` or + * `AnnotateAssessment` call. * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). */ -@property(nonatomic, copy, nullable) NSString *hashedAccountId; +@property(nonatomic, copy, nullable) NSString *hashedAccountId GTLR_DEPRECATED; /** * Required. Identifier. The resource name for this membership in the format @@ -1924,14 +1932,24 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @interface GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest : GTLRObject /** - * Optional. The unique stable hashed user identifier used to search - * connections. The identifier should correspond to a `hashed_account_id` - * provided in a previous `CreateAssessment` or `AnnotateAssessment` call. + * Optional. The unique stable account identifier used to search connections. + * The identifier should correspond to an `account_id` provided in a previous + * `CreateAssessment` or `AnnotateAssessment` call. Either hashed_account_id or + * account_id must be set, but not both. + */ +@property(nonatomic, copy, nullable) NSString *accountId; + +/** + * Optional. Deprecated: use `account_id` instead. The unique stable hashed + * account identifier used to search connections. The identifier should + * correspond to a `hashed_account_id` provided in a previous + * `CreateAssessment` or `AnnotateAssessment` call. Either hashed_account_id or + * account_id must be set, but not both. * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). */ -@property(nonatomic, copy, nullable) NSString *hashedAccountId; +@property(nonatomic, copy, nullable) NSString *hashedAccountId GTLR_DEPRECATED; /** * Optional. The maximum number of groups to return. The service might return diff --git a/Sources/GeneratedServices/Recommender/GTLRRecommenderObjects.m b/Sources/GeneratedServices/Recommender/GTLRRecommenderObjects.m index 167eac61a..1e5d5e922 100644 --- a/Sources/GeneratedServices/Recommender/GTLRRecommenderObjects.m +++ b/Sources/GeneratedServices/Recommender/GTLRRecommenderObjects.m @@ -69,7 +69,7 @@ // @implementation GTLRRecommender_GoogleCloudRecommenderV1CostProjection -@dynamic cost, duration; +@dynamic cost, costInLocalCurrency, duration; @end diff --git a/Sources/GeneratedServices/Recommender/Public/GoogleAPIClientForREST/GTLRRecommenderObjects.h b/Sources/GeneratedServices/Recommender/Public/GoogleAPIClientForREST/GTLRRecommenderObjects.h index a3a14d346..9985e8c20 100644 --- a/Sources/GeneratedServices/Recommender/Public/GoogleAPIClientForREST/GTLRRecommenderObjects.h +++ b/Sources/GeneratedServices/Recommender/Public/GoogleAPIClientForREST/GTLRRecommenderObjects.h @@ -343,6 +343,9 @@ FOUNDATION_EXTERN NSString * const kGTLRRecommender_GoogleCloudRecommenderV1Reli */ @property(nonatomic, strong, nullable) GTLRRecommender_GoogleTypeMoney *cost; +/** The approximate cost savings in the billing account's local currency. */ +@property(nonatomic, strong, nullable) GTLRRecommender_GoogleTypeMoney *costInLocalCurrency; + /** Duration for which this cost applies. */ @property(nonatomic, strong, nullable) GTLRDuration *duration; @@ -384,7 +387,7 @@ FOUNDATION_EXTERN NSString * const kGTLRRecommender_GoogleCloudRecommenderV1Reli /** Use with CategoryType.COST */ @property(nonatomic, strong, nullable) GTLRRecommender_GoogleCloudRecommenderV1CostProjection *costProjection; -/** Use with CategoryType.RELAIBILITY */ +/** Use with CategoryType.RELIABILITY */ @property(nonatomic, strong, nullable) GTLRRecommender_GoogleCloudRecommenderV1ReliabilityProjection *reliabilityProjection; /** Use with CategoryType.SECURITY */ diff --git a/Sources/GeneratedServices/SASPortal/GTLRSASPortalObjects.m b/Sources/GeneratedServices/SASPortal/GTLRSASPortalObjects.m index b804fb8b0..911e9a2cd 100644 --- a/Sources/GeneratedServices/SASPortal/GTLRSASPortalObjects.m +++ b/Sources/GeneratedServices/SASPortal/GTLRSASPortalObjects.m @@ -398,6 +398,24 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRSASPortal_ListLegacyOrganizationsResponse +// + +@implementation GTLRSASPortal_ListLegacyOrganizationsResponse +@dynamic organizationIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"organizationIds" : [NSNumber class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSASPortal_ListNodesResponse diff --git a/Sources/GeneratedServices/SASPortal/GTLRSASPortalQuery.m b/Sources/GeneratedServices/SASPortal/GTLRSASPortalQuery.m index 27a8c9491..3a9597ce8 100644 --- a/Sources/GeneratedServices/SASPortal/GTLRSASPortalQuery.m +++ b/Sources/GeneratedServices/SASPortal/GTLRSASPortalQuery.m @@ -495,6 +495,21 @@ + (instancetype)query { @end +@implementation GTLRSASPortalQuery_CustomersListLegacyOrganizations + ++ (instancetype)query { + NSString *pathURITemplate = @"v1alpha1/customers:listLegacyOrganizations"; + GTLRSASPortalQuery_CustomersListLegacyOrganizations *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRSASPortal_ListLegacyOrganizationsResponse class]; + query.loggingName = @"sasportal.customers.listLegacyOrganizations"; + return query; +} + +@end + @implementation GTLRSASPortalQuery_CustomersMigrateOrganization + (instancetype)queryWithObject:(GTLRSASPortal_MigrateOrganizationRequest *)object { diff --git a/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalObjects.h b/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalObjects.h index d93f4acf3..86cf0fcf5 100644 --- a/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalObjects.h +++ b/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalObjects.h @@ -985,6 +985,22 @@ FOUNDATION_EXTERN NSString * const kGTLRSASPortal_NrqzValidation_State_StateUnsp @end +/** + * Response for [ListLegacyOrganizations]. + * [spectrum.sas.portal.v1alpha1.Provisioning.ListLegacyOrganizations]. + */ +@interface GTLRSASPortal_ListLegacyOrganizationsResponse : GTLRObject + +/** + * Optional. IDs of legacy SAS organizations. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *organizationIds; + +@end + + /** * Response for ListNodes. * diff --git a/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalQuery.h b/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalQuery.h index ff58b5d44..13d36633d 100644 --- a/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalQuery.h +++ b/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalQuery.h @@ -716,6 +716,28 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Checks whether account is legacy. + * + * Method: sasportal.customers.listLegacyOrganizations + * + * Authorization scope(s): + * @c kGTLRAuthScopeSASPortal + * @c kGTLRAuthScopeSASPortalCloudPlatform + */ +@interface GTLRSASPortalQuery_CustomersListLegacyOrganizations : GTLRSASPortalQuery + +/** + * Fetches a @c GTLRSASPortal_ListLegacyOrganizationsResponse. + * + * Checks whether account is legacy. + * + * @return GTLRSASPortalQuery_CustomersListLegacyOrganizations + */ ++ (instancetype)query; + +@end + /** * Migrates a SAS organization to the cloud. This will create GCP projects for * each deployment and associate them. The SAS Organization is linked to the diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m index c98db7d9e..c5ee2d88b 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m @@ -360,6 +360,7 @@ NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_BinlogRetentionSetting = @"BINLOG_RETENTION_SETTING"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_ConnectionFailure = @"CONNECTION_FAILURE"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_ExistingDataInReplica = @"EXISTING_DATA_IN_REPLICA"; +NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_IncompatibleDatabaseMinorVersion = @"INCOMPATIBLE_DATABASE_MINOR_VERSION"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_IncompatibleDatabaseVersion = @"INCOMPATIBLE_DATABASE_VERSION"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_InsufficientGcsPermissions = @"INSUFFICIENT_GCS_PERMISSIONS"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_InsufficientMaxReplicationSlots = @"INSUFFICIENT_MAX_REPLICATION_SLOTS"; @@ -381,6 +382,7 @@ NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PrimaryAlreadySetup = @"PRIMARY_ALREADY_SETUP"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_ReplicaAlreadySetup = @"REPLICA_ALREADY_SETUP"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_RiskyBackupAdminPrivilege = @"RISKY_BACKUP_ADMIN_PRIVILEGE"; +NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SourceMaxSubscriptions = @"SOURCE_MAX_SUBSCRIPTIONS"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlExternalSyncSettingErrorTypeUnspecified = @"SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlserverAgentNotRunning = @"SQLSERVER_AGENT_NOT_RUNNING"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlserverServernameMismatch = @"SQLSERVER_SERVERNAME_MISMATCH"; diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h index de9453a4b..16de7c58c 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h @@ -1904,6 +1904,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Typ * Value: "EXISTING_DATA_IN_REPLICA" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_ExistingDataInReplica; +/** + * The minor version of replica database is incompatible with the source. + * + * Value: "INCOMPATIBLE_DATABASE_MINOR_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_IncompatibleDatabaseMinorVersion; /** Value: "INCOMPATIBLE_DATABASE_VERSION" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_IncompatibleDatabaseVersion; /** @@ -2026,6 +2032,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Typ * Value: "RISKY_BACKUP_ADMIN_PRIVILEGE" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_RiskyBackupAdminPrivilege; +/** + * This warning message indicates that Cloud SQL uses the maximum number of + * subscriptions to migrate data from the source to the destination. + * + * Value: "SOURCE_MAX_SUBSCRIPTIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SourceMaxSubscriptions; /** Value: "SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlExternalSyncSettingErrorTypeUnspecified; /** @@ -4386,12 +4399,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @property(nonatomic, strong, nullable) GTLRSQLAdmin_PscConfig *pscConfig; /** + * Use `ssl_mode` instead for MySQL and PostgreSQL. SQL Server uses this flag. * 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 + * client certificates, then use the `ssl_mode` flag instead of the * `require_ssl` flag. * * Uses NSNumber of boolValue. @@ -4399,20 +4413,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @property(nonatomic, strong, nullable) NSNumber *requireSsl; /** - * 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 respects `ssl_mode` in this case and - * only accepts SSL connections. + * SQL Server uses the `require_ssl` flag. You can set the value for this flag + * to 'true' or 'false'. * * Likely values: * @arg @c kGTLRSQLAdmin_IpConfiguration_SslMode_AllowUnencryptedAndEncrypted @@ -5521,6 +5523,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_ExistingDataInReplica * The replica instance contains existing data. (Value: * "EXISTING_DATA_IN_REPLICA") + * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_IncompatibleDatabaseMinorVersion + * The minor version of replica database is incompatible with the source. + * (Value: "INCOMPATIBLE_DATABASE_MINOR_VERSION") * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_IncompatibleDatabaseVersion * Value "INCOMPATIBLE_DATABASE_VERSION" * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_InsufficientGcsPermissions @@ -5584,6 +5589,10 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * Additional BACKUP_ADMIN privilege is granted to the replication user * which may lock source MySQL 8 instance for DDLs during initial sync. * (Value: "RISKY_BACKUP_ADMIN_PRIVILEGE") + * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SourceMaxSubscriptions + * This warning message indicates that Cloud SQL uses the maximum number + * of subscriptions to migrate data from the source to the destination. + * (Value: "SOURCE_MAX_SUBSCRIPTIONS") * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlExternalSyncSettingErrorTypeUnspecified * Value "SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED" * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlserverAgentNotRunning diff --git a/Sources/GeneratedServices/Script/GTLRScriptObjects.m b/Sources/GeneratedServices/Script/GTLRScriptObjects.m index ea0ec5a16..6bbf19cdb 100644 --- a/Sources/GeneratedServices/Script/GTLRScriptObjects.m +++ b/Sources/GeneratedServices/Script/GTLRScriptObjects.m @@ -94,7 +94,7 @@ // @implementation GTLRScript_Content -@dynamic files, scriptId; +@dynamic files, revertFlumeInvoked, scriptId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h b/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h index 1153087dd..a50c0d075 100644 --- a/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h +++ b/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h @@ -431,6 +431,15 @@ FOUNDATION_EXTERN NSString * const kGTLRScript_Value_NullValue_NullValue; */ @property(nonatomic, strong, nullable) NSArray *files; +/** + * Set to true if called from revert flume to allow deletion of system + * generated manifest file while validating content request. This value is + * false by default. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *revertFlumeInvoked; + /** The script project's Drive ID. */ @property(nonatomic, copy, nullable) NSString *scriptId; diff --git a/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerObjects.h b/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerObjects.h index 2763ffe2d..af1c67307 100644 --- a/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerObjects.h +++ b/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerObjects.h @@ -271,9 +271,25 @@ FOUNDATION_EXTERN NSString * const kGTLRSecretManager_SecretVersion_State_StateU * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -287,7 +303,10 @@ FOUNDATION_EXTERN NSString * const kGTLRSecretManager_SecretVersion_State_StateU * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; diff --git a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m index 133c1656d..f387bfcec 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m @@ -96,10 +96,16 @@ NSString * const kGTLRSecurityCommandCenter_Cvssv3_UserInteraction_UserInteractionRequired = @"USER_INTERACTION_REQUIRED"; NSString * const kGTLRSecurityCommandCenter_Cvssv3_UserInteraction_UserInteractionUnspecified = @"USER_INTERACTION_UNSPECIFIED"; +// GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule.enablementState +NSString * const kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_EnablementState_Disabled = @"DISABLED"; +NSString * const kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_EnablementState_Enabled = @"ENABLED"; +NSString * const kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_EnablementState_EnablementStateUnspecified = @"ENABLEMENT_STATE_UNSPECIFIED"; + // GTLRSecurityCommandCenter_EventThreatDetectionCustomModule.enablementState NSString * const kGTLRSecurityCommandCenter_EventThreatDetectionCustomModule_EnablementState_Disabled = @"DISABLED"; NSString * const kGTLRSecurityCommandCenter_EventThreatDetectionCustomModule_EnablementState_Enabled = @"ENABLED"; NSString * const kGTLRSecurityCommandCenter_EventThreatDetectionCustomModule_EnablementState_EnablementStateUnspecified = @"ENABLEMENT_STATE_UNSPECIFIED"; +NSString * const kGTLRSecurityCommandCenter_EventThreatDetectionCustomModule_EnablementState_Inherited = @"INHERITED"; // GTLRSecurityCommandCenter_Finding.findingClass NSString * const kGTLRSecurityCommandCenter_Finding_FindingClass_FindingClassUnspecified = @"FINDING_CLASS_UNSPECIFIED"; @@ -313,6 +319,11 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_UnsecuredCredentials = @"UNSECURED_CREDENTIALS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ValidAccounts = @"VALID_ACCOUNTS"; +// GTLRSecurityCommandCenter_ProcessSignature.signatureType +NSString * const kGTLRSecurityCommandCenter_ProcessSignature_SignatureType_SignatureTypeFile = @"SIGNATURE_TYPE_FILE"; +NSString * const kGTLRSecurityCommandCenter_ProcessSignature_SignatureType_SignatureTypeProcess = @"SIGNATURE_TYPE_PROCESS"; +NSString * const kGTLRSecurityCommandCenter_ProcessSignature_SignatureType_SignatureTypeUnspecified = @"SIGNATURE_TYPE_UNSPECIFIED"; + // GTLRSecurityCommandCenter_Role.kind NSString * const kGTLRSecurityCommandCenter_Role_Kind_ClusterRole = @"CLUSTER_ROLE"; NSString * const kGTLRSecurityCommandCenter_Role_Kind_KindUnspecified = @"KIND_UNSPECIFIED"; @@ -371,6 +382,16 @@ @implementation GTLRSecurityCommandCenter_AccessReview @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_Application +// + +@implementation GTLRSecurityCommandCenter_Application +@dynamic baseUri, fullUri; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_Asset @@ -541,6 +562,27 @@ @implementation GTLRSecurityCommandCenter_AuditLogConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_BackupDisasterRecovery +// + +@implementation GTLRSecurityCommandCenter_BackupDisasterRecovery +@dynamic appliance, applications, backupCreateTime, backupTemplate, backupType, + host, policies, policyOptions, profile, storagePool; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"applications" : [NSString class], + @"policies" : [NSString class], + @"policyOptions" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_BatchCreateResourceValueConfigsRequest @@ -814,6 +856,45 @@ @implementation GTLRSecurityCommandCenter_Detection @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_DiskPath +// + +@implementation GTLRSecurityCommandCenter_DiskPath +@dynamic partitionUuid, relativePath; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule +// + +@implementation GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule +@dynamic config, descriptionProperty, displayName, enablementState, name, type; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_Config +// + +@implementation GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_Config + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_Empty @@ -839,8 +920,8 @@ @implementation GTLRSecurityCommandCenter_EnvironmentVariable // @implementation GTLRSecurityCommandCenter_EventThreatDetectionCustomModule -@dynamic config, descriptionProperty, displayName, enablementState, lastEditor, - name, type, updateTime; +@dynamic ancestorModule, config, descriptionProperty, displayName, + enablementState, lastEditor, name, type, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -921,7 +1002,7 @@ @implementation GTLRSecurityCommandCenter_Expr // @implementation GTLRSecurityCommandCenter_File -@dynamic contents, hashedSize, partiallyHashed, path, sha256, size; +@dynamic contents, diskPath, hashedSize, partiallyHashed, path, sha256, size; @end @@ -931,15 +1012,16 @@ @implementation GTLRSecurityCommandCenter_File // @implementation GTLRSecurityCommandCenter_Finding -@dynamic access, attackExposure, canonicalName, category, cloudDlpDataProfile, - cloudDlpInspection, compliances, connections, contacts, containers, - createTime, database, descriptionProperty, eventTime, exfiltration, - externalSystems, externalUri, files, findingClass, iamBindings, - indicator, kernelRootkit, kubernetes, loadBalancers, logEntries, - mitreAttack, moduleName, mute, muteInitiator, muteUpdateTime, name, - nextSteps, orgPolicies, parent, parentDisplayName, processes, - resourceName, securityMarks, securityPosture, severity, - sourceProperties, state, vulnerability; +@dynamic access, application, attackExposure, backupDisasterRecovery, + canonicalName, category, cloudDlpDataProfile, cloudDlpInspection, + compliances, connections, contacts, containers, createTime, database, + descriptionProperty, eventTime, exfiltration, externalSystems, + externalUri, files, findingClass, iamBindings, 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" }; @@ -1640,6 +1722,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_ListDescendantEventThreatDetectionCustomModulesResponse +// + +@implementation GTLRSecurityCommandCenter_ListDescendantEventThreatDetectionCustomModulesResponse +@dynamic eventThreatDetectionCustomModules, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"eventThreatDetectionCustomModules" : [GTLRSecurityCommandCenter_EventThreatDetectionCustomModule class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"eventThreatDetectionCustomModules"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_ListDescendantSecurityHealthAnalyticsCustomModulesResponse @@ -1662,6 +1766,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_ListEffectiveEventThreatDetectionCustomModulesResponse +// + +@implementation GTLRSecurityCommandCenter_ListEffectiveEventThreatDetectionCustomModulesResponse +@dynamic effectiveEventThreatDetectionCustomModules, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"effectiveEventThreatDetectionCustomModules" : [GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"effectiveEventThreatDetectionCustomModules"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_ListEffectiveSecurityHealthAnalyticsCustomModulesResponse @@ -2077,6 +2203,16 @@ @implementation GTLRSecurityCommandCenter_OrgPolicy @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_Package +// + +@implementation GTLRSecurityCommandCenter_Package +@dynamic cpeUri, packageName, packageType, packageVersion; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_PathNodeAssociatedFinding @@ -2166,7 +2302,7 @@ @implementation GTLRSecurityCommandCenter_Process // @implementation GTLRSecurityCommandCenter_ProcessSignature -@dynamic memoryHashSignature, yaraRuleSignature; +@dynamic memoryHashSignature, signatureType, yaraRuleSignature; @end @@ -2235,6 +2371,16 @@ @implementation GTLRSecurityCommandCenter_RunAssetDiscoveryRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_SecurityBulletin +// + +@implementation GTLRSecurityCommandCenter_SecurityBulletin +@dynamic bulletinId, submissionTime, suggestedUpgradeVersion; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_SecurityCenterProperties @@ -2558,7 +2704,7 @@ @implementation GTLRSecurityCommandCenter_ValuedResource // @implementation GTLRSecurityCommandCenter_Vulnerability -@dynamic cve; +@dynamic cve, fixedPackage, offendingPackage, securityBulletin; @end diff --git a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m index d059e04b4..0fe8b6f2f 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m @@ -205,6 +205,201 @@ + (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecurityce @end +@implementation GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_EventThreatDetectionCustomModule *)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}/customModules"; + GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_EventThreatDetectionCustomModule class]; + query.loggingName = @"securitycenter.folders.eventThreatDetectionSettings.customModules.create"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityCommandCenter_Empty class]; + query.loggingName = @"securitycenter.folders.eventThreatDetectionSettings.customModules.delete"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityCommandCenter_EventThreatDetectionCustomModule class]; + query.loggingName = @"securitycenter.folders.eventThreatDetectionSettings.customModules.get"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/customModules"; + GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ListEventThreatDetectionCustomModulesResponse class]; + query.loggingName = @"securitycenter.folders.eventThreatDetectionSettings.customModules.list"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesListDescendant + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/customModules:listDescendant"; + GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesListDescendant *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ListDescendantEventThreatDetectionCustomModulesResponse class]; + query.loggingName = @"securitycenter.folders.eventThreatDetectionSettings.customModules.listDescendant"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_EventThreatDetectionCustomModule *)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}"; + GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecurityCommandCenter_EventThreatDetectionCustomModule class]; + query.loggingName = @"securitycenter.folders.eventThreatDetectionSettings.customModules.patch"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsEffectiveCustomModulesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsEffectiveCustomModulesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule class]; + query.loggingName = @"securitycenter.folders.eventThreatDetectionSettings.effectiveCustomModules.get"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsEffectiveCustomModulesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/effectiveCustomModules"; + GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsEffectiveCustomModulesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ListEffectiveEventThreatDetectionCustomModulesResponse class]; + query.loggingName = @"securitycenter.folders.eventThreatDetectionSettings.effectiveCustomModules.list"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsValidateCustomModule + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleRequest *)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}:validateCustomModule"; + GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsValidateCustomModule *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleResponse class]; + query.loggingName = @"securitycenter.folders.eventThreatDetectionSettings.validateCustomModule"; + return query; +} + +@end + @implementation GTLRSecurityCommandCenterQuery_FoldersFindingsBulkMute @dynamic parent; @@ -1211,6 +1406,25 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesListDescendant + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/customModules:listDescendant"; + GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesListDescendant *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ListDescendantEventThreatDetectionCustomModulesResponse class]; + query.loggingName = @"securitycenter.organizations.eventThreatDetectionSettings.customModules.listDescendant"; + return query; +} + +@end + @implementation GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesPatch @dynamic name, updateMask; @@ -1238,6 +1452,44 @@ + (instancetype)queryWithObject:(GTLRSecurityCommandCenter_EventThreatDetectionC @end +@implementation GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule class]; + query.loggingName = @"securitycenter.organizations.eventThreatDetectionSettings.effectiveCustomModules.get"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/effectiveCustomModules"; + GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ListEffectiveEventThreatDetectionCustomModulesResponse class]; + query.loggingName = @"securitycenter.organizations.eventThreatDetectionSettings.effectiveCustomModules.list"; + return query; +} + +@end + @implementation GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsValidateCustomModule @dynamic parent; @@ -2075,6 +2327,25 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ValuedResource class]; + query.loggingName = @"securitycenter.organizations.simulations.valuedResources.get"; + return query; +} + +@end + @implementation GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesList @dynamic filter, pageSize, pageToken, parent; @@ -2688,6 +2959,201 @@ + (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecurityce @end +@implementation GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_EventThreatDetectionCustomModule *)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}/customModules"; + GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_EventThreatDetectionCustomModule class]; + query.loggingName = @"securitycenter.projects.eventThreatDetectionSettings.customModules.create"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityCommandCenter_Empty class]; + query.loggingName = @"securitycenter.projects.eventThreatDetectionSettings.customModules.delete"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityCommandCenter_EventThreatDetectionCustomModule class]; + query.loggingName = @"securitycenter.projects.eventThreatDetectionSettings.customModules.get"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/customModules"; + GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ListEventThreatDetectionCustomModulesResponse class]; + query.loggingName = @"securitycenter.projects.eventThreatDetectionSettings.customModules.list"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesListDescendant + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/customModules:listDescendant"; + GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesListDescendant *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ListDescendantEventThreatDetectionCustomModulesResponse class]; + query.loggingName = @"securitycenter.projects.eventThreatDetectionSettings.customModules.listDescendant"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_EventThreatDetectionCustomModule *)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}"; + GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecurityCommandCenter_EventThreatDetectionCustomModule class]; + query.loggingName = @"securitycenter.projects.eventThreatDetectionSettings.customModules.patch"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsEffectiveCustomModulesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsEffectiveCustomModulesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule class]; + query.loggingName = @"securitycenter.projects.eventThreatDetectionSettings.effectiveCustomModules.get"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsEffectiveCustomModulesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/effectiveCustomModules"; + GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsEffectiveCustomModulesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ListEffectiveEventThreatDetectionCustomModulesResponse class]; + query.loggingName = @"securitycenter.projects.eventThreatDetectionSettings.effectiveCustomModules.list"; + return query; +} + +@end + +@implementation GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsValidateCustomModule + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleRequest *)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}:validateCustomModule"; + GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsValidateCustomModule *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleResponse class]; + query.loggingName = @"securitycenter.projects.eventThreatDetectionSettings.validateCustomModule"; + return query; +} + +@end + @implementation GTLRSecurityCommandCenterQuery_ProjectsFindingsBulkMute @dynamic parent; diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h index 14e505bd2..ca76dc080 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h @@ -17,6 +17,7 @@ @class GTLRSecurityCommandCenter_Access; @class GTLRSecurityCommandCenter_AccessReview; +@class GTLRSecurityCommandCenter_Application; @class GTLRSecurityCommandCenter_Asset; @class GTLRSecurityCommandCenter_Asset_ResourceProperties; @class GTLRSecurityCommandCenter_AssetDiscoveryConfig; @@ -28,6 +29,7 @@ @class GTLRSecurityCommandCenter_AttackStepNode_Labels; @class GTLRSecurityCommandCenter_AuditConfig; @class GTLRSecurityCommandCenter_AuditLogConfig; +@class GTLRSecurityCommandCenter_BackupDisasterRecovery; @class GTLRSecurityCommandCenter_Binding; @class GTLRSecurityCommandCenter_CloudDlpDataProfile; @class GTLRSecurityCommandCenter_CloudDlpInspection; @@ -44,6 +46,9 @@ @class GTLRSecurityCommandCenter_Cvssv3; @class GTLRSecurityCommandCenter_Database; @class GTLRSecurityCommandCenter_Detection; +@class GTLRSecurityCommandCenter_DiskPath; +@class GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule; +@class GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_Config; @class GTLRSecurityCommandCenter_Empty; @class GTLRSecurityCommandCenter_EnvironmentVariable; @class GTLRSecurityCommandCenter_EventThreatDetectionCustomModule; @@ -100,6 +105,7 @@ @class GTLRSecurityCommandCenter_Operation_Metadata; @class GTLRSecurityCommandCenter_Operation_Response; @class GTLRSecurityCommandCenter_OrgPolicy; +@class GTLRSecurityCommandCenter_Package; @class GTLRSecurityCommandCenter_PathNodeAssociatedFinding; @class GTLRSecurityCommandCenter_Pod; @class GTLRSecurityCommandCenter_Policy; @@ -110,6 +116,7 @@ @class GTLRSecurityCommandCenter_Resource; @class GTLRSecurityCommandCenter_ResourceValueConfigMetadata; @class GTLRSecurityCommandCenter_Role; +@class GTLRSecurityCommandCenter_SecurityBulletin; @class GTLRSecurityCommandCenter_SecurityCenterProperties; @class GTLRSecurityCommandCenter_SecurityMarks; @class GTLRSecurityCommandCenter_SecurityMarks_Marks; @@ -541,6 +548,28 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Cvssv3_UserInterac */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Cvssv3_UserInteraction_UserInteractionUnspecified; +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule.enablementState + +/** + * The module is disabled at the given level. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_EnablementState_Disabled; +/** + * The module is enabled at the given level. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_EnablementState_Enabled; +/** + * Unspecified enablement state. + * + * Value: "ENABLEMENT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_EnablementState_EnablementStateUnspecified; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_EventThreatDetectionCustomModule.enablementState @@ -562,6 +591,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_EventThreatDetecti * Value: "ENABLEMENT_STATE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_EventThreatDetectionCustomModule_EnablementState_EnablementStateUnspecified; +/** + * When the enablement state is inherited. + * + * Value: "INHERITED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_EventThreatDetectionCustomModule_EnablementState_Inherited; // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_Finding.findingClass @@ -1716,6 +1751,28 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ValidAccounts; +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_ProcessSignature.signatureType + +/** + * Used for signatures concerning disks. + * + * Value: "SIGNATURE_TYPE_FILE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ProcessSignature_SignatureType_SignatureTypeFile; +/** + * Used for signatures concerning processes. + * + * Value: "SIGNATURE_TYPE_PROCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ProcessSignature_SignatureType_SignatureTypeProcess; +/** + * The default signature type. + * + * Value: "SIGNATURE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ProcessSignature_SignatureType_SignatureTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_Role.kind @@ -1963,6 +2020,28 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res @end +/** + * Represents an application associated with a finding. + */ +@interface GTLRSecurityCommandCenter_Application : GTLRObject + +/** + * The base URI that identifies the network location of the application in + * which the vulnerability was detected. Examples: http://11.22.33.44, + * http://foo.com, http://11.22.33.44:8080 + */ +@property(nonatomic, copy, nullable) NSString *baseUri; + +/** + * The full URI with payload that can be used to reproduce the vulnerability. + * Example: + * http://11.22.33.44/reflected/parameter/attribute/singlequoted/js?p=aMmYgI6H + */ +@property(nonatomic, copy, nullable) NSString *fullUri; + +@end + + /** * Security Command Center representation of a Google Cloud resource. The Asset * is a Security Command Center resource that captures information about a @@ -2322,6 +2401,90 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res @end +/** + * Information related to Google Cloud Backup and DR Service findings. + */ +@interface GTLRSecurityCommandCenter_BackupDisasterRecovery : GTLRObject + +/** + * The name of the Backup and DR appliance that captures, moves, and manages + * the lifecycle of backup data. For example, “backup-server-57137”. + */ +@property(nonatomic, copy, nullable) NSString *appliance; + +/** + * The names of Backup and DR applications. An application is a VM, database, + * or file system on a managed host monitored by a backup and recovery + * appliance. For example, “centos7-01-vol00”, “centos7-01-vol01”, + * “centos7-01-vol02”. + */ +@property(nonatomic, strong, nullable) NSArray *applications; + +/** The timestamp at which the Backup and DR backup was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *backupCreateTime; + +/** + * The name of a Backup and DR template which comprises one or more backup + * policies. See the [Backup and DR + * documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) + * for more information. For example, “snap-ov”. + */ +@property(nonatomic, copy, nullable) NSString *backupTemplate; + +/** + * The backup type of the Backup and DR image. For example, “Snapshot”, “Remote + * Snapshot”, “OnVault”. + */ +@property(nonatomic, copy, nullable) NSString *backupType; + +/** + * The name of a Backup and DR host, which is managed by the backup and + * recovery appliance and known to the management console. The host can be of + * type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file + * system, etc.), vCenter, or an ESX server. See the [Backup and DR + * documentation on + * hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) + * for more information. For example, “centos7-01”. + */ +@property(nonatomic, copy, nullable) NSString *host; + +/** + * The names of Backup and DR policies that are associated with a template and + * that define when to run a backup, how frequently to run a backup, and how + * long to retain the backup image. For example, “onvaults”. + */ +@property(nonatomic, strong, nullable) NSArray *policies; + +/** + * The names of Backup and DR advanced policy options of a policy applying to + * an application. See the [Backup and DR documentation on policy + * options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). + * For example, “skipofflineappsincongrp, nounmap”. + */ +@property(nonatomic, strong, nullable) NSArray *policyOptions; + +/** + * The name of the Backup and DR resource profile that specifies the storage + * media for backups of application and VM data. See the [Backup and DR + * documentation on + * profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). + * For example, “GCP”. + */ +@property(nonatomic, copy, nullable) NSString *profile; + +/** + * The name of the Backup and DR storage pool that the backup and recovery + * appliance is storing data in. The storage pool could be of type Cloud, + * Primary, Snapshot, or OnVault. See the [Backup and DR documentation on + * storage + * pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). + * For example, “DiskPoolOne”. + */ +@property(nonatomic, copy, nullable) NSString *storagePool; + +@end + + /** * Request message to create multiple resource value configs */ @@ -2378,9 +2541,25 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -2394,7 +2573,10 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; @@ -2992,6 +3174,95 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res @end +/** + * Path of the file in terms of underlying disk/partition identifiers. + */ +@interface GTLRSecurityCommandCenter_DiskPath : GTLRObject + +/** + * UUID of the partition (format + * https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid) + */ +@property(nonatomic, copy, nullable) NSString *partitionUuid; + +/** + * Relative path of the file in the partition as a JSON encoded string. + * Example: /home/user1/executable_file.sh + */ +@property(nonatomic, copy, nullable) NSString *relativePath; + +@end + + +/** + * An EffectiveEventThreatDetectionCustomModule is the representation of an + * Event Threat Detection custom module at a specified level of the resource + * hierarchy: organization, folder, or project. If a custom module is inherited + * from a parent organization or folder, the value of the `enablement_state` + * property in EffectiveEventThreatDetectionCustomModule is set to the value + * that is effective in the parent, instead of `INHERITED`. For example, if the + * module is enabled in a parent organization or folder, the effective + * `enablement_state` for the module in all child folders or projects is also + * `enabled`. EffectiveEventThreatDetectionCustomModule is read-only. + */ +@interface GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule : GTLRObject + +/** Output only. Config for the effective module. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_Config *config; + +/** + * Output only. The description for the module. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Output only. The human readable name to be displayed for the module. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. The effective state of enablement for the module at the given + * level of the hierarchy. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_EnablementState_Disabled + * The module is disabled at the given level. (Value: "DISABLED") + * @arg @c kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_EnablementState_Enabled + * The module is enabled at the given level. (Value: "ENABLED") + * @arg @c kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_EnablementState_EnablementStateUnspecified + * Unspecified enablement state. (Value: "ENABLEMENT_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *enablementState; + +/** + * Output only. The resource name of the effective ETD custom module. Its + * format is: * + * "organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Type for the module. e.g. CONFIGURABLE_BAD_IP. */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * Output only. Config for the effective module. + * + * @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 GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_Config : GTLRObject +@end + + /** * A generic empty message that you can re-use to avoid defining duplicated * empty messages in your APIs. A typical example is to use it as the request @@ -3020,10 +3291,19 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res /** * Represents an instance of an Event Threat Detection custom module, including * its full module name, display name, enablement state, and last updated time. - * You can create a custom module at the organization level only. + * You can create a custom module at the organization, folder, or project + * level. Custom modules that you create at the organization or folder level + * are inherited by child folders and projects. */ @interface GTLRSecurityCommandCenter_EventThreatDetectionCustomModule : GTLRObject +/** + * Output only. The closest ancestor module that this module inherits the + * enablement state from. The format is the same as the + * EventThreatDetectionCustomModule resource name. + */ +@property(nonatomic, copy, nullable) NSString *ancestorModule; + /** * Config for the module. For the resident module, its config value is defined * at this level. For the inherited module, its config value is inherited from @@ -3051,6 +3331,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res * The module is enabled at the given level. (Value: "ENABLED") * @arg @c kGTLRSecurityCommandCenter_EventThreatDetectionCustomModule_EnablementState_EnablementStateUnspecified * Unspecified enablement state. (Value: "ENABLEMENT_STATE_UNSPECIFIED") + * @arg @c kGTLRSecurityCommandCenter_EventThreatDetectionCustomModule_EnablementState_Inherited + * When the enablement state is inherited. (Value: "INHERITED") */ @property(nonatomic, copy, nullable) NSString *enablementState; @@ -3201,6 +3483,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res /** Prefix of the file contents as a JSON-encoded string. */ @property(nonatomic, copy, nullable) NSString *contents; +/** Path of the file in terms of underlying disk/partition identifiers. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_DiskPath *diskPath; + /** * The length in bytes of the file prefix that was hashed. If hashed_size == * size, any hashes reported represent the entire file. @@ -3251,9 +3536,15 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_Access *access; +/** Represents an application associated with the finding. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_Application *application; + /** The results of an attack path simulation relevant to this finding. */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_AttackExposure *attackExposure; +/** Fields related to Backup and DR findings. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_BackupDisasterRecovery *backupDisasterRecovery; + /** * The canonical name of the finding. It's either * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", @@ -5258,6 +5549,34 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res @end +/** + * Response for listing current and descendant resident Event Threat Detection + * custom modules. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "eventThreatDetectionCustomModules" property. If returned as the + * result of a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRSecurityCommandCenter_ListDescendantEventThreatDetectionCustomModulesResponse : GTLRCollectionObject + +/** + * Custom modules belonging to the requested parent. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *eventThreatDetectionCustomModules; + +/** + * 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 listing descendant Security Health Analytics custom * modules. @@ -5286,6 +5605,33 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res @end +/** + * Response for listing EffectiveEventThreatDetectionCustomModules. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "effectiveEventThreatDetectionCustomModules" property. If returned + * as the result of a query, it should support automatic pagination (when + * @c shouldFetchNextPages is enabled). + */ +@interface GTLRSecurityCommandCenter_ListEffectiveEventThreatDetectionCustomModulesResponse : GTLRCollectionObject + +/** + * Effective custom modules belonging to the requested parent. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *effectiveEventThreatDetectionCustomModules; + +/** + * 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 listing effective Security Health Analytics custom * modules. @@ -5796,7 +6142,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res /** Kubernetes object group, such as "policy.k8s.io/v1". */ @property(nonatomic, copy, nullable) NSString *group; -/** Kubernetes object kind, such as “Namespace”. */ +/** Kubernetes object kind, such as "Namespace". */ @property(nonatomic, copy, nullable) NSString *kind; /** @@ -5938,6 +6284,26 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res @end +/** + * Package is a generic definition of a package. + */ +@interface GTLRSecurityCommandCenter_Package : GTLRObject + +/** The CPE URI where the vulnerability was detected. */ +@property(nonatomic, copy, nullable) NSString *cpeUri; + +/** The name of the package where the vulnerability was detected. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Type of package, for example, os, maven, or go. */ +@property(nonatomic, copy, nullable) NSString *packageType; + +/** The version of the package. */ +@property(nonatomic, copy, nullable) NSString *packageVersion; + +@end + + /** * A finding that is associated with this node in the attack path. */ @@ -6163,6 +6529,20 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res /** Signature indicating that a binary family was matched. */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_MemoryHashSignature *memoryHashSignature; +/** + * Describes the type of resource associated with the signature. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_ProcessSignature_SignatureType_SignatureTypeFile + * Used for signatures concerning disks. (Value: "SIGNATURE_TYPE_FILE") + * @arg @c kGTLRSecurityCommandCenter_ProcessSignature_SignatureType_SignatureTypeProcess + * Used for signatures concerning processes. (Value: + * "SIGNATURE_TYPE_PROCESS") + * @arg @c kGTLRSecurityCommandCenter_ProcessSignature_SignatureType_SignatureTypeUnspecified + * The default signature type. (Value: "SIGNATURE_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *signatureType; + /** Signature indicating that a YARA rule was matched. */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_YaraRuleSignature *yaraRuleSignature; @@ -6271,6 +6651,26 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res @end +/** + * SecurityBulletin are notifications of vulnerabilities of Google products. + */ +@interface GTLRSecurityCommandCenter_SecurityBulletin : GTLRObject + +/** ID of the bulletin corresponding to the vulnerability. */ +@property(nonatomic, copy, nullable) NSString *bulletinId; + +/** Submission time of this Security Bulletin. */ +@property(nonatomic, strong, nullable) GTLRDateTime *submissionTime; + +/** + * This represents a version that the cluster receiving this notification + * should be upgraded to, based on its current version. For example, 1.15.0 + */ +@property(nonatomic, copy, nullable) NSString *suggestedUpgradeVersion; + +@end + + /** * Security Command Center managed properties. These properties are managed by * Security Command Center and cannot be modified by the user. @@ -6517,8 +6917,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res /** - * Manually constructed resource. If the custom module only evaluates against - * the resource data, the iam_policy_data field can be omitted, and vice versa. + * Manually constructed resource name. If the custom module evaluates against + * only the resource data, you can omit the `iam_policy_data` field. If it + * evaluates only the `iam_policy_data` field, you can omit the resource data. */ @interface GTLRSecurityCommandCenter_SimulatedResource : GTLRObject @@ -6526,20 +6927,23 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_Policy *iamPolicyData; /** - * Optional. A representation of the GCP resource. Should match the GCP - * resource JSON format. + * Optional. A representation of the Google Cloud resource. Should match the + * Google Cloud resource JSON format. */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_SimulatedResource_ResourceData *resourceData; -/** Required. The type of the resource, e.g. `compute.googleapis.com/Disk`. */ +/** + * Required. The type of the resource, for example, + * `compute.googleapis.com/Disk`. + */ @property(nonatomic, copy, nullable) NSString *resourceType; @end /** - * Optional. A representation of the GCP resource. Should match the GCP - * resource JSON format. + * Optional. A representation of the Google Cloud resource. Should match the + * Google Cloud resource JSON format. * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to @@ -6576,7 +6980,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res */ @interface GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleRequest : GTLRObject -/** Required. The user specified custom configuration to test. */ +/** Required. The custom configuration that you need to test. */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1CustomConfig *customConfig; /** Required. Resource data to simulate custom module against. */ @@ -6586,7 +6990,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res /** - * Response message for simulating a SecurityHealthAnalyticsCustomModule + * Response message for simulating a `SecurityHealthAnalyticsCustomModule` * against a given resource. */ @interface GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleResponse : GTLRObject @@ -6892,6 +7296,15 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_Cve *cve; +/** The fixed package is relevant to the finding. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_Package *fixedPackage; + +/** The offending package is relevant to the finding. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_Package *offendingPackage; + +/** The security bulletin is relevant to this finding. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_SecurityBulletin *securityBulletin; + @end diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h index 4e81b191b..d6d521da6 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h @@ -500,346 +500,387 @@ GTLR_DEPRECATED @end /** - * Kicks off an LRO to bulk mute findings for a parent based on a filter. The - * parent can be either an organization, folder or project. The findings - * matched by the filter will be muted after the LRO is done. + * Creates a resident Event Threat Detection custom module at the scope of the + * given Resource Manager parent, and also creates inherited custom modules for + * all descendants of the given parent. These modules are enabled by default. * - * Method: securitycenter.folders.findings.bulkMute + * Method: securitycenter.folders.eventThreatDetectionSettings.customModules.create * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersFindingsBulkMute : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesCreate : GTLRSecurityCommandCenterQuery /** - * Required. The parent, at which bulk action needs to be applied. Its format - * is "organizations/[organization_id]", "folders/[folder_id]", - * "projects/[project_id]". + * Required. The new custom module's parent. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_Operation. + * Fetches a @c GTLRSecurityCommandCenter_EventThreatDetectionCustomModule. * - * Kicks off an LRO to bulk mute findings for a parent based on a filter. The - * parent can be either an organization, folder or project. The findings - * matched by the filter will be muted after the LRO is done. + * Creates a resident Event Threat Detection custom module at the scope of the + * given Resource Manager parent, and also creates inherited custom modules for + * all descendants of the given parent. These modules are enabled by default. * - * @param object The @c GTLRSecurityCommandCenter_BulkMuteFindingsRequest to - * include in the query. - * @param parent Required. The parent, at which bulk action needs to be - * applied. Its format is "organizations/[organization_id]", - * "folders/[folder_id]", "projects/[project_id]". + * @param object The @c + * GTLRSecurityCommandCenter_EventThreatDetectionCustomModule to include in + * the query. + * @param parent Required. The new custom module's parent. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_FoldersFindingsBulkMute + * @return GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesCreate */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_BulkMuteFindingsRequest *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_EventThreatDetectionCustomModule *)object parent:(NSString *)parent; @end /** - * Deletes an existing mute config. + * Deletes the specified Event Threat Detection custom module and all of its + * descendants in the Resource Manager hierarchy. This method is only supported + * for resident custom modules. * - * Method: securitycenter.folders.locations.muteConfigs.delete + * Method: securitycenter.folders.eventThreatDetectionSettings.customModules.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsDelete : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesDelete : GTLRSecurityCommandCenterQuery /** - * Required. Name of the mute config to delete. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * Required. Name of the custom module to delete. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * Deletes an existing mute config. + * Deletes the specified Event Threat Detection custom module and all of its + * descendants in the Resource Manager hierarchy. This method is only supported + * for resident custom modules. * - * @param name Required. Name of the mute config to delete. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * @param name Required. Name of the custom module to delete. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". * - * @return GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsDelete + * @return GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Gets a mute config. + * Gets an Event Threat Detection custom module. * - * Method: securitycenter.folders.locations.muteConfigs.get + * Method: securitycenter.folders.eventThreatDetectionSettings.customModules.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsGet : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesGet : GTLRSecurityCommandCenterQuery /** - * Required. Name of the mute config to retrieve. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * Required. Name of the custom module to get. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. + * Fetches a @c GTLRSecurityCommandCenter_EventThreatDetectionCustomModule. * - * Gets a mute config. + * Gets an Event Threat Detection custom module. * - * @param name Required. Name of the mute config to retrieve. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * @param name Required. Name of the custom module to get. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". * - * @return GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsGet + * @return GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Updates a mute config. + * Lists all Event Threat Detection custom modules for the given Resource + * Manager parent. This includes resident modules defined at the scope of the + * parent along with modules inherited from ancestors. * - * Method: securitycenter.folders.locations.muteConfigs.patch + * Method: securitycenter.folders.eventThreatDetectionSettings.customModules.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesList : GTLRSecurityCommandCenterQuery /** - * This field will be ignored if provided on config creation. Format - * "organizations/{organization}/muteConfigs/{mute_config}" - * "folders/{folder}/muteConfigs/{mute_config}" - * "projects/{project}/muteConfigs/{mute_config}" - * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" - * "folders/{folder}/locations/global/muteConfigs/{mute_config}" - * "projects/{project}/locations/global/muteConfigs/{mute_config}" + * The maximum number of modules to return. The service may return fewer than + * this value. If unspecified, at most 10 configs will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, assign) NSInteger pageSize; /** - * The list of fields to be updated. If empty all mutable fields will be - * updated. - * - * String format is a comma-separated list of fields. + * A page token, received from a previous + * `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListEventThreatDetectionCustomModules` must match the call that provided + * the page token. */ -@property(nonatomic, copy, nullable) NSString *updateMask; +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Name of the parent to list custom modules under. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". + */ +@property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. + * GTLRSecurityCommandCenter_ListEventThreatDetectionCustomModulesResponse. * - * Updates a mute config. + * Lists all Event Threat Detection custom modules for the given Resource + * Manager parent. This includes resident modules defined at the scope of the + * parent along with modules inherited from ancestors. * - * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include - * in the query. - * @param name This field will be ignored if provided on config creation. - * Format "organizations/{organization}/muteConfigs/{mute_config}" - * "folders/{folder}/muteConfigs/{mute_config}" - * "projects/{project}/muteConfigs/{mute_config}" - * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" - * "folders/{folder}/locations/global/muteConfigs/{mute_config}" - * "projects/{project}/locations/global/muteConfigs/{mute_config}" + * @param parent Required. Name of the parent to list custom modules under. Its + * format is: * "organizations/{organization}/eventThreatDetectionSettings". + * * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsPatch + * @return GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object - name:(NSString *)name; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Creates a mute config. + * Lists all resident Event Threat Detection custom modules under the given + * Resource Manager parent and its descendants. * - * Method: securitycenter.folders.muteConfigs.create + * Method: securitycenter.folders.eventThreatDetectionSettings.customModules.listDescendant * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersMuteConfigsCreate : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesListDescendant : GTLRSecurityCommandCenterQuery /** - * Required. Unique identifier provided by the client within the parent scope. - * It must consist of only lowercase letters, numbers, and hyphens, must start - * with a letter, must end with either a letter or a number, and must be 63 - * characters or less. + * The maximum number of modules to return. The service may return fewer than + * this value. If unspecified, at most 10 configs will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. */ -@property(nonatomic, copy, nullable) NSString *muteConfigId; +@property(nonatomic, assign) NSInteger pageSize; /** - * Required. Resource name of the new mute configs's parent. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * A page token, received from a previous + * `ListDescendantEventThreatDetectionCustomModules` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided + * to `ListDescendantEventThreatDetectionCustomModules` must match the call + * that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Name of the parent to list custom modules under. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ @property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. + * GTLRSecurityCommandCenter_ListDescendantEventThreatDetectionCustomModulesResponse. * - * Creates a mute config. + * Lists all resident Event Threat Detection custom modules under the given + * Resource Manager parent and its descendants. * - * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include - * in the query. - * @param parent Required. Resource name of the new mute configs's parent. Its - * format is "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * @param parent Required. Name of the parent to list custom modules under. Its + * format is: * "organizations/{organization}/eventThreatDetectionSettings". + * * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_FoldersMuteConfigsCreate + * @return GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesListDescendant + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object - parent:(NSString *)parent; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Deletes an existing mute config. + * Updates the Event Threat Detection custom module with the given name based + * on the given update mask. Updating the enablement state is supported for + * both resident and inherited modules (though resident modules cannot have an + * enablement state of "inherited"). Updating the display name or configuration + * of a module is supported for resident modules only. The type of a module + * cannot be changed. * - * Method: securitycenter.folders.muteConfigs.delete + * Method: securitycenter.folders.eventThreatDetectionSettings.customModules.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersMuteConfigsDelete : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesPatch : GTLRSecurityCommandCenterQuery /** - * Required. Name of the mute config to delete. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * Immutable. The resource name of the Event Threat Detection custom module. + * Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_Empty. + * The list of fields to be updated. If empty all mutable fields will be + * updated. * - * Deletes an existing mute config. + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecurityCommandCenter_EventThreatDetectionCustomModule. * - * @param name Required. Name of the mute config to delete. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * Updates the Event Threat Detection custom module with the given name based + * on the given update mask. Updating the enablement state is supported for + * both resident and inherited modules (though resident modules cannot have an + * enablement state of "inherited"). Updating the display name or configuration + * of a module is supported for resident modules only. The type of a module + * cannot be changed. * - * @return GTLRSecurityCommandCenterQuery_FoldersMuteConfigsDelete + * @param object The @c + * GTLRSecurityCommandCenter_EventThreatDetectionCustomModule to include in + * the query. + * @param name Immutable. The resource name of the Event Threat Detection + * custom module. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". + * + * @return GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsCustomModulesPatch */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_EventThreatDetectionCustomModule *)object + name:(NSString *)name; @end /** - * Gets a mute config. + * Gets an effective Event Threat Detection custom module at the given level. * - * Method: securitycenter.folders.muteConfigs.get + * Method: securitycenter.folders.eventThreatDetectionSettings.effectiveCustomModules.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersMuteConfigsGet : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsEffectiveCustomModulesGet : GTLRSecurityCommandCenterQuery /** - * Required. Name of the mute config to retrieve. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * Required. The resource name of the effective Event Threat Detection custom + * module. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}". */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. + * GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule. * - * Gets a mute config. + * Gets an effective Event Threat Detection custom module at the given level. * - * @param name Required. Name of the mute config to retrieve. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * @param name Required. The resource name of the effective Event Threat + * Detection custom module. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}". * - * @return GTLRSecurityCommandCenterQuery_FoldersMuteConfigsGet + * @return GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsEffectiveCustomModulesGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Lists mute configs. + * Lists all effective Event Threat Detection custom modules for the given + * parent. This includes resident modules defined at the scope of the parent + * along with modules inherited from its ancestors. * - * Method: securitycenter.folders.muteConfigs.list + * Method: securitycenter.folders.eventThreatDetectionSettings.effectiveCustomModules.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersMuteConfigsList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsEffectiveCustomModulesList : GTLRSecurityCommandCenterQuery /** - * The maximum number of configs to return. The service may return fewer than + * The maximum number of modules to return. The service may return fewer than * this value. If unspecified, at most 10 configs will be returned. The maximum * value is 1000; values above 1000 will be coerced to 1000. */ @property(nonatomic, assign) NSInteger pageSize; /** - * A page token, received from a previous `ListMuteConfigs` call. Provide this - * to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListMuteConfigs` must match the call that provided the page - * token. + * A page token, received from a previous + * `ListEffectiveEventThreatDetectionCustomModules` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided + * to `ListEffectiveEventThreatDetectionCustomModules` must match the call that + * provided the page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent, which owns the collection of mute configs. Its format - * is "organizations/[organization_id]", "folders/[folder_id]", - * "projects/[project_id]". + * Required. Name of the parent to list custom modules for. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_ListMuteConfigsResponse. + * Fetches a @c + * GTLRSecurityCommandCenter_ListEffectiveEventThreatDetectionCustomModulesResponse. * - * Lists mute configs. + * Lists all effective Event Threat Detection custom modules for the given + * parent. This includes resident modules defined at the scope of the parent + * along with modules inherited from its ancestors. * - * @param parent Required. The parent, which owns the collection of mute - * configs. Its format is "organizations/[organization_id]", - * "folders/[folder_id]", "projects/[project_id]". + * @param parent Required. Name of the parent to list custom modules for. Its + * format is: * "organizations/{organization}/eventThreatDetectionSettings". + * * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_FoldersMuteConfigsList + * @return GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsEffectiveCustomModulesList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -850,434 +891,387 @@ GTLR_DEPRECATED @end /** - * Updates a mute config. + * Validates the given Event Threat Detection custom module. * - * Method: securitycenter.folders.muteConfigs.patch + * Method: securitycenter.folders.eventThreatDetectionSettings.validateCustomModule * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersMuteConfigsPatch : GTLRSecurityCommandCenterQuery - -/** - * This field will be ignored if provided on config creation. Format - * "organizations/{organization}/muteConfigs/{mute_config}" - * "folders/{folder}/muteConfigs/{mute_config}" - * "projects/{project}/muteConfigs/{mute_config}" - * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" - * "folders/{folder}/locations/global/muteConfigs/{mute_config}" - * "projects/{project}/locations/global/muteConfigs/{mute_config}" - */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsValidateCustomModule : GTLRSecurityCommandCenterQuery /** - * The list of fields to be updated. If empty all mutable fields will be - * updated. - * - * String format is a comma-separated list of fields. + * Required. Resource name of the parent to validate the Custom Module under. + * Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ -@property(nonatomic, copy, nullable) NSString *updateMask; +@property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. + * GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleResponse. * - * Updates a mute config. + * Validates the given Event Threat Detection custom module. * * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include - * in the query. - * @param name This field will be ignored if provided on config creation. - * Format "organizations/{organization}/muteConfigs/{mute_config}" - * "folders/{folder}/muteConfigs/{mute_config}" - * "projects/{project}/muteConfigs/{mute_config}" - * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" - * "folders/{folder}/locations/global/muteConfigs/{mute_config}" - * "projects/{project}/locations/global/muteConfigs/{mute_config}" + * GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleRequest + * to include in the query. + * @param parent Required. Resource name of the parent to validate the Custom + * Module under. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_FoldersMuteConfigsPatch + * @return GTLRSecurityCommandCenterQuery_FoldersEventThreatDetectionSettingsValidateCustomModule */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object - name:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleRequest *)object + parent:(NSString *)parent; @end /** - * Creates a notification config. + * Kicks off an LRO to bulk mute findings for a parent based on a filter. The + * parent can be either an organization, folder or project. The findings + * matched by the filter will be muted after the LRO is done. * - * Method: securitycenter.folders.notificationConfigs.create + * Method: securitycenter.folders.findings.bulkMute * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsCreate : GTLRSecurityCommandCenterQuery - -/** - * Required. Unique identifier provided by the client within the parent scope. - * It must be between 1 and 128 characters and contain alphanumeric characters, - * underscores, or hyphens only. - */ -@property(nonatomic, copy, nullable) NSString *configId; +@interface GTLRSecurityCommandCenterQuery_FoldersFindingsBulkMute : GTLRSecurityCommandCenterQuery /** - * Required. Resource name of the new notification config's parent. Its format - * is "organizations/[organization_id]", "folders/[folder_id]", or + * Required. The parent, at which bulk action needs to be applied. Its format + * is "organizations/[organization_id]", "folders/[folder_id]", * "projects/[project_id]". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_NotificationConfig. + * Fetches a @c GTLRSecurityCommandCenter_Operation. * - * Creates a notification config. + * Kicks off an LRO to bulk mute findings for a parent based on a filter. The + * parent can be either an organization, folder or project. The findings + * matched by the filter will be muted after the LRO is done. * - * @param object The @c GTLRSecurityCommandCenter_NotificationConfig to include - * in the query. - * @param parent Required. Resource name of the new notification config's - * parent. Its format is "organizations/[organization_id]", - * "folders/[folder_id]", or "projects/[project_id]". + * @param object The @c GTLRSecurityCommandCenter_BulkMuteFindingsRequest to + * include in the query. + * @param parent Required. The parent, at which bulk action needs to be + * applied. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsCreate + * @return GTLRSecurityCommandCenterQuery_FoldersFindingsBulkMute */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_NotificationConfig *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_BulkMuteFindingsRequest *)object parent:(NSString *)parent; @end /** - * Deletes a notification config. + * Deletes an existing mute config. * - * Method: securitycenter.folders.notificationConfigs.delete + * Method: securitycenter.folders.locations.muteConfigs.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsDelete : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsDelete : GTLRSecurityCommandCenterQuery /** - * Required. Name of the notification config to delete. Its format is - * "organizations/[organization_id]/notificationConfigs/[config_id]", - * "folders/[folder_id]/notificationConfigs/[config_id]", or - * "projects/[project_id]/notificationConfigs/[config_id]". + * Required. Name of the mute config to delete. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * Deletes a notification config. + * Deletes an existing mute config. * - * @param name Required. Name of the notification config to delete. Its format - * is "organizations/[organization_id]/notificationConfigs/[config_id]", - * "folders/[folder_id]/notificationConfigs/[config_id]", or - * "projects/[project_id]/notificationConfigs/[config_id]". + * @param name Required. Name of the mute config to delete. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. * - * @return GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsDelete + * @return GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Gets a notification config. + * Gets a mute config. * - * Method: securitycenter.folders.notificationConfigs.get + * Method: securitycenter.folders.locations.muteConfigs.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsGet : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsGet : GTLRSecurityCommandCenterQuery /** - * Required. Name of the notification config to get. Its format is - * "organizations/[organization_id]/notificationConfigs/[config_id]", - * "folders/[folder_id]/notificationConfigs/[config_id]", or - * "projects/[project_id]/notificationConfigs/[config_id]". + * Required. Name of the mute config to retrieve. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_NotificationConfig. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. * - * Gets a notification config. + * Gets a mute config. * - * @param name Required. Name of the notification config to get. Its format is - * "organizations/[organization_id]/notificationConfigs/[config_id]", - * "folders/[folder_id]/notificationConfigs/[config_id]", or - * "projects/[project_id]/notificationConfigs/[config_id]". + * @param name Required. Name of the mute config to retrieve. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. * - * @return GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsGet + * @return GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Lists notification configs. + * Updates a mute config. * - * Method: securitycenter.folders.notificationConfigs.list + * Method: securitycenter.folders.locations.muteConfigs.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsList : GTLRSecurityCommandCenterQuery - -/** - * The maximum number of results to return in a single response. Default is 10, - * minimum is 1, maximum is 1000. - */ -@property(nonatomic, assign) NSInteger pageSize; +@interface GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsPatch : GTLRSecurityCommandCenterQuery /** - * The value returned by the last `ListNotificationConfigsResponse`; indicates - * that this is a continuation of a prior `ListNotificationConfigs` call, and - * that the system should return the next page of data. + * This field will be ignored if provided on config creation. Format + * "organizations/{organization}/muteConfigs/{mute_config}" + * "folders/{folder}/muteConfigs/{mute_config}" + * "projects/{project}/muteConfigs/{mute_config}" + * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + * "folders/{folder}/locations/global/muteConfigs/{mute_config}" + * "projects/{project}/locations/global/muteConfigs/{mute_config}" */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@property(nonatomic, copy, nullable) NSString *name; /** - * Required. The name of the parent in which to list the notification - * configurations. Its format is "organizations/[organization_id]", - * "folders/[folder_id]", or "projects/[project_id]". + * The list of fields to be updated. If empty all mutable fields will be + * updated. + * + * String format is a comma-separated list of fields. */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *updateMask; /** - * Fetches a @c GTLRSecurityCommandCenter_ListNotificationConfigsResponse. - * - * Lists notification configs. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. * - * @param parent Required. The name of the parent in which to list the - * notification configurations. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * Updates a mute config. * - * @return GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsList + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include + * in the query. + * @param name This field will be ignored if provided on config creation. + * Format "organizations/{organization}/muteConfigs/{mute_config}" + * "folders/{folder}/muteConfigs/{mute_config}" + * "projects/{project}/muteConfigs/{mute_config}" + * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + * "folders/{folder}/locations/global/muteConfigs/{mute_config}" + * "projects/{project}/locations/global/muteConfigs/{mute_config}" * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsPatch */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object + name:(NSString *)name; @end /** - * Updates a notification config. The following update fields are allowed: - * description, pubsub_topic, streaming_config.filter + * Creates a mute config. * - * Method: securitycenter.folders.notificationConfigs.patch + * Method: securitycenter.folders.muteConfigs.create * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersMuteConfigsCreate : GTLRSecurityCommandCenterQuery /** - * The relative resource name of this notification config. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Example: - * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", - * "folders/{folder_id}/notificationConfigs/notify_public_bucket", or - * "projects/{project_id}/notificationConfigs/notify_public_bucket". + * Required. Unique identifier provided by the client within the parent scope. + * It must consist of only lowercase letters, numbers, and hyphens, must start + * with a letter, must end with either a letter or a number, and must be 63 + * characters or less. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *muteConfigId; /** - * The FieldMask to use when updating the notification config. If empty all - * mutable fields will be updated. - * - * String format is a comma-separated list of fields. + * Required. Resource name of the new mute configs's parent. Its format is + * "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". */ -@property(nonatomic, copy, nullable) NSString *updateMask; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_NotificationConfig. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. * - * Updates a notification config. The following update fields are allowed: - * description, pubsub_topic, streaming_config.filter - * - * @param object The @c GTLRSecurityCommandCenter_NotificationConfig to include - * in the query. - * @param name The relative resource name of this notification config. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Example: - * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", - * "folders/{folder_id}/notificationConfigs/notify_public_bucket", or - * "projects/{project_id}/notificationConfigs/notify_public_bucket". - * - * @return GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsPatch - */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_NotificationConfig *)object - name:(NSString *)name; - -@end - -/** - * Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the - * given CRM parent, and also creates inherited - * SecurityHealthAnalyticsCustomModules for all CRM descendants of the given - * parent. These modules are enabled by default. - * - * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.create - * - * Authorization scope(s): - * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform - */ -@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesCreate : GTLRSecurityCommandCenterQuery - -/** - * Required. Resource name of the new custom module's parent. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" - */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule. - * - * Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the - * given CRM parent, and also creates inherited - * SecurityHealthAnalyticsCustomModules for all CRM descendants of the given - * parent. These modules are enabled by default. + * Creates a mute config. * * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule - * to include in the query. - * @param parent Required. Resource name of the new custom module's parent. Its - * format is "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include + * in the query. + * @param parent Required. Resource name of the new mute configs's parent. Its + * format is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesCreate + * @return GTLRSecurityCommandCenterQuery_FoldersMuteConfigsCreate */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object parent:(NSString *)parent; @end /** - * Deletes the specified SecurityHealthAnalyticsCustomModule and all of its - * descendants in the CRM hierarchy. This method is only supported for resident - * custom modules. + * Deletes an existing mute config. * - * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.delete + * Method: securitycenter.folders.muteConfigs.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesDelete : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersMuteConfigsDelete : GTLRSecurityCommandCenterQuery /** - * Required. Name of the custom module to delete. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", - * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * Required. Name of the mute config to delete. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * Deletes the specified SecurityHealthAnalyticsCustomModule and all of its - * descendants in the CRM hierarchy. This method is only supported for resident - * custom modules. + * Deletes an existing mute config. * - * @param name Required. Name of the custom module to delete. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", - * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * @param name Required. Name of the mute config to delete. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. * - * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesDelete + * @return GTLRSecurityCommandCenterQuery_FoldersMuteConfigsDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Retrieves a SecurityHealthAnalyticsCustomModule. + * Gets a mute config. * - * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.get + * Method: securitycenter.folders.muteConfigs.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesGet : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersMuteConfigsGet : GTLRSecurityCommandCenterQuery /** - * Required. Name of the custom module to get. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", - * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * Required. Name of the mute config to retrieve. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule. + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. * - * Retrieves a SecurityHealthAnalyticsCustomModule. + * Gets a mute config. * - * @param name Required. Name of the custom module to get. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", - * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * @param name Required. Name of the mute config to retrieve. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. * - * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesGet + * @return GTLRSecurityCommandCenterQuery_FoldersMuteConfigsGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Returns a list of all SecurityHealthAnalyticsCustomModules for the given - * parent. This includes resident modules defined at the scope of the parent, - * and inherited modules, inherited from CRM ancestors. + * Lists mute configs. * - * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.list + * Method: securitycenter.folders.muteConfigs.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersMuteConfigsList : GTLRSecurityCommandCenterQuery /** - * The maximum number of results to return in a single response. Default is 10, - * minimum is 1, maximum is 1000. + * The maximum number of configs to return. The service may return fewer than + * this value. If unspecified, at most 10 configs will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. */ @property(nonatomic, assign) NSInteger pageSize; -/** The value returned by the last call indicating a continuation */ +/** + * A page token, received from a previous `ListMuteConfigs` call. Provide this + * to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListMuteConfigs` must match the call that provided the page + * token. + */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. Name of parent to list custom modules. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * Required. The parent, which owns the collection of mute configs. Its format + * is "organizations/[organization_id]", "folders/[folder_id]", + * "projects/[project_id]". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c - * GTLRSecurityCommandCenter_ListSecurityHealthAnalyticsCustomModulesResponse. + * Fetches a @c GTLRSecurityCommandCenter_ListMuteConfigsResponse. * - * Returns a list of all SecurityHealthAnalyticsCustomModules for the given - * parent. This includes resident modules defined at the scope of the parent, - * and inherited modules, inherited from CRM ancestors. + * Lists mute configs. * - * @param parent Required. Name of parent to list custom modules. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * @param parent Required. The parent, which owns the collection of mute + * configs. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesList + * @return GTLRSecurityCommandCenterQuery_FoldersMuteConfigsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -1288,206 +1282,177 @@ GTLR_DEPRECATED @end /** - * Returns a list of all resident SecurityHealthAnalyticsCustomModules under - * the given CRM parent and all of the parent’s CRM descendants. + * Updates a mute config. * - * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.listDescendant + * Method: securitycenter.folders.muteConfigs.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesListDescendant : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersMuteConfigsPatch : GTLRSecurityCommandCenterQuery /** - * The maximum number of results to return in a single response. Default is 10, - * minimum is 1, maximum is 1000. + * This field will be ignored if provided on config creation. Format + * "organizations/{organization}/muteConfigs/{mute_config}" + * "folders/{folder}/muteConfigs/{mute_config}" + * "projects/{project}/muteConfigs/{mute_config}" + * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + * "folders/{folder}/locations/global/muteConfigs/{mute_config}" + * "projects/{project}/locations/global/muteConfigs/{mute_config}" */ -@property(nonatomic, assign) NSInteger pageSize; - -/** The value returned by the last call indicating a continuation */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@property(nonatomic, copy, nullable) NSString *name; /** - * Required. Name of parent to list descendant custom modules. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * The list of fields to be updated. If empty all mutable fields will be + * updated. + * + * String format is a comma-separated list of fields. */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *updateMask; /** * Fetches a @c - * GTLRSecurityCommandCenter_ListDescendantSecurityHealthAnalyticsCustomModulesResponse. - * - * Returns a list of all resident SecurityHealthAnalyticsCustomModules under - * the given CRM parent and all of the parent’s CRM descendants. + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. * - * @param parent Required. Name of parent to list descendant custom modules. - * Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * Updates a mute config. * - * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesListDescendant + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include + * in the query. + * @param name This field will be ignored if provided on config creation. + * Format "organizations/{organization}/muteConfigs/{mute_config}" + * "folders/{folder}/muteConfigs/{mute_config}" + * "projects/{project}/muteConfigs/{mute_config}" + * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + * "folders/{folder}/locations/global/muteConfigs/{mute_config}" + * "projects/{project}/locations/global/muteConfigs/{mute_config}" * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRSecurityCommandCenterQuery_FoldersMuteConfigsPatch */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object + name:(NSString *)name; @end /** - * Updates the SecurityHealthAnalyticsCustomModule under the given name based - * on the given update mask. Updating the enablement state is supported on both - * resident and inherited modules (though resident modules cannot have an - * enablement state of "inherited"). Updating the display name and custom - * config of a module is supported on resident modules only. + * Creates a notification config. * - * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.patch + * Method: securitycenter.folders.notificationConfigs.create * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsCreate : GTLRSecurityCommandCenterQuery /** - * Immutable. The resource name of the custom module. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" - * The id {customModule} is server-generated and is not user settable. It will - * be a numeric id containing 1-20 digits. + * Required. Unique identifier provided by the client within the parent scope. + * It must be between 1 and 128 characters and contain alphanumeric characters, + * underscores, or hyphens only. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *configId; /** - * The list of fields to update. - * - * String format is a comma-separated list of fields. + * Required. Resource name of the new notification config's parent. Its format + * is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". */ -@property(nonatomic, copy, nullable) NSString *updateMask; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule. + * Fetches a @c GTLRSecurityCommandCenter_NotificationConfig. * - * Updates the SecurityHealthAnalyticsCustomModule under the given name based - * on the given update mask. Updating the enablement state is supported on both - * resident and inherited modules (though resident modules cannot have an - * enablement state of "inherited"). Updating the display name and custom - * config of a module is supported on resident modules only. + * Creates a notification config. * - * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule - * to include in the query. - * @param name Immutable. The resource name of the custom module. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" - * The id {customModule} is server-generated and is not user settable. It - * will be a numeric id containing 1-20 digits. + * @param object The @c GTLRSecurityCommandCenter_NotificationConfig to include + * in the query. + * @param parent Required. Resource name of the new notification config's + * parent. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", or "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesPatch + * @return GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsCreate */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule *)object - name:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_NotificationConfig *)object + parent:(NSString *)parent; @end /** - * Simulates a given SecurityHealthAnalyticsCustomModule and Resource. + * Deletes a notification config. * - * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.simulate + * Method: securitycenter.folders.notificationConfigs.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesSimulate : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsDelete : GTLRSecurityCommandCenterQuery /** - * Required. The relative resource name of the organization, project, or - * folder. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * An example is: "organizations/{organization_id}". + * Required. Name of the notification config to delete. Its format is + * "organizations/[organization_id]/notificationConfigs/[config_id]", + * "folders/[folder_id]/notificationConfigs/[config_id]", or + * "projects/[project_id]/notificationConfigs/[config_id]". */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleResponse. + * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * Simulates a given SecurityHealthAnalyticsCustomModule and Resource. + * Deletes a notification config. * - * @param object The @c - * GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleRequest - * to include in the query. - * @param parent Required. The relative resource name of the organization, - * project, or folder. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * An example is: "organizations/{organization_id}". + * @param name Required. Name of the notification config to delete. Its format + * is "organizations/[organization_id]/notificationConfigs/[config_id]", + * "folders/[folder_id]/notificationConfigs/[config_id]", or + * "projects/[project_id]/notificationConfigs/[config_id]". * - * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesSimulate + * @return GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsDelete */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Retrieves an EffectiveSecurityHealthAnalyticsCustomModule. + * Gets a notification config. * - * Method: securitycenter.folders.securityHealthAnalyticsSettings.effectiveCustomModules.get + * Method: securitycenter.folders.notificationConfigs.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesGet : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsGet : GTLRSecurityCommandCenterQuery /** - * Required. Name of the effective custom module to get. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", - * "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}" + * Required. Name of the notification config to get. Its format is + * "organizations/[organization_id]/notificationConfigs/[config_id]", + * "folders/[folder_id]/notificationConfigs/[config_id]", or + * "projects/[project_id]/notificationConfigs/[config_id]". */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule. + * Fetches a @c GTLRSecurityCommandCenter_NotificationConfig. * - * Retrieves an EffectiveSecurityHealthAnalyticsCustomModule. + * Gets a notification config. * - * @param name Required. Name of the effective custom module to get. Its format - * is - * "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", - * "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}" + * @param name Required. Name of the notification config to get. Its format is + * "organizations/[organization_id]/notificationConfigs/[config_id]", + * "folders/[folder_id]/notificationConfigs/[config_id]", or + * "projects/[project_id]/notificationConfigs/[config_id]". * - * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesGet + * @return GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the - * given parent. This includes resident modules defined at the scope of the - * parent, and inherited modules, inherited from CRM ancestors. + * Lists notification configs. * - * Method: securitycenter.folders.securityHealthAnalyticsSettings.effectiveCustomModules.list + * Method: securitycenter.folders.notificationConfigs.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsList : GTLRSecurityCommandCenterQuery /** * The maximum number of results to return in a single response. Default is 10, @@ -1495,31 +1460,31 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) NSInteger pageSize; -/** The value returned by the last call indicating a continuation */ +/** + * The value returned by the last `ListNotificationConfigsResponse`; indicates + * that this is a continuation of a prior `ListNotificationConfigs` call, and + * that the system should return the next page of data. + */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. Name of parent to list effective custom modules. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * Required. The name of the parent in which to list the notification + * configurations. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", or "projects/[project_id]". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c - * GTLRSecurityCommandCenter_ListEffectiveSecurityHealthAnalyticsCustomModulesResponse. + * Fetches a @c GTLRSecurityCommandCenter_ListNotificationConfigsResponse. * - * Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the - * given parent. This includes resident modules defined at the scope of the - * parent, and inherited modules, inherited from CRM ancestors. + * Lists notification configs. * - * @param parent Required. Name of parent to list effective custom modules. Its - * format is "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * @param parent Required. The name of the parent in which to list the + * notification configurations. Its format is + * "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesList + * @return GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -1530,240 +1495,221 @@ GTLR_DEPRECATED @end /** - * Updates external system. This is for a given finding. + * Updates a notification config. The following update fields are allowed: + * description, pubsub_topic, streaming_config.filter * - * Method: securitycenter.folders.sources.findings.externalSystems.patch + * Method: securitycenter.folders.notificationConfigs.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsExternalSystemsPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsPatch : GTLRSecurityCommandCenterQuery /** - * Full resource name of the external system, for example: - * "organizations/1234/sources/5678/findings/123456/externalSystems/jira", - * "folders/1234/sources/5678/findings/123456/externalSystems/jira", - * "projects/1234/sources/5678/findings/123456/externalSystems/jira" + * The relative resource name of this notification config. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Example: + * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", + * "folders/{folder_id}/notificationConfigs/notify_public_bucket", or + * "projects/{project_id}/notificationConfigs/notify_public_bucket". */ @property(nonatomic, copy, nullable) NSString *name; /** - * The FieldMask to use when updating the external system resource. If empty - * all mutable fields will be updated. + * The FieldMask to use when updating the notification config. If empty all + * mutable fields will be updated. * * String format is a comma-separated list of fields. */ @property(nonatomic, copy, nullable) NSString *updateMask; /** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ExternalSystem. + * Fetches a @c GTLRSecurityCommandCenter_NotificationConfig. * - * Updates external system. This is for a given finding. + * Updates a notification config. The following update fields are allowed: + * description, pubsub_topic, streaming_config.filter * - * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ExternalSystem to - * include in the query. - * @param name Full resource name of the external system, for example: - * "organizations/1234/sources/5678/findings/123456/externalSystems/jira", - * "folders/1234/sources/5678/findings/123456/externalSystems/jira", - * "projects/1234/sources/5678/findings/123456/externalSystems/jira" + * @param object The @c GTLRSecurityCommandCenter_NotificationConfig to include + * in the query. + * @param name The relative resource name of this notification config. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Example: + * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", + * "folders/{folder_id}/notificationConfigs/notify_public_bucket", or + * "projects/{project_id}/notificationConfigs/notify_public_bucket". * - * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsExternalSystemsPatch + * @return GTLRSecurityCommandCenterQuery_FoldersNotificationConfigsPatch */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ExternalSystem *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_NotificationConfig *)object name:(NSString *)name; @end /** - * Filters an organization or source's findings and groups them by their - * specified properties. To group across all sources provide a `-` as the - * source id. Example: /v1/organizations/{organization_id}/sources/-/findings, - * /v1/folders/{folder_id}/sources/-/findings, - * /v1/projects/{project_id}/sources/-/findings + * Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the + * given CRM parent, and also creates inherited + * SecurityHealthAnalyticsCustomModules for all CRM descendants of the given + * parent. These modules are enabled by default. * - * Method: securitycenter.folders.sources.findings.group + * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.create * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsGroup : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesCreate : GTLRSecurityCommandCenterQuery /** - * Required. Name of the source to groupBy. Its format is - * "organizations/[organization_id]/sources/[source_id]", - * folders/[folder_id]/sources/[source_id], or - * projects/[project_id]/sources/[source_id]. To groupBy across all sources - * provide a source_id of `-`. For example: - * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, or - * projects/{project_id}/sources/- + * Required. Resource name of the new custom module's parent. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_GroupFindingsResponse. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule. * - * Filters an organization or source's findings and groups them by their - * specified properties. To group across all sources provide a `-` as the - * source id. Example: /v1/organizations/{organization_id}/sources/-/findings, - * /v1/folders/{folder_id}/sources/-/findings, - * /v1/projects/{project_id}/sources/-/findings + * Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the + * given CRM parent, and also creates inherited + * SecurityHealthAnalyticsCustomModules for all CRM descendants of the given + * parent. These modules are enabled by default. * - * @param object The @c GTLRSecurityCommandCenter_GroupFindingsRequest to - * include in the query. - * @param parent Required. Name of the source to groupBy. Its format is - * "organizations/[organization_id]/sources/[source_id]", - * folders/[folder_id]/sources/[source_id], or - * projects/[project_id]/sources/[source_id]. To groupBy across all sources - * provide a source_id of `-`. For example: - * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, - * or projects/{project_id}/sources/- + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule + * to include in the query. + * @param parent Required. Resource name of the new custom module's parent. Its + * format is "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" * - * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsGroup + * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesCreate */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GroupFindingsRequest *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule *)object parent:(NSString *)parent; @end /** - * Lists an organization or source's findings. To list across all sources - * provide a `-` as the source id. Example: - * /v1/organizations/{organization_id}/sources/-/findings - * - * Method: securitycenter.folders.sources.findings.list + * Deletes the specified SecurityHealthAnalyticsCustomModule and all of its + * descendants in the CRM hierarchy. This method is only supported for resident + * custom modules. + * + * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesDelete : GTLRSecurityCommandCenterQuery /** - * When compare_duration is set, the ListFindingsResult's "state_change" - * attribute is updated to indicate whether the finding had its state changed, - * the finding's state remained unchanged, or if the finding was added in any - * state during the compare_duration period of time that precedes the - * read_time. This is the time between (read_time - compare_duration) and - * read_time. The state_change value is derived based on the presence and state - * of the finding at the two points in time. Intermediate state changes between - * the two times don't affect the result. For example, the results aren't - * affected if the finding is made inactive and then active again. Possible - * "state_change" values when compare_duration is specified: * "CHANGED": - * indicates that the finding was present and matched the given filter at the - * start of compare_duration, but changed its state at read_time. * - * "UNCHANGED": indicates that the finding was present and matched the given - * filter at the start of compare_duration and did not change state at - * read_time. * "ADDED": indicates that the finding did not match the given - * filter or was not present at the start of compare_duration, but was present - * at read_time. * "REMOVED": indicates that the finding was present and - * matched the filter at the start of compare_duration, but did not match the - * filter at read_time. If compare_duration is not specified, then the only - * possible state_change is "UNUSED", which will be the state_change set for - * all findings present at read_time. + * Required. Name of the custom module to delete. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" */ -@property(nonatomic, strong, nullable) GTLRDuration *compareDuration; +@property(nonatomic, copy, nullable) NSString *name; /** - * A field mask to specify the Finding fields to be listed in the response. An - * empty field mask will list all fields. + * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * String format is a comma-separated list of fields. + * Deletes the specified SecurityHealthAnalyticsCustomModule and all of its + * descendants in the CRM hierarchy. This method is only supported for resident + * custom modules. + * + * @param name Required. Name of the custom module to delete. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * + * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesDelete */ -@property(nonatomic, copy, nullable) NSString *fieldMask; ++ (instancetype)queryWithName:(NSString *)name; + +@end /** - * Expression that defines the filter to apply across findings. The expression - * is a list of one or more restrictions combined via logical operators `AND` - * and `OR`. Parentheses are supported, and `OR` has higher precedence than - * `AND`. Restrictions have the form ` ` and may have a `-` character in front - * of them to indicate negation. Examples include: * name * - * source_properties.a_property * security_marks.marks.marka The supported - * operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer - * values. * `:`, meaning substring matching, for strings. The supported value - * types are: * string literals in quotes. * integer literals without quotes. * - * boolean literals `true` and `false` without quotes. The following field and - * operator combinations are supported: * name: `=` * parent: `=`, `:` * - * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * - * external_uri: `=`, `:` * event_time: `=`, `>`, `<`, `>=`, `<=` Usage: This - * should be milliseconds since epoch or an RFC3339 string. Examples: - * `event_time = "2019-06-10T16:07:18-07:00"` `event_time = 1560208038000` * - * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, - * `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, - * `source_properties.size = 100` is a valid filter string. Use a partial match - * on the empty string to filter based on a property existing: - * `source_properties.my_property : ""` Use a negated partial match on the - * empty string to filter based on a property not existing: - * `-source_properties.my_property : ""` * resource: * resource.name: `=`, `:` - * * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * - * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * - * resource.type: `=`, `:` * resource.folders.resource_folder: `=`, `:` * - * resource.display_name: `=`, `:` + * Retrieves a SecurityHealthAnalyticsCustomModule. + * + * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@property(nonatomic, copy, nullable) NSString *filter; +@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesGet : GTLRSecurityCommandCenterQuery /** - * Expression that defines what fields and order to use for sorting. The string - * value should follow SQL syntax: comma separated list of fields. For example: - * "name,resource_properties.a_property". The default sorting order is - * ascending. To specify descending order for a field, a suffix " desc" should - * be appended to the field name. For example: "name - * desc,source_properties.a_property". Redundant space characters in the syntax - * are insignificant. "name desc,source_properties.a_property" and " name desc - * , source_properties.a_property " are equivalent. The following fields are - * supported: name parent state category resource_name event_time - * source_properties security_marks.marks + * Required. Name of the custom module to get. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" */ -@property(nonatomic, copy, nullable) NSString *orderBy; +@property(nonatomic, copy, nullable) NSString *name; /** - * The maximum number of results to return in a single response. Default is 10, - * minimum is 1, maximum is 1000. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule. + * + * Retrieves a SecurityHealthAnalyticsCustomModule. + * + * @param name Required. Name of the custom module to get. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * + * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesGet */ -@property(nonatomic, assign) NSInteger pageSize; ++ (instancetype)queryWithName:(NSString *)name; + +@end /** - * The value returned by the last `ListFindingsResponse`; indicates that this - * is a continuation of a prior `ListFindings` call, and that the system should - * return the next page of data. + * Returns a list of all SecurityHealthAnalyticsCustomModules for the given + * parent. This includes resident modules defined at the scope of the parent, + * and inherited modules, inherited from CRM ancestors. + * + * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesList : GTLRSecurityCommandCenterQuery /** - * Required. Name of the source the findings belong to. Its format is - * "organizations/[organization_id]/sources/[source_id], - * folders/[folder_id]/sources/[source_id], or - * projects/[project_id]/sources/[source_id]". To list across all sources - * provide a source_id of `-`. For example: - * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- or - * projects/{projects_id}/sources/- + * The maximum number of results to return in a single response. Default is 10, + * minimum is 1, maximum is 1000. */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, assign) NSInteger pageSize; + +/** The value returned by the last call indicating a continuation */ +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * Time used as a reference point when filtering findings. The filter is - * limited to findings existing at the supplied time and their values are those - * at that specific time. Absence of this field will default to the API's - * version of NOW. + * Required. Name of parent to list custom modules. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" */ -@property(nonatomic, strong, nullable) GTLRDateTime *readTime; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_ListFindingsResponse. + * Fetches a @c + * GTLRSecurityCommandCenter_ListSecurityHealthAnalyticsCustomModulesResponse. * - * Lists an organization or source's findings. To list across all sources - * provide a `-` as the source id. Example: - * /v1/organizations/{organization_id}/sources/-/findings + * Returns a list of all SecurityHealthAnalyticsCustomModules for the given + * parent. This includes resident modules defined at the scope of the parent, + * and inherited modules, inherited from CRM ancestors. * - * @param parent Required. Name of the source the findings belong to. Its - * format is "organizations/[organization_id]/sources/[source_id], - * folders/[folder_id]/sources/[source_id], or - * projects/[project_id]/sources/[source_id]". To list across all sources - * provide a source_id of `-`. For example: - * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- - * or projects/{projects_id}/sources/- + * @param parent Required. Name of parent to list custom modules. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" * - * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsList + * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -1774,205 +1720,210 @@ GTLR_DEPRECATED @end /** - * Creates or updates a finding. The corresponding source must exist for a - * finding creation to succeed. + * Returns a list of all resident SecurityHealthAnalyticsCustomModules under + * the given CRM parent and all of the parent’s CRM descendants. * - * Method: securitycenter.folders.sources.findings.patch + * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.listDescendant * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesListDescendant : GTLRSecurityCommandCenterQuery /** - * The [relative resource - * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) - * of the finding. Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", - * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * The maximum number of results to return in a single response. Default is 10, + * minimum is 1, maximum is 1000. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, assign) NSInteger pageSize; + +/** The value returned by the last call indicating a continuation */ +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * The FieldMask to use when updating the finding resource. This field should - * not be specified when creating a finding. When updating a finding, an empty - * mask is treated as updating all mutable fields and replacing - * source_properties. Individual source_properties can be added/updated by - * using "source_properties." in the field mask. - * - * String format is a comma-separated list of fields. + * Required. Name of parent to list descendant custom modules. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" */ -@property(nonatomic, copy, nullable) NSString *updateMask; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_Finding. + * Fetches a @c + * GTLRSecurityCommandCenter_ListDescendantSecurityHealthAnalyticsCustomModulesResponse. * - * Creates or updates a finding. The corresponding source must exist for a - * finding creation to succeed. + * Returns a list of all resident SecurityHealthAnalyticsCustomModules under + * the given CRM parent and all of the parent’s CRM descendants. * - * @param object The @c GTLRSecurityCommandCenter_Finding to include in the - * query. - * @param name The [relative resource - * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) - * of the finding. Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", - * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * @param parent Required. Name of parent to list descendant custom modules. + * Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" * - * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsPatch + * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesListDescendant + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_Finding *)object - name:(NSString *)name; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Updates the mute state of a finding. + * Updates the SecurityHealthAnalyticsCustomModule under the given name based + * on the given update mask. Updating the enablement state is supported on both + * resident and inherited modules (though resident modules cannot have an + * enablement state of "inherited"). Updating the display name and custom + * config of a module is supported on resident modules only. * - * Method: securitycenter.folders.sources.findings.setMute + * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsSetMute : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesPatch : GTLRSecurityCommandCenterQuery /** - * Required. The [relative resource - * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) - * of the finding. Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", - * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * Immutable. The resource name of the custom module. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * The id {customModule} is server-generated and is not user settable. It will + * be a numeric id containing 1-20 digits. */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_Finding. + * The list of fields to be updated. The only fields that can be updated are + * `enablement_state` and `custom_config`. If empty or set to the wildcard + * value `*`, both `enablement_state` and `custom_config` are updated. * - * Updates the mute state of a finding. + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule. * - * @param object The @c GTLRSecurityCommandCenter_SetMuteRequest to include in - * the query. - * @param name Required. The [relative resource - * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) - * of the finding. Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", - * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * Updates the SecurityHealthAnalyticsCustomModule under the given name based + * on the given update mask. Updating the enablement state is supported on both + * resident and inherited modules (though resident modules cannot have an + * enablement state of "inherited"). Updating the display name and custom + * config of a module is supported on resident modules only. * - * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsSetMute + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule + * to include in the query. + * @param name Immutable. The resource name of the custom module. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * The id {customModule} is server-generated and is not user settable. It + * will be a numeric id containing 1-20 digits. + * + * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesPatch */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SetMuteRequest *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule *)object name:(NSString *)name; @end /** - * Updates the state of a finding. + * Simulates a given SecurityHealthAnalyticsCustomModule and Resource. * - * Method: securitycenter.folders.sources.findings.setState + * Method: securitycenter.folders.securityHealthAnalyticsSettings.customModules.simulate * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsSetState : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesSimulate : GTLRSecurityCommandCenterQuery /** - * Required. The [relative resource - * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) - * of the finding. Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", - * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * Required. The relative resource name of the organization, project, or + * folder. For more information about relative resource names, see [Relative + * Resource + * Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * Example: `organizations/{organization_id}` */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_Finding. + * Fetches a @c + * GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleResponse. * - * Updates the state of a finding. + * Simulates a given SecurityHealthAnalyticsCustomModule and Resource. * - * @param object The @c GTLRSecurityCommandCenter_SetFindingStateRequest to - * include in the query. - * @param name Required. The [relative resource - * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) - * of the finding. Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", - * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * @param object The @c + * GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleRequest + * to include in the query. + * @param parent Required. The relative resource name of the organization, + * project, or folder. For more information about relative resource names, + * see [Relative Resource + * Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * Example: `organizations/{organization_id}` * - * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsSetState + * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsCustomModulesSimulate */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SetFindingStateRequest *)object - name:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleRequest *)object + parent:(NSString *)parent; @end /** - * Updates security marks. + * Retrieves an EffectiveSecurityHealthAnalyticsCustomModule. * - * Method: securitycenter.folders.sources.findings.updateSecurityMarks + * Method: securitycenter.folders.securityHealthAnalyticsSettings.effectiveCustomModules.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsUpdateSecurityMarks : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesGet : GTLRSecurityCommandCenterQuery /** - * The relative resource name of the SecurityMarks. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". + * Required. Name of the effective custom module to get. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", + * "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}" */ @property(nonatomic, copy, nullable) NSString *name; /** - * The time at which the updated SecurityMarks take effect. If not set uses - * current server time. Updates will be applied to the SecurityMarks that are - * active immediately preceding this time. Must be earlier or equal to the - * server time. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *startTime; - -/** - * The FieldMask to use when updating the security marks resource. The field - * mask must not contain duplicate fields. If empty or set to "marks", all - * marks will be replaced. Individual marks can be updated using "marks.". - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - -/** - * Fetches a @c GTLRSecurityCommandCenter_SecurityMarks. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule. * - * Updates security marks. + * Retrieves an EffectiveSecurityHealthAnalyticsCustomModule. * - * @param object The @c GTLRSecurityCommandCenter_SecurityMarks to include in - * the query. - * @param name The relative resource name of the SecurityMarks. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Examples: - * "organizations/{organization_id}/assets/{asset_id}/securityMarks" - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". + * @param name Required. Name of the effective custom module to get. Its format + * is + * "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", + * "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}" * - * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsUpdateSecurityMarks + * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesGet */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SecurityMarks *)object - name:(NSString *)name; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Lists all sources belonging to an organization. + * Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the + * given parent. This includes resident modules defined at the scope of the + * parent, and inherited modules, inherited from CRM ancestors. * - * Method: securitycenter.folders.sources.list + * Method: securitycenter.folders.securityHealthAnalyticsSettings.effectiveCustomModules.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_FoldersSourcesList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesList : GTLRSecurityCommandCenterQuery /** * The maximum number of results to return in a single response. Default is 10, @@ -1980,30 +1931,31 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) NSInteger pageSize; -/** - * The value returned by the last `ListSourcesResponse`; indicates that this is - * a continuation of a prior `ListSources` call, and that the system should - * return the next page of data. - */ +/** The value returned by the last call indicating a continuation */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. Resource name of the parent of sources to list. Its format should - * be "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * Required. Name of parent to list effective custom modules. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_ListSourcesResponse. + * Fetches a @c + * GTLRSecurityCommandCenter_ListEffectiveSecurityHealthAnalyticsCustomModulesResponse. * - * Lists all sources belonging to an organization. + * Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the + * given parent. This includes resident modules defined at the scope of the + * parent, and inherited modules, inherited from CRM ancestors. * - * @param parent Required. Resource name of the parent of sources to list. Its - * format should be "organizations/[organization_id]", "folders/[folder_id]", - * or "projects/[project_id]". + * @param parent Required. Name of parent to list effective custom modules. Its + * format is "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" * - * @return GTLRSecurityCommandCenterQuery_FoldersSourcesList + * @return GTLRSecurityCommandCenterQuery_FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -2014,115 +1966,175 @@ GTLR_DEPRECATED @end /** - * Filters an organization's assets and groups them by their specified - * properties. + * Updates external system. This is for a given finding. * - * Method: securitycenter.organizations.assets.group + * Method: securitycenter.folders.sources.findings.externalSystems.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -GTLR_DEPRECATED -@interface GTLRSecurityCommandCenterQuery_OrganizationsAssetsGroup : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsExternalSystemsPatch : GTLRSecurityCommandCenterQuery /** - * Required. The name of the parent to group the assets by. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * Full resource name of the external system, for example: + * "organizations/1234/sources/5678/findings/123456/externalSystems/jira", + * "folders/1234/sources/5678/findings/123456/externalSystems/jira", + * "projects/1234/sources/5678/findings/123456/externalSystems/jira" */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_GroupAssetsResponse. + * The FieldMask to use when updating the external system resource. If empty + * all mutable fields will be updated. * - * Filters an organization's assets and groups them by their specified - * properties. + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ExternalSystem. * - * @param object The @c GTLRSecurityCommandCenter_GroupAssetsRequest to include - * in the query. - * @param parent Required. The name of the parent to group the assets by. Its - * format is "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * Updates external system. This is for a given finding. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsAssetsGroup + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ExternalSystem to + * include in the query. + * @param name Full resource name of the external system, for example: + * "organizations/1234/sources/5678/findings/123456/externalSystems/jira", + * "folders/1234/sources/5678/findings/123456/externalSystems/jira", + * "projects/1234/sources/5678/findings/123456/externalSystems/jira" + * + * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsExternalSystemsPatch */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GroupAssetsRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ExternalSystem *)object + name:(NSString *)name; @end /** - * Lists an organization's assets. + * Filters an organization or source's findings and groups them by their + * specified properties. To group across all sources provide a `-` as the + * source id. Example: /v1/organizations/{organization_id}/sources/-/findings, + * /v1/folders/{folder_id}/sources/-/findings, + * /v1/projects/{project_id}/sources/-/findings * - * Method: securitycenter.organizations.assets.list + * Method: securitycenter.folders.sources.findings.group * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -GTLR_DEPRECATED -@interface GTLRSecurityCommandCenterQuery_OrganizationsAssetsList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsGroup : GTLRSecurityCommandCenterQuery /** - * When compare_duration is set, the ListAssetsResult's "state_change" - * attribute is updated to indicate whether the asset was added, removed, or - * remained present during the compare_duration period of time that precedes - * the read_time. This is the time between (read_time - compare_duration) and - * read_time. The state_change value is derived based on the presence of the - * asset at the two points in time. Intermediate state changes between the two - * times don't affect the result. For example, the results aren't affected if - * the asset is removed and re-created again. Possible "state_change" values - * when compare_duration is specified: * "ADDED": indicates that the asset was - * not present at the start of compare_duration, but present at read_time. * - * "REMOVED": indicates that the asset was present at the start of - * compare_duration, but not present at read_time. * "ACTIVE": indicates that - * the asset was present at both the start and the end of the time period - * defined by compare_duration and read_time. If compare_duration is not - * specified, then the only possible state_change is "UNUSED", which will be - * the state_change set for all assets present at read_time. + * Required. Name of the source to groupBy. Its format is + * "organizations/[organization_id]/sources/[source_id]", + * folders/[folder_id]/sources/[source_id], or + * projects/[project_id]/sources/[source_id]. To groupBy across all sources + * provide a source_id of `-`. For example: + * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, or + * projects/{project_id}/sources/- + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_GroupFindingsResponse. + * + * Filters an organization or source's findings and groups them by their + * specified properties. To group across all sources provide a `-` as the + * source id. Example: /v1/organizations/{organization_id}/sources/-/findings, + * /v1/folders/{folder_id}/sources/-/findings, + * /v1/projects/{project_id}/sources/-/findings + * + * @param object The @c GTLRSecurityCommandCenter_GroupFindingsRequest to + * include in the query. + * @param parent Required. Name of the source to groupBy. Its format is + * "organizations/[organization_id]/sources/[source_id]", + * folders/[folder_id]/sources/[source_id], or + * projects/[project_id]/sources/[source_id]. To groupBy across all sources + * provide a source_id of `-`. For example: + * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, + * or projects/{project_id}/sources/- + * + * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsGroup + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GroupFindingsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Lists an organization or source's findings. To list across all sources + * provide a `-` as the source id. Example: + * /v1/organizations/{organization_id}/sources/-/findings + * + * Method: securitycenter.folders.sources.findings.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsList : GTLRSecurityCommandCenterQuery + +/** + * When compare_duration is set, the ListFindingsResult's "state_change" + * attribute is updated to indicate whether the finding had its state changed, + * the finding's state remained unchanged, or if the finding was added in any + * state during the compare_duration period of time that precedes the + * read_time. This is the time between (read_time - compare_duration) and + * read_time. The state_change value is derived based on the presence and state + * of the finding at the two points in time. Intermediate state changes between + * the two times don't affect the result. For example, the results aren't + * affected if the finding is made inactive and then active again. Possible + * "state_change" values when compare_duration is specified: * "CHANGED": + * indicates that the finding was present and matched the given filter at the + * start of compare_duration, but changed its state at read_time. * + * "UNCHANGED": indicates that the finding was present and matched the given + * filter at the start of compare_duration and did not change state at + * read_time. * "ADDED": indicates that the finding did not match the given + * filter or was not present at the start of compare_duration, but was present + * at read_time. * "REMOVED": indicates that the finding was present and + * matched the filter at the start of compare_duration, but did not match the + * filter at read_time. If compare_duration is not specified, then the only + * possible state_change is "UNUSED", which will be the state_change set for + * all findings present at read_time. */ @property(nonatomic, strong, nullable) GTLRDuration *compareDuration; /** - * A field mask to specify the ListAssetsResult fields to be listed in the - * response. An empty field mask will list all fields. + * A field mask to specify the Finding fields to be listed in the response. An + * empty field mask will list all fields. * * String format is a comma-separated list of fields. */ @property(nonatomic, copy, nullable) NSString *fieldMask; /** - * Expression that defines the filter to apply across assets. The expression is - * a list of zero or more restrictions combined via logical operators `AND` and - * `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. - * Restrictions have the form ` ` and may have a `-` character in front of them - * to indicate negation. The fields map to those defined in the Asset resource. - * Examples include: * name * security_center_properties.resource_name * - * resource_properties.a_property * security_marks.marks.marka The supported + * Expression that defines the filter to apply across findings. The expression + * is a list of one or more restrictions combined via logical operators `AND` + * and `OR`. Parentheses are supported, and `OR` has higher precedence than + * `AND`. Restrictions have the form ` ` and may have a `-` character in front + * of them to indicate negation. Examples include: * name * + * source_properties.a_property * security_marks.marks.marka The supported * operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer * values. * `:`, meaning substring matching, for strings. The supported value * types are: * string literals in quotes. * integer literals without quotes. * - * boolean literals `true` and `false` without quotes. The following are the - * allowed field and operator combinations: * name: `=` * update_time: `=`, - * `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an - * RFC3339 string. Examples: `update_time = "2019-06-10T16:07:18-07:00"` - * `update_time = 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` - * Usage: This should be milliseconds since epoch or an RFC3339 string. - * Examples: `create_time = "2019-06-10T16:07:18-07:00"` `create_time = - * 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: - * `=`, `:`, `>`, `<`, `>=`, `<=` * security_marks.marks: `=`, `:` * - * security_center_properties.resource_name: `=`, `:` * - * security_center_properties.resource_display_name: `=`, `:` * - * security_center_properties.resource_type: `=`, `:` * - * security_center_properties.resource_parent: `=`, `:` * - * security_center_properties.resource_parent_display_name: `=`, `:` * - * security_center_properties.resource_project: `=`, `:` * - * security_center_properties.resource_project_display_name: `=`, `:` * - * security_center_properties.resource_owners: `=`, `:` For example, - * `resource_properties.size = 100` is a valid filter string. Use a partial - * match on the empty string to filter based on a property existing: - * `resource_properties.my_property : ""` Use a negated partial match on the + * boolean literals `true` and `false` without quotes. The following field and + * operator combinations are supported: * name: `=` * parent: `=`, `:` * + * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * + * external_uri: `=`, `:` * event_time: `=`, `>`, `<`, `>=`, `<=` Usage: This + * should be milliseconds since epoch or an RFC3339 string. Examples: + * `event_time = "2019-06-10T16:07:18-07:00"` `event_time = 1560208038000` * + * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, + * `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, + * `source_properties.size = 100` is a valid filter string. Use a partial match + * on the empty string to filter based on a property existing: + * `source_properties.my_property : ""` Use a negated partial match on the * empty string to filter based on a property not existing: - * `-resource_properties.my_property : ""` + * `-source_properties.my_property : ""` * resource: * resource.name: `=`, `:` + * * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * + * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * + * resource.type: `=`, `:` * resource.folders.resource_folder: `=`, `:` * + * resource.display_name: `=`, `:` */ @property(nonatomic, copy, nullable) NSString *filter; @@ -2132,17 +2144,11 @@ GTLR_DEPRECATED * "name,resource_properties.a_property". The default sorting order is * ascending. To specify descending order for a field, a suffix " desc" should * be appended to the field name. For example: "name - * desc,resource_properties.a_property". Redundant space characters in the - * syntax are insignificant. "name desc,resource_properties.a_property" and " - * name desc , resource_properties.a_property " are equivalent. The following - * fields are supported: name update_time resource_properties - * security_marks.marks security_center_properties.resource_name - * security_center_properties.resource_display_name - * security_center_properties.resource_parent - * security_center_properties.resource_parent_display_name - * security_center_properties.resource_project - * security_center_properties.resource_project_display_name - * security_center_properties.resource_type + * desc,source_properties.a_property". Redundant space characters in the syntax + * are insignificant. "name desc,source_properties.a_property" and " name desc + * , source_properties.a_property " are equivalent. The following fields are + * supported: name parent state category resource_name event_time + * source_properties security_marks.marks */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -2153,41 +2159,47 @@ GTLR_DEPRECATED @property(nonatomic, assign) NSInteger pageSize; /** - * The value returned by the last `ListAssetsResponse`; indicates that this is - * a continuation of a prior `ListAssets` call, and that the system should + * The value returned by the last `ListFindingsResponse`; indicates that this + * is a continuation of a prior `ListFindings` call, and that the system should * return the next page of data. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The name of the parent resource that contains the assets. The - * value that you can specify on parent depends on the method in which you - * specify parent. You can specify one of the following values: - * "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * Required. Name of the source the findings belong to. Its format is + * "organizations/[organization_id]/sources/[source_id], + * folders/[folder_id]/sources/[source_id], or + * projects/[project_id]/sources/[source_id]". To list across all sources + * provide a source_id of `-`. For example: + * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- or + * projects/{projects_id}/sources/- */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Time used as a reference point when filtering assets. The filter is limited - * to assets existing at the supplied time and their values are those at that - * specific time. Absence of this field will default to the API's version of - * NOW. + * Time used as a reference point when filtering findings. The filter is + * limited to findings existing at the supplied time and their values are those + * at that specific time. Absence of this field will default to the API's + * version of NOW. */ @property(nonatomic, strong, nullable) GTLRDateTime *readTime; /** - * Fetches a @c GTLRSecurityCommandCenter_ListAssetsResponse. + * Fetches a @c GTLRSecurityCommandCenter_ListFindingsResponse. * - * Lists an organization's assets. + * Lists an organization or source's findings. To list across all sources + * provide a `-` as the source id. Example: + * /v1/organizations/{organization_id}/sources/-/findings * - * @param parent Required. The name of the parent resource that contains the - * assets. The value that you can specify on parent depends on the method in - * which you specify parent. You can specify one of the following values: - * "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * @param parent Required. Name of the source the findings belong to. Its + * format is "organizations/[organization_id]/sources/[source_id], + * folders/[folder_id]/sources/[source_id], or + * projects/[project_id]/sources/[source_id]". To list across all sources + * provide a source_id of `-`. For example: + * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- + * or projects/{projects_id}/sources/- * - * @return GTLRSecurityCommandCenterQuery_OrganizationsAssetsList + * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -2198,264 +2210,236 @@ GTLR_DEPRECATED @end /** - * Runs asset discovery. The discovery is tracked with a long-running - * operation. This API can only be called with limited frequency for an - * organization. If it is called too frequently the caller will receive a - * TOO_MANY_REQUESTS error. + * Creates or updates a finding. The corresponding source must exist for a + * finding creation to succeed. * - * Method: securitycenter.organizations.assets.runDiscovery + * Method: securitycenter.folders.sources.findings.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -GTLR_DEPRECATED -@interface GTLRSecurityCommandCenterQuery_OrganizationsAssetsRunDiscovery : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsPatch : GTLRSecurityCommandCenterQuery /** - * Required. Name of the organization to run asset discovery for. Its format is - * "organizations/[organization_id]". + * The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * of the finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_Operation. + * The FieldMask to use when updating the finding resource. This field should + * not be specified when creating a finding. When updating a finding, an empty + * mask is treated as updating all mutable fields and replacing + * source_properties. Individual source_properties can be added/updated by + * using "source_properties." in the field mask. * - * Runs asset discovery. The discovery is tracked with a long-running - * operation. This API can only be called with limited frequency for an - * organization. If it is called too frequently the caller will receive a - * TOO_MANY_REQUESTS error. + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecurityCommandCenter_Finding. * - * @param object The @c GTLRSecurityCommandCenter_RunAssetDiscoveryRequest to - * include in the query. - * @param parent Required. Name of the organization to run asset discovery for. - * Its format is "organizations/[organization_id]". + * Creates or updates a finding. The corresponding source must exist for a + * finding creation to succeed. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsAssetsRunDiscovery + * @param object The @c GTLRSecurityCommandCenter_Finding to include in the + * query. + * @param name The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * of the finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * + * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsPatch */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_RunAssetDiscoveryRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_Finding *)object + name:(NSString *)name; @end /** - * Updates security marks. + * Updates the mute state of a finding. * - * Method: securitycenter.organizations.assets.updateSecurityMarks + * Method: securitycenter.folders.sources.findings.setMute * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsAssetsUpdateSecurityMarks : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsSetMute : GTLRSecurityCommandCenterQuery /** - * The relative resource name of the SecurityMarks. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * The time at which the updated SecurityMarks take effect. If not set uses - * current server time. Updates will be applied to the SecurityMarks that are - * active immediately preceding this time. Must be earlier or equal to the - * server time. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *startTime; - -/** - * The FieldMask to use when updating the security marks resource. The field - * mask must not contain duplicate fields. If empty or set to "marks", all - * marks will be replaced. Individual marks can be updated using "marks.". - * - * String format is a comma-separated list of fields. + * Required. The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * of the finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". */ -@property(nonatomic, copy, nullable) NSString *updateMask; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_SecurityMarks. + * Fetches a @c GTLRSecurityCommandCenter_Finding. * - * Updates security marks. + * Updates the mute state of a finding. * - * @param object The @c GTLRSecurityCommandCenter_SecurityMarks to include in + * @param object The @c GTLRSecurityCommandCenter_SetMuteRequest to include in * the query. - * @param name The relative resource name of the SecurityMarks. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Examples: - * "organizations/{organization_id}/assets/{asset_id}/securityMarks" - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". + * @param name Required. The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * of the finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsAssetsUpdateSecurityMarks + * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsSetMute */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SecurityMarks *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SetMuteRequest *)object name:(NSString *)name; @end /** - * Creates a BigQuery export. + * Updates the state of a finding. * - * Method: securitycenter.organizations.bigQueryExports.create + * Method: securitycenter.folders.sources.findings.setState * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsCreate : GTLRSecurityCommandCenterQuery - -/** - * Required. Unique identifier provided by the client within the parent scope. - * It must consist of only lowercase letters, numbers, and hyphens, must start - * with a letter, must end with either a letter or a number, and must be 63 - * characters or less. - */ -@property(nonatomic, copy, nullable) NSString *bigQueryExportId; +@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsSetState : GTLRSecurityCommandCenterQuery /** - * Required. The name of the parent resource of the new BigQuery export. Its - * format is "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * Required. The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * of the finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport. + * Fetches a @c GTLRSecurityCommandCenter_Finding. * - * Creates a BigQuery export. + * Updates the state of a finding. * - * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport to + * @param object The @c GTLRSecurityCommandCenter_SetFindingStateRequest to * include in the query. - * @param parent Required. The name of the parent resource of the new BigQuery - * export. Its format is "organizations/[organization_id]", - * "folders/[folder_id]", or "projects/[project_id]". + * @param name Required. The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * of the finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsCreate + * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsSetState */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport *)object - parent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SetFindingStateRequest *)object + name:(NSString *)name; @end /** - * Deletes an existing BigQuery export. + * Updates security marks. * - * Method: securitycenter.organizations.bigQueryExports.delete + * Method: securitycenter.folders.sources.findings.updateSecurityMarks * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsDelete : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsUpdateSecurityMarks : GTLRSecurityCommandCenterQuery /** - * Required. The name of the BigQuery export to delete. Its format is - * organizations/{organization}/bigQueryExports/{export_id}, - * folders/{folder}/bigQueryExports/{export_id}, or - * projects/{project}/bigQueryExports/{export_id} + * The relative resource name of the SecurityMarks. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_Empty. - * - * Deletes an existing BigQuery export. - * - * @param name Required. The name of the BigQuery export to delete. Its format - * is organizations/{organization}/bigQueryExports/{export_id}, - * folders/{folder}/bigQueryExports/{export_id}, or - * projects/{project}/bigQueryExports/{export_id} - * - * @return GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsDelete + * The time at which the updated SecurityMarks take effect. If not set uses + * current server time. Updates will be applied to the SecurityMarks that are + * active immediately preceding this time. Must be earlier or equal to the + * server time. */ -+ (instancetype)queryWithName:(NSString *)name; - -@end +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; /** - * Gets a BigQuery export. - * - * Method: securitycenter.organizations.bigQueryExports.get + * The FieldMask to use when updating the security marks resource. The field + * mask must not contain duplicate fields. If empty or set to "marks", all + * marks will be replaced. Individual marks can be updated using "marks.". * - * Authorization scope(s): - * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform - */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsGet : GTLRSecurityCommandCenterQuery - -/** - * Required. Name of the BigQuery export to retrieve. Its format is - * organizations/{organization}/bigQueryExports/{export_id}, - * folders/{folder}/bigQueryExports/{export_id}, or - * projects/{project}/bigQueryExports/{export_id} + * String format is a comma-separated list of fields. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *updateMask; /** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport. + * Fetches a @c GTLRSecurityCommandCenter_SecurityMarks. * - * Gets a BigQuery export. + * Updates security marks. * - * @param name Required. Name of the BigQuery export to retrieve. Its format is - * organizations/{organization}/bigQueryExports/{export_id}, - * folders/{folder}/bigQueryExports/{export_id}, or - * projects/{project}/bigQueryExports/{export_id} + * @param object The @c GTLRSecurityCommandCenter_SecurityMarks to include in + * the query. + * @param name The relative resource name of the SecurityMarks. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Examples: + * "organizations/{organization_id}/assets/{asset_id}/securityMarks" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsGet + * @return GTLRSecurityCommandCenterQuery_FoldersSourcesFindingsUpdateSecurityMarks */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SecurityMarks *)object + name:(NSString *)name; @end /** - * Lists BigQuery exports. Note that when requesting BigQuery exports at a - * given level all exports under that level are also returned e.g. if - * requesting BigQuery exports under a folder, then all BigQuery exports - * immediately under the folder plus the ones created under the projects within - * the folder are returned. + * Lists all sources belonging to an organization. * - * Method: securitycenter.organizations.bigQueryExports.list + * Method: securitycenter.folders.sources.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_FoldersSourcesList : GTLRSecurityCommandCenterQuery /** - * The maximum number of configs to return. The service may return fewer than - * this value. If unspecified, at most 10 configs will be returned. The maximum - * value is 1000; values above 1000 will be coerced to 1000. + * The maximum number of results to return in a single response. Default is 10, + * minimum is 1, maximum is 1000. */ @property(nonatomic, assign) NSInteger pageSize; /** - * A page token, received from a previous `ListBigQueryExports` call. Provide - * this to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListBigQueryExports` must match the call that provided the page - * token. + * The value returned by the last `ListSourcesResponse`; indicates that this is + * a continuation of a prior `ListSources` call, and that the system should + * return the next page of data. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent, which owns the collection of BigQuery exports. Its - * format is "organizations/[organization_id]", "folders/[folder_id]", + * Required. Resource name of the parent of sources to list. Its format should + * be "organizations/[organization_id]", "folders/[folder_id]", or * "projects/[project_id]". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_ListBigQueryExportsResponse. + * Fetches a @c GTLRSecurityCommandCenter_ListSourcesResponse. * - * Lists BigQuery exports. Note that when requesting BigQuery exports at a - * given level all exports under that level are also returned e.g. if - * requesting BigQuery exports under a folder, then all BigQuery exports - * immediately under the folder plus the ones created under the projects within - * the folder are returned. + * Lists all sources belonging to an organization. * - * @param parent Required. The parent, which owns the collection of BigQuery - * exports. Its format is "organizations/[organization_id]", - * "folders/[folder_id]", "projects/[project_id]". + * @param parent Required. Resource name of the parent of sources to list. Its + * format should be "organizations/[organization_id]", "folders/[folder_id]", + * or "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsList + * @return GTLRSecurityCommandCenterQuery_FoldersSourcesList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -2466,660 +2450,733 @@ GTLR_DEPRECATED @end /** - * Updates a BigQuery export. + * Filters an organization's assets and groups them by their specified + * properties. * - * Method: securitycenter.organizations.bigQueryExports.patch + * Method: securitycenter.organizations.assets.group * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsPatch : GTLRSecurityCommandCenterQuery +GTLR_DEPRECATED +@interface GTLRSecurityCommandCenterQuery_OrganizationsAssetsGroup : GTLRSecurityCommandCenterQuery /** - * The relative resource name of this export. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name. - * Example format: - * "organizations/{organization_id}/bigQueryExports/{export_id}" Example - * format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format: - * "projects/{project_id}/bigQueryExports/{export_id}" This field is provided - * in responses, and is ignored when provided in create requests. + * Required. The name of the parent to group the assets by. Its format is + * "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *parent; /** - * The list of fields to be updated. If empty all mutable fields will be - * updated. + * Fetches a @c GTLRSecurityCommandCenter_GroupAssetsResponse. * - * String format is a comma-separated list of fields. + * Filters an organization's assets and groups them by their specified + * properties. + * + * @param object The @c GTLRSecurityCommandCenter_GroupAssetsRequest to include + * in the query. + * @param parent Required. The name of the parent to group the assets by. Its + * format is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsAssetsGroup */ -@property(nonatomic, copy, nullable) NSString *updateMask; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GroupAssetsRequest *)object + parent:(NSString *)parent; + +@end /** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport. + * Lists an organization's assets. * - * Updates a BigQuery export. + * Method: securitycenter.organizations.assets.list * - * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport to - * include in the query. - * @param name The relative resource name of this export. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name. - * Example format: - * "organizations/{organization_id}/bigQueryExports/{export_id}" Example - * format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format: - * "projects/{project_id}/bigQueryExports/{export_id}" This field is provided - * in responses, and is ignored when provided in create requests. - * - * @return GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsPatch + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport *)object - name:(NSString *)name; +GTLR_DEPRECATED +@interface GTLRSecurityCommandCenterQuery_OrganizationsAssetsList : GTLRSecurityCommandCenterQuery -@end +/** + * When compare_duration is set, the ListAssetsResult's "state_change" + * attribute is updated to indicate whether the asset was added, removed, or + * remained present during the compare_duration period of time that precedes + * the read_time. This is the time between (read_time - compare_duration) and + * read_time. The state_change value is derived based on the presence of the + * asset at the two points in time. Intermediate state changes between the two + * times don't affect the result. For example, the results aren't affected if + * the asset is removed and re-created again. Possible "state_change" values + * when compare_duration is specified: * "ADDED": indicates that the asset was + * not present at the start of compare_duration, but present at read_time. * + * "REMOVED": indicates that the asset was present at the start of + * compare_duration, but not present at read_time. * "ACTIVE": indicates that + * the asset was present at both the start and the end of the time period + * defined by compare_duration and read_time. If compare_duration is not + * specified, then the only possible state_change is "UNUSED", which will be + * the state_change set for all assets present at read_time. + */ +@property(nonatomic, strong, nullable) GTLRDuration *compareDuration; /** - * Creates an Event Threat Detection custom module. - * - * Method: securitycenter.organizations.eventThreatDetectionSettings.customModules.create + * A field mask to specify the ListAssetsResult fields to be listed in the + * response. An empty field mask will list all fields. * - * Authorization scope(s): - * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + * String format is a comma-separated list of fields. */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesCreate : GTLRSecurityCommandCenterQuery +@property(nonatomic, copy, nullable) NSString *fieldMask; /** - * Required. The new custom module's parent. Its format is: * - * "organizations/{organization}/eventThreatDetectionSettings". + * Expression that defines the filter to apply across assets. The expression is + * a list of zero or more restrictions combined via logical operators `AND` and + * `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. + * Restrictions have the form ` ` and may have a `-` character in front of them + * to indicate negation. The fields map to those defined in the Asset resource. + * Examples include: * name * security_center_properties.resource_name * + * resource_properties.a_property * security_marks.marks.marka The supported + * operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer + * values. * `:`, meaning substring matching, for strings. The supported value + * types are: * string literals in quotes. * integer literals without quotes. * + * boolean literals `true` and `false` without quotes. The following are the + * allowed field and operator combinations: * name: `=` * update_time: `=`, + * `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an + * RFC3339 string. Examples: `update_time = "2019-06-10T16:07:18-07:00"` + * `update_time = 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` + * Usage: This should be milliseconds since epoch or an RFC3339 string. + * Examples: `create_time = "2019-06-10T16:07:18-07:00"` `create_time = + * 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: + * `=`, `:`, `>`, `<`, `>=`, `<=` * security_marks.marks: `=`, `:` * + * security_center_properties.resource_name: `=`, `:` * + * security_center_properties.resource_display_name: `=`, `:` * + * security_center_properties.resource_type: `=`, `:` * + * security_center_properties.resource_parent: `=`, `:` * + * security_center_properties.resource_parent_display_name: `=`, `:` * + * security_center_properties.resource_project: `=`, `:` * + * security_center_properties.resource_project_display_name: `=`, `:` * + * security_center_properties.resource_owners: `=`, `:` For example, + * `resource_properties.size = 100` is a valid filter string. Use a partial + * match on the empty string to filter based on a property existing: + * `resource_properties.my_property : ""` Use a negated partial match on the + * empty string to filter based on a property not existing: + * `-resource_properties.my_property : ""` */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *filter; /** - * Fetches a @c GTLRSecurityCommandCenter_EventThreatDetectionCustomModule. - * - * Creates an Event Threat Detection custom module. - * - * @param object The @c - * GTLRSecurityCommandCenter_EventThreatDetectionCustomModule to include in - * the query. - * @param parent Required. The new custom module's parent. Its format is: * - * "organizations/{organization}/eventThreatDetectionSettings". - * - * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesCreate + * Expression that defines what fields and order to use for sorting. The string + * value should follow SQL syntax: comma separated list of fields. For example: + * "name,resource_properties.a_property". The default sorting order is + * ascending. To specify descending order for a field, a suffix " desc" should + * be appended to the field name. For example: "name + * desc,resource_properties.a_property". Redundant space characters in the + * syntax are insignificant. "name desc,resource_properties.a_property" and " + * name desc , resource_properties.a_property " are equivalent. The following + * fields are supported: name update_time resource_properties + * security_marks.marks security_center_properties.resource_name + * security_center_properties.resource_display_name + * security_center_properties.resource_parent + * security_center_properties.resource_parent_display_name + * security_center_properties.resource_project + * security_center_properties.resource_project_display_name + * security_center_properties.resource_type */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_EventThreatDetectionCustomModule *)object - parent:(NSString *)parent; +@property(nonatomic, copy, nullable) NSString *orderBy; -@end +/** + * The maximum number of results to return in a single response. Default is 10, + * minimum is 1, maximum is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; /** - * Deletes an Event Threat Detection custom module. - * - * Method: securitycenter.organizations.eventThreatDetectionSettings.customModules.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + * The value returned by the last `ListAssetsResponse`; indicates that this is + * a continuation of a prior `ListAssets` call, and that the system should + * return the next page of data. */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesDelete : GTLRSecurityCommandCenterQuery +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. Name of the custom module to delete. Its format is: * - * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * Required. The name of the parent resource that contains the assets. The + * value that you can specify on parent depends on the method in which you + * specify parent. You can specify one of the following values: + * "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_Empty. + * Time used as a reference point when filtering assets. The filter is limited + * to assets existing at the supplied time and their values are those at that + * specific time. Absence of this field will default to the API's version of + * NOW. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *readTime; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListAssetsResponse. * - * Deletes an Event Threat Detection custom module. + * Lists an organization's assets. * - * @param name Required. Name of the custom module to delete. Its format is: * - * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * @param parent Required. The name of the parent resource that contains the + * assets. The value that you can specify on parent depends on the method in + * which you specify parent. You can specify one of the following values: + * "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesDelete + * @return GTLRSecurityCommandCenterQuery_OrganizationsAssetsList + * + * @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 /** - * Gets an Event Threat Detection custom module. + * Runs asset discovery. The discovery is tracked with a long-running + * operation. This API can only be called with limited frequency for an + * organization. If it is called too frequently the caller will receive a + * TOO_MANY_REQUESTS error. * - * Method: securitycenter.organizations.eventThreatDetectionSettings.customModules.get + * Method: securitycenter.organizations.assets.runDiscovery * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesGet : GTLRSecurityCommandCenterQuery +GTLR_DEPRECATED +@interface GTLRSecurityCommandCenterQuery_OrganizationsAssetsRunDiscovery : GTLRSecurityCommandCenterQuery /** - * Required. Name of the custom module to get. Its format is: * - * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * Required. Name of the organization to run asset discovery for. Its format is + * "organizations/[organization_id]". */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_EventThreatDetectionCustomModule. + * Fetches a @c GTLRSecurityCommandCenter_Operation. * - * Gets an Event Threat Detection custom module. + * Runs asset discovery. The discovery is tracked with a long-running + * operation. This API can only be called with limited frequency for an + * organization. If it is called too frequently the caller will receive a + * TOO_MANY_REQUESTS error. * - * @param name Required. Name of the custom module to get. Its format is: * - * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * @param object The @c GTLRSecurityCommandCenter_RunAssetDiscoveryRequest to + * include in the query. + * @param parent Required. Name of the organization to run asset discovery for. + * Its format is "organizations/[organization_id]". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesGet + * @return GTLRSecurityCommandCenterQuery_OrganizationsAssetsRunDiscovery */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_RunAssetDiscoveryRequest *)object + parent:(NSString *)parent; @end /** - * Lists Event Threat Detection custom modules. + * Updates security marks. * - * Method: securitycenter.organizations.eventThreatDetectionSettings.customModules.list + * Method: securitycenter.organizations.assets.updateSecurityMarks * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsAssetsUpdateSecurityMarks : GTLRSecurityCommandCenterQuery /** - * The maximum number of modules to return. The service may return fewer than - * this value. If unspecified, at most 10 configs will be returned. The maximum - * value is 1000; values above 1000 will be coerced to 1000. + * The relative resource name of the SecurityMarks. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". */ -@property(nonatomic, assign) NSInteger pageSize; +@property(nonatomic, copy, nullable) NSString *name; /** - * A page token, received from a previous - * `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListEventThreatDetectionCustomModules` must match the call that provided - * the page token. + * The time at which the updated SecurityMarks take effect. If not set uses + * current server time. Updates will be applied to the SecurityMarks that are + * active immediately preceding this time. Must be earlier or equal to the + * server time. */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; /** - * Required. Name of the parent to list custom modules under. Its format is: * - * "organizations/{organization}/eventThreatDetectionSettings". + * The FieldMask to use when updating the security marks resource. The field + * mask must not contain duplicate fields. If empty or set to "marks", all + * marks will be replaced. Individual marks can be updated using "marks.". + * + * String format is a comma-separated list of fields. */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *updateMask; /** - * Fetches a @c - * GTLRSecurityCommandCenter_ListEventThreatDetectionCustomModulesResponse. - * - * Lists Event Threat Detection custom modules. + * Fetches a @c GTLRSecurityCommandCenter_SecurityMarks. * - * @param parent Required. Name of the parent to list custom modules under. Its - * format is: * "organizations/{organization}/eventThreatDetectionSettings". + * Updates security marks. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesList + * @param object The @c GTLRSecurityCommandCenter_SecurityMarks to include in + * the query. + * @param name The relative resource name of the SecurityMarks. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Examples: + * "organizations/{organization_id}/assets/{asset_id}/securityMarks" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRSecurityCommandCenterQuery_OrganizationsAssetsUpdateSecurityMarks */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SecurityMarks *)object + name:(NSString *)name; @end /** - * Updates an Event Threat Detection custom module. + * Creates a BigQuery export. * - * Method: securitycenter.organizations.eventThreatDetectionSettings.customModules.patch + * Method: securitycenter.organizations.bigQueryExports.create * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsCreate : GTLRSecurityCommandCenterQuery /** - * Immutable. The resource name of the Event Threat Detection custom module. - * Its format is: * - * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". - * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * - * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". - */ -@property(nonatomic, copy, nullable) NSString *name; - + * Required. Unique identifier provided by the client within the parent scope. + * It must consist of only lowercase letters, numbers, and hyphens, must start + * with a letter, must end with either a letter or a number, and must be 63 + * characters or less. + */ +@property(nonatomic, copy, nullable) NSString *bigQueryExportId; + /** - * The list of fields to be updated. If empty all mutable fields will be - * updated. - * - * String format is a comma-separated list of fields. + * Required. The name of the parent resource of the new BigQuery export. Its + * format is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". */ -@property(nonatomic, copy, nullable) NSString *updateMask; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_EventThreatDetectionCustomModule. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport. * - * Updates an Event Threat Detection custom module. + * Creates a BigQuery export. * * @param object The @c - * GTLRSecurityCommandCenter_EventThreatDetectionCustomModule to include in - * the query. - * @param name Immutable. The resource name of the Event Threat Detection - * custom module. Its format is: * - * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". - * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". - * * - * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport to + * include in the query. + * @param parent Required. The name of the parent resource of the new BigQuery + * export. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", or "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesPatch + * @return GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsCreate */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_EventThreatDetectionCustomModule *)object - name:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport *)object + parent:(NSString *)parent; @end /** - * Validates the given Event Threat Detection custom module. + * Deletes an existing BigQuery export. * - * Method: securitycenter.organizations.eventThreatDetectionSettings.validateCustomModule + * Method: securitycenter.organizations.bigQueryExports.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsValidateCustomModule : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsDelete : GTLRSecurityCommandCenterQuery /** - * Required. Resource name of the parent to validate the Custom Module under. - * Its format is: * - * "organizations/{organization}/eventThreatDetectionSettings". + * Required. The name of the BigQuery export to delete. Its format is + * organizations/{organization}/bigQueryExports/{export_id}, + * folders/{folder}/bigQueryExports/{export_id}, or + * projects/{project}/bigQueryExports/{export_id} */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleResponse. + * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * Validates the given Event Threat Detection custom module. + * Deletes an existing BigQuery export. * - * @param object The @c - * GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleRequest - * to include in the query. - * @param parent Required. Resource name of the parent to validate the Custom - * Module under. Its format is: * - * "organizations/{organization}/eventThreatDetectionSettings". + * @param name Required. The name of the BigQuery export to delete. Its format + * is organizations/{organization}/bigQueryExports/{export_id}, + * folders/{folder}/bigQueryExports/{export_id}, or + * projects/{project}/bigQueryExports/{export_id} * - * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsValidateCustomModule + * @return GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsDelete */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Kicks off an LRO to bulk mute findings for a parent based on a filter. The - * parent can be either an organization, folder or project. The findings - * matched by the filter will be muted after the LRO is done. + * Gets a BigQuery export. * - * Method: securitycenter.organizations.findings.bulkMute + * Method: securitycenter.organizations.bigQueryExports.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsFindingsBulkMute : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsGet : GTLRSecurityCommandCenterQuery /** - * Required. The parent, at which bulk action needs to be applied. Its format - * is "organizations/[organization_id]", "folders/[folder_id]", - * "projects/[project_id]". + * Required. Name of the BigQuery export to retrieve. Its format is + * organizations/{organization}/bigQueryExports/{export_id}, + * folders/{folder}/bigQueryExports/{export_id}, or + * projects/{project}/bigQueryExports/{export_id} */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_Operation. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport. * - * Kicks off an LRO to bulk mute findings for a parent based on a filter. The - * parent can be either an organization, folder or project. The findings - * matched by the filter will be muted after the LRO is done. + * Gets a BigQuery export. * - * @param object The @c GTLRSecurityCommandCenter_BulkMuteFindingsRequest to - * include in the query. - * @param parent Required. The parent, at which bulk action needs to be - * applied. Its format is "organizations/[organization_id]", - * "folders/[folder_id]", "projects/[project_id]". + * @param name Required. Name of the BigQuery export to retrieve. Its format is + * organizations/{organization}/bigQueryExports/{export_id}, + * folders/{folder}/bigQueryExports/{export_id}, or + * projects/{project}/bigQueryExports/{export_id} * - * @return GTLRSecurityCommandCenterQuery_OrganizationsFindingsBulkMute + * @return GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsGet */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_BulkMuteFindingsRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Gets the settings for an organization. + * Lists BigQuery exports. Note that when requesting BigQuery exports at a + * given level all exports under that level are also returned e.g. if + * requesting BigQuery exports under a folder, then all BigQuery exports + * immediately under the folder plus the ones created under the projects within + * the folder are returned. * - * Method: securitycenter.organizations.getOrganizationSettings + * Method: securitycenter.organizations.bigQueryExports.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsGetOrganizationSettings : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsList : GTLRSecurityCommandCenterQuery /** - * Required. Name of the organization to get organization settings for. Its - * format is "organizations/[organization_id]/organizationSettings". + * The maximum number of configs to return. The service may return fewer than + * this value. If unspecified, at most 10 configs will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, assign) NSInteger pageSize; /** - * Fetches a @c GTLRSecurityCommandCenter_OrganizationSettings. + * A page token, received from a previous `ListBigQueryExports` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListBigQueryExports` must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns the collection of BigQuery exports. Its + * format is "organizations/[organization_id]", "folders/[folder_id]", + * "projects/[project_id]". + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListBigQueryExportsResponse. * - * Gets the settings for an organization. + * Lists BigQuery exports. Note that when requesting BigQuery exports at a + * given level all exports under that level are also returned e.g. if + * requesting BigQuery exports under a folder, then all BigQuery exports + * immediately under the folder plus the ones created under the projects within + * the folder are returned. * - * @param name Required. Name of the organization to get organization settings - * for. Its format is "organizations/[organization_id]/organizationSettings". + * @param parent Required. The parent, which owns the collection of BigQuery + * exports. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsGetOrganizationSettings + * @return GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsList + * + * @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 /** - * Deletes an existing mute config. + * Updates a BigQuery export. * - * Method: securitycenter.organizations.locations.muteConfigs.delete + * Method: securitycenter.organizations.bigQueryExports.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsDelete : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsPatch : GTLRSecurityCommandCenterQuery /** - * Required. Name of the mute config to delete. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * The relative resource name of this export. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name. + * Example format: + * "organizations/{organization_id}/bigQueryExports/{export_id}" Example + * format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format: + * "projects/{project_id}/bigQueryExports/{export_id}" This field is provided + * in responses, and is ignored when provided in create requests. */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_Empty. + * The list of fields to be updated. If empty all mutable fields will be + * updated. * - * Deletes an existing mute config. + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport. * - * @param name Required. Name of the mute config to delete. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * Updates a BigQuery export. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsDelete + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport to + * include in the query. + * @param name The relative resource name of this export. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name. + * Example format: + * "organizations/{organization_id}/bigQueryExports/{export_id}" Example + * format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format: + * "projects/{project_id}/bigQueryExports/{export_id}" This field is provided + * in responses, and is ignored when provided in create requests. + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsPatch */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport *)object + name:(NSString *)name; @end /** - * Gets a mute config. + * Creates a resident Event Threat Detection custom module at the scope of the + * given Resource Manager parent, and also creates inherited custom modules for + * all descendants of the given parent. These modules are enabled by default. * - * Method: securitycenter.organizations.locations.muteConfigs.get + * Method: securitycenter.organizations.eventThreatDetectionSettings.customModules.create * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsGet : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesCreate : GTLRSecurityCommandCenterQuery /** - * Required. Name of the mute config to retrieve. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * Required. The new custom module's parent. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. + * Fetches a @c GTLRSecurityCommandCenter_EventThreatDetectionCustomModule. * - * Gets a mute config. + * Creates a resident Event Threat Detection custom module at the scope of the + * given Resource Manager parent, and also creates inherited custom modules for + * all descendants of the given parent. These modules are enabled by default. * - * @param name Required. Name of the mute config to retrieve. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * @param object The @c + * GTLRSecurityCommandCenter_EventThreatDetectionCustomModule to include in + * the query. + * @param parent Required. The new custom module's parent. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsGet + * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesCreate */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_EventThreatDetectionCustomModule *)object + parent:(NSString *)parent; @end /** - * Updates a mute config. + * Deletes the specified Event Threat Detection custom module and all of its + * descendants in the Resource Manager hierarchy. This method is only supported + * for resident custom modules. * - * Method: securitycenter.organizations.locations.muteConfigs.patch + * Method: securitycenter.organizations.eventThreatDetectionSettings.customModules.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesDelete : GTLRSecurityCommandCenterQuery /** - * This field will be ignored if provided on config creation. Format - * "organizations/{organization}/muteConfigs/{mute_config}" - * "folders/{folder}/muteConfigs/{mute_config}" - * "projects/{project}/muteConfigs/{mute_config}" - * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" - * "folders/{folder}/locations/global/muteConfigs/{mute_config}" - * "projects/{project}/locations/global/muteConfigs/{mute_config}" + * Required. Name of the custom module to delete. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". */ @property(nonatomic, copy, nullable) NSString *name; /** - * The list of fields to be updated. If empty all mutable fields will be - * updated. - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - -/** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. + * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * Updates a mute config. + * Deletes the specified Event Threat Detection custom module and all of its + * descendants in the Resource Manager hierarchy. This method is only supported + * for resident custom modules. * - * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include - * in the query. - * @param name This field will be ignored if provided on config creation. - * Format "organizations/{organization}/muteConfigs/{mute_config}" - * "folders/{folder}/muteConfigs/{mute_config}" - * "projects/{project}/muteConfigs/{mute_config}" - * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" - * "folders/{folder}/locations/global/muteConfigs/{mute_config}" - * "projects/{project}/locations/global/muteConfigs/{mute_config}" + * @param name Required. Name of the custom module to delete. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsPatch + * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesDelete */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object - name:(NSString *)name; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Creates a mute config. + * Gets an Event Threat Detection custom module. * - * Method: securitycenter.organizations.muteConfigs.create + * Method: securitycenter.organizations.eventThreatDetectionSettings.customModules.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsCreate : GTLRSecurityCommandCenterQuery - -/** - * Required. Unique identifier provided by the client within the parent scope. - * It must consist of only lowercase letters, numbers, and hyphens, must start - * with a letter, must end with either a letter or a number, and must be 63 - * characters or less. - */ -@property(nonatomic, copy, nullable) NSString *muteConfigId; +@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesGet : GTLRSecurityCommandCenterQuery /** - * Required. Resource name of the new mute configs's parent. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * Required. Name of the custom module to get. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. + * Fetches a @c GTLRSecurityCommandCenter_EventThreatDetectionCustomModule. * - * Creates a mute config. + * Gets an Event Threat Detection custom module. * - * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include - * in the query. - * @param parent Required. Resource name of the new mute configs's parent. Its - * format is "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * @param name Required. Name of the custom module to get. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsCreate + * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesGet */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object - parent:(NSString *)parent; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Deletes an existing mute config. + * Lists all Event Threat Detection custom modules for the given Resource + * Manager parent. This includes resident modules defined at the scope of the + * parent along with modules inherited from ancestors. * - * Method: securitycenter.organizations.muteConfigs.delete + * Method: securitycenter.organizations.eventThreatDetectionSettings.customModules.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsDelete : GTLRSecurityCommandCenterQuery - -/** - * Required. Name of the mute config to delete. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. - */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesList : GTLRSecurityCommandCenterQuery /** - * Fetches a @c GTLRSecurityCommandCenter_Empty. - * - * Deletes an existing mute config. - * - * @param name Required. Name of the mute config to delete. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. - * - * @return GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsDelete + * The maximum number of modules to return. The service may return fewer than + * this value. If unspecified, at most 10 configs will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. */ -+ (instancetype)queryWithName:(NSString *)name; - -@end +@property(nonatomic, assign) NSInteger pageSize; /** - * Gets a mute config. - * - * Method: securitycenter.organizations.muteConfigs.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + * A page token, received from a previous + * `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListEventThreatDetectionCustomModules` must match the call that provided + * the page token. */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsGet : GTLRSecurityCommandCenterQuery +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. Name of the mute config to retrieve. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * Required. Name of the parent to list custom modules under. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. + * GTLRSecurityCommandCenter_ListEventThreatDetectionCustomModulesResponse. * - * Gets a mute config. + * Lists all Event Threat Detection custom modules for the given Resource + * Manager parent. This includes resident modules defined at the scope of the + * parent along with modules inherited from ancestors. * - * @param name Required. Name of the mute config to retrieve. Its format is - * organizations/{organization}/muteConfigs/{config_id}, - * folders/{folder}/muteConfigs/{config_id}, - * projects/{project}/muteConfigs/{config_id}, - * organizations/{organization}/locations/global/muteConfigs/{config_id}, - * folders/{folder}/locations/global/muteConfigs/{config_id}, or - * projects/{project}/locations/global/muteConfigs/{config_id}. + * @param parent Required. Name of the parent to list custom modules under. Its + * format is: * "organizations/{organization}/eventThreatDetectionSettings". + * * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsGet + * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesList + * + * @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 mute configs. + * Lists all resident Event Threat Detection custom modules under the given + * Resource Manager parent and its descendants. * - * Method: securitycenter.organizations.muteConfigs.list + * Method: securitycenter.organizations.eventThreatDetectionSettings.customModules.listDescendant * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesListDescendant : GTLRSecurityCommandCenterQuery /** - * The maximum number of configs to return. The service may return fewer than + * The maximum number of modules to return. The service may return fewer than * this value. If unspecified, at most 10 configs will be returned. The maximum * value is 1000; values above 1000 will be coerced to 1000. */ @property(nonatomic, assign) NSInteger pageSize; /** - * A page token, received from a previous `ListMuteConfigs` call. Provide this - * to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListMuteConfigs` must match the call that provided the page - * token. + * A page token, received from a previous + * `ListDescendantEventThreatDetectionCustomModules` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided + * to `ListDescendantEventThreatDetectionCustomModules` must match the call + * that provided the page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent, which owns the collection of mute configs. Its format - * is "organizations/[organization_id]", "folders/[folder_id]", - * "projects/[project_id]". + * Required. Name of the parent to list custom modules under. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_ListMuteConfigsResponse. + * Fetches a @c + * GTLRSecurityCommandCenter_ListDescendantEventThreatDetectionCustomModulesResponse. * - * Lists mute configs. + * Lists all resident Event Threat Detection custom modules under the given + * Resource Manager parent and its descendants. * - * @param parent Required. The parent, which owns the collection of mute - * configs. Its format is "organizations/[organization_id]", - * "folders/[folder_id]", "projects/[project_id]". + * @param parent Required. Name of the parent to list custom modules under. Its + * format is: * "organizations/{organization}/eventThreatDetectionSettings". + * * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsList + * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesListDescendant * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -3130,23 +3187,26 @@ GTLR_DEPRECATED @end /** - * Updates a mute config. + * Updates the Event Threat Detection custom module with the given name based + * on the given update mask. Updating the enablement state is supported for + * both resident and inherited modules (though resident modules cannot have an + * enablement state of "inherited"). Updating the display name or configuration + * of a module is supported for resident modules only. The type of a module + * cannot be changed. * - * Method: securitycenter.organizations.muteConfigs.patch + * Method: securitycenter.organizations.eventThreatDetectionSettings.customModules.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesPatch : GTLRSecurityCommandCenterQuery /** - * This field will be ignored if provided on config creation. Format - * "organizations/{organization}/muteConfigs/{mute_config}" - * "folders/{folder}/muteConfigs/{mute_config}" - * "projects/{project}/muteConfigs/{mute_config}" - * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" - * "folders/{folder}/locations/global/muteConfigs/{mute_config}" - * "projects/{project}/locations/global/muteConfigs/{mute_config}" + * Immutable. The resource name of the Event Threat Detection custom module. + * Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". */ @property(nonatomic, copy, nullable) NSString *name; @@ -3159,522 +3219,544 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *updateMask; /** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. + * Fetches a @c GTLRSecurityCommandCenter_EventThreatDetectionCustomModule. * - * Updates a mute config. + * Updates the Event Threat Detection custom module with the given name based + * on the given update mask. Updating the enablement state is supported for + * both resident and inherited modules (though resident modules cannot have an + * enablement state of "inherited"). Updating the display name or configuration + * of a module is supported for resident modules only. The type of a module + * cannot be changed. * * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include - * in the query. - * @param name This field will be ignored if provided on config creation. - * Format "organizations/{organization}/muteConfigs/{mute_config}" - * "folders/{folder}/muteConfigs/{mute_config}" - * "projects/{project}/muteConfigs/{mute_config}" - * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" - * "folders/{folder}/locations/global/muteConfigs/{mute_config}" - * "projects/{project}/locations/global/muteConfigs/{mute_config}" + * GTLRSecurityCommandCenter_EventThreatDetectionCustomModule to include in + * the query. + * @param name Immutable. The resource name of the Event Threat Detection + * custom module. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsPatch + * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsCustomModulesPatch */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_EventThreatDetectionCustomModule *)object name:(NSString *)name; @end /** - * Creates a notification config. + * Gets an effective Event Threat Detection custom module at the given level. * - * Method: securitycenter.organizations.notificationConfigs.create + * Method: securitycenter.organizations.eventThreatDetectionSettings.effectiveCustomModules.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsCreate : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesGet : GTLRSecurityCommandCenterQuery /** - * Required. Unique identifier provided by the client within the parent scope. - * It must be between 1 and 128 characters and contain alphanumeric characters, - * underscores, or hyphens only. + * Required. The resource name of the effective Event Threat Detection custom + * module. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}". */ -@property(nonatomic, copy, nullable) NSString *configId; +@property(nonatomic, copy, nullable) NSString *name; /** - * Required. Resource name of the new notification config's parent. Its format - * is "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * Fetches a @c + * GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule. + * + * Gets an effective Event Threat Detection custom module at the given level. + * + * @param name Required. The resource name of the effective Event Threat + * Detection custom module. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesGet */ -@property(nonatomic, copy, nullable) NSString *parent; ++ (instancetype)queryWithName:(NSString *)name; + +@end /** - * Fetches a @c GTLRSecurityCommandCenter_NotificationConfig. + * Lists all effective Event Threat Detection custom modules for the given + * parent. This includes resident modules defined at the scope of the parent + * along with modules inherited from its ancestors. * - * Creates a notification config. + * Method: securitycenter.organizations.eventThreatDetectionSettings.effectiveCustomModules.list * - * @param object The @c GTLRSecurityCommandCenter_NotificationConfig to include - * in the query. - * @param parent Required. Resource name of the new notification config's - * parent. Its format is "organizations/[organization_id]", - * "folders/[folder_id]", or "projects/[project_id]". - * - * @return GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsCreate + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_NotificationConfig *)object - parent:(NSString *)parent; +@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesList : GTLRSecurityCommandCenterQuery -@end +/** + * The maximum number of modules to return. The service may return fewer than + * this value. If unspecified, at most 10 configs will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; /** - * Deletes a notification config. - * - * Method: securitycenter.organizations.notificationConfigs.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + * A page token, received from a previous + * `ListEffectiveEventThreatDetectionCustomModules` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided + * to `ListEffectiveEventThreatDetectionCustomModules` must match the call that + * provided the page token. */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsDelete : GTLRSecurityCommandCenterQuery +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. Name of the notification config to delete. Its format is - * "organizations/[organization_id]/notificationConfigs/[config_id]", - * "folders/[folder_id]/notificationConfigs/[config_id]", or - * "projects/[project_id]/notificationConfigs/[config_id]". + * Required. Name of the parent to list custom modules for. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_Empty. + * Fetches a @c + * GTLRSecurityCommandCenter_ListEffectiveEventThreatDetectionCustomModulesResponse. * - * Deletes a notification config. + * Lists all effective Event Threat Detection custom modules for the given + * parent. This includes resident modules defined at the scope of the parent + * along with modules inherited from its ancestors. * - * @param name Required. Name of the notification config to delete. Its format - * is "organizations/[organization_id]/notificationConfigs/[config_id]", - * "folders/[folder_id]/notificationConfigs/[config_id]", or - * "projects/[project_id]/notificationConfigs/[config_id]". + * @param parent Required. Name of the parent to list custom modules for. Its + * format is: * "organizations/{organization}/eventThreatDetectionSettings". + * * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsDelete + * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesList + * + * @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 /** - * Gets a notification config. + * Validates the given Event Threat Detection custom module. * - * Method: securitycenter.organizations.notificationConfigs.get + * Method: securitycenter.organizations.eventThreatDetectionSettings.validateCustomModule * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsGet : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsValidateCustomModule : GTLRSecurityCommandCenterQuery /** - * Required. Name of the notification config to get. Its format is - * "organizations/[organization_id]/notificationConfigs/[config_id]", - * "folders/[folder_id]/notificationConfigs/[config_id]", or - * "projects/[project_id]/notificationConfigs/[config_id]". + * Required. Resource name of the parent to validate the Custom Module under. + * Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_NotificationConfig. + * Fetches a @c + * GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleResponse. * - * Gets a notification config. + * Validates the given Event Threat Detection custom module. * - * @param name Required. Name of the notification config to get. Its format is - * "organizations/[organization_id]/notificationConfigs/[config_id]", - * "folders/[folder_id]/notificationConfigs/[config_id]", or - * "projects/[project_id]/notificationConfigs/[config_id]". + * @param object The @c + * GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleRequest + * to include in the query. + * @param parent Required. Resource name of the parent to validate the Custom + * Module under. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsGet + * @return GTLRSecurityCommandCenterQuery_OrganizationsEventThreatDetectionSettingsValidateCustomModule */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleRequest *)object + parent:(NSString *)parent; @end /** - * Lists notification configs. + * Kicks off an LRO to bulk mute findings for a parent based on a filter. The + * parent can be either an organization, folder or project. The findings + * matched by the filter will be muted after the LRO is done. * - * Method: securitycenter.organizations.notificationConfigs.list + * Method: securitycenter.organizations.findings.bulkMute * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsList : GTLRSecurityCommandCenterQuery - -/** - * The maximum number of results to return in a single response. Default is 10, - * minimum is 1, maximum is 1000. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * The value returned by the last `ListNotificationConfigsResponse`; indicates - * that this is a continuation of a prior `ListNotificationConfigs` call, and - * that the system should return the next page of data. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@interface GTLRSecurityCommandCenterQuery_OrganizationsFindingsBulkMute : GTLRSecurityCommandCenterQuery /** - * Required. The name of the parent in which to list the notification - * configurations. Its format is "organizations/[organization_id]", - * "folders/[folder_id]", or "projects/[project_id]". + * Required. The parent, at which bulk action needs to be applied. Its format + * is "organizations/[organization_id]", "folders/[folder_id]", + * "projects/[project_id]". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_ListNotificationConfigsResponse. - * - * Lists notification configs. + * Fetches a @c GTLRSecurityCommandCenter_Operation. * - * @param parent Required. The name of the parent in which to list the - * notification configurations. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * Kicks off an LRO to bulk mute findings for a parent based on a filter. The + * parent can be either an organization, folder or project. The findings + * matched by the filter will be muted after the LRO is done. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsList + * @param object The @c GTLRSecurityCommandCenter_BulkMuteFindingsRequest to + * include in the query. + * @param parent Required. The parent, at which bulk action needs to be + * applied. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", "projects/[project_id]". * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRSecurityCommandCenterQuery_OrganizationsFindingsBulkMute */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_BulkMuteFindingsRequest *)object + parent:(NSString *)parent; @end /** - * Updates a notification config. The following update fields are allowed: - * description, pubsub_topic, streaming_config.filter + * Gets the settings for an organization. * - * Method: securitycenter.organizations.notificationConfigs.patch + * Method: securitycenter.organizations.getOrganizationSettings * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsGetOrganizationSettings : GTLRSecurityCommandCenterQuery /** - * The relative resource name of this notification config. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Example: - * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", - * "folders/{folder_id}/notificationConfigs/notify_public_bucket", or - * "projects/{project_id}/notificationConfigs/notify_public_bucket". + * Required. Name of the organization to get organization settings for. Its + * format is "organizations/[organization_id]/organizationSettings". */ @property(nonatomic, copy, nullable) NSString *name; /** - * The FieldMask to use when updating the notification config. If empty all - * mutable fields will be updated. - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - -/** - * Fetches a @c GTLRSecurityCommandCenter_NotificationConfig. + * Fetches a @c GTLRSecurityCommandCenter_OrganizationSettings. * - * Updates a notification config. The following update fields are allowed: - * description, pubsub_topic, streaming_config.filter + * Gets the settings for an organization. * - * @param object The @c GTLRSecurityCommandCenter_NotificationConfig to include - * in the query. - * @param name The relative resource name of this notification config. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Example: - * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", - * "folders/{folder_id}/notificationConfigs/notify_public_bucket", or - * "projects/{project_id}/notificationConfigs/notify_public_bucket". + * @param name Required. Name of the organization to get organization settings + * for. Its format is "organizations/[organization_id]/organizationSettings". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsPatch + * @return GTLRSecurityCommandCenterQuery_OrganizationsGetOrganizationSettings */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_NotificationConfig *)object - name:(NSString *)name; ++ (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`. + * Deletes an existing mute config. * - * Method: securitycenter.organizations.operations.cancel + * Method: securitycenter.organizations.locations.muteConfigs.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsOperationsCancel : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsDelete : GTLRSecurityCommandCenterQuery -/** The name of the operation resource to be cancelled. */ +/** + * Required. Name of the mute config to delete. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. + */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRSecurityCommandCenter_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`. + * Deletes an existing mute config. * - * @param name The name of the operation resource to be cancelled. + * @param name Required. Name of the mute config to delete. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsOperationsCancel + * @return GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsDelete */ + (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`. + * Gets a mute config. * - * Method: securitycenter.organizations.operations.delete + * Method: securitycenter.organizations.locations.muteConfigs.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsOperationsDelete : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsGet : GTLRSecurityCommandCenterQuery -/** The name of the operation resource to be deleted. */ +/** + * Required. Name of the mute config to retrieve. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. + */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_Empty. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. * - * 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`. + * Gets a mute config. * - * @param name The name of the operation resource to be deleted. + * @param name Required. Name of the mute config to retrieve. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsOperationsDelete + * @return GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsGet */ + (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. + * Updates a mute config. * - * Method: securitycenter.organizations.operations.get + * Method: securitycenter.organizations.locations.muteConfigs.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsOperationsGet : GTLRSecurityCommandCenterQuery - -/** The name of the operation resource. */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsPatch : GTLRSecurityCommandCenterQuery /** - * Fetches a @c GTLRSecurityCommandCenter_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 GTLRSecurityCommandCenterQuery_OrganizationsOperationsGet + * This field will be ignored if provided on config creation. Format + * "organizations/{organization}/muteConfigs/{mute_config}" + * "folders/{folder}/muteConfigs/{mute_config}" + * "projects/{project}/muteConfigs/{mute_config}" + * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + * "folders/{folder}/locations/global/muteConfigs/{mute_config}" + * "projects/{project}/locations/global/muteConfigs/{mute_config}" */ -+ (instancetype)queryWithName:(NSString *)name; - -@end +@property(nonatomic, copy, nullable) NSString *name; /** - * Lists operations that match the specified filter in the request. If the - * server doesn't support this method, it returns `UNIMPLEMENTED`. - * - * Method: securitycenter.organizations.operations.list + * The list of fields to be updated. If empty all mutable fields will be + * updated. * - * Authorization scope(s): - * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + * String format is a comma-separated list of fields. */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsOperationsList : GTLRSecurityCommandCenterQuery - -/** 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; +@property(nonatomic, copy, nullable) NSString *updateMask; /** - * Fetches a @c GTLRSecurityCommandCenter_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 + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. * - * @param name The name of the operation's parent resource. + * Updates a mute config. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsOperationsList + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include + * in the query. + * @param name This field will be ignored if provided on config creation. + * Format "organizations/{organization}/muteConfigs/{mute_config}" + * "folders/{folder}/muteConfigs/{mute_config}" + * "projects/{project}/muteConfigs/{mute_config}" + * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + * "folders/{folder}/locations/global/muteConfigs/{mute_config}" + * "projects/{project}/locations/global/muteConfigs/{mute_config}" * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsPatch */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object + name:(NSString *)name; @end /** - * Creates a ResourceValueConfig for an organization. Maps user's tags to - * difference resource values for use by the attack path simulation. + * Creates a mute config. * - * Method: securitycenter.organizations.resourceValueConfigs.batchCreate + * Method: securitycenter.organizations.muteConfigs.create * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsBatchCreate : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsCreate : GTLRSecurityCommandCenterQuery /** - * Required. Resource name of the new ResourceValueConfig's parent. The parent - * field in the CreateResourceValueConfigRequest messages must either be empty - * or match this field. + * Required. Unique identifier provided by the client within the parent scope. + * It must consist of only lowercase letters, numbers, and hyphens, must start + * with a letter, must end with either a letter or a number, and must be 63 + * characters or less. + */ +@property(nonatomic, copy, nullable) NSString *muteConfigId; + +/** + * Required. Resource name of the new mute configs's parent. Its format is + * "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". */ @property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRSecurityCommandCenter_BatchCreateResourceValueConfigsResponse. + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. * - * Creates a ResourceValueConfig for an organization. Maps user's tags to - * difference resource values for use by the attack path simulation. + * Creates a mute config. * * @param object The @c - * GTLRSecurityCommandCenter_BatchCreateResourceValueConfigsRequest to - * include in the query. - * @param parent Required. Resource name of the new ResourceValueConfig's - * parent. The parent field in the CreateResourceValueConfigRequest messages - * must either be empty or match this field. + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include + * in the query. + * @param parent Required. Resource name of the new mute configs's parent. Its + * format is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsBatchCreate + * @return GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsCreate */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_BatchCreateResourceValueConfigsRequest *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object parent:(NSString *)parent; @end /** - * Deletes a ResourceValueConfig. + * Deletes an existing mute config. * - * Method: securitycenter.organizations.resourceValueConfigs.delete + * Method: securitycenter.organizations.muteConfigs.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsDelete : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsDelete : GTLRSecurityCommandCenterQuery -/** Required. Name of the ResourceValueConfig to delete */ +/** + * Required. Name of the mute config to delete. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. + */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * Deletes a ResourceValueConfig. + * Deletes an existing mute config. * - * @param name Required. Name of the ResourceValueConfig to delete + * @param name Required. Name of the mute config to delete. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsDelete + * @return GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Gets a ResourceValueConfig. + * Gets a mute config. * - * Method: securitycenter.organizations.resourceValueConfigs.get + * Method: securitycenter.organizations.muteConfigs.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsGet : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsGet : GTLRSecurityCommandCenterQuery /** - * Required. Name of the resource value config to retrieve. Its format is - * organizations/{organization}/resourceValueConfigs/{config_id}. + * Required. Name of the mute config to retrieve. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig. + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. * - * Gets a ResourceValueConfig. + * Gets a mute config. * - * @param name Required. Name of the resource value config to retrieve. Its - * format is organizations/{organization}/resourceValueConfigs/{config_id}. + * @param name Required. Name of the mute config to retrieve. Its format is + * organizations/{organization}/muteConfigs/{config_id}, + * folders/{folder}/muteConfigs/{config_id}, + * projects/{project}/muteConfigs/{config_id}, + * organizations/{organization}/locations/global/muteConfigs/{config_id}, + * folders/{folder}/locations/global/muteConfigs/{config_id}, or + * projects/{project}/locations/global/muteConfigs/{config_id}. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsGet + * @return GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Lists all ResourceValueConfigs. + * Lists mute configs. * - * Method: securitycenter.organizations.resourceValueConfigs.list + * Method: securitycenter.organizations.muteConfigs.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsList : GTLRSecurityCommandCenterQuery /** - * The number of results to return. The service may return fewer than this - * value. If unspecified, at most 10 configs will be returned. The maximum + * The maximum number of configs to return. The service may return fewer than + * this value. If unspecified, at most 10 configs will be returned. The maximum * value is 1000; values above 1000 will be coerced to 1000. */ @property(nonatomic, assign) NSInteger pageSize; /** - * A page token, received from a previous `ListResourceValueConfigs` call. - * Provide this to retrieve the subsequent page. When paginating, all other - * parameters provided to `ListResourceValueConfigs` must match the call that - * provided the page token. page_size can be specified, and the new page_size - * will be used. + * A page token, received from a previous `ListMuteConfigs` call. Provide this + * to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListMuteConfigs` must match the call that provided the page + * token. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent, which owns the collection of resource value configs. - * Its format is "organizations/[organization_id]" + * Required. The parent, which owns the collection of mute configs. Its format + * is "organizations/[organization_id]", "folders/[folder_id]", + * "projects/[project_id]". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_ListResourceValueConfigsResponse. + * Fetches a @c GTLRSecurityCommandCenter_ListMuteConfigsResponse. * - * Lists all ResourceValueConfigs. + * Lists mute configs. * - * @param parent Required. The parent, which owns the collection of resource - * value configs. Its format is "organizations/[organization_id]" + * @param parent Required. The parent, which owns the collection of mute + * configs. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsList + * @return GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -3685,16 +3767,24 @@ GTLR_DEPRECATED @end /** - * Updates an existing ResourceValueConfigs with new rules. + * Updates a mute config. * - * Method: securitycenter.organizations.resourceValueConfigs.patch + * Method: securitycenter.organizations.muteConfigs.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsPatch : GTLRSecurityCommandCenterQuery -/** Name for the resource value config */ +/** + * This field will be ignored if provided on config creation. Format + * "organizations/{organization}/muteConfigs/{mute_config}" + * "folders/{folder}/muteConfigs/{mute_config}" + * "projects/{project}/muteConfigs/{mute_config}" + * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + * "folders/{folder}/locations/global/muteConfigs/{mute_config}" + * "projects/{project}/locations/global/muteConfigs/{mute_config}" + */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -3707,155 +3797,147 @@ GTLR_DEPRECATED /** * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig. + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. * - * Updates an existing ResourceValueConfigs with new rules. + * Updates a mute config. * * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig - * to include in the query. - * @param name Name for the resource value config + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include + * in the query. + * @param name This field will be ignored if provided on config creation. + * Format "organizations/{organization}/muteConfigs/{mute_config}" + * "folders/{folder}/muteConfigs/{mute_config}" + * "projects/{project}/muteConfigs/{mute_config}" + * "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + * "folders/{folder}/locations/global/muteConfigs/{mute_config}" + * "projects/{project}/locations/global/muteConfigs/{mute_config}" * - * @return GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsPatch + * @return GTLRSecurityCommandCenterQuery_OrganizationsMuteConfigsPatch */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object name:(NSString *)name; @end /** - * Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the - * given CRM parent, and also creates inherited - * SecurityHealthAnalyticsCustomModules for all CRM descendants of the given - * parent. These modules are enabled by default. + * Creates a notification config. * - * Method: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.create + * Method: securitycenter.organizations.notificationConfigs.create * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesCreate : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsCreate : GTLRSecurityCommandCenterQuery /** - * Required. Resource name of the new custom module's parent. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * Required. Unique identifier provided by the client within the parent scope. + * It must be between 1 and 128 characters and contain alphanumeric characters, + * underscores, or hyphens only. + */ +@property(nonatomic, copy, nullable) NSString *configId; + +/** + * Required. Resource name of the new notification config's parent. Its format + * is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule. + * Fetches a @c GTLRSecurityCommandCenter_NotificationConfig. * - * Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the - * given CRM parent, and also creates inherited - * SecurityHealthAnalyticsCustomModules for all CRM descendants of the given - * parent. These modules are enabled by default. + * Creates a notification config. * - * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule - * to include in the query. - * @param parent Required. Resource name of the new custom module's parent. Its - * format is "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * @param object The @c GTLRSecurityCommandCenter_NotificationConfig to include + * in the query. + * @param parent Required. Resource name of the new notification config's + * parent. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", or "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesCreate + * @return GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsCreate */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_NotificationConfig *)object parent:(NSString *)parent; @end /** - * Deletes the specified SecurityHealthAnalyticsCustomModule and all of its - * descendants in the CRM hierarchy. This method is only supported for resident - * custom modules. + * Deletes a notification config. * - * Method: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.delete + * Method: securitycenter.organizations.notificationConfigs.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesDelete : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsDelete : GTLRSecurityCommandCenterQuery /** - * Required. Name of the custom module to delete. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", - * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * Required. Name of the notification config to delete. Its format is + * "organizations/[organization_id]/notificationConfigs/[config_id]", + * "folders/[folder_id]/notificationConfigs/[config_id]", or + * "projects/[project_id]/notificationConfigs/[config_id]". */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * Deletes the specified SecurityHealthAnalyticsCustomModule and all of its - * descendants in the CRM hierarchy. This method is only supported for resident - * custom modules. + * Deletes a notification config. * - * @param name Required. Name of the custom module to delete. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", - * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * @param name Required. Name of the notification config to delete. Its format + * is "organizations/[organization_id]/notificationConfigs/[config_id]", + * "folders/[folder_id]/notificationConfigs/[config_id]", or + * "projects/[project_id]/notificationConfigs/[config_id]". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesDelete + * @return GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Retrieves a SecurityHealthAnalyticsCustomModule. + * Gets a notification config. * - * Method: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.get + * Method: securitycenter.organizations.notificationConfigs.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesGet : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsGet : GTLRSecurityCommandCenterQuery /** - * Required. Name of the custom module to get. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", - * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * Required. Name of the notification config to get. Its format is + * "organizations/[organization_id]/notificationConfigs/[config_id]", + * "folders/[folder_id]/notificationConfigs/[config_id]", or + * "projects/[project_id]/notificationConfigs/[config_id]". */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule. + * Fetches a @c GTLRSecurityCommandCenter_NotificationConfig. * - * Retrieves a SecurityHealthAnalyticsCustomModule. + * Gets a notification config. * - * @param name Required. Name of the custom module to get. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", - * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * @param name Required. Name of the notification config to get. Its format is + * "organizations/[organization_id]/notificationConfigs/[config_id]", + * "folders/[folder_id]/notificationConfigs/[config_id]", or + * "projects/[project_id]/notificationConfigs/[config_id]". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesGet + * @return GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Returns a list of all SecurityHealthAnalyticsCustomModules for the given - * parent. This includes resident modules defined at the scope of the parent, - * and inherited modules, inherited from CRM ancestors. + * Lists notification configs. * - * Method: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.list + * Method: securitycenter.organizations.notificationConfigs.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsList : GTLRSecurityCommandCenterQuery /** * The maximum number of results to return in a single response. Default is 10, @@ -3863,31 +3945,31 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) NSInteger pageSize; -/** The value returned by the last call indicating a continuation */ +/** + * The value returned by the last `ListNotificationConfigsResponse`; indicates + * that this is a continuation of a prior `ListNotificationConfigs` call, and + * that the system should return the next page of data. + */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. Name of parent to list custom modules. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * Required. The name of the parent in which to list the notification + * configurations. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", or "projects/[project_id]". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c - * GTLRSecurityCommandCenter_ListSecurityHealthAnalyticsCustomModulesResponse. + * Fetches a @c GTLRSecurityCommandCenter_ListNotificationConfigsResponse. * - * Returns a list of all SecurityHealthAnalyticsCustomModules for the given - * parent. This includes resident modules defined at the scope of the parent, - * and inherited modules, inherited from CRM ancestors. + * Lists notification configs. * - * @param parent Required. Name of parent to list custom modules. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * @param parent Required. The name of the parent in which to list the + * notification configurations. Its format is + * "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesList + * @return GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -3898,356 +3980,338 @@ GTLR_DEPRECATED @end /** - * Returns a list of all resident SecurityHealthAnalyticsCustomModules under - * the given CRM parent and all of the parent’s CRM descendants. + * Updates a notification config. The following update fields are allowed: + * description, pubsub_topic, streaming_config.filter * - * Method: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.listDescendant + * Method: securitycenter.organizations.notificationConfigs.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesListDescendant : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsPatch : GTLRSecurityCommandCenterQuery /** - * The maximum number of results to return in a single response. Default is 10, - * minimum is 1, maximum is 1000. + * The relative resource name of this notification config. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Example: + * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", + * "folders/{folder_id}/notificationConfigs/notify_public_bucket", or + * "projects/{project_id}/notificationConfigs/notify_public_bucket". */ -@property(nonatomic, assign) NSInteger pageSize; - -/** The value returned by the last call indicating a continuation */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@property(nonatomic, copy, nullable) NSString *name; /** - * Required. Name of parent to list descendant custom modules. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * The FieldMask to use when updating the notification config. If empty all + * mutable fields will be updated. + * + * String format is a comma-separated list of fields. */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *updateMask; /** - * Fetches a @c - * GTLRSecurityCommandCenter_ListDescendantSecurityHealthAnalyticsCustomModulesResponse. - * - * Returns a list of all resident SecurityHealthAnalyticsCustomModules under - * the given CRM parent and all of the parent’s CRM descendants. + * Fetches a @c GTLRSecurityCommandCenter_NotificationConfig. * - * @param parent Required. Name of parent to list descendant custom modules. - * Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * Updates a notification config. The following update fields are allowed: + * description, pubsub_topic, streaming_config.filter * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesListDescendant + * @param object The @c GTLRSecurityCommandCenter_NotificationConfig to include + * in the query. + * @param name The relative resource name of this notification config. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Example: + * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", + * "folders/{folder_id}/notificationConfigs/notify_public_bucket", or + * "projects/{project_id}/notificationConfigs/notify_public_bucket". * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRSecurityCommandCenterQuery_OrganizationsNotificationConfigsPatch */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_NotificationConfig *)object + name:(NSString *)name; @end /** - * Updates the SecurityHealthAnalyticsCustomModule under the given name based - * on the given update mask. Updating the enablement state is supported on both - * resident and inherited modules (though resident modules cannot have an - * enablement state of "inherited"). Updating the display name and custom - * config of a module is supported on resident modules only. + * 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: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.patch + * Method: securitycenter.organizations.operations.cancel * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsOperationsCancel : GTLRSecurityCommandCenterQuery -/** - * Immutable. The resource name of the custom module. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" - * The id {customModule} is server-generated and is not user settable. It will - * be a numeric id containing 1-20 digits. - */ +/** The name of the operation resource to be cancelled. */ @property(nonatomic, copy, nullable) NSString *name; /** - * The list of fields to update. + * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * String format is a comma-separated list of fields. + * 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 GTLRSecurityCommandCenterQuery_OrganizationsOperationsCancel */ -@property(nonatomic, copy, nullable) NSString *updateMask; ++ (instancetype)queryWithName:(NSString *)name; + +@end /** - * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule. + * 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`. * - * Updates the SecurityHealthAnalyticsCustomModule under the given name based - * on the given update mask. Updating the enablement state is supported on both - * resident and inherited modules (though resident modules cannot have an - * enablement state of "inherited"). Updating the display name and custom - * config of a module is supported on resident modules only. + * Method: securitycenter.organizations.operations.delete * - * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule - * to include in the query. - * @param name Immutable. The resource name of the custom module. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" - * The id {customModule} is server-generated and is not user settable. It - * will be a numeric id containing 1-20 digits. + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsOperationsDelete : GTLRSecurityCommandCenterQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesPatch + * 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 GTLRSecurityCommandCenterQuery_OrganizationsOperationsDelete */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule *)object - name:(NSString *)name; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Simulates a given SecurityHealthAnalyticsCustomModule and Resource. + * 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: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.simulate + * Method: securitycenter.organizations.operations.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesSimulate : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsOperationsGet : GTLRSecurityCommandCenterQuery -/** - * Required. The relative resource name of the organization, project, or - * folder. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * An example is: "organizations/{organization_id}". - */ -@property(nonatomic, copy, nullable) NSString *parent; +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleResponse. + * Fetches a @c GTLRSecurityCommandCenter_Operation. * - * Simulates a given SecurityHealthAnalyticsCustomModule and Resource. + * 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 object The @c - * GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleRequest - * to include in the query. - * @param parent Required. The relative resource name of the organization, - * project, or folder. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * An example is: "organizations/{organization_id}". + * @param name The name of the operation resource. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesSimulate + * @return GTLRSecurityCommandCenterQuery_OrganizationsOperationsGet */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Retrieves an EffectiveSecurityHealthAnalyticsCustomModule. + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. * - * Method: securitycenter.organizations.securityHealthAnalyticsSettings.effectiveCustomModules.get + * Method: securitycenter.organizations.operations.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesGet : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsOperationsList : GTLRSecurityCommandCenterQuery -/** - * Required. Name of the effective custom module to get. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", - * "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}" - */ +/** 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 - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule. + * Fetches a @c GTLRSecurityCommandCenter_ListOperationsResponse. * - * Retrieves an EffectiveSecurityHealthAnalyticsCustomModule. + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. * - * @param name Required. Name of the effective custom module to get. Its format - * is - * "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", - * "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", - * or - * "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}" + * @param name The name of the operation's parent resource. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesGet + * @return GTLRSecurityCommandCenterQuery_OrganizationsOperationsList + * + * @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 /** - * Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the - * given parent. This includes resident modules defined at the scope of the - * parent, and inherited modules, inherited from CRM ancestors. + * Creates a ResourceValueConfig for an organization. Maps user's tags to + * difference resource values for use by the attack path simulation. * - * Method: securitycenter.organizations.securityHealthAnalyticsSettings.effectiveCustomModules.list + * Method: securitycenter.organizations.resourceValueConfigs.batchCreate * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesList : GTLRSecurityCommandCenterQuery - -/** - * The maximum number of results to return in a single response. Default is 10, - * minimum is 1, maximum is 1000. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** The value returned by the last call indicating a continuation */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@interface GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsBatchCreate : GTLRSecurityCommandCenterQuery /** - * Required. Name of parent to list effective custom modules. Its format is - * "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * Required. Resource name of the new ResourceValueConfig's parent. The parent + * field in the CreateResourceValueConfigRequest messages must either be empty + * or match this field. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRSecurityCommandCenter_ListEffectiveSecurityHealthAnalyticsCustomModulesResponse. - * - * Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the - * given parent. This includes resident modules defined at the scope of the - * parent, and inherited modules, inherited from CRM ancestors. + * GTLRSecurityCommandCenter_BatchCreateResourceValueConfigsResponse. * - * @param parent Required. Name of parent to list effective custom modules. Its - * format is "organizations/{organization}/securityHealthAnalyticsSettings", - * "folders/{folder}/securityHealthAnalyticsSettings", or - * "projects/{project}/securityHealthAnalyticsSettings" + * Creates a ResourceValueConfig for an organization. Maps user's tags to + * difference resource values for use by the attack path simulation. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesList + * @param object The @c + * GTLRSecurityCommandCenter_BatchCreateResourceValueConfigsRequest to + * include in the query. + * @param parent Required. Resource name of the new ResourceValueConfig's + * parent. The parent field in the CreateResourceValueConfigRequest messages + * must either be empty or match this field. * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsBatchCreate */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_BatchCreateResourceValueConfigsRequest *)object + parent:(NSString *)parent; @end /** - * Lists the attack paths for a set of simulation results or valued resources - * and filter. + * Deletes a ResourceValueConfig. * - * Method: securitycenter.organizations.simulations.attackExposureResults.attackPaths.list + * Method: securitycenter.organizations.resourceValueConfigs.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSimulationsAttackExposureResultsAttackPathsList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsDelete : GTLRSecurityCommandCenterQuery -/** - * The filter expression that filters the attack path in the response. - * Supported fields: * `valued_resources` supports = - */ -@property(nonatomic, copy, nullable) NSString *filter; +/** Required. Name of the ResourceValueConfig to delete */ +@property(nonatomic, copy, nullable) NSString *name; /** - * The maximum number of results to return in a single response. Default is 10, - * minimum is 1, maximum is 1000. + * Fetches a @c GTLRSecurityCommandCenter_Empty. + * + * Deletes a ResourceValueConfig. + * + * @param name Required. Name of the ResourceValueConfig to delete + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsDelete */ -@property(nonatomic, assign) NSInteger pageSize; ++ (instancetype)queryWithName:(NSString *)name; + +@end /** - * The value returned by the last `ListAttackPathsResponse`; indicates that - * this is a continuation of a prior `ListAttackPaths` call, and that the - * system should return the next page of data. + * Gets a ResourceValueConfig. + * + * Method: securitycenter.organizations.resourceValueConfigs.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@interface GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsGet : GTLRSecurityCommandCenterQuery /** - * Required. Name of parent to list attack paths. Valid formats: - * "organizations/{organization}", - * "organizations/{organization}/simulations/{simulation}" - * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" - * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" + * Required. Name of the resource value config to retrieve. Its format is + * organizations/{organization}/resourceValueConfigs/{config_id}. */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_ListAttackPathsResponse. - * - * Lists the attack paths for a set of simulation results or valued resources - * and filter. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig. * - * @param parent Required. Name of parent to list attack paths. Valid formats: - * "organizations/{organization}", - * "organizations/{organization}/simulations/{simulation}" - * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" - * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" + * Gets a ResourceValueConfig. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSimulationsAttackExposureResultsAttackPathsList + * @param name Required. Name of the resource value config to retrieve. Its + * format is organizations/{organization}/resourceValueConfigs/{config_id}. * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsGet */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Lists the valued resources for a set of simulation results and filter. + * Lists all ResourceValueConfigs. * - * Method: securitycenter.organizations.simulations.attackExposureResults.valuedResources.list + * Method: securitycenter.organizations.resourceValueConfigs.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSimulationsAttackExposureResultsValuedResourcesList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsList : GTLRSecurityCommandCenterQuery /** - * The filter expression that filters the valued resources in the response. - * Supported fields: * `resource_value` supports = * `resource_type` supports = + * The number of results to return. The service may return fewer than this + * value. If unspecified, at most 10 configs will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. */ -@property(nonatomic, copy, nullable) NSString *filter; +@property(nonatomic, assign) NSInteger pageSize; /** - * The maximum number of results to return in a single response. Default is 10, - * minimum is 1, maximum is 1000. + * A page token, received from a previous `ListResourceValueConfigs` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListResourceValueConfigs` must match the call that + * provided the page token. page_size can be specified, and the new page_size + * will be used. */ -@property(nonatomic, assign) NSInteger pageSize; +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * The value returned by the last `ListValuedResourcesResponse`; indicates that - * this is a continuation of a prior `ListValuedResources` call, and that the - * system should return the next page of data. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** - * Required. Name of parent to list valued resources. Valid formats: - * "organizations/{organization}", - * "organizations/{organization}/simulations/{simulation}" - * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" + * Required. The parent, which owns the collection of resource value configs. + * Its format is "organizations/[organization_id]" */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_ListValuedResourcesResponse. + * Fetches a @c GTLRSecurityCommandCenter_ListResourceValueConfigsResponse. * - * Lists the valued resources for a set of simulation results and filter. + * Lists all ResourceValueConfigs. * - * @param parent Required. Name of parent to list valued resources. Valid - * formats: "organizations/{organization}", - * "organizations/{organization}/simulations/{simulation}" - * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" + * @param parent Required. The parent, which owns the collection of resource + * value configs. Its format is "organizations/[organization_id]" * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSimulationsAttackExposureResultsValuedResourcesList + * @return GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -4258,116 +4322,177 @@ GTLR_DEPRECATED @end /** - * Lists the attack paths for a set of simulation results or valued resources - * and filter. + * Updates an existing ResourceValueConfigs with new rules. * - * Method: securitycenter.organizations.simulations.attackPaths.list + * Method: securitycenter.organizations.resourceValueConfigs.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSimulationsAttackPathsList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsPatch : GTLRSecurityCommandCenterQuery + +/** Name for the resource value config */ +@property(nonatomic, copy, nullable) NSString *name; /** - * The filter expression that filters the attack path in the response. - * Supported fields: * `valued_resources` supports = + * The list of fields to be updated. If empty all mutable fields will be + * updated. + * + * String format is a comma-separated list of fields. */ -@property(nonatomic, copy, nullable) NSString *filter; +@property(nonatomic, copy, nullable) NSString *updateMask; /** - * The maximum number of results to return in a single response. Default is 10, - * minimum is 1, maximum is 1000. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig. + * + * Updates an existing ResourceValueConfigs with new rules. + * + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig + * to include in the query. + * @param name Name for the resource value config + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsPatch */ -@property(nonatomic, assign) NSInteger pageSize; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig *)object + name:(NSString *)name; + +@end /** - * The value returned by the last `ListAttackPathsResponse`; indicates that - * this is a continuation of a prior `ListAttackPaths` call, and that the - * system should return the next page of data. + * Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the + * given CRM parent, and also creates inherited + * SecurityHealthAnalyticsCustomModules for all CRM descendants of the given + * parent. These modules are enabled by default. + * + * Method: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesCreate : GTLRSecurityCommandCenterQuery /** - * Required. Name of parent to list attack paths. Valid formats: - * "organizations/{organization}", - * "organizations/{organization}/simulations/{simulation}" - * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" - * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" + * Required. Resource name of the new custom module's parent. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_ListAttackPathsResponse. - * - * Lists the attack paths for a set of simulation results or valued resources - * and filter. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule. * - * @param parent Required. Name of parent to list attack paths. Valid formats: - * "organizations/{organization}", - * "organizations/{organization}/simulations/{simulation}" - * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" - * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" + * Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the + * given CRM parent, and also creates inherited + * SecurityHealthAnalyticsCustomModules for all CRM descendants of the given + * parent. These modules are enabled by default. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSimulationsAttackPathsList + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule + * to include in the query. + * @param parent Required. Resource name of the new custom module's parent. Its + * format is "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesCreate */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule *)object + parent:(NSString *)parent; @end /** - * Get the simulation by name or the latest simulation for the given - * organization. + * Deletes the specified SecurityHealthAnalyticsCustomModule and all of its + * descendants in the CRM hierarchy. This method is only supported for resident + * custom modules. * - * Method: securitycenter.organizations.simulations.get + * Method: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSimulationsGet : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesDelete : GTLRSecurityCommandCenterQuery /** - * Required. The organization name or simulation name of this simulation Valid - * format: "organizations/{organization}/simulations/latest" - * "organizations/{organization}/simulations/{simulation}" + * Required. Name of the custom module to delete. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_Simulation. + * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * Get the simulation by name or the latest simulation for the given - * organization. + * Deletes the specified SecurityHealthAnalyticsCustomModule and all of its + * descendants in the CRM hierarchy. This method is only supported for resident + * custom modules. * - * @param name Required. The organization name or simulation name of this - * simulation Valid format: "organizations/{organization}/simulations/latest" - * "organizations/{organization}/simulations/{simulation}" + * @param name Required. Name of the custom module to delete. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSimulationsGet + * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Lists the attack paths for a set of simulation results or valued resources - * and filter. + * Retrieves a SecurityHealthAnalyticsCustomModule. * - * Method: securitycenter.organizations.simulations.valuedResources.attackPaths.list + * Method: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesAttackPathsList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesGet : GTLRSecurityCommandCenterQuery /** - * The filter expression that filters the attack path in the response. - * Supported fields: * `valued_resources` supports = + * Required. Name of the custom module to get. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" */ -@property(nonatomic, copy, nullable) NSString *filter; +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule. + * + * Retrieves a SecurityHealthAnalyticsCustomModule. + * + * @param name Required. Name of the custom module to get. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Returns a list of all SecurityHealthAnalyticsCustomModules for the given + * parent. This includes resident modules defined at the scope of the parent, + * and inherited modules, inherited from CRM ancestors. + * + * Method: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesList : GTLRSecurityCommandCenterQuery /** * The maximum number of results to return in a single response. Default is 10, @@ -4375,35 +4500,31 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) NSInteger pageSize; -/** - * The value returned by the last `ListAttackPathsResponse`; indicates that - * this is a continuation of a prior `ListAttackPaths` call, and that the - * system should return the next page of data. - */ +/** The value returned by the last call indicating a continuation */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. Name of parent to list attack paths. Valid formats: - * "organizations/{organization}", - * "organizations/{organization}/simulations/{simulation}" - * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" - * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" + * Required. Name of parent to list custom modules. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_ListAttackPathsResponse. + * Fetches a @c + * GTLRSecurityCommandCenter_ListSecurityHealthAnalyticsCustomModulesResponse. * - * Lists the attack paths for a set of simulation results or valued resources - * and filter. + * Returns a list of all SecurityHealthAnalyticsCustomModules for the given + * parent. This includes resident modules defined at the scope of the parent, + * and inherited modules, inherited from CRM ancestors. * - * @param parent Required. Name of parent to list attack paths. Valid formats: - * "organizations/{organization}", - * "organizations/{organization}/simulations/{simulation}" - * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" - * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" + * @param parent Required. Name of parent to list custom modules. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesAttackPathsList + * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -4414,20 +4535,15 @@ GTLR_DEPRECATED @end /** - * Lists the valued resources for a set of simulation results and filter. + * Returns a list of all resident SecurityHealthAnalyticsCustomModules under + * the given CRM parent and all of the parent’s CRM descendants. * - * Method: securitycenter.organizations.simulations.valuedResources.list + * Method: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.listDescendant * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesList : GTLRSecurityCommandCenterQuery - -/** - * The filter expression that filters the valued resources in the response. - * Supported fields: * `resource_value` supports = * `resource_type` supports = - */ -@property(nonatomic, copy, nullable) NSString *filter; +@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesListDescendant : GTLRSecurityCommandCenterQuery /** * The maximum number of results to return in a single response. Default is 10, @@ -4435,32 +4551,31 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) NSInteger pageSize; -/** - * The value returned by the last `ListValuedResourcesResponse`; indicates that - * this is a continuation of a prior `ListValuedResources` call, and that the - * system should return the next page of data. - */ +/** The value returned by the last call indicating a continuation */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. Name of parent to list valued resources. Valid formats: - * "organizations/{organization}", - * "organizations/{organization}/simulations/{simulation}" - * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" + * Required. Name of parent to list descendant custom modules. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_ListValuedResourcesResponse. - * - * Lists the valued resources for a set of simulation results and filter. + * Fetches a @c + * GTLRSecurityCommandCenter_ListDescendantSecurityHealthAnalyticsCustomModulesResponse. * - * @param parent Required. Name of parent to list valued resources. Valid - * formats: "organizations/{organization}", - * "organizations/{organization}/simulations/{simulation}" - * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" + * Returns a list of all resident SecurityHealthAnalyticsCustomModules under + * the given CRM parent and all of the parent’s CRM descendants. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesList + * @param parent Required. Name of parent to list descendant custom modules. + * Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesListDescendant * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -4471,266 +4586,276 @@ GTLR_DEPRECATED @end /** - * Creates a source. + * Updates the SecurityHealthAnalyticsCustomModule under the given name based + * on the given update mask. Updating the enablement state is supported on both + * resident and inherited modules (though resident modules cannot have an + * enablement state of "inherited"). Updating the display name and custom + * config of a module is supported on resident modules only. * - * Method: securitycenter.organizations.sources.create + * Method: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesCreate : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesPatch : GTLRSecurityCommandCenterQuery /** - * Required. Resource name of the new source's parent. Its format should be - * "organizations/[organization_id]". + * Immutable. The resource name of the custom module. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * The id {customModule} is server-generated and is not user settable. It will + * be a numeric id containing 1-20 digits. */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_Source. + * The list of fields to be updated. The only fields that can be updated are + * `enablement_state` and `custom_config`. If empty or set to the wildcard + * value `*`, both `enablement_state` and `custom_config` are updated. * - * Creates a source. + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule. * - * @param object The @c GTLRSecurityCommandCenter_Source to include in the - * query. - * @param parent Required. Resource name of the new source's parent. Its format - * should be "organizations/[organization_id]". + * Updates the SecurityHealthAnalyticsCustomModule under the given name based + * on the given update mask. Updating the enablement state is supported on both + * resident and inherited modules (though resident modules cannot have an + * enablement state of "inherited"). Updating the display name and custom + * config of a module is supported on resident modules only. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesCreate + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule + * to include in the query. + * @param name Immutable. The resource name of the custom module. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + * The id {customModule} is server-generated and is not user settable. It + * will be a numeric id containing 1-20 digits. + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesPatch */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_Source *)object - parent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule *)object + name:(NSString *)name; @end /** - * Creates a finding. The corresponding source must exist for finding creation - * to succeed. + * Simulates a given SecurityHealthAnalyticsCustomModule and Resource. * - * Method: securitycenter.organizations.sources.findings.create + * Method: securitycenter.organizations.securityHealthAnalyticsSettings.customModules.simulate * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsCreate : GTLRSecurityCommandCenterQuery - -/** - * Required. Unique identifier provided by the client within the parent scope. - * It must be alphanumeric and less than or equal to 32 characters and greater - * than 0 characters in length. - */ -@property(nonatomic, copy, nullable) NSString *findingId; +@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesSimulate : GTLRSecurityCommandCenterQuery /** - * Required. Resource name of the new finding's parent. Its format should be - * "organizations/[organization_id]/sources/[source_id]". + * Required. The relative resource name of the organization, project, or + * folder. For more information about relative resource names, see [Relative + * Resource + * Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * Example: `organizations/{organization_id}` */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_Finding. + * Fetches a @c + * GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleResponse. * - * Creates a finding. The corresponding source must exist for finding creation - * to succeed. + * Simulates a given SecurityHealthAnalyticsCustomModule and Resource. * - * @param object The @c GTLRSecurityCommandCenter_Finding to include in the - * query. - * @param parent Required. Resource name of the new finding's parent. Its - * format should be "organizations/[organization_id]/sources/[source_id]". + * @param object The @c + * GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleRequest + * to include in the query. + * @param parent Required. The relative resource name of the organization, + * project, or folder. For more information about relative resource names, + * see [Relative Resource + * Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * Example: `organizations/{organization_id}` * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsCreate + * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsCustomModulesSimulate */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_Finding *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleRequest *)object parent:(NSString *)parent; @end /** - * Updates external system. This is for a given finding. + * Retrieves an EffectiveSecurityHealthAnalyticsCustomModule. * - * Method: securitycenter.organizations.sources.findings.externalSystems.patch + * Method: securitycenter.organizations.securityHealthAnalyticsSettings.effectiveCustomModules.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsExternalSystemsPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesGet : GTLRSecurityCommandCenterQuery /** - * Full resource name of the external system, for example: - * "organizations/1234/sources/5678/findings/123456/externalSystems/jira", - * "folders/1234/sources/5678/findings/123456/externalSystems/jira", - * "projects/1234/sources/5678/findings/123456/externalSystems/jira" + * Required. Name of the effective custom module to get. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", + * "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}" */ @property(nonatomic, copy, nullable) NSString *name; -/** - * The FieldMask to use when updating the external system resource. If empty - * all mutable fields will be updated. - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - /** * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ExternalSystem. + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule. * - * Updates external system. This is for a given finding. + * Retrieves an EffectiveSecurityHealthAnalyticsCustomModule. * - * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ExternalSystem to - * include in the query. - * @param name Full resource name of the external system, for example: - * "organizations/1234/sources/5678/findings/123456/externalSystems/jira", - * "folders/1234/sources/5678/findings/123456/externalSystems/jira", - * "projects/1234/sources/5678/findings/123456/externalSystems/jira" + * @param name Required. Name of the effective custom module to get. Its format + * is + * "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", + * "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", + * or + * "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}" * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsExternalSystemsPatch + * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesGet */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ExternalSystem *)object - name:(NSString *)name; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Filters an organization or source's findings and groups them by their - * specified properties. To group across all sources provide a `-` as the - * source id. Example: /v1/organizations/{organization_id}/sources/-/findings, - * /v1/folders/{folder_id}/sources/-/findings, - * /v1/projects/{project_id}/sources/-/findings + * Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the + * given parent. This includes resident modules defined at the scope of the + * parent, and inherited modules, inherited from CRM ancestors. * - * Method: securitycenter.organizations.sources.findings.group + * Method: securitycenter.organizations.securityHealthAnalyticsSettings.effectiveCustomModules.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsGroup : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesList : GTLRSecurityCommandCenterQuery /** - * Required. Name of the source to groupBy. Its format is - * "organizations/[organization_id]/sources/[source_id]", - * folders/[folder_id]/sources/[source_id], or - * projects/[project_id]/sources/[source_id]. To groupBy across all sources - * provide a source_id of `-`. For example: - * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, or - * projects/{project_id}/sources/- + * The maximum number of results to return in a single response. Default is 10, + * minimum is 1, maximum is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** The value returned by the last call indicating a continuation */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Name of parent to list effective custom modules. Its format is + * "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_GroupFindingsResponse. + * Fetches a @c + * GTLRSecurityCommandCenter_ListEffectiveSecurityHealthAnalyticsCustomModulesResponse. * - * Filters an organization or source's findings and groups them by their - * specified properties. To group across all sources provide a `-` as the - * source id. Example: /v1/organizations/{organization_id}/sources/-/findings, - * /v1/folders/{folder_id}/sources/-/findings, - * /v1/projects/{project_id}/sources/-/findings + * Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the + * given parent. This includes resident modules defined at the scope of the + * parent, and inherited modules, inherited from CRM ancestors. * - * @param object The @c GTLRSecurityCommandCenter_GroupFindingsRequest to - * include in the query. - * @param parent Required. Name of the source to groupBy. Its format is - * "organizations/[organization_id]/sources/[source_id]", - * folders/[folder_id]/sources/[source_id], or - * projects/[project_id]/sources/[source_id]. To groupBy across all sources - * provide a source_id of `-`. For example: - * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, - * or projects/{project_id}/sources/- + * @param parent Required. Name of parent to list effective custom modules. Its + * format is "organizations/{organization}/securityHealthAnalyticsSettings", + * "folders/{folder}/securityHealthAnalyticsSettings", or + * "projects/{project}/securityHealthAnalyticsSettings" * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsGroup + * @return GTLRSecurityCommandCenterQuery_OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GroupFindingsRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Lists an organization or source's findings. To list across all sources - * provide a `-` as the source id. Example: - * /v1/organizations/{organization_id}/sources/-/findings + * Lists the attack paths for a set of simulation results or valued resources + * and filter. * - * Method: securitycenter.organizations.sources.findings.list + * Method: securitycenter.organizations.simulations.attackExposureResults.attackPaths.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsSimulationsAttackExposureResultsAttackPathsList : GTLRSecurityCommandCenterQuery /** - * When compare_duration is set, the ListFindingsResult's "state_change" - * attribute is updated to indicate whether the finding had its state changed, - * the finding's state remained unchanged, or if the finding was added in any - * state during the compare_duration period of time that precedes the - * read_time. This is the time between (read_time - compare_duration) and - * read_time. The state_change value is derived based on the presence and state - * of the finding at the two points in time. Intermediate state changes between - * the two times don't affect the result. For example, the results aren't - * affected if the finding is made inactive and then active again. Possible - * "state_change" values when compare_duration is specified: * "CHANGED": - * indicates that the finding was present and matched the given filter at the - * start of compare_duration, but changed its state at read_time. * - * "UNCHANGED": indicates that the finding was present and matched the given - * filter at the start of compare_duration and did not change state at - * read_time. * "ADDED": indicates that the finding did not match the given - * filter or was not present at the start of compare_duration, but was present - * at read_time. * "REMOVED": indicates that the finding was present and - * matched the filter at the start of compare_duration, but did not match the - * filter at read_time. If compare_duration is not specified, then the only - * possible state_change is "UNUSED", which will be the state_change set for - * all findings present at read_time. + * The filter expression that filters the attack path in the response. + * Supported fields: * `valued_resources` supports = */ -@property(nonatomic, strong, nullable) GTLRDuration *compareDuration; +@property(nonatomic, copy, nullable) NSString *filter; /** - * A field mask to specify the Finding fields to be listed in the response. An - * empty field mask will list all fields. + * The maximum number of results to return in a single response. Default is 10, + * minimum is 1, maximum is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The value returned by the last `ListAttackPathsResponse`; indicates that + * this is a continuation of a prior `ListAttackPaths` call, and that the + * system should return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Name of parent to list attack paths. Valid formats: + * "organizations/{organization}", + * "organizations/{organization}/simulations/{simulation}" + * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" + * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListAttackPathsResponse. * - * String format is a comma-separated list of fields. + * Lists the attack paths for a set of simulation results or valued resources + * and filter. + * + * @param parent Required. Name of parent to list attack paths. Valid formats: + * "organizations/{organization}", + * "organizations/{organization}/simulations/{simulation}" + * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" + * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSimulationsAttackExposureResultsAttackPathsList + * + * @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 *fieldMask; ++ (instancetype)queryWithParent:(NSString *)parent; + +@end /** - * Expression that defines the filter to apply across findings. The expression - * is a list of one or more restrictions combined via logical operators `AND` - * and `OR`. Parentheses are supported, and `OR` has higher precedence than - * `AND`. Restrictions have the form ` ` and may have a `-` character in front - * of them to indicate negation. Examples include: * name * - * source_properties.a_property * security_marks.marks.marka The supported - * operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer - * values. * `:`, meaning substring matching, for strings. The supported value - * types are: * string literals in quotes. * integer literals without quotes. * - * boolean literals `true` and `false` without quotes. The following field and - * operator combinations are supported: * name: `=` * parent: `=`, `:` * - * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * - * external_uri: `=`, `:` * event_time: `=`, `>`, `<`, `>=`, `<=` Usage: This - * should be milliseconds since epoch or an RFC3339 string. Examples: - * `event_time = "2019-06-10T16:07:18-07:00"` `event_time = 1560208038000` * - * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, - * `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, - * `source_properties.size = 100` is a valid filter string. Use a partial match - * on the empty string to filter based on a property existing: - * `source_properties.my_property : ""` Use a negated partial match on the - * empty string to filter based on a property not existing: - * `-source_properties.my_property : ""` * resource: * resource.name: `=`, `:` - * * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * - * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * - * resource.type: `=`, `:` * resource.folders.resource_folder: `=`, `:` * - * resource.display_name: `=`, `:` + * Lists the valued resources for a set of simulation results and filter. + * + * Method: securitycenter.organizations.simulations.attackExposureResults.valuedResources.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@property(nonatomic, copy, nullable) NSString *filter; +@interface GTLRSecurityCommandCenterQuery_OrganizationsSimulationsAttackExposureResultsValuedResourcesList : GTLRSecurityCommandCenterQuery /** - * Expression that defines what fields and order to use for sorting. The string - * value should follow SQL syntax: comma separated list of fields. For example: - * "name,resource_properties.a_property". The default sorting order is - * ascending. To specify descending order for a field, a suffix " desc" should - * be appended to the field name. For example: "name - * desc,source_properties.a_property". Redundant space characters in the syntax - * are insignificant. "name desc,source_properties.a_property" and " name desc - * , source_properties.a_property " are equivalent. The following fields are - * supported: name parent state category resource_name event_time - * source_properties security_marks.marks + * The filter expression that filters the valued resources in the response. + * Supported fields: * `resource_value` supports = * `resource_type` supports = */ -@property(nonatomic, copy, nullable) NSString *orderBy; +@property(nonatomic, copy, nullable) NSString *filter; /** * The maximum number of results to return in a single response. Default is 10, @@ -4739,47 +4864,31 @@ GTLR_DEPRECATED @property(nonatomic, assign) NSInteger pageSize; /** - * The value returned by the last `ListFindingsResponse`; indicates that this - * is a continuation of a prior `ListFindings` call, and that the system should - * return the next page of data. + * The value returned by the last `ListValuedResourcesResponse`; indicates that + * this is a continuation of a prior `ListValuedResources` call, and that the + * system should return the next page of data. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. Name of the source the findings belong to. Its format is - * "organizations/[organization_id]/sources/[source_id], - * folders/[folder_id]/sources/[source_id], or - * projects/[project_id]/sources/[source_id]". To list across all sources - * provide a source_id of `-`. For example: - * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- or - * projects/{projects_id}/sources/- + * Required. Name of parent to list valued resources. Valid formats: + * "organizations/{organization}", + * "organizations/{organization}/simulations/{simulation}" + * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Time used as a reference point when filtering findings. The filter is - * limited to findings existing at the supplied time and their values are those - * at that specific time. Absence of this field will default to the API's - * version of NOW. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *readTime; - -/** - * Fetches a @c GTLRSecurityCommandCenter_ListFindingsResponse. + * Fetches a @c GTLRSecurityCommandCenter_ListValuedResourcesResponse. * - * Lists an organization or source's findings. To list across all sources - * provide a `-` as the source id. Example: - * /v1/organizations/{organization_id}/sources/-/findings + * Lists the valued resources for a set of simulation results and filter. * - * @param parent Required. Name of the source the findings belong to. Its - * format is "organizations/[organization_id]/sources/[source_id], - * folders/[folder_id]/sources/[source_id], or - * projects/[project_id]/sources/[source_id]". To list across all sources - * provide a source_id of `-`. For example: - * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- - * or projects/{projects_id}/sources/- + * @param parent Required. Name of parent to list valued resources. Valid + * formats: "organizations/{organization}", + * "organizations/{organization}/simulations/{simulation}" + * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsList + * @return GTLRSecurityCommandCenterQuery_OrganizationsSimulationsAttackExposureResultsValuedResourcesList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -4790,150 +4899,1224 @@ GTLR_DEPRECATED @end /** - * Creates or updates a finding. The corresponding source must exist for a - * finding creation to succeed. + * Lists the attack paths for a set of simulation results or valued resources + * and filter. * - * Method: securitycenter.organizations.sources.findings.patch + * Method: securitycenter.organizations.simulations.attackPaths.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsSimulationsAttackPathsList : GTLRSecurityCommandCenterQuery /** - * The [relative resource - * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) - * of the finding. Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", - * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * The filter expression that filters the attack path in the response. + * Supported fields: * `valued_resources` supports = */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *filter; /** - * The FieldMask to use when updating the finding resource. This field should - * not be specified when creating a finding. When updating a finding, an empty - * mask is treated as updating all mutable fields and replacing - * source_properties. Individual source_properties can be added/updated by - * using "source_properties." in the field mask. - * - * String format is a comma-separated list of fields. + * The maximum number of results to return in a single response. Default is 10, + * minimum is 1, maximum is 1000. */ -@property(nonatomic, copy, nullable) NSString *updateMask; +@property(nonatomic, assign) NSInteger pageSize; /** - * Fetches a @c GTLRSecurityCommandCenter_Finding. + * The value returned by the last `ListAttackPathsResponse`; indicates that + * this is a continuation of a prior `ListAttackPaths` call, and that the + * system should return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Name of parent to list attack paths. Valid formats: + * "organizations/{organization}", + * "organizations/{organization}/simulations/{simulation}" + * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" + * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListAttackPathsResponse. * - * Creates or updates a finding. The corresponding source must exist for a - * finding creation to succeed. + * Lists the attack paths for a set of simulation results or valued resources + * and filter. * - * @param object The @c GTLRSecurityCommandCenter_Finding to include in the - * query. - * @param name The [relative resource - * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) - * of the finding. Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", - * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * @param parent Required. Name of parent to list attack paths. Valid formats: + * "organizations/{organization}", + * "organizations/{organization}/simulations/{simulation}" + * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" + * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsPatch + * @return GTLRSecurityCommandCenterQuery_OrganizationsSimulationsAttackPathsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_Finding *)object - name:(NSString *)name; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Updates the mute state of a finding. + * Get the simulation by name or the latest simulation for the given + * organization. * - * Method: securitycenter.organizations.sources.findings.setMute + * Method: securitycenter.organizations.simulations.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsSetMute : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_OrganizationsSimulationsGet : GTLRSecurityCommandCenterQuery /** - * Required. The [relative resource - * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) - * of the finding. Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", - * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * Required. The organization name or simulation name of this simulation Valid + * format: "organizations/{organization}/simulations/latest" + * "organizations/{organization}/simulations/{simulation}" */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_Finding. + * Fetches a @c GTLRSecurityCommandCenter_Simulation. * - * Updates the mute state of a finding. + * Get the simulation by name or the latest simulation for the given + * organization. * - * @param object The @c GTLRSecurityCommandCenter_SetMuteRequest to include in - * the query. - * @param name Required. The [relative resource - * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) - * of the finding. Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", - * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * @param name Required. The organization name or simulation name of this + * simulation Valid format: "organizations/{organization}/simulations/latest" + * "organizations/{organization}/simulations/{simulation}" * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsSetMute + * @return GTLRSecurityCommandCenterQuery_OrganizationsSimulationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists the attack paths for a set of simulation results or valued resources + * and filter. + * + * Method: securitycenter.organizations.simulations.valuedResources.attackPaths.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesAttackPathsList : GTLRSecurityCommandCenterQuery + +/** + * The filter expression that filters the attack path in the response. + * Supported fields: * `valued_resources` supports = + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of results to return in a single response. Default is 10, + * minimum is 1, maximum is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The value returned by the last `ListAttackPathsResponse`; indicates that + * this is a continuation of a prior `ListAttackPaths` call, and that the + * system should return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Name of parent to list attack paths. Valid formats: + * "organizations/{organization}", + * "organizations/{organization}/simulations/{simulation}" + * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" + * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListAttackPathsResponse. + * + * Lists the attack paths for a set of simulation results or valued resources + * and filter. + * + * @param parent Required. Name of parent to list attack paths. Valid formats: + * "organizations/{organization}", + * "organizations/{organization}/simulations/{simulation}" + * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" + * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesAttackPathsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Get the valued resource by name + * + * Method: securitycenter.organizations.simulations.valuedResources.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesGet : GTLRSecurityCommandCenterQuery + +/** + * Required. The name of this valued resource Valid format: + * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ValuedResource. + * + * Get the valued resource by name + * + * @param name Required. The name of this valued resource Valid format: + * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}" + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists the valued resources for a set of simulation results and filter. + * + * Method: securitycenter.organizations.simulations.valuedResources.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesList : GTLRSecurityCommandCenterQuery + +/** + * The filter expression that filters the valued resources in the response. + * Supported fields: * `resource_value` supports = * `resource_type` supports = + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of results to return in a single response. Default is 10, + * minimum is 1, maximum is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The value returned by the last `ListValuedResourcesResponse`; indicates that + * this is a continuation of a prior `ListValuedResources` call, and that the + * system should return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Name of parent to list valued resources. Valid formats: + * "organizations/{organization}", + * "organizations/{organization}/simulations/{simulation}" + * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListValuedResourcesResponse. + * + * Lists the valued resources for a set of simulation results and filter. + * + * @param parent Required. Name of parent to list valued resources. Valid + * formats: "organizations/{organization}", + * "organizations/{organization}/simulations/{simulation}" + * "organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}" + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesList + * + * @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 source. + * + * Method: securitycenter.organizations.sources.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesCreate : GTLRSecurityCommandCenterQuery + +/** + * Required. Resource name of the new source's parent. Its format should be + * "organizations/[organization_id]". + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_Source. + * + * Creates a source. + * + * @param object The @c GTLRSecurityCommandCenter_Source to include in the + * query. + * @param parent Required. Resource name of the new source's parent. Its format + * should be "organizations/[organization_id]". + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesCreate + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_Source *)object + parent:(NSString *)parent; + +@end + +/** + * Creates a finding. The corresponding source must exist for finding creation + * to succeed. + * + * Method: securitycenter.organizations.sources.findings.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsCreate : GTLRSecurityCommandCenterQuery + +/** + * Required. Unique identifier provided by the client within the parent scope. + * It must be alphanumeric and less than or equal to 32 characters and greater + * than 0 characters in length. + */ +@property(nonatomic, copy, nullable) NSString *findingId; + +/** + * Required. Resource name of the new finding's parent. Its format should be + * "organizations/[organization_id]/sources/[source_id]". + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_Finding. + * + * Creates a finding. The corresponding source must exist for finding creation + * to succeed. + * + * @param object The @c GTLRSecurityCommandCenter_Finding to include in the + * query. + * @param parent Required. Resource name of the new finding's parent. Its + * format should be "organizations/[organization_id]/sources/[source_id]". + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsCreate + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_Finding *)object + parent:(NSString *)parent; + +@end + +/** + * Updates external system. This is for a given finding. + * + * Method: securitycenter.organizations.sources.findings.externalSystems.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsExternalSystemsPatch : GTLRSecurityCommandCenterQuery + +/** + * Full resource name of the external system, for example: + * "organizations/1234/sources/5678/findings/123456/externalSystems/jira", + * "folders/1234/sources/5678/findings/123456/externalSystems/jira", + * "projects/1234/sources/5678/findings/123456/externalSystems/jira" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The FieldMask to use when updating the external system resource. If empty + * all mutable fields will be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ExternalSystem. + * + * Updates external system. This is for a given finding. + * + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ExternalSystem to + * include in the query. + * @param name Full resource name of the external system, for example: + * "organizations/1234/sources/5678/findings/123456/externalSystems/jira", + * "folders/1234/sources/5678/findings/123456/externalSystems/jira", + * "projects/1234/sources/5678/findings/123456/externalSystems/jira" + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsExternalSystemsPatch + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ExternalSystem *)object + name:(NSString *)name; + +@end + +/** + * Filters an organization or source's findings and groups them by their + * specified properties. To group across all sources provide a `-` as the + * source id. Example: /v1/organizations/{organization_id}/sources/-/findings, + * /v1/folders/{folder_id}/sources/-/findings, + * /v1/projects/{project_id}/sources/-/findings + * + * Method: securitycenter.organizations.sources.findings.group + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsGroup : GTLRSecurityCommandCenterQuery + +/** + * Required. Name of the source to groupBy. Its format is + * "organizations/[organization_id]/sources/[source_id]", + * folders/[folder_id]/sources/[source_id], or + * projects/[project_id]/sources/[source_id]. To groupBy across all sources + * provide a source_id of `-`. For example: + * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, or + * projects/{project_id}/sources/- + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_GroupFindingsResponse. + * + * Filters an organization or source's findings and groups them by their + * specified properties. To group across all sources provide a `-` as the + * source id. Example: /v1/organizations/{organization_id}/sources/-/findings, + * /v1/folders/{folder_id}/sources/-/findings, + * /v1/projects/{project_id}/sources/-/findings + * + * @param object The @c GTLRSecurityCommandCenter_GroupFindingsRequest to + * include in the query. + * @param parent Required. Name of the source to groupBy. Its format is + * "organizations/[organization_id]/sources/[source_id]", + * folders/[folder_id]/sources/[source_id], or + * projects/[project_id]/sources/[source_id]. To groupBy across all sources + * provide a source_id of `-`. For example: + * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, + * or projects/{project_id}/sources/- + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsGroup + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GroupFindingsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Lists an organization or source's findings. To list across all sources + * provide a `-` as the source id. Example: + * /v1/organizations/{organization_id}/sources/-/findings + * + * Method: securitycenter.organizations.sources.findings.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsList : GTLRSecurityCommandCenterQuery + +/** + * When compare_duration is set, the ListFindingsResult's "state_change" + * attribute is updated to indicate whether the finding had its state changed, + * the finding's state remained unchanged, or if the finding was added in any + * state during the compare_duration period of time that precedes the + * read_time. This is the time between (read_time - compare_duration) and + * read_time. The state_change value is derived based on the presence and state + * of the finding at the two points in time. Intermediate state changes between + * the two times don't affect the result. For example, the results aren't + * affected if the finding is made inactive and then active again. Possible + * "state_change" values when compare_duration is specified: * "CHANGED": + * indicates that the finding was present and matched the given filter at the + * start of compare_duration, but changed its state at read_time. * + * "UNCHANGED": indicates that the finding was present and matched the given + * filter at the start of compare_duration and did not change state at + * read_time. * "ADDED": indicates that the finding did not match the given + * filter or was not present at the start of compare_duration, but was present + * at read_time. * "REMOVED": indicates that the finding was present and + * matched the filter at the start of compare_duration, but did not match the + * filter at read_time. If compare_duration is not specified, then the only + * possible state_change is "UNUSED", which will be the state_change set for + * all findings present at read_time. + */ +@property(nonatomic, strong, nullable) GTLRDuration *compareDuration; + +/** + * A field mask to specify the Finding fields to be listed in the response. An + * empty field mask will list all fields. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *fieldMask; + +/** + * Expression that defines the filter to apply across findings. The expression + * is a list of one or more restrictions combined via logical operators `AND` + * and `OR`. Parentheses are supported, and `OR` has higher precedence than + * `AND`. Restrictions have the form ` ` and may have a `-` character in front + * of them to indicate negation. Examples include: * name * + * source_properties.a_property * security_marks.marks.marka The supported + * operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer + * values. * `:`, meaning substring matching, for strings. The supported value + * types are: * string literals in quotes. * integer literals without quotes. * + * boolean literals `true` and `false` without quotes. The following field and + * operator combinations are supported: * name: `=` * parent: `=`, `:` * + * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * + * external_uri: `=`, `:` * event_time: `=`, `>`, `<`, `>=`, `<=` Usage: This + * should be milliseconds since epoch or an RFC3339 string. Examples: + * `event_time = "2019-06-10T16:07:18-07:00"` `event_time = 1560208038000` * + * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, + * `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, + * `source_properties.size = 100` is a valid filter string. Use a partial match + * on the empty string to filter based on a property existing: + * `source_properties.my_property : ""` Use a negated partial match on the + * empty string to filter based on a property not existing: + * `-source_properties.my_property : ""` * resource: * resource.name: `=`, `:` + * * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * + * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * + * resource.type: `=`, `:` * resource.folders.resource_folder: `=`, `:` * + * resource.display_name: `=`, `:` + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Expression that defines what fields and order to use for sorting. The string + * value should follow SQL syntax: comma separated list of fields. For example: + * "name,resource_properties.a_property". The default sorting order is + * ascending. To specify descending order for a field, a suffix " desc" should + * be appended to the field name. For example: "name + * desc,source_properties.a_property". Redundant space characters in the syntax + * are insignificant. "name desc,source_properties.a_property" and " name desc + * , source_properties.a_property " are equivalent. The following fields are + * supported: name parent state category resource_name event_time + * source_properties security_marks.marks + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * The maximum number of results to return in a single response. Default is 10, + * minimum is 1, maximum is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The value returned by the last `ListFindingsResponse`; indicates that this + * is a continuation of a prior `ListFindings` call, and that the system should + * return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Name of the source the findings belong to. Its format is + * "organizations/[organization_id]/sources/[source_id], + * folders/[folder_id]/sources/[source_id], or + * projects/[project_id]/sources/[source_id]". To list across all sources + * provide a source_id of `-`. For example: + * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- or + * projects/{projects_id}/sources/- + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Time used as a reference point when filtering findings. The filter is + * limited to findings existing at the supplied time and their values are those + * at that specific time. Absence of this field will default to the API's + * version of NOW. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *readTime; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListFindingsResponse. + * + * Lists an organization or source's findings. To list across all sources + * provide a `-` as the source id. Example: + * /v1/organizations/{organization_id}/sources/-/findings + * + * @param parent Required. Name of the source the findings belong to. Its + * format is "organizations/[organization_id]/sources/[source_id], + * folders/[folder_id]/sources/[source_id], or + * projects/[project_id]/sources/[source_id]". To list across all sources + * provide a source_id of `-`. For example: + * organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- + * or projects/{projects_id}/sources/- + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsList + * + * @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 or updates a finding. The corresponding source must exist for a + * finding creation to succeed. + * + * Method: securitycenter.organizations.sources.findings.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsPatch : GTLRSecurityCommandCenterQuery + +/** + * The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * of the finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The FieldMask to use when updating the finding resource. This field should + * not be specified when creating a finding. When updating a finding, an empty + * mask is treated as updating all mutable fields and replacing + * source_properties. Individual source_properties can be added/updated by + * using "source_properties." in the field mask. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecurityCommandCenter_Finding. + * + * Creates or updates a finding. The corresponding source must exist for a + * finding creation to succeed. + * + * @param object The @c GTLRSecurityCommandCenter_Finding to include in the + * query. + * @param name The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * of the finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsPatch + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_Finding *)object + name:(NSString *)name; + +@end + +/** + * Updates the mute state of a finding. + * + * Method: securitycenter.organizations.sources.findings.setMute + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsSetMute : GTLRSecurityCommandCenterQuery + +/** + * Required. The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * of the finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecurityCommandCenter_Finding. + * + * Updates the mute state of a finding. + * + * @param object The @c GTLRSecurityCommandCenter_SetMuteRequest to include in + * the query. + * @param name Required. The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * of the finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsSetMute + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SetMuteRequest *)object + name:(NSString *)name; + +@end + +/** + * Updates the state of a finding. + * + * Method: securitycenter.organizations.sources.findings.setState + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsSetState : GTLRSecurityCommandCenterQuery + +/** + * Required. The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * of the finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecurityCommandCenter_Finding. + * + * Updates the state of a finding. + * + * @param object The @c GTLRSecurityCommandCenter_SetFindingStateRequest to + * include in the query. + * @param name Required. The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * of the finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsSetState + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SetFindingStateRequest *)object + name:(NSString *)name; + +@end + +/** + * Updates security marks. + * + * Method: securitycenter.organizations.sources.findings.updateSecurityMarks + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsUpdateSecurityMarks : GTLRSecurityCommandCenterQuery + +/** + * The relative resource name of the SecurityMarks. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The time at which the updated SecurityMarks take effect. If not set uses + * current server time. Updates will be applied to the SecurityMarks that are + * active immediately preceding this time. Must be earlier or equal to the + * server time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +/** + * The FieldMask to use when updating the security marks resource. The field + * mask must not contain duplicate fields. If empty or set to "marks", all + * marks will be replaced. Individual marks can be updated using "marks.". + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecurityCommandCenter_SecurityMarks. + * + * Updates security marks. + * + * @param object The @c GTLRSecurityCommandCenter_SecurityMarks to include in + * the query. + * @param name The relative resource name of the SecurityMarks. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Examples: + * "organizations/{organization_id}/assets/{asset_id}/securityMarks" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsUpdateSecurityMarks + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SecurityMarks *)object + name:(NSString *)name; + +@end + +/** + * Gets a source. + * + * Method: securitycenter.organizations.sources.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesGet : GTLRSecurityCommandCenterQuery + +/** + * Required. Relative resource name of the source. Its format is + * "organizations/[organization_id]/source/[source_id]". + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecurityCommandCenter_Source. + * + * Gets a source. + * + * @param name Required. Relative resource name of the source. Its format is + * "organizations/[organization_id]/source/[source_id]". + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the access control policy on the specified Source. + * + * Method: securitycenter.organizations.sources.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesGetIamPolicy : GTLRSecurityCommandCenterQuery + +/** + * 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 GTLRSecurityCommandCenter_Policy. + * + * Gets the access control policy on the specified Source. + * + * @param object The @c GTLRSecurityCommandCenter_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 GTLRSecurityCommandCenterQuery_OrganizationsSourcesGetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Lists all sources belonging to an organization. + * + * Method: securitycenter.organizations.sources.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesList : GTLRSecurityCommandCenterQuery + +/** + * The maximum number of results to return in a single response. Default is 10, + * minimum is 1, maximum is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The value returned by the last `ListSourcesResponse`; indicates that this is + * a continuation of a prior `ListSources` call, and that the system should + * return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Resource name of the parent of sources to list. Its format should + * be "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListSourcesResponse. + * + * Lists all sources belonging to an organization. + * + * @param parent Required. Resource name of the parent of sources to list. Its + * format should be "organizations/[organization_id]", "folders/[folder_id]", + * or "projects/[project_id]". + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a source. + * + * Method: securitycenter.organizations.sources.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesPatch : GTLRSecurityCommandCenterQuery + +/** + * The relative resource name of this source. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Example: "organizations/{organization_id}/sources/{source_id}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The FieldMask to use when updating the source resource. If empty all mutable + * fields will be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecurityCommandCenter_Source. + * + * Updates a source. + * + * @param object The @c GTLRSecurityCommandCenter_Source to include in the + * query. + * @param name The relative resource name of this source. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Example: "organizations/{organization_id}/sources/{source_id}" + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesPatch + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_Source *)object + name:(NSString *)name; + +@end + +/** + * Sets the access control policy on the specified Source. + * + * Method: securitycenter.organizations.sources.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesSetIamPolicy : GTLRSecurityCommandCenterQuery + +/** + * 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 GTLRSecurityCommandCenter_Policy. + * + * Sets the access control policy on the specified Source. + * + * @param object The @c GTLRSecurityCommandCenter_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 GTLRSecurityCommandCenterQuery_OrganizationsSourcesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Returns the permissions that a caller has on the specified source. + * + * Method: securitycenter.organizations.sources.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesTestIamPermissions : GTLRSecurityCommandCenterQuery + +/** + * 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 GTLRSecurityCommandCenter_TestIamPermissionsResponse. + * + * Returns the permissions that a caller has on the specified source. + * + * @param object The @c GTLRSecurityCommandCenter_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 GTLRSecurityCommandCenterQuery_OrganizationsSourcesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Updates an organization's settings. + * + * Method: securitycenter.organizations.updateOrganizationSettings + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsUpdateOrganizationSettings : GTLRSecurityCommandCenterQuery + +/** + * The relative resource name of the settings. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Example: "organizations/{organization_id}/organizationSettings". + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The FieldMask to use when updating the settings resource. If empty all + * mutable fields will be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecurityCommandCenter_OrganizationSettings. + * + * Updates an organization's settings. + * + * @param object The @c GTLRSecurityCommandCenter_OrganizationSettings to + * include in the query. + * @param name The relative resource name of the settings. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name + * Example: "organizations/{organization_id}/organizationSettings". + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsUpdateOrganizationSettings + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_OrganizationSettings *)object + name:(NSString *)name; + +@end + +/** + * Filters an organization's assets and groups them by their specified + * properties. + * + * Method: securitycenter.projects.assets.group + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +GTLR_DEPRECATED +@interface GTLRSecurityCommandCenterQuery_ProjectsAssetsGroup : GTLRSecurityCommandCenterQuery + +/** + * Required. The name of the parent to group the assets by. Its format is + * "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_GroupAssetsResponse. + * + * Filters an organization's assets and groups them by their specified + * properties. + * + * @param object The @c GTLRSecurityCommandCenter_GroupAssetsRequest to include + * in the query. + * @param parent Required. The name of the parent to group the assets by. Its + * format is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". + * + * @return GTLRSecurityCommandCenterQuery_ProjectsAssetsGroup + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GroupAssetsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Lists an organization's assets. + * + * Method: securitycenter.projects.assets.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +GTLR_DEPRECATED +@interface GTLRSecurityCommandCenterQuery_ProjectsAssetsList : GTLRSecurityCommandCenterQuery + +/** + * When compare_duration is set, the ListAssetsResult's "state_change" + * attribute is updated to indicate whether the asset was added, removed, or + * remained present during the compare_duration period of time that precedes + * the read_time. This is the time between (read_time - compare_duration) and + * read_time. The state_change value is derived based on the presence of the + * asset at the two points in time. Intermediate state changes between the two + * times don't affect the result. For example, the results aren't affected if + * the asset is removed and re-created again. Possible "state_change" values + * when compare_duration is specified: * "ADDED": indicates that the asset was + * not present at the start of compare_duration, but present at read_time. * + * "REMOVED": indicates that the asset was present at the start of + * compare_duration, but not present at read_time. * "ACTIVE": indicates that + * the asset was present at both the start and the end of the time period + * defined by compare_duration and read_time. If compare_duration is not + * specified, then the only possible state_change is "UNUSED", which will be + * the state_change set for all assets present at read_time. + */ +@property(nonatomic, strong, nullable) GTLRDuration *compareDuration; + +/** + * A field mask to specify the ListAssetsResult fields to be listed in the + * response. An empty field mask will list all fields. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *fieldMask; + +/** + * Expression that defines the filter to apply across assets. The expression is + * a list of zero or more restrictions combined via logical operators `AND` and + * `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. + * Restrictions have the form ` ` and may have a `-` character in front of them + * to indicate negation. The fields map to those defined in the Asset resource. + * Examples include: * name * security_center_properties.resource_name * + * resource_properties.a_property * security_marks.marks.marka The supported + * operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer + * values. * `:`, meaning substring matching, for strings. The supported value + * types are: * string literals in quotes. * integer literals without quotes. * + * boolean literals `true` and `false` without quotes. The following are the + * allowed field and operator combinations: * name: `=` * update_time: `=`, + * `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an + * RFC3339 string. Examples: `update_time = "2019-06-10T16:07:18-07:00"` + * `update_time = 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` + * Usage: This should be milliseconds since epoch or an RFC3339 string. + * Examples: `create_time = "2019-06-10T16:07:18-07:00"` `create_time = + * 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: + * `=`, `:`, `>`, `<`, `>=`, `<=` * security_marks.marks: `=`, `:` * + * security_center_properties.resource_name: `=`, `:` * + * security_center_properties.resource_display_name: `=`, `:` * + * security_center_properties.resource_type: `=`, `:` * + * security_center_properties.resource_parent: `=`, `:` * + * security_center_properties.resource_parent_display_name: `=`, `:` * + * security_center_properties.resource_project: `=`, `:` * + * security_center_properties.resource_project_display_name: `=`, `:` * + * security_center_properties.resource_owners: `=`, `:` For example, + * `resource_properties.size = 100` is a valid filter string. Use a partial + * match on the empty string to filter based on a property existing: + * `resource_properties.my_property : ""` Use a negated partial match on the + * empty string to filter based on a property not existing: + * `-resource_properties.my_property : ""` + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Expression that defines what fields and order to use for sorting. The string + * value should follow SQL syntax: comma separated list of fields. For example: + * "name,resource_properties.a_property". The default sorting order is + * ascending. To specify descending order for a field, a suffix " desc" should + * be appended to the field name. For example: "name + * desc,resource_properties.a_property". Redundant space characters in the + * syntax are insignificant. "name desc,resource_properties.a_property" and " + * name desc , resource_properties.a_property " are equivalent. The following + * fields are supported: name update_time resource_properties + * security_marks.marks security_center_properties.resource_name + * security_center_properties.resource_display_name + * security_center_properties.resource_parent + * security_center_properties.resource_parent_display_name + * security_center_properties.resource_project + * security_center_properties.resource_project_display_name + * security_center_properties.resource_type */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SetMuteRequest *)object - name:(NSString *)name; +@property(nonatomic, copy, nullable) NSString *orderBy; -@end +/** + * The maximum number of results to return in a single response. Default is 10, + * minimum is 1, maximum is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; /** - * Updates the state of a finding. - * - * Method: securitycenter.organizations.sources.findings.setState - * - * Authorization scope(s): - * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + * The value returned by the last `ListAssetsResponse`; indicates that this is + * a continuation of a prior `ListAssets` call, and that the system should + * return the next page of data. */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsSetState : GTLRSecurityCommandCenterQuery +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The [relative resource - * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) - * of the finding. Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", - * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * Required. The name of the parent resource that contains the assets. The + * value that you can specify on parent depends on the method in which you + * specify parent. You can specify one of the following values: + * "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_Finding. + * Time used as a reference point when filtering assets. The filter is limited + * to assets existing at the supplied time and their values are those at that + * specific time. Absence of this field will default to the API's version of + * NOW. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *readTime; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListAssetsResponse. * - * Updates the state of a finding. + * Lists an organization's assets. * - * @param object The @c GTLRSecurityCommandCenter_SetFindingStateRequest to - * include in the query. - * @param name Required. The [relative resource - * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) - * of the finding. Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", - * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". + * @param parent Required. The name of the parent resource that contains the + * assets. The value that you can specify on parent depends on the method in + * which you specify parent. You can specify one of the following values: + * "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsSetState + * @return GTLRSecurityCommandCenterQuery_ProjectsAssetsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SetFindingStateRequest *)object - name:(NSString *)name; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** * Updates security marks. * - * Method: securitycenter.organizations.sources.findings.updateSecurityMarks + * Method: securitycenter.projects.assets.updateSecurityMarks * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsUpdateSecurityMarks : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_ProjectsAssetsUpdateSecurityMarks : GTLRSecurityCommandCenterQuery /** * The relative resource name of the SecurityMarks. See: @@ -4973,7 +6156,7 @@ GTLR_DEPRECATED * "organizations/{organization_id}/assets/{asset_id}/securityMarks" * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesFindingsUpdateSecurityMarks + * @return GTLRSecurityCommandCenterQuery_ProjectsAssetsUpdateSecurityMarks */ + (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SecurityMarks *)object name:(NSString *)name; @@ -4981,681 +6164,613 @@ GTLR_DEPRECATED @end /** - * Gets a source. - * - * Method: securitycenter.organizations.sources.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform - */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesGet : GTLRSecurityCommandCenterQuery - -/** - * Required. Relative resource name of the source. Its format is - * "organizations/[organization_id]/source/[source_id]". - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRSecurityCommandCenter_Source. - * - * Gets a source. - * - * @param name Required. Relative resource name of the source. Its format is - * "organizations/[organization_id]/source/[source_id]". - * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesGet - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Gets the access control policy on the specified Source. - * - * Method: securitycenter.organizations.sources.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform - */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesGetIamPolicy : GTLRSecurityCommandCenterQuery - -/** - * 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 GTLRSecurityCommandCenter_Policy. - * - * Gets the access control policy on the specified Source. - * - * @param object The @c GTLRSecurityCommandCenter_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 GTLRSecurityCommandCenterQuery_OrganizationsSourcesGetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Lists all sources belonging to an organization. + * Creates a BigQuery export. * - * Method: securitycenter.organizations.sources.list + * Method: securitycenter.projects.bigQueryExports.create * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesList : GTLRSecurityCommandCenterQuery - -/** - * The maximum number of results to return in a single response. Default is 10, - * minimum is 1, maximum is 1000. - */ -@property(nonatomic, assign) NSInteger pageSize; +@interface GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsCreate : GTLRSecurityCommandCenterQuery /** - * The value returned by the last `ListSourcesResponse`; indicates that this is - * a continuation of a prior `ListSources` call, and that the system should - * return the next page of data. + * Required. Unique identifier provided by the client within the parent scope. + * It must consist of only lowercase letters, numbers, and hyphens, must start + * with a letter, must end with either a letter or a number, and must be 63 + * characters or less. */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@property(nonatomic, copy, nullable) NSString *bigQueryExportId; /** - * Required. Resource name of the parent of sources to list. Its format should - * be "organizations/[organization_id]", "folders/[folder_id]", or + * Required. The name of the parent resource of the new BigQuery export. Its + * format is "organizations/[organization_id]", "folders/[folder_id]", or * "projects/[project_id]". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_ListSourcesResponse. - * - * Lists all sources belonging to an organization. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport. * - * @param parent Required. Resource name of the parent of sources to list. Its - * format should be "organizations/[organization_id]", "folders/[folder_id]", - * or "projects/[project_id]". + * Creates a BigQuery export. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesList + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport to + * include in the query. + * @param parent Required. The name of the parent resource of the new BigQuery + * export. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", or "projects/[project_id]". * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsCreate */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport *)object + parent:(NSString *)parent; @end /** - * Updates a source. + * Deletes an existing BigQuery export. * - * Method: securitycenter.organizations.sources.patch + * Method: securitycenter.projects.bigQueryExports.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesPatch : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsDelete : GTLRSecurityCommandCenterQuery /** - * The relative resource name of this source. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Example: "organizations/{organization_id}/sources/{source_id}" + * Required. The name of the BigQuery export to delete. Its format is + * organizations/{organization}/bigQueryExports/{export_id}, + * folders/{folder}/bigQueryExports/{export_id}, or + * projects/{project}/bigQueryExports/{export_id} */ @property(nonatomic, copy, nullable) NSString *name; /** - * The FieldMask to use when updating the source resource. If empty all mutable - * fields will be updated. - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - -/** - * Fetches a @c GTLRSecurityCommandCenter_Source. + * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * Updates a source. + * Deletes an existing BigQuery export. * - * @param object The @c GTLRSecurityCommandCenter_Source to include in the - * query. - * @param name The relative resource name of this source. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Example: "organizations/{organization_id}/sources/{source_id}" + * @param name Required. The name of the BigQuery export to delete. Its format + * is organizations/{organization}/bigQueryExports/{export_id}, + * folders/{folder}/bigQueryExports/{export_id}, or + * projects/{project}/bigQueryExports/{export_id} * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesPatch + * @return GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsDelete */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_Source *)object - name:(NSString *)name; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Sets the access control policy on the specified Source. + * Gets a BigQuery export. * - * Method: securitycenter.organizations.sources.setIamPolicy + * Method: securitycenter.projects.bigQueryExports.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesSetIamPolicy : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsGet : GTLRSecurityCommandCenterQuery /** - * 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. Name of the BigQuery export to retrieve. Its format is + * organizations/{organization}/bigQueryExports/{export_id}, + * folders/{folder}/bigQueryExports/{export_id}, or + * projects/{project}/bigQueryExports/{export_id} */ -@property(nonatomic, copy, nullable) NSString *resource; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_Policy. - * - * Sets the access control policy on the specified Source. - * - * @param object The @c GTLRSecurityCommandCenter_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. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesSetIamPolicy + * Gets a BigQuery export. + * + * @param name Required. Name of the BigQuery export to retrieve. Its format is + * organizations/{organization}/bigQueryExports/{export_id}, + * folders/{folder}/bigQueryExports/{export_id}, or + * projects/{project}/bigQueryExports/{export_id} + * + * @return GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsGet */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SetIamPolicyRequest *)object - resource:(NSString *)resource; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Returns the permissions that a caller has on the specified source. + * Lists BigQuery exports. Note that when requesting BigQuery exports at a + * given level all exports under that level are also returned e.g. if + * requesting BigQuery exports under a folder, then all BigQuery exports + * immediately under the folder plus the ones created under the projects within + * the folder are returned. * - * Method: securitycenter.organizations.sources.testIamPermissions + * Method: securitycenter.projects.bigQueryExports.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsSourcesTestIamPermissions : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsList : GTLRSecurityCommandCenterQuery /** - * 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. + * The maximum number of configs to return. The service may return fewer than + * this value. If unspecified, at most 10 configs will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. */ -@property(nonatomic, copy, nullable) NSString *resource; +@property(nonatomic, assign) NSInteger pageSize; /** - * Fetches a @c GTLRSecurityCommandCenter_TestIamPermissionsResponse. + * A page token, received from a previous `ListBigQueryExports` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListBigQueryExports` must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns the collection of BigQuery exports. Its + * format is "organizations/[organization_id]", "folders/[folder_id]", + * "projects/[project_id]". + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListBigQueryExportsResponse. * - * Returns the permissions that a caller has on the specified source. + * Lists BigQuery exports. Note that when requesting BigQuery exports at a + * given level all exports under that level are also returned e.g. if + * requesting BigQuery exports under a folder, then all BigQuery exports + * immediately under the folder plus the ones created under the projects within + * the folder are returned. * - * @param object The @c GTLRSecurityCommandCenter_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 parent Required. The parent, which owns the collection of BigQuery + * exports. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", "projects/[project_id]". * - * @return GTLRSecurityCommandCenterQuery_OrganizationsSourcesTestIamPermissions + * @return GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_TestIamPermissionsRequest *)object - resource:(NSString *)resource; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Updates an organization's settings. + * Updates a BigQuery export. * - * Method: securitycenter.organizations.updateOrganizationSettings + * Method: securitycenter.projects.bigQueryExports.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_OrganizationsUpdateOrganizationSettings : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsPatch : GTLRSecurityCommandCenterQuery /** - * The relative resource name of the settings. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Example: "organizations/{organization_id}/organizationSettings". + * The relative resource name of this export. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name. + * Example format: + * "organizations/{organization_id}/bigQueryExports/{export_id}" Example + * format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format: + * "projects/{project_id}/bigQueryExports/{export_id}" This field is provided + * in responses, and is ignored when provided in create requests. */ @property(nonatomic, copy, nullable) NSString *name; /** - * The FieldMask to use when updating the settings resource. If empty all - * mutable fields will be updated. + * The list of fields to be updated. If empty all mutable fields will be + * updated. * * String format is a comma-separated list of fields. */ @property(nonatomic, copy, nullable) NSString *updateMask; /** - * Fetches a @c GTLRSecurityCommandCenter_OrganizationSettings. + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport. * - * Updates an organization's settings. + * Updates a BigQuery export. * - * @param object The @c GTLRSecurityCommandCenter_OrganizationSettings to + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport to * include in the query. - * @param name The relative resource name of the settings. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Example: "organizations/{organization_id}/organizationSettings". + * @param name The relative resource name of this export. See: + * https://cloud.google.com/apis/design/resource_names#relative_resource_name. + * Example format: + * "organizations/{organization_id}/bigQueryExports/{export_id}" Example + * format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format: + * "projects/{project_id}/bigQueryExports/{export_id}" This field is provided + * in responses, and is ignored when provided in create requests. * - * @return GTLRSecurityCommandCenterQuery_OrganizationsUpdateOrganizationSettings + * @return GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsPatch */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_OrganizationSettings *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport *)object name:(NSString *)name; @end /** - * Filters an organization's assets and groups them by their specified - * properties. + * Creates a resident Event Threat Detection custom module at the scope of the + * given Resource Manager parent, and also creates inherited custom modules for + * all descendants of the given parent. These modules are enabled by default. * - * Method: securitycenter.projects.assets.group + * Method: securitycenter.projects.eventThreatDetectionSettings.customModules.create * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -GTLR_DEPRECATED -@interface GTLRSecurityCommandCenterQuery_ProjectsAssetsGroup : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesCreate : GTLRSecurityCommandCenterQuery /** - * Required. The name of the parent to group the assets by. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * Required. The new custom module's parent. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_GroupAssetsResponse. + * Fetches a @c GTLRSecurityCommandCenter_EventThreatDetectionCustomModule. * - * Filters an organization's assets and groups them by their specified - * properties. + * Creates a resident Event Threat Detection custom module at the scope of the + * given Resource Manager parent, and also creates inherited custom modules for + * all descendants of the given parent. These modules are enabled by default. * - * @param object The @c GTLRSecurityCommandCenter_GroupAssetsRequest to include - * in the query. - * @param parent Required. The name of the parent to group the assets by. Its - * format is "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * @param object The @c + * GTLRSecurityCommandCenter_EventThreatDetectionCustomModule to include in + * the query. + * @param parent Required. The new custom module's parent. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_ProjectsAssetsGroup + * @return GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesCreate */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GroupAssetsRequest *)object ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_EventThreatDetectionCustomModule *)object parent:(NSString *)parent; @end /** - * Lists an organization's assets. + * Deletes the specified Event Threat Detection custom module and all of its + * descendants in the Resource Manager hierarchy. This method is only supported + * for resident custom modules. * - * Method: securitycenter.projects.assets.list + * Method: securitycenter.projects.eventThreatDetectionSettings.customModules.delete * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -GTLR_DEPRECATED -@interface GTLRSecurityCommandCenterQuery_ProjectsAssetsList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesDelete : GTLRSecurityCommandCenterQuery /** - * When compare_duration is set, the ListAssetsResult's "state_change" - * attribute is updated to indicate whether the asset was added, removed, or - * remained present during the compare_duration period of time that precedes - * the read_time. This is the time between (read_time - compare_duration) and - * read_time. The state_change value is derived based on the presence of the - * asset at the two points in time. Intermediate state changes between the two - * times don't affect the result. For example, the results aren't affected if - * the asset is removed and re-created again. Possible "state_change" values - * when compare_duration is specified: * "ADDED": indicates that the asset was - * not present at the start of compare_duration, but present at read_time. * - * "REMOVED": indicates that the asset was present at the start of - * compare_duration, but not present at read_time. * "ACTIVE": indicates that - * the asset was present at both the start and the end of the time period - * defined by compare_duration and read_time. If compare_duration is not - * specified, then the only possible state_change is "UNUSED", which will be - * the state_change set for all assets present at read_time. + * Required. Name of the custom module to delete. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". */ -@property(nonatomic, strong, nullable) GTLRDuration *compareDuration; +@property(nonatomic, copy, nullable) NSString *name; /** - * A field mask to specify the ListAssetsResult fields to be listed in the - * response. An empty field mask will list all fields. + * Fetches a @c GTLRSecurityCommandCenter_Empty. * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *fieldMask; - -/** - * Expression that defines the filter to apply across assets. The expression is - * a list of zero or more restrictions combined via logical operators `AND` and - * `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. - * Restrictions have the form ` ` and may have a `-` character in front of them - * to indicate negation. The fields map to those defined in the Asset resource. - * Examples include: * name * security_center_properties.resource_name * - * resource_properties.a_property * security_marks.marks.marka The supported - * operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer - * values. * `:`, meaning substring matching, for strings. The supported value - * types are: * string literals in quotes. * integer literals without quotes. * - * boolean literals `true` and `false` without quotes. The following are the - * allowed field and operator combinations: * name: `=` * update_time: `=`, - * `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an - * RFC3339 string. Examples: `update_time = "2019-06-10T16:07:18-07:00"` - * `update_time = 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` - * Usage: This should be milliseconds since epoch or an RFC3339 string. - * Examples: `create_time = "2019-06-10T16:07:18-07:00"` `create_time = - * 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: - * `=`, `:`, `>`, `<`, `>=`, `<=` * security_marks.marks: `=`, `:` * - * security_center_properties.resource_name: `=`, `:` * - * security_center_properties.resource_display_name: `=`, `:` * - * security_center_properties.resource_type: `=`, `:` * - * security_center_properties.resource_parent: `=`, `:` * - * security_center_properties.resource_parent_display_name: `=`, `:` * - * security_center_properties.resource_project: `=`, `:` * - * security_center_properties.resource_project_display_name: `=`, `:` * - * security_center_properties.resource_owners: `=`, `:` For example, - * `resource_properties.size = 100` is a valid filter string. Use a partial - * match on the empty string to filter based on a property existing: - * `resource_properties.my_property : ""` Use a negated partial match on the - * empty string to filter based on a property not existing: - * `-resource_properties.my_property : ""` - */ -@property(nonatomic, copy, nullable) NSString *filter; - -/** - * Expression that defines what fields and order to use for sorting. The string - * value should follow SQL syntax: comma separated list of fields. For example: - * "name,resource_properties.a_property". The default sorting order is - * ascending. To specify descending order for a field, a suffix " desc" should - * be appended to the field name. For example: "name - * desc,resource_properties.a_property". Redundant space characters in the - * syntax are insignificant. "name desc,resource_properties.a_property" and " - * name desc , resource_properties.a_property " are equivalent. The following - * fields are supported: name update_time resource_properties - * security_marks.marks security_center_properties.resource_name - * security_center_properties.resource_display_name - * security_center_properties.resource_parent - * security_center_properties.resource_parent_display_name - * security_center_properties.resource_project - * security_center_properties.resource_project_display_name - * security_center_properties.resource_type - */ -@property(nonatomic, copy, nullable) NSString *orderBy; - -/** - * The maximum number of results to return in a single response. Default is 10, - * minimum is 1, maximum is 1000. + * Deletes the specified Event Threat Detection custom module and all of its + * descendants in the Resource Manager hierarchy. This method is only supported + * for resident custom modules. + * + * @param name Required. Name of the custom module to delete. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". + * + * @return GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesDelete */ -@property(nonatomic, assign) NSInteger pageSize; ++ (instancetype)queryWithName:(NSString *)name; -/** - * The value returned by the last `ListAssetsResponse`; indicates that this is - * a continuation of a prior `ListAssets` call, and that the system should - * return the next page of data. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@end /** - * Required. The name of the parent resource that contains the assets. The - * value that you can specify on parent depends on the method in which you - * specify parent. You can specify one of the following values: - * "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * Gets an Event Threat Detection custom module. + * + * Method: securitycenter.projects.eventThreatDetectionSettings.customModules.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@property(nonatomic, copy, nullable) NSString *parent; +@interface GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesGet : GTLRSecurityCommandCenterQuery /** - * Time used as a reference point when filtering assets. The filter is limited - * to assets existing at the supplied time and their values are those at that - * specific time. Absence of this field will default to the API's version of - * NOW. + * Required. Name of the custom module to get. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". */ -@property(nonatomic, strong, nullable) GTLRDateTime *readTime; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_ListAssetsResponse. - * - * Lists an organization's assets. + * Fetches a @c GTLRSecurityCommandCenter_EventThreatDetectionCustomModule. * - * @param parent Required. The name of the parent resource that contains the - * assets. The value that you can specify on parent depends on the method in - * which you specify parent. You can specify one of the following values: - * "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * Gets an Event Threat Detection custom module. * - * @return GTLRSecurityCommandCenterQuery_ProjectsAssetsList + * @param name Required. Name of the custom module to get. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesGet */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Updates security marks. + * Lists all Event Threat Detection custom modules for the given Resource + * Manager parent. This includes resident modules defined at the scope of the + * parent along with modules inherited from ancestors. * - * Method: securitycenter.projects.assets.updateSecurityMarks + * Method: securitycenter.projects.eventThreatDetectionSettings.customModules.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_ProjectsAssetsUpdateSecurityMarks : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesList : GTLRSecurityCommandCenterQuery /** - * The relative resource name of the SecurityMarks. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". + * The maximum number of modules to return. The service may return fewer than + * this value. If unspecified, at most 10 configs will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, assign) NSInteger pageSize; /** - * The time at which the updated SecurityMarks take effect. If not set uses - * current server time. Updates will be applied to the SecurityMarks that are - * active immediately preceding this time. Must be earlier or equal to the - * server time. + * A page token, received from a previous + * `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListEventThreatDetectionCustomModules` must match the call that provided + * the page token. */ -@property(nonatomic, strong, nullable) GTLRDateTime *startTime; +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * The FieldMask to use when updating the security marks resource. The field - * mask must not contain duplicate fields. If empty or set to "marks", all - * marks will be replaced. Individual marks can be updated using "marks.". - * - * String format is a comma-separated list of fields. + * Required. Name of the parent to list custom modules under. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ -@property(nonatomic, copy, nullable) NSString *updateMask; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_SecurityMarks. + * Fetches a @c + * GTLRSecurityCommandCenter_ListEventThreatDetectionCustomModulesResponse. * - * Updates security marks. + * Lists all Event Threat Detection custom modules for the given Resource + * Manager parent. This includes resident modules defined at the scope of the + * parent along with modules inherited from ancestors. * - * @param object The @c GTLRSecurityCommandCenter_SecurityMarks to include in - * the query. - * @param name The relative resource name of the SecurityMarks. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * Examples: - * "organizations/{organization_id}/assets/{asset_id}/securityMarks" - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". + * @param parent Required. Name of the parent to list custom modules under. Its + * format is: * "organizations/{organization}/eventThreatDetectionSettings". + * * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_ProjectsAssetsUpdateSecurityMarks + * @return GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SecurityMarks *)object - name:(NSString *)name; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Creates a BigQuery export. + * Lists all resident Event Threat Detection custom modules under the given + * Resource Manager parent and its descendants. * - * Method: securitycenter.projects.bigQueryExports.create + * Method: securitycenter.projects.eventThreatDetectionSettings.customModules.listDescendant * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsCreate : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesListDescendant : GTLRSecurityCommandCenterQuery /** - * Required. Unique identifier provided by the client within the parent scope. - * It must consist of only lowercase letters, numbers, and hyphens, must start - * with a letter, must end with either a letter or a number, and must be 63 - * characters or less. + * The maximum number of modules to return. The service may return fewer than + * this value. If unspecified, at most 10 configs will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. */ -@property(nonatomic, copy, nullable) NSString *bigQueryExportId; +@property(nonatomic, assign) NSInteger pageSize; /** - * Required. The name of the parent resource of the new BigQuery export. Its - * format is "organizations/[organization_id]", "folders/[folder_id]", or - * "projects/[project_id]". + * A page token, received from a previous + * `ListDescendantEventThreatDetectionCustomModules` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided + * to `ListDescendantEventThreatDetectionCustomModules` must match the call + * that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Name of the parent to list custom modules under. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ @property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport. + * GTLRSecurityCommandCenter_ListDescendantEventThreatDetectionCustomModulesResponse. * - * Creates a BigQuery export. + * Lists all resident Event Threat Detection custom modules under the given + * Resource Manager parent and its descendants. * - * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport to - * include in the query. - * @param parent Required. The name of the parent resource of the new BigQuery - * export. Its format is "organizations/[organization_id]", - * "folders/[folder_id]", or "projects/[project_id]". + * @param parent Required. Name of the parent to list custom modules under. Its + * format is: * "organizations/{organization}/eventThreatDetectionSettings". + * * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsCreate + * @return GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesListDescendant + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport *)object - parent:(NSString *)parent; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Deletes an existing BigQuery export. + * Updates the Event Threat Detection custom module with the given name based + * on the given update mask. Updating the enablement state is supported for + * both resident and inherited modules (though resident modules cannot have an + * enablement state of "inherited"). Updating the display name or configuration + * of a module is supported for resident modules only. The type of a module + * cannot be changed. * - * Method: securitycenter.projects.bigQueryExports.delete + * Method: securitycenter.projects.eventThreatDetectionSettings.customModules.patch * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsDelete : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesPatch : GTLRSecurityCommandCenterQuery /** - * Required. The name of the BigQuery export to delete. Its format is - * organizations/{organization}/bigQueryExports/{export_id}, - * folders/{folder}/bigQueryExports/{export_id}, or - * projects/{project}/bigQueryExports/{export_id} + * Immutable. The resource name of the Event Threat Detection custom module. + * Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRSecurityCommandCenter_Empty. + * The list of fields to be updated. If empty all mutable fields will be + * updated. * - * Deletes an existing BigQuery export. + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecurityCommandCenter_EventThreatDetectionCustomModule. * - * @param name Required. The name of the BigQuery export to delete. Its format - * is organizations/{organization}/bigQueryExports/{export_id}, - * folders/{folder}/bigQueryExports/{export_id}, or - * projects/{project}/bigQueryExports/{export_id} + * Updates the Event Threat Detection custom module with the given name based + * on the given update mask. Updating the enablement state is supported for + * both resident and inherited modules (though resident modules cannot have an + * enablement state of "inherited"). Updating the display name or configuration + * of a module is supported for resident modules only. The type of a module + * cannot be changed. * - * @return GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsDelete + * @param object The @c + * GTLRSecurityCommandCenter_EventThreatDetectionCustomModule to include in + * the query. + * @param name Immutable. The resource name of the Event Threat Detection + * custom module. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}". + * * "folders/{folder}/eventThreatDetectionSettings/customModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/customModules/{module}". + * + * @return GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsCustomModulesPatch */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_EventThreatDetectionCustomModule *)object + name:(NSString *)name; @end /** - * Gets a BigQuery export. + * Gets an effective Event Threat Detection custom module at the given level. * - * Method: securitycenter.projects.bigQueryExports.get + * Method: securitycenter.projects.eventThreatDetectionSettings.effectiveCustomModules.get * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsGet : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsEffectiveCustomModulesGet : GTLRSecurityCommandCenterQuery /** - * Required. Name of the BigQuery export to retrieve. Its format is - * organizations/{organization}/bigQueryExports/{export_id}, - * folders/{folder}/bigQueryExports/{export_id}, or - * projects/{project}/bigQueryExports/{export_id} + * Required. The resource name of the effective Event Threat Detection custom + * module. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}". */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport. + * GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule. * - * Gets a BigQuery export. + * Gets an effective Event Threat Detection custom module at the given level. * - * @param name Required. Name of the BigQuery export to retrieve. Its format is - * organizations/{organization}/bigQueryExports/{export_id}, - * folders/{folder}/bigQueryExports/{export_id}, or - * projects/{project}/bigQueryExports/{export_id} + * @param name Required. The resource name of the effective Event Threat + * Detection custom module. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}". + * * + * "projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}". * - * @return GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsGet + * @return GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsEffectiveCustomModulesGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Lists BigQuery exports. Note that when requesting BigQuery exports at a - * given level all exports under that level are also returned e.g. if - * requesting BigQuery exports under a folder, then all BigQuery exports - * immediately under the folder plus the ones created under the projects within - * the folder are returned. + * Lists all effective Event Threat Detection custom modules for the given + * parent. This includes resident modules defined at the scope of the parent + * along with modules inherited from its ancestors. * - * Method: securitycenter.projects.bigQueryExports.list + * Method: securitycenter.projects.eventThreatDetectionSettings.effectiveCustomModules.list * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsList : GTLRSecurityCommandCenterQuery +@interface GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsEffectiveCustomModulesList : GTLRSecurityCommandCenterQuery /** - * The maximum number of configs to return. The service may return fewer than + * The maximum number of modules to return. The service may return fewer than * this value. If unspecified, at most 10 configs will be returned. The maximum * value is 1000; values above 1000 will be coerced to 1000. */ @property(nonatomic, assign) NSInteger pageSize; /** - * A page token, received from a previous `ListBigQueryExports` call. Provide - * this to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListBigQueryExports` must match the call that provided the page - * token. + * A page token, received from a previous + * `ListEffectiveEventThreatDetectionCustomModules` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided + * to `ListEffectiveEventThreatDetectionCustomModules` must match the call that + * provided the page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent, which owns the collection of BigQuery exports. Its - * format is "organizations/[organization_id]", "folders/[folder_id]", - * "projects/[project_id]". + * Required. Name of the parent to list custom modules for. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRSecurityCommandCenter_ListBigQueryExportsResponse. + * Fetches a @c + * GTLRSecurityCommandCenter_ListEffectiveEventThreatDetectionCustomModulesResponse. * - * Lists BigQuery exports. Note that when requesting BigQuery exports at a - * given level all exports under that level are also returned e.g. if - * requesting BigQuery exports under a folder, then all BigQuery exports - * immediately under the folder plus the ones created under the projects within - * the folder are returned. + * Lists all effective Event Threat Detection custom modules for the given + * parent. This includes resident modules defined at the scope of the parent + * along with modules inherited from its ancestors. * - * @param parent Required. The parent, which owns the collection of BigQuery - * exports. Its format is "organizations/[organization_id]", - * "folders/[folder_id]", "projects/[project_id]". + * @param parent Required. Name of the parent to list custom modules for. Its + * format is: * "organizations/{organization}/eventThreatDetectionSettings". + * * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsList + * @return GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsEffectiveCustomModulesList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -5666,55 +6781,43 @@ GTLR_DEPRECATED @end /** - * Updates a BigQuery export. + * Validates the given Event Threat Detection custom module. * - * Method: securitycenter.projects.bigQueryExports.patch + * Method: securitycenter.projects.eventThreatDetectionSettings.validateCustomModule * * Authorization scope(s): * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform */ -@interface GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsPatch : GTLRSecurityCommandCenterQuery - -/** - * The relative resource name of this export. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name. - * Example format: - * "organizations/{organization_id}/bigQueryExports/{export_id}" Example - * format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format: - * "projects/{project_id}/bigQueryExports/{export_id}" This field is provided - * in responses, and is ignored when provided in create requests. - */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsValidateCustomModule : GTLRSecurityCommandCenterQuery /** - * The list of fields to be updated. If empty all mutable fields will be - * updated. - * - * String format is a comma-separated list of fields. + * Required. Resource name of the parent to validate the Custom Module under. + * Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". */ -@property(nonatomic, copy, nullable) NSString *updateMask; +@property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport. + * GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleResponse. * - * Updates a BigQuery export. + * Validates the given Event Threat Detection custom module. * * @param object The @c - * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport to - * include in the query. - * @param name The relative resource name of this export. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name. - * Example format: - * "organizations/{organization_id}/bigQueryExports/{export_id}" Example - * format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format: - * "projects/{project_id}/bigQueryExports/{export_id}" This field is provided - * in responses, and is ignored when provided in create requests. + * GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleRequest + * to include in the query. + * @param parent Required. Resource name of the parent to validate the Custom + * Module under. Its format is: * + * "organizations/{organization}/eventThreatDetectionSettings". * + * "folders/{folder}/eventThreatDetectionSettings". * + * "projects/{project}/eventThreatDetectionSettings". * - * @return GTLRSecurityCommandCenterQuery_ProjectsBigQueryExportsPatch + * @return GTLRSecurityCommandCenterQuery_ProjectsEventThreatDetectionSettingsValidateCustomModule */ -+ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1BigQueryExport *)object - name:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_ValidateEventThreatDetectionCustomModuleRequest *)object + parent:(NSString *)parent; @end @@ -6584,7 +7687,9 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *name; /** - * The list of fields to update. + * The list of fields to be updated. The only fields that can be updated are + * `enablement_state` and `custom_config`. If empty or set to the wildcard + * value `*`, both `enablement_state` and `custom_config` are updated. * * String format is a comma-separated list of fields. */ @@ -6631,9 +7736,10 @@ GTLR_DEPRECATED /** * Required. The relative resource name of the organization, project, or - * folder. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * An example is: "organizations/{organization_id}". + * folder. For more information about relative resource names, see [Relative + * Resource + * Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * Example: `organizations/{organization_id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -6647,9 +7753,10 @@ GTLR_DEPRECATED * GTLRSecurityCommandCenter_SimulateSecurityHealthAnalyticsCustomModuleRequest * to include in the query. * @param parent Required. The relative resource name of the organization, - * project, or folder. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name - * An example is: "organizations/{organization_id}". + * project, or folder. For more information about relative resource names, + * see [Relative Resource + * Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + * Example: `organizations/{organization_id}` * * @return GTLRSecurityCommandCenterQuery_ProjectsSecurityHealthAnalyticsSettingsCustomModulesSimulate */ diff --git a/Sources/GeneratedServices/ServerlessVPCAccess/Public/GoogleAPIClientForREST/GTLRServerlessVPCAccessObjects.h b/Sources/GeneratedServices/ServerlessVPCAccess/Public/GoogleAPIClientForREST/GTLRServerlessVPCAccessObjects.h index 6e21ce2f4..d6a8780f5 100644 --- a/Sources/GeneratedServices/ServerlessVPCAccess/Public/GoogleAPIClientForREST/GTLRServerlessVPCAccessObjects.h +++ b/Sources/GeneratedServices/ServerlessVPCAccess/Public/GoogleAPIClientForREST/GTLRServerlessVPCAccessObjects.h @@ -100,9 +100,12 @@ FOUNDATION_EXTERN NSString * const kGTLRServerlessVPCAccess_Connector_State_Upda @property(nonatomic, strong, nullable) NSNumber *maxInstances; /** - * Maximum throughput of the connector in Mbps. Default is 300, max is 1000. If - * both max-throughput and max-instances are provided, max-instances takes - * precedence over max-throughput. + * Maximum throughput of the connector in Mbps. Refers to the expected + * throughput when using an `e2-micro` machine type. Value must be a multiple + * of 100 from 300 through 1000. Must be higher than the value specified by + * --min-throughput. If both max-throughput and max-instances are provided, + * max-instances takes precedence over max-throughput. The use of + * `max-throughput` is discouraged in favor of `max-instances`. * * Uses NSNumber of intValue. */ @@ -116,9 +119,12 @@ FOUNDATION_EXTERN NSString * const kGTLRServerlessVPCAccess_Connector_State_Upda @property(nonatomic, strong, nullable) NSNumber *minInstances; /** - * Minimum throughput of the connector in Mbps. Default and min is 200. If both - * min-throughput and min-instances are provided, min-instances takes - * precedence over min-throughput. + * Minimum throughput of the connector in Mbps. Refers to the expected + * throughput when using an `e2-micro` machine type. Value must be a multiple + * of 100 from 200 through 900. Must be lower than the value specified by + * --max-throughput. If both min-throughput and min-instances are provided, + * min-instances takes precedence over min-throughput. The use of + * `min-throughput` is discouraged in favor of `min-instances`. * * Uses NSNumber of intValue. */ diff --git a/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m b/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m index 5a50155f3..df3a3c76d 100644 --- a/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m +++ b/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m @@ -978,7 +978,15 @@ @implementation GTLRServiceConsumerManagement_MethodPolicy // @implementation GTLRServiceConsumerManagement_MethodSettings -@dynamic longRunning, selector; +@dynamic autoPopulatedFields, longRunning, selector; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"autoPopulatedFields" : [NSString class] + }; + return map; +} + @end @@ -1245,7 +1253,8 @@ @implementation GTLRServiceConsumerManagement_PolicyBinding @implementation GTLRServiceConsumerManagement_Publishing @dynamic apiShortName, codeownerGithubTeams, docTagPrefix, documentationUri, githubLabel, librarySettings, methodSettings, newIssueUri, - organization, protoReferenceDocumentationUri; + organization, protoReferenceDocumentationUri, + restReferenceDocumentationUri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h b/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h index 5fd1be12b..c8c06e298 100644 --- a/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h +++ b/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h @@ -2781,6 +2781,16 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa */ @interface GTLRServiceConsumerManagement_MethodSettings : GTLRObject +/** + * List of top-level fields of the request message, that should be + * automatically populated by the client libraries based on their + * (google.api.field_info).format. Currently supported format: UUID4. Example + * of a YAML configuration: publishing: method_settings: - selector: + * google.example.v1.ExampleService.CreateExample auto_populated_fields: - + * request_id + */ +@property(nonatomic, strong, nullable) NSArray *autoPopulatedFields; + /** * Describes settings to use for long-running operations when generating API * methods for RPCs. Complements RPCs that use the annotations in @@ -3251,7 +3261,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa /** * Required. The monitored resource type. For example, the type * `"cloudsql_database"` represents databases in Google Cloud SQL. For a list - * of types, see [Monitoring resource + * of types, see [Monitored resource * types](https://cloud.google.com/monitoring/api/resources) and [Logging * resource types](https://cloud.google.com/logging/docs/api/v2/resource-list). */ @@ -3640,6 +3650,12 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa */ @property(nonatomic, copy, nullable) NSString *protoReferenceDocumentationUri; +/** + * Optional link to REST reference documentation. Example: + * https://cloud.google.com/pubsub/lite/docs/reference/rest + */ +@property(nonatomic, copy, nullable) NSString *restReferenceDocumentationUri; + @end diff --git a/Sources/GeneratedServices/ServiceDirectory/Public/GoogleAPIClientForREST/GTLRServiceDirectoryObjects.h b/Sources/GeneratedServices/ServiceDirectory/Public/GoogleAPIClientForREST/GTLRServiceDirectoryObjects.h index 839042648..68a3b665c 100644 --- a/Sources/GeneratedServices/ServiceDirectory/Public/GoogleAPIClientForREST/GTLRServiceDirectoryObjects.h +++ b/Sources/GeneratedServices/ServiceDirectory/Public/GoogleAPIClientForREST/GTLRServiceDirectoryObjects.h @@ -70,9 +70,25 @@ NS_ASSUME_NONNULL_BEGIN * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -86,7 +102,10 @@ NS_ASSUME_NONNULL_BEGIN * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; diff --git a/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m b/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m index d78c159ad..d137a9329 100644 --- a/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m +++ b/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m @@ -1270,7 +1270,15 @@ @implementation GTLRServiceManagement_MethodPolicy // @implementation GTLRServiceManagement_MethodSettings -@dynamic longRunning, selector; +@dynamic autoPopulatedFields, longRunning, selector; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"autoPopulatedFields" : [NSString class] + }; + return map; +} + @end @@ -1571,7 +1579,8 @@ @implementation GTLRServiceManagement_Policy @implementation GTLRServiceManagement_Publishing @dynamic apiShortName, codeownerGithubTeams, docTagPrefix, documentationUri, githubLabel, librarySettings, methodSettings, newIssueUri, - organization, protoReferenceDocumentationUri; + organization, protoReferenceDocumentationUri, + restReferenceDocumentationUri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h b/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h index 08e7db445..c8c035662 100644 --- a/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h +++ b/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h @@ -3390,6 +3390,16 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_Type_Syntax_SyntaxProt */ @interface GTLRServiceManagement_MethodSettings : GTLRObject +/** + * List of top-level fields of the request message, that should be + * automatically populated by the client libraries based on their + * (google.api.field_info).format. Currently supported format: UUID4. Example + * of a YAML configuration: publishing: method_settings: - selector: + * google.example.v1.ExampleService.CreateExample auto_populated_fields: - + * request_id + */ +@property(nonatomic, strong, nullable) NSArray *autoPopulatedFields; + /** * Describes settings to use for long-running operations when generating API * methods for RPCs. Complements RPCs that use the annotations in @@ -4373,6 +4383,12 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_Type_Syntax_SyntaxProt */ @property(nonatomic, copy, nullable) NSString *protoReferenceDocumentationUri; +/** + * Optional link to REST reference documentation. Example: + * https://cloud.google.com/pubsub/lite/docs/reference/rest + */ +@property(nonatomic, copy, nullable) NSString *restReferenceDocumentationUri; + @end diff --git a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m index e980c5be6..afb0ded0d 100644 --- a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m +++ b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m @@ -1304,7 +1304,15 @@ @implementation GTLRServiceNetworking_MethodPolicy // @implementation GTLRServiceNetworking_MethodSettings -@dynamic longRunning, selector; +@dynamic autoPopulatedFields, longRunning, selector; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"autoPopulatedFields" : [NSString class] + }; + return map; +} + @end @@ -1591,7 +1599,8 @@ @implementation GTLRServiceNetworking_PolicyBinding @implementation GTLRServiceNetworking_Publishing @dynamic apiShortName, codeownerGithubTeams, docTagPrefix, documentationUri, githubLabel, librarySettings, methodSettings, newIssueUri, - organization, protoReferenceDocumentationUri; + organization, protoReferenceDocumentationUri, + restReferenceDocumentationUri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h index 3030f7b20..dfd7a8f7e 100644 --- a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h +++ b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h @@ -3425,6 +3425,16 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig */ @interface GTLRServiceNetworking_MethodSettings : GTLRObject +/** + * List of top-level fields of the request message, that should be + * automatically populated by the client libraries based on their + * (google.api.field_info).format. Currently supported format: UUID4. Example + * of a YAML configuration: publishing: method_settings: - selector: + * google.example.v1.ExampleService.CreateExample auto_populated_fields: - + * request_id + */ +@property(nonatomic, strong, nullable) NSArray *autoPopulatedFields; + /** * Describes settings to use for long-running operations when generating API * methods for RPCs. Complements RPCs that use the annotations in @@ -3894,7 +3904,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** * Required. The monitored resource type. For example, the type * `"cloudsql_database"` represents databases in Google Cloud SQL. For a list - * of types, see [Monitoring resource + * of types, see [Monitored resource * types](https://cloud.google.com/monitoring/api/resources) and [Logging * resource types](https://cloud.google.com/logging/docs/api/v2/resource-list). */ @@ -4328,6 +4338,12 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig */ @property(nonatomic, copy, nullable) NSString *protoReferenceDocumentationUri; +/** + * Optional link to REST reference documentation. Example: + * https://cloud.google.com/pubsub/lite/docs/reference/rest + */ +@property(nonatomic, copy, nullable) NSString *restReferenceDocumentationUri; + @end diff --git a/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m b/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m index 1025a9be4..cbae842ec 100644 --- a/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m +++ b/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m @@ -1461,7 +1461,15 @@ @implementation GTLRServiceUsage_MethodPolicy // @implementation GTLRServiceUsage_MethodSettings -@dynamic longRunning, selector; +@dynamic autoPopulatedFields, longRunning, selector; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"autoPopulatedFields" : [NSString class] + }; + return map; +} + @end @@ -1728,7 +1736,8 @@ @implementation GTLRServiceUsage_PhpSettings @implementation GTLRServiceUsage_Publishing @dynamic apiShortName, codeownerGithubTeams, docTagPrefix, documentationUri, githubLabel, librarySettings, methodSettings, newIssueUri, - organization, protoReferenceDocumentationUri; + organization, protoReferenceDocumentationUri, + restReferenceDocumentationUri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h b/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h index e8f561367..2e4cb3b44 100644 --- a/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h +++ b/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h @@ -3591,6 +3591,16 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; */ @interface GTLRServiceUsage_MethodSettings : GTLRObject +/** + * List of top-level fields of the request message, that should be + * automatically populated by the client libraries based on their + * (google.api.field_info).format. Currently supported format: UUID4. Example + * of a YAML configuration: publishing: method_settings: - selector: + * google.example.v1.ExampleService.CreateExample auto_populated_fields: - + * request_id + */ +@property(nonatomic, strong, nullable) NSArray *autoPopulatedFields; + /** * Describes settings to use for long-running operations when generating API * methods for RPCs. Complements RPCs that use the annotations in @@ -4060,7 +4070,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; /** * Required. The monitored resource type. For example, the type * `"cloudsql_database"` represents databases in Google Cloud SQL. For a list - * of types, see [Monitoring resource + * of types, see [Monitored resource * types](https://cloud.google.com/monitoring/api/resources) and [Logging * resource types](https://cloud.google.com/logging/docs/api/v2/resource-list). */ @@ -4441,6 +4451,12 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; */ @property(nonatomic, copy, nullable) NSString *protoReferenceDocumentationUri; +/** + * Optional link to REST reference documentation. Example: + * https://cloud.google.com/pubsub/lite/docs/reference/rest + */ +@property(nonatomic, copy, nullable) NSString *restReferenceDocumentationUri; + @end diff --git a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m index 1bda27e65..7db8c05f7 100644 --- a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m +++ b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m @@ -151,6 +151,7 @@ NSString * const kGTLRShoppingContent_ExternalAction_Type_LegalAppealInHelpCenter = @"LEGAL_APPEAL_IN_HELP_CENTER"; NSString * const kGTLRShoppingContent_ExternalAction_Type_ReviewAccountIssueInMerchantCenter = @"REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER"; NSString * const kGTLRShoppingContent_ExternalAction_Type_ReviewProductIssueInMerchantCenter = @"REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER"; +NSString * const kGTLRShoppingContent_ExternalAction_Type_VerifyIdentityInMerchantCenter = @"VERIFY_IDENTITY_IN_MERCHANT_CENTER"; // GTLRShoppingContent_FreeListingsProgramStatus.globalState NSString * const kGTLRShoppingContent_FreeListingsProgramStatus_GlobalState_Enabled = @"ENABLED"; @@ -183,17 +184,6 @@ NSString * const kGTLRShoppingContent_FreeListingsProgramStatusRegionStatus_ReviewIneligibilityReason_ReviewIneligibilityReasonUnspecified = @"REVIEW_INELIGIBILITY_REASON_UNSPECIFIED"; NSString * const kGTLRShoppingContent_FreeListingsProgramStatusRegionStatus_ReviewIneligibilityReason_WillBeReviewedAutomatically = @"WILL_BE_REVIEWED_AUTOMATICALLY"; -// GTLRShoppingContent_InapplicabilityDetails.inapplicableReason -NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_AlreadyWinningBuybox = @"ALREADY_WINNING_BUYBOX"; -NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_CannotBeatBuyboxWinner = @"CANNOT_BEAT_BUYBOX_WINNER"; -NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_InapplicableReasonUnspecified = @"INAPPLICABLE_REASON_UNSPECIFIED"; -NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_InvalidAutoPriceMin = @"INVALID_AUTO_PRICE_MIN"; -NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_InvalidFloorConfig = @"INVALID_FLOOR_CONFIG"; -NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_RestrictionsNotMet = @"RESTRICTIONS_NOT_MET"; -NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_TriumphedOverByOtherRuleOnOffer = @"TRIUMPHED_OVER_BY_OTHER_RULE_ON_OFFER"; -NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_TriumphedOverBySameTypeRule = @"TRIUMPHED_OVER_BY_SAME_TYPE_RULE"; -NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_Uncategorized = @"UNCATEGORIZED"; - // GTLRShoppingContent_OrderTrackingSignalShippingInfo.shippingStatus NSString * const kGTLRShoppingContent_OrderTrackingSignalShippingInfo_ShippingStatus_Delivered = @"DELIVERED"; NSString * const kGTLRShoppingContent_OrderTrackingSignalShippingInfo_ShippingStatus_Shipped = @"SHIPPED"; @@ -307,33 +297,6 @@ NSString * const kGTLRShoppingContent_ReportInteractionRequest_InteractionType_InteractionDismiss = @"INTERACTION_DISMISS"; NSString * const kGTLRShoppingContent_ReportInteractionRequest_InteractionType_InteractionTypeUnspecified = @"INTERACTION_TYPE_UNSPECIFIED"; -// GTLRShoppingContent_RepricingProductReport.type -NSString * const kGTLRShoppingContent_RepricingProductReport_Type_RepricingRuleTypeUnspecified = @"REPRICING_RULE_TYPE_UNSPECIFIED"; -NSString * const kGTLRShoppingContent_RepricingProductReport_Type_TypeCogsBased = @"TYPE_COGS_BASED"; -NSString * const kGTLRShoppingContent_RepricingProductReport_Type_TypeCompetitivePrice = @"TYPE_COMPETITIVE_PRICE"; -NSString * const kGTLRShoppingContent_RepricingProductReport_Type_TypeSalesVolumeBased = @"TYPE_SALES_VOLUME_BASED"; -NSString * const kGTLRShoppingContent_RepricingProductReport_Type_TypeStatsBased = @"TYPE_STATS_BASED"; - -// GTLRShoppingContent_RepricingRule.type -NSString * const kGTLRShoppingContent_RepricingRule_Type_RepricingRuleTypeUnspecified = @"REPRICING_RULE_TYPE_UNSPECIFIED"; -NSString * const kGTLRShoppingContent_RepricingRule_Type_TypeCogsBased = @"TYPE_COGS_BASED"; -NSString * const kGTLRShoppingContent_RepricingRule_Type_TypeCompetitivePrice = @"TYPE_COMPETITIVE_PRICE"; -NSString * const kGTLRShoppingContent_RepricingRule_Type_TypeSalesVolumeBased = @"TYPE_SALES_VOLUME_BASED"; -NSString * const kGTLRShoppingContent_RepricingRule_Type_TypeStatsBased = @"TYPE_STATS_BASED"; - -// GTLRShoppingContent_RepricingRuleEligibleOfferMatcher.matcherOption -NSString * const kGTLRShoppingContent_RepricingRuleEligibleOfferMatcher_MatcherOption_MatcherOptionAllProducts = @"MATCHER_OPTION_ALL_PRODUCTS"; -NSString * const kGTLRShoppingContent_RepricingRuleEligibleOfferMatcher_MatcherOption_MatcherOptionCustomFilter = @"MATCHER_OPTION_CUSTOM_FILTER"; -NSString * const kGTLRShoppingContent_RepricingRuleEligibleOfferMatcher_MatcherOption_MatcherOptionUnspecified = @"MATCHER_OPTION_UNSPECIFIED"; -NSString * const kGTLRShoppingContent_RepricingRuleEligibleOfferMatcher_MatcherOption_MatcherOptionUseFeedAttribute = @"MATCHER_OPTION_USE_FEED_ATTRIBUTE"; - -// GTLRShoppingContent_RepricingRuleReport.type -NSString * const kGTLRShoppingContent_RepricingRuleReport_Type_RepricingRuleTypeUnspecified = @"REPRICING_RULE_TYPE_UNSPECIFIED"; -NSString * const kGTLRShoppingContent_RepricingRuleReport_Type_TypeCogsBased = @"TYPE_COGS_BASED"; -NSString * const kGTLRShoppingContent_RepricingRuleReport_Type_TypeCompetitivePrice = @"TYPE_COMPETITIVE_PRICE"; -NSString * const kGTLRShoppingContent_RepricingRuleReport_Type_TypeSalesVolumeBased = @"TYPE_SALES_VOLUME_BASED"; -NSString * const kGTLRShoppingContent_RepricingRuleReport_Type_TypeStatsBased = @"TYPE_STATS_BASED"; - // GTLRShoppingContent_RequestPhoneVerificationRequest.phoneVerificationMethod NSString * const kGTLRShoppingContent_RequestPhoneVerificationRequest_PhoneVerificationMethod_PhoneCall = @"PHONE_CALL"; NSString * const kGTLRShoppingContent_RequestPhoneVerificationRequest_PhoneVerificationMethod_PhoneVerificationMethodUnspecified = @"PHONE_VERIFICATION_METHOD_UNSPECIFIED"; @@ -1469,6 +1432,16 @@ @implementation GTLRShoppingContent_BusinessDayConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_BusinessMessagesLink +// + +@implementation GTLRShoppingContent_BusinessMessagesLink +@dynamic agentId, businessMessagesLinkId; +@end + + // ---------------------------------------------------------------------------- // // GTLRShoppingContent_BuyOnGoogleProgramStatus @@ -2360,16 +2333,6 @@ @implementation GTLRShoppingContent_HolidaysHoliday @end -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_InapplicabilityDetails -// - -@implementation GTLRShoppingContent_InapplicabilityDetails -@dynamic inapplicableCount, inapplicableReason; -@end - - // ---------------------------------------------------------------------------- // // GTLRShoppingContent_InsertCheckoutSettingsRequest @@ -2822,6 +2785,28 @@ @implementation GTLRShoppingContent_ListAccountReturnCarrierResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ListBusinessMessagesLinksResponse +// + +@implementation GTLRShoppingContent_ListBusinessMessagesLinksResponse +@dynamic businessMessagesLinks, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"businessMessagesLinks" : [GTLRShoppingContent_BusinessMessagesLink class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"businessMessagesLinks"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRShoppingContent_ListCollectionsResponse @@ -2976,72 +2961,6 @@ + (NSString *)collectionItemsKey { @end -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_ListRepricingProductReportsResponse -// - -@implementation GTLRShoppingContent_ListRepricingProductReportsResponse -@dynamic nextPageToken, repricingProductReports; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"repricingProductReports" : [GTLRShoppingContent_RepricingProductReport class] - }; - return map; -} - -+ (NSString *)collectionItemsKey { - return @"repricingProductReports"; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_ListRepricingRuleReportsResponse -// - -@implementation GTLRShoppingContent_ListRepricingRuleReportsResponse -@dynamic nextPageToken, repricingRuleReports; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"repricingRuleReports" : [GTLRShoppingContent_RepricingRuleReport class] - }; - return map; -} - -+ (NSString *)collectionItemsKey { - return @"repricingRuleReports"; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_ListRepricingRulesResponse -// - -@implementation GTLRShoppingContent_ListRepricingRulesResponse -@dynamic nextPageToken, repricingRules; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"repricingRules" : [GTLRShoppingContent_RepricingRule class] - }; - return map; -} - -+ (NSString *)collectionItemsKey { - return @"repricingRules"; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRShoppingContent_ListReturnPolicyOnlineResponse @@ -4965,8 +4884,8 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRShoppingContent_PosStore -@dynamic gcidCategory, kind, phoneNumber, placeId, storeAddress, storeCode, - storeName, websiteUrl; +@dynamic gcidCategory, kind, matchingStatus, matchingStatusHint, phoneNumber, + placeId, storeAddress, storeCode, storeName, websiteUrl; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6135,177 +6054,6 @@ @implementation GTLRShoppingContent_ReportRow @end -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_RepricingProductReport -// - -@implementation GTLRShoppingContent_RepricingProductReport -@dynamic applicationCount, buyboxWinningProductStats, date, highWatermark, - inapplicabilityDetails, lowWatermark, orderItemCount, ruleIds, - totalGmv, type; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"inapplicabilityDetails" : [GTLRShoppingContent_InapplicabilityDetails class], - @"ruleIds" : [NSString class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_RepricingProductReportBuyboxWinningProductStats -// - -@implementation GTLRShoppingContent_RepricingProductReportBuyboxWinningProductStats -@dynamic buyboxWinsCount; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_RepricingRule -// - -@implementation GTLRShoppingContent_RepricingRule -@dynamic cogsBasedRule, countryCode, effectiveTimePeriod, eligibleOfferMatcher, - languageCode, merchantId, paused, restriction, ruleId, statsBasedRule, - title, type; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_RepricingRuleCostOfGoodsSaleRule -// - -@implementation GTLRShoppingContent_RepricingRuleCostOfGoodsSaleRule -@dynamic percentageDelta, priceDelta; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_RepricingRuleEffectiveTime -// - -@implementation GTLRShoppingContent_RepricingRuleEffectiveTime -@dynamic fixedTimePeriods; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"fixedTimePeriods" : [GTLRShoppingContent_RepricingRuleEffectiveTimeFixedTimePeriod class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_RepricingRuleEffectiveTimeFixedTimePeriod -// - -@implementation GTLRShoppingContent_RepricingRuleEffectiveTimeFixedTimePeriod -@dynamic endTime, startTime; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_RepricingRuleEligibleOfferMatcher -// - -@implementation GTLRShoppingContent_RepricingRuleEligibleOfferMatcher -@dynamic brandMatcher, itemGroupIdMatcher, matcherOption, offerIdMatcher, - skipWhenOnPromotion; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_RepricingRuleEligibleOfferMatcherStringMatcher -// - -@implementation GTLRShoppingContent_RepricingRuleEligibleOfferMatcherStringMatcher -@dynamic strAttributes; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"strAttributes" : [NSString class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_RepricingRuleReport -// - -@implementation GTLRShoppingContent_RepricingRuleReport -@dynamic buyboxWinningRuleStats, date, impactedProducts, inapplicabilityDetails, - inapplicableProducts, orderItemCount, ruleId, totalGmv, type; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"impactedProducts" : [NSString class], - @"inapplicabilityDetails" : [GTLRShoppingContent_InapplicabilityDetails class], - @"inapplicableProducts" : [NSString class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_RepricingRuleReportBuyboxWinningRuleStats -// - -@implementation GTLRShoppingContent_RepricingRuleReportBuyboxWinningRuleStats -@dynamic buyboxWonProductCount; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_RepricingRuleRestriction -// - -@implementation GTLRShoppingContent_RepricingRuleRestriction -@dynamic floor, useAutoPricingMinPrice; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_RepricingRuleRestrictionBoundary -// - -@implementation GTLRShoppingContent_RepricingRuleRestrictionBoundary -@dynamic percentageDelta, priceDelta; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_RepricingRuleStatsBasedRule -// - -@implementation GTLRShoppingContent_RepricingRuleStatsBasedRule -@dynamic percentageDelta, priceDelta; -@end - - // ---------------------------------------------------------------------------- // // GTLRShoppingContent_RequestPhoneVerificationRequest diff --git a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.m b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.m index eec97f35f..cb9bd15bd 100644 --- a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.m +++ b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.m @@ -84,6 +84,97 @@ + (instancetype)query { @end +@implementation GTLRShoppingContentQuery_AccountsBusinessmessageslinksCreate + +@dynamic accountId; + ++ (instancetype)queryWithObject:(GTLRShoppingContent_BusinessMessagesLink *)object + accountId:(long long)accountId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"accountId" ]; + NSString *pathURITemplate = @"accounts/{accountId}/businessmessageslinks"; + GTLRShoppingContentQuery_AccountsBusinessmessageslinksCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.accountId = accountId; + query.expectedObjectClass = [GTLRShoppingContent_BusinessMessagesLink class]; + query.loggingName = @"content.accounts.businessmessageslinks.create"; + return query; +} + +@end + +@implementation GTLRShoppingContentQuery_AccountsBusinessmessageslinksDelete + +@dynamic accountId, businessMessagesLinkId; + ++ (instancetype)queryWithAccountId:(long long)accountId + businessMessagesLinkId:(NSString *)businessMessagesLinkId { + NSArray *pathParams = @[ + @"accountId", @"businessMessagesLinkId" + ]; + NSString *pathURITemplate = @"accounts/{accountId}/businessmessageslinks/{businessMessagesLinkId}"; + GTLRShoppingContentQuery_AccountsBusinessmessageslinksDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.accountId = accountId; + query.businessMessagesLinkId = businessMessagesLinkId; + query.loggingName = @"content.accounts.businessmessageslinks.delete"; + return query; +} + +@end + +@implementation GTLRShoppingContentQuery_AccountsBusinessmessageslinksGet + +@dynamic accountId, businessMessagesLinkId; + ++ (instancetype)queryWithAccountId:(long long)accountId + businessMessagesLinkId:(NSString *)businessMessagesLinkId { + NSArray *pathParams = @[ + @"accountId", @"businessMessagesLinkId" + ]; + NSString *pathURITemplate = @"accounts/{accountId}/businessmessageslinks/{businessMessagesLinkId}"; + GTLRShoppingContentQuery_AccountsBusinessmessageslinksGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.accountId = accountId; + query.businessMessagesLinkId = businessMessagesLinkId; + query.expectedObjectClass = [GTLRShoppingContent_BusinessMessagesLink class]; + query.loggingName = @"content.accounts.businessmessageslinks.get"; + return query; +} + +@end + +@implementation GTLRShoppingContentQuery_AccountsBusinessmessageslinksList + +@dynamic accountId, pageSize, pageToken; + ++ (instancetype)queryWithAccountId:(long long)accountId { + NSArray *pathParams = @[ @"accountId" ]; + NSString *pathURITemplate = @"accounts/{accountId}/businessmessageslinks"; + GTLRShoppingContentQuery_AccountsBusinessmessageslinksList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.accountId = accountId; + query.expectedObjectClass = [GTLRShoppingContent_ListBusinessMessagesLinksResponse class]; + query.loggingName = @"content.accounts.businessmessageslinks.list"; + return query; +} + +@end + @implementation GTLRShoppingContentQuery_AccountsClaimwebsite @dynamic accountId, merchantId, overwrite; @@ -3449,29 +3540,6 @@ + (instancetype)queryWithMerchantId:(unsigned long long)merchantId { @end -@implementation GTLRShoppingContentQuery_ProductstatusesRepricingreportsList - -@dynamic endDate, merchantId, pageSize, pageToken, productId, ruleId, startDate; - -+ (instancetype)queryWithMerchantId:(long long)merchantId - productId:(NSString *)productId { - NSArray *pathParams = @[ - @"merchantId", @"productId" - ]; - NSString *pathURITemplate = @"{merchantId}/productstatuses/{productId}/repricingreports"; - GTLRShoppingContentQuery_ProductstatusesRepricingreportsList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.merchantId = merchantId; - query.productId = productId; - query.expectedObjectClass = [GTLRShoppingContent_ListRepricingProductReportsResponse class]; - query.loggingName = @"content.productstatuses.repricingreports.list"; - return query; -} - -@end - @implementation GTLRShoppingContentQuery_ProductsUpdate @dynamic merchantId, productId, updateMask; @@ -3895,151 +3963,6 @@ + (instancetype)queryWithObject:(GTLRShoppingContent_SearchRequest *)object @end -@implementation GTLRShoppingContentQuery_RepricingrulesCreate - -@dynamic merchantId, ruleId; - -+ (instancetype)queryWithObject:(GTLRShoppingContent_RepricingRule *)object - merchantId:(long long)merchantId { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ @"merchantId" ]; - NSString *pathURITemplate = @"{merchantId}/repricingrules"; - GTLRShoppingContentQuery_RepricingrulesCreate *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.merchantId = merchantId; - query.expectedObjectClass = [GTLRShoppingContent_RepricingRule class]; - query.loggingName = @"content.repricingrules.create"; - return query; -} - -@end - -@implementation GTLRShoppingContentQuery_RepricingrulesDelete - -@dynamic merchantId, ruleId; - -+ (instancetype)queryWithMerchantId:(long long)merchantId - ruleId:(NSString *)ruleId { - NSArray *pathParams = @[ - @"merchantId", @"ruleId" - ]; - NSString *pathURITemplate = @"{merchantId}/repricingrules/{ruleId}"; - GTLRShoppingContentQuery_RepricingrulesDelete *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"DELETE" - pathParameterNames:pathParams]; - query.merchantId = merchantId; - query.ruleId = ruleId; - query.loggingName = @"content.repricingrules.delete"; - return query; -} - -@end - -@implementation GTLRShoppingContentQuery_RepricingrulesGet - -@dynamic merchantId, ruleId; - -+ (instancetype)queryWithMerchantId:(long long)merchantId - ruleId:(NSString *)ruleId { - NSArray *pathParams = @[ - @"merchantId", @"ruleId" - ]; - NSString *pathURITemplate = @"{merchantId}/repricingrules/{ruleId}"; - GTLRShoppingContentQuery_RepricingrulesGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.merchantId = merchantId; - query.ruleId = ruleId; - query.expectedObjectClass = [GTLRShoppingContent_RepricingRule class]; - query.loggingName = @"content.repricingrules.get"; - return query; -} - -@end - -@implementation GTLRShoppingContentQuery_RepricingrulesList - -@dynamic countryCode, languageCode, merchantId, pageSize, pageToken; - -+ (instancetype)queryWithMerchantId:(long long)merchantId { - NSArray *pathParams = @[ @"merchantId" ]; - NSString *pathURITemplate = @"{merchantId}/repricingrules"; - GTLRShoppingContentQuery_RepricingrulesList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.merchantId = merchantId; - query.expectedObjectClass = [GTLRShoppingContent_ListRepricingRulesResponse class]; - query.loggingName = @"content.repricingrules.list"; - return query; -} - -@end - -@implementation GTLRShoppingContentQuery_RepricingrulesPatch - -@dynamic merchantId, ruleId; - -+ (instancetype)queryWithObject:(GTLRShoppingContent_RepricingRule *)object - merchantId:(long long)merchantId - ruleId:(NSString *)ruleId { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ - @"merchantId", @"ruleId" - ]; - NSString *pathURITemplate = @"{merchantId}/repricingrules/{ruleId}"; - GTLRShoppingContentQuery_RepricingrulesPatch *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"PATCH" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.merchantId = merchantId; - query.ruleId = ruleId; - query.expectedObjectClass = [GTLRShoppingContent_RepricingRule class]; - query.loggingName = @"content.repricingrules.patch"; - return query; -} - -@end - -@implementation GTLRShoppingContentQuery_RepricingrulesRepricingreportsList - -@dynamic endDate, merchantId, pageSize, pageToken, ruleId, startDate; - -+ (instancetype)queryWithMerchantId:(long long)merchantId - ruleId:(NSString *)ruleId { - NSArray *pathParams = @[ - @"merchantId", @"ruleId" - ]; - NSString *pathURITemplate = @"{merchantId}/repricingrules/{ruleId}/repricingreports"; - GTLRShoppingContentQuery_RepricingrulesRepricingreportsList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.merchantId = merchantId; - query.ruleId = ruleId; - query.expectedObjectClass = [GTLRShoppingContent_ListRepricingRuleReportsResponse class]; - query.loggingName = @"content.repricingrules.repricingreports.list"; - return query; -} - -@end - @implementation GTLRShoppingContentQuery_ReturnaddressCustombatch + (instancetype)queryWithObject:(GTLRShoppingContent_ReturnaddressCustomBatchRequest *)object { diff --git a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h index 75dc1d3f4..97b66aa02 100644 --- a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h +++ b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h @@ -64,6 +64,7 @@ @class GTLRShoppingContent_BuiltInSimpleAction; @class GTLRShoppingContent_BuiltInSimpleActionAdditionalContent; @class GTLRShoppingContent_BusinessDayConfig; +@class GTLRShoppingContent_BusinessMessagesLink; @class GTLRShoppingContent_CarrierRate; @class GTLRShoppingContent_CarriersCarrier; @class GTLRShoppingContent_CloudExportAdditionalProperties; @@ -107,7 +108,6 @@ @class GTLRShoppingContent_Headers; @class GTLRShoppingContent_HolidayCutoff; @class GTLRShoppingContent_HolidaysHoliday; -@class GTLRShoppingContent_InapplicabilityDetails; @class GTLRShoppingContent_Installment; @class GTLRShoppingContent_InvoiceSummary; @class GTLRShoppingContent_InvoiceSummaryAdditionalChargeSummary; @@ -244,19 +244,6 @@ @class GTLRShoppingContent_RegionPostalCodeArea; @class GTLRShoppingContent_RegionPostalCodeAreaPostalCodeRange; @class GTLRShoppingContent_ReportRow; -@class GTLRShoppingContent_RepricingProductReport; -@class GTLRShoppingContent_RepricingProductReportBuyboxWinningProductStats; -@class GTLRShoppingContent_RepricingRule; -@class GTLRShoppingContent_RepricingRuleCostOfGoodsSaleRule; -@class GTLRShoppingContent_RepricingRuleEffectiveTime; -@class GTLRShoppingContent_RepricingRuleEffectiveTimeFixedTimePeriod; -@class GTLRShoppingContent_RepricingRuleEligibleOfferMatcher; -@class GTLRShoppingContent_RepricingRuleEligibleOfferMatcherStringMatcher; -@class GTLRShoppingContent_RepricingRuleReport; -@class GTLRShoppingContent_RepricingRuleReportBuyboxWinningRuleStats; -@class GTLRShoppingContent_RepricingRuleRestriction; -@class GTLRShoppingContent_RepricingRuleRestrictionBoundary; -@class GTLRShoppingContent_RepricingRuleStatsBasedRule; @class GTLRShoppingContent_ReturnAddress; @class GTLRShoppingContent_ReturnAddressAddress; @class GTLRShoppingContent_ReturnaddressCustomBatchRequestEntry; @@ -1021,6 +1008,13 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_ExternalAction_Type_Revi * Value: "REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER" */ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_ExternalAction_Type_ReviewProductIssueInMerchantCenter; +/** + * Redirect to Merchant Center where the merchant can perform identity + * verification. + * + * Value: "VERIFY_IDENTITY_IN_MERCHANT_CENTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_ExternalAction_Type_VerifyIdentityInMerchantCenter; // ---------------------------------------------------------------------------- // GTLRShoppingContent_FreeListingsProgramStatus.globalState @@ -1181,66 +1175,6 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_FreeListingsProgramStatu */ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_FreeListingsProgramStatusRegionStatus_ReviewIneligibilityReason_WillBeReviewedAutomatically; -// ---------------------------------------------------------------------------- -// GTLRShoppingContent_InapplicabilityDetails.inapplicableReason - -/** - * This product can already win the buybox without rule. - * - * Value: "ALREADY_WINNING_BUYBOX" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_AlreadyWinningBuybox; -/** - * The rule set for this product cannot beat the buybox winner. - * - * Value: "CANNOT_BEAT_BUYBOX_WINNER" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_CannotBeatBuyboxWinner; -/** - * Default value. Should not be used. - * - * Value: "INAPPLICABLE_REASON_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_InapplicableReasonUnspecified; -/** - * The auto_pricing_min_price is invalid. For example, it is missing or < 0. - * - * Value: "INVALID_AUTO_PRICE_MIN" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_InvalidAutoPriceMin; -/** - * The floor defined in the rule is invalid. For example, it has the wrong sign - * which results in a floor < 0. - * - * Value: "INVALID_FLOOR_CONFIG" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_InvalidFloorConfig; -/** - * The rule restrictions are not met. For example, this may be the case if the - * calculated rule price is lower than floor price in the restriction. - * - * Value: "RESTRICTIONS_NOT_MET" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_RestrictionsNotMet; -/** - * Another rule of a different type takes precedence over this one. - * - * Value: "TRIUMPHED_OVER_BY_OTHER_RULE_ON_OFFER" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_TriumphedOverByOtherRuleOnOffer; -/** - * Another rule of the same type takes precedence over this one. - * - * Value: "TRIUMPHED_OVER_BY_SAME_TYPE_RULE" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_TriumphedOverBySameTypeRule; -/** - * The reason is not categorized to any known reason. - * - * Value: "UNCATEGORIZED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_Uncategorized; - // ---------------------------------------------------------------------------- // GTLRShoppingContent_OrderTrackingSignalShippingInfo.shippingStatus @@ -1785,155 +1719,6 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_ReportInteractionRequest */ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_ReportInteractionRequest_InteractionType_InteractionTypeUnspecified; -// ---------------------------------------------------------------------------- -// GTLRShoppingContent_RepricingProductReport.type - -/** - * Unused. - * - * Value: "REPRICING_RULE_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingProductReport_Type_RepricingRuleTypeUnspecified; -/** - * Cost of goods sale based rule. Repricer will adjust the offer price based on - * the offer's sale cost which is provided by the merchant. - * - * Value: "TYPE_COGS_BASED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingProductReport_Type_TypeCogsBased; -/** - * Competitive price rule. Repricer will adjust the offer price based on the - * min price from a list of unnamed big competitors. - * - * Value: "TYPE_COMPETITIVE_PRICE" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingProductReport_Type_TypeCompetitivePrice; -/** - * Sales volume based rule. Repricer will adjust the offer price based on the - * offer's sales volume in the past period of time defined within the rule. - * - * Value: "TYPE_SALES_VOLUME_BASED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingProductReport_Type_TypeSalesVolumeBased; -/** - * Statistical measurement based rules among Google SA merchants. If this rule - * is chosen, repricer will adjust the offer price based on statistical metrics - * (currently only min is available) among other merchants who sell the same - * product. Details need to be provdided in the RuleDefinition. - * - * Value: "TYPE_STATS_BASED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingProductReport_Type_TypeStatsBased; - -// ---------------------------------------------------------------------------- -// GTLRShoppingContent_RepricingRule.type - -/** - * Unused. - * - * Value: "REPRICING_RULE_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRule_Type_RepricingRuleTypeUnspecified; -/** - * Cost of goods sale based rule. Repricer will adjust the offer price based on - * the offer's sale cost which is provided by the merchant. - * - * Value: "TYPE_COGS_BASED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRule_Type_TypeCogsBased; -/** - * Competitive price rule. Repricer will adjust the offer price based on the - * min price from a list of unnamed big competitors. - * - * Value: "TYPE_COMPETITIVE_PRICE" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRule_Type_TypeCompetitivePrice; -/** - * Sales volume based rule. Repricer will adjust the offer price based on the - * offer's sales volume in the past period of time defined within the rule. - * - * Value: "TYPE_SALES_VOLUME_BASED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRule_Type_TypeSalesVolumeBased; -/** - * Statistical measurement based rules among Google SA merchants. If this rule - * is chosen, repricer will adjust the offer price based on statistical metrics - * (currently only min is available) among other merchants who sell the same - * product. Details need to be provdided in the RuleDefinition. - * - * Value: "TYPE_STATS_BASED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRule_Type_TypeStatsBased; - -// ---------------------------------------------------------------------------- -// GTLRShoppingContent_RepricingRuleEligibleOfferMatcher.matcherOption - -/** - * Matching all products. - * - * Value: "MATCHER_OPTION_ALL_PRODUCTS" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRuleEligibleOfferMatcher_MatcherOption_MatcherOptionAllProducts; -/** - * Use custom filters. - * - * Value: "MATCHER_OPTION_CUSTOM_FILTER" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRuleEligibleOfferMatcher_MatcherOption_MatcherOptionCustomFilter; -/** - * Unused. - * - * Value: "MATCHER_OPTION_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRuleEligibleOfferMatcher_MatcherOption_MatcherOptionUnspecified; -/** - * Use repricing_rule_id feed attribute on the product resource to specify - * offer-rule mapping. - * - * Value: "MATCHER_OPTION_USE_FEED_ATTRIBUTE" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRuleEligibleOfferMatcher_MatcherOption_MatcherOptionUseFeedAttribute; - -// ---------------------------------------------------------------------------- -// GTLRShoppingContent_RepricingRuleReport.type - -/** - * Unused. - * - * Value: "REPRICING_RULE_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRuleReport_Type_RepricingRuleTypeUnspecified; -/** - * Cost of goods sale based rule. Repricer will adjust the offer price based on - * the offer's sale cost which is provided by the merchant. - * - * Value: "TYPE_COGS_BASED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRuleReport_Type_TypeCogsBased; -/** - * Competitive price rule. Repricer will adjust the offer price based on the - * min price from a list of unnamed big competitors. - * - * Value: "TYPE_COMPETITIVE_PRICE" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRuleReport_Type_TypeCompetitivePrice; -/** - * Sales volume based rule. Repricer will adjust the offer price based on the - * offer's sales volume in the past period of time defined within the rule. - * - * Value: "TYPE_SALES_VOLUME_BASED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRuleReport_Type_TypeSalesVolumeBased; -/** - * Statistical measurement based rules among Google SA merchants. If this rule - * is chosen, repricer will adjust the offer price based on statistical metrics - * (currently only min is available) among other merchants who sell the same - * product. Details need to be provdided in the RuleDefinition. - * - * Value: "TYPE_STATS_BASED" - */ -FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_RepricingRuleReport_Type_TypeStatsBased; - // ---------------------------------------------------------------------------- // GTLRShoppingContent_RequestPhoneVerificationRequest.phoneVerificationMethod @@ -4573,6 +4358,32 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @end +/** + * A Link from a [Business Messages](https://businessmessages.google) Agent Id + * to the Merchant Center account. You can create multiple + * `BusinessMessagesLink` to Merchant Center Account. Only available to + * selected merchants. See [Create agents to manage + * brands](https://developers.google.com/business-communications/business-messages/guides/how-to/agents) + * for more information. + */ +@interface GTLRShoppingContent_BusinessMessagesLink : GTLRObject + +/** + * Required. Agent ID from Business Messages to link to the Merchant Center + * account. The Agent ID can be found in the [Business Communications Developer + * Console](https://developers.google.com/business-communications/business-messages/guides/concepts/developer-console#agent_selection). + */ +@property(nonatomic, copy, nullable) NSString *agentId; + +/** + * Output only. Immutable. The ID uniquely identifying each + * `BusinessMessagesLink`. + */ +@property(nonatomic, copy, nullable) NSString *businessMessagesLinkId; + +@end + + /** * Response message for the GetProgramStatus method. */ @@ -6457,6 +6268,9 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest * Redirect to Merchant Center where the merchant can request a review * for issue related to their product. (Value: * "REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER") + * @arg @c kGTLRShoppingContent_ExternalAction_Type_VerifyIdentityInMerchantCenter + * Redirect to Merchant Center where the merchant can perform identity + * verification. (Value: "VERIFY_IDENTITY_IN_MERCHANT_CENTER") */ @property(nonatomic, copy, nullable) NSString *type; @@ -6862,57 +6676,6 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @end -/** - * Map of inapplicability details. - */ -@interface GTLRShoppingContent_InapplicabilityDetails : GTLRObject - -/** - * Count of this inapplicable reason code. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *inapplicableCount; - -/** - * Reason code this rule was not applicable. - * - * Likely values: - * @arg @c kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_AlreadyWinningBuybox - * This product can already win the buybox without rule. (Value: - * "ALREADY_WINNING_BUYBOX") - * @arg @c kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_CannotBeatBuyboxWinner - * The rule set for this product cannot beat the buybox winner. (Value: - * "CANNOT_BEAT_BUYBOX_WINNER") - * @arg @c kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_InapplicableReasonUnspecified - * Default value. Should not be used. (Value: - * "INAPPLICABLE_REASON_UNSPECIFIED") - * @arg @c kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_InvalidAutoPriceMin - * The auto_pricing_min_price is invalid. For example, it is missing or < - * 0. (Value: "INVALID_AUTO_PRICE_MIN") - * @arg @c kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_InvalidFloorConfig - * The floor defined in the rule is invalid. For example, it has the - * wrong sign which results in a floor < 0. (Value: - * "INVALID_FLOOR_CONFIG") - * @arg @c kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_RestrictionsNotMet - * The rule restrictions are not met. For example, this may be the case - * if the calculated rule price is lower than floor price in the - * restriction. (Value: "RESTRICTIONS_NOT_MET") - * @arg @c kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_TriumphedOverByOtherRuleOnOffer - * Another rule of a different type takes precedence over this one. - * (Value: "TRIUMPHED_OVER_BY_OTHER_RULE_ON_OFFER") - * @arg @c kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_TriumphedOverBySameTypeRule - * Another rule of the same type takes precedence over this one. (Value: - * "TRIUMPHED_OVER_BY_SAME_TYPE_RULE") - * @arg @c kGTLRShoppingContent_InapplicabilityDetails_InapplicableReason_Uncategorized - * The reason is not categorized to any known reason. (Value: - * "UNCATEGORIZED") - */ -@property(nonatomic, copy, nullable) NSString *inapplicableReason; - -@end - - /** * Request message for the `InsertCheckoutSettings` method. */ @@ -7502,6 +7265,33 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @end +/** + * Response message for the `ListBusinessMessagesLinks` method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "businessMessagesLinks" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRShoppingContent_ListBusinessMessagesLinksResponse : GTLRCollectionObject + +/** + * The `BusinessMessagesLink` resources for the given Merchant Center account. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *businessMessagesLinks; + +/** + * A token, which can be sent as `pageToken` 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 the ListCollections method. * @@ -7688,87 +7478,6 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @end -/** - * Response message for the ListRepricingProductReports method. - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "repricingProductReports" property. If returned as the result of a - * query, it should support automatic pagination (when @c - * shouldFetchNextPages is enabled). - */ -@interface GTLRShoppingContent_ListRepricingProductReportsResponse : GTLRCollectionObject - -/** - * A token for retrieving the next page. Its absence means there is no - * subsequent page. - */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; - -/** - * Periodic reports for the given Repricing product. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. - */ -@property(nonatomic, strong, nullable) NSArray *repricingProductReports; - -@end - - -/** - * Response message for the ListRepricingRuleReports method. - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "repricingRuleReports" property. If returned as the result of a - * query, it should support automatic pagination (when @c - * shouldFetchNextPages is enabled). - */ -@interface GTLRShoppingContent_ListRepricingRuleReportsResponse : GTLRCollectionObject - -/** - * A token for retrieving the next page. Its absence means there is no - * subsequent page. - */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; - -/** - * Daily reports for the given Repricing rule. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. - */ -@property(nonatomic, strong, nullable) NSArray *repricingRuleReports; - -@end - - -/** - * Response message for the `ListRepricingRules` method. - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "repricingRules" property. If returned as the result of a query, - * it should support automatic pagination (when @c shouldFetchNextPages - * is enabled). - */ -@interface GTLRShoppingContent_ListRepricingRulesResponse : 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 rules from the specified merchant. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. - */ -@property(nonatomic, strong, nullable) NSArray *repricingRules; - -@end - - /** * Response message for the `ListReturnPolicyOnline` method. */ @@ -11884,6 +11593,36 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest */ @property(nonatomic, copy, nullable) NSString *kind; +/** + * Output only. The matching status of POS store and Google Business Profile + * store. Possible values are: - "`matched`": The POS store is successfully + * matched with the Google Business Profile store. - "`failed`": The POS store + * is not matched with the Google Business Profile store. See + * matching_status_hint for further details. Note that there is up to 48 hours + * propagation delay for changes in Merchant Center (e.g. creation of new + * account, accounts linking) and Google Business Profile (e.g. store address + * update) which may affect the matching status. In such cases, after a delay + * call + * [pos.list](https://developers.google.com/shopping-content/reference/rest/v2.1/pos/list) + * to retrieve the updated matching status. + */ +@property(nonatomic, copy, nullable) NSString *matchingStatus; + +/** + * Output only. The hint of why the matching has failed. This is only set when + * matching_status=failed. Possible values are: - "`linked-store-not-found`": + * There aren't any Google Business Profile stores available for matching. + * Connect your Merchant Center account with the Google Business Profile + * account. Or add a new Google Business Profile store corresponding to the POS + * store. - "`store-match-not-found`": The provided POS store couldn't be + * matched to any of the connected Google Business Profile stores. Merchant + * Center account is connected correctly and stores are available on Google + * Business Profile, but POS store location address does not match with Google + * Business Profile stores' addresses. Update POS store address or Google + * Business Profile store address to match correctly. + */ +@property(nonatomic, copy, nullable) NSString *matchingStatusHint; + /** The store phone number. */ @property(nonatomic, copy, nullable) NSString *phoneNumber; @@ -14903,508 +14642,6 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @end -/** - * Resource that represents a daily Repricing product report. Each report - * contains stats for a single type of Repricing rule for a single product on a - * given day. If there are multiple rules of the same type for the product on - * that day, the report lists all the rules by rule ids, combines the stats, - * and paginates the results by date. To retrieve the stats of a particular - * rule, provide the rule_id in the request. - */ -@interface GTLRShoppingContent_RepricingProductReport : GTLRObject - -/** - * Total count of Repricer applications. This value captures how many times the - * rule of this type was applied to this product during this reporting period. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *applicationCount; - -/** Stats specific to buybox winning rules for product report (deprecated). */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_RepricingProductReportBuyboxWinningProductStats *buyboxWinningProductStats GTLR_DEPRECATED; - -/** - * Date of the stats in this report. The report starts and ends according to - * the merchant's timezone. - */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_Date *date; - -/** Maximum displayed price after repriced during this reporting period. */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_PriceAmount *highWatermark; - -/** - * List of all reasons the rule did not apply to the product during the - * specified reporting period. - */ -@property(nonatomic, strong, nullable) NSArray *inapplicabilityDetails; - -/** Minimum displayed price after repriced during this reporting period. */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_PriceAmount *lowWatermark; - -/** - * Total unit count of impacted products ordered while the rule was active on - * the date of the report. This count includes all orders that were started - * while the rule was active, even if the rule was no longer active when the - * order was completed. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *orderItemCount; - -/** Ids of the Repricing rule for this report. */ -@property(nonatomic, strong, nullable) NSArray *ruleIds; - -/** - * Total GMV generated by impacted products while the rule was active on the - * date of the report. This value includes all orders that were started while - * the rule was active, even if the rule was no longer active when the order - * was completed. - */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_PriceAmount *totalGmv; - -/** - * Type of the rule. - * - * Likely values: - * @arg @c kGTLRShoppingContent_RepricingProductReport_Type_RepricingRuleTypeUnspecified - * Unused. (Value: "REPRICING_RULE_TYPE_UNSPECIFIED") - * @arg @c kGTLRShoppingContent_RepricingProductReport_Type_TypeCogsBased - * Cost of goods sale based rule. Repricer will adjust the offer price - * based on the offer's sale cost which is provided by the merchant. - * (Value: "TYPE_COGS_BASED") - * @arg @c kGTLRShoppingContent_RepricingProductReport_Type_TypeCompetitivePrice - * Competitive price rule. Repricer will adjust the offer price based on - * the min price from a list of unnamed big competitors. (Value: - * "TYPE_COMPETITIVE_PRICE") - * @arg @c kGTLRShoppingContent_RepricingProductReport_Type_TypeSalesVolumeBased - * Sales volume based rule. Repricer will adjust the offer price based on - * the offer's sales volume in the past period of time defined within the - * rule. (Value: "TYPE_SALES_VOLUME_BASED") - * @arg @c kGTLRShoppingContent_RepricingProductReport_Type_TypeStatsBased - * Statistical measurement based rules among Google SA merchants. If this - * rule is chosen, repricer will adjust the offer price based on - * statistical metrics (currently only min is available) among other - * merchants who sell the same product. Details need to be provdided in - * the RuleDefinition. (Value: "TYPE_STATS_BASED") - */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * Stats specific to buybox winning rules for product report. - */ -@interface GTLRShoppingContent_RepricingProductReportBuyboxWinningProductStats : GTLRObject - -/** - * Number of times this product won the buybox with these rules during this - * time period. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *buyboxWinsCount; - -@end - - -/** - * *Deprecated*: New merchants can't start using this resource. Represents a - * repricing rule. A repricing rule is used by shopping serving to adjust - * transactable offer prices if conditions are met. - */ -@interface GTLRShoppingContent_RepricingRule : GTLRObject - -/** - * The rule definition for TYPE_COGS_BASED. Required when the rule type is - * TYPE_COGS_BASED. - */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_RepricingRuleCostOfGoodsSaleRule *cogsBasedRule; - -/** - * Required. Immutable. [CLDR country - * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) (for - * example, "US"). - */ -@property(nonatomic, copy, nullable) NSString *countryCode; - -/** Required. Time period when the rule should take effect. */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_RepricingRuleEffectiveTime *effectiveTimePeriod; - -/** Required. Match criteria for the eligible offers. */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_RepricingRuleEligibleOfferMatcher *eligibleOfferMatcher; - -/** - * Required. Immutable. The two-letter ISO 639-1 language code associated with - * the repricing rule. - */ -@property(nonatomic, copy, nullable) NSString *languageCode; - -/** - * Output only. Immutable. Merchant that owns the repricing rule. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *merchantId; - -/** - * Represents whether a rule is paused. A paused rule will behave like a - * non-paused rule within CRUD operations, with the major difference that a - * paused rule will not be evaluated and will have no effect on offers. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *paused; - -/** Required. Restriction of the rule appliance. */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_RepricingRuleRestriction *restriction; - -/** - * Output only. Immutable. The ID to uniquely identify each repricing rule. - */ -@property(nonatomic, copy, nullable) NSString *ruleId; - -/** - * The rule definition for TYPE_STATS_BASED. Required when the rule type is - * TYPE_STATS_BASED. - */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_RepricingRuleStatsBasedRule *statsBasedRule; - -/** The title for the rule. */ -@property(nonatomic, copy, nullable) NSString *title; - -/** - * Required. Immutable. The type of the rule. - * - * Likely values: - * @arg @c kGTLRShoppingContent_RepricingRule_Type_RepricingRuleTypeUnspecified - * Unused. (Value: "REPRICING_RULE_TYPE_UNSPECIFIED") - * @arg @c kGTLRShoppingContent_RepricingRule_Type_TypeCogsBased Cost of - * goods sale based rule. Repricer will adjust the offer price based on - * the offer's sale cost which is provided by the merchant. (Value: - * "TYPE_COGS_BASED") - * @arg @c kGTLRShoppingContent_RepricingRule_Type_TypeCompetitivePrice - * Competitive price rule. Repricer will adjust the offer price based on - * the min price from a list of unnamed big competitors. (Value: - * "TYPE_COMPETITIVE_PRICE") - * @arg @c kGTLRShoppingContent_RepricingRule_Type_TypeSalesVolumeBased Sales - * volume based rule. Repricer will adjust the offer price based on the - * offer's sales volume in the past period of time defined within the - * rule. (Value: "TYPE_SALES_VOLUME_BASED") - * @arg @c kGTLRShoppingContent_RepricingRule_Type_TypeStatsBased Statistical - * measurement based rules among Google SA merchants. If this rule is - * chosen, repricer will adjust the offer price based on statistical - * metrics (currently only min is available) among other merchants who - * sell the same product. Details need to be provdided in the - * RuleDefinition. (Value: "TYPE_STATS_BASED") - */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * A repricing rule that changes the sale price based on cost of goods sale. - */ -@interface GTLRShoppingContent_RepricingRuleCostOfGoodsSaleRule : GTLRObject - -/** - * The percent change against the COGS. Ex: 20 would mean to set the adjusted - * price 1.2X of the COGS data. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *percentageDelta; - -/** - * The price delta against the COGS. For example, 2 means $2 more of the COGS. - */ -@property(nonatomic, copy, nullable) NSString *priceDelta; - -@end - - -/** - * GTLRShoppingContent_RepricingRuleEffectiveTime - */ -@interface GTLRShoppingContent_RepricingRuleEffectiveTime : GTLRObject - -/** - * A list of fixed time periods combined with OR. The maximum number of entries - * is limited to 5. - */ -@property(nonatomic, strong, nullable) NSArray *fixedTimePeriods; - -@end - - -/** - * Definition of a fixed time period. - */ -@interface GTLRShoppingContent_RepricingRuleEffectiveTimeFixedTimePeriod : GTLRObject - -/** - * The end time (exclusive) of the period. It can only be hour granularity. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *endTime; - -/** - * The start time (inclusive) of the period. It can only be hour granularity. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *startTime; - -@end - - -/** - * Matcher that specifies eligible offers. When the USE_FEED_ATTRIBUTE option - * is selected, only the repricing_rule_id attribute on the product feed is - * used to specify offer-rule mapping. When the CUSTOM_FILTER option is - * selected, only the *_matcher fields are used to filter the offers for - * offer-rule mapping. If the CUSTOM_FILTER option is selected, an offer needs - * to satisfy each custom filter matcher to be eligible for a rule. Size limit: - * the sum of the number of entries in all the matchers should not exceed 20. - * For example, there can be 15 product ids and 5 brands, but not 10 product - * ids and 11 brands. - */ -@interface GTLRShoppingContent_RepricingRuleEligibleOfferMatcher : GTLRObject - -/** Filter by the brand. */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_RepricingRuleEligibleOfferMatcherStringMatcher *brandMatcher; - -/** Filter by the item group id. */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_RepricingRuleEligibleOfferMatcherStringMatcher *itemGroupIdMatcher; - -/** - * Determines whether to use the custom matchers or the product feed attribute - * "repricing_rule_id" to specify offer-rule mapping. - * - * Likely values: - * @arg @c kGTLRShoppingContent_RepricingRuleEligibleOfferMatcher_MatcherOption_MatcherOptionAllProducts - * Matching all products. (Value: "MATCHER_OPTION_ALL_PRODUCTS") - * @arg @c kGTLRShoppingContent_RepricingRuleEligibleOfferMatcher_MatcherOption_MatcherOptionCustomFilter - * Use custom filters. (Value: "MATCHER_OPTION_CUSTOM_FILTER") - * @arg @c kGTLRShoppingContent_RepricingRuleEligibleOfferMatcher_MatcherOption_MatcherOptionUnspecified - * Unused. (Value: "MATCHER_OPTION_UNSPECIFIED") - * @arg @c kGTLRShoppingContent_RepricingRuleEligibleOfferMatcher_MatcherOption_MatcherOptionUseFeedAttribute - * Use repricing_rule_id feed attribute on the product resource to - * specify offer-rule mapping. (Value: - * "MATCHER_OPTION_USE_FEED_ATTRIBUTE") - */ -@property(nonatomic, copy, nullable) NSString *matcherOption; - -/** Filter by the offer id. */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_RepricingRuleEligibleOfferMatcherStringMatcher *offerIdMatcher; - -/** - * When true, the rule won't be applied to offers with active promotions. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *skipWhenOnPromotion; - -@end - - -/** - * Matcher by string attributes. - */ -@interface GTLRShoppingContent_RepricingRuleEligibleOfferMatcherStringMatcher : GTLRObject - -/** - * String attributes, as long as such attribute of an offer is one of the - * string attribute values, the offer is considered as passing the matcher. The - * string matcher checks an offer for inclusivity in the string attributes, not - * equality. Only literal string matching is supported, no regular expressions. - */ -@property(nonatomic, strong, nullable) NSArray *strAttributes; - -@end - - -/** - * Resource that represents a daily Repricing rule report. Next ID: 11 - */ -@interface GTLRShoppingContent_RepricingRuleReport : GTLRObject - -/** Stats specific to buybox winning rules for rule report (deprecated). */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_RepricingRuleReportBuyboxWinningRuleStats *buyboxWinningRuleStats GTLR_DEPRECATED; - -/** - * Date of the stats in this report. The report starts and ends according to - * the merchant's timezone. - */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_Date *date; - -/** - * List of product ids that are impacted by this rule during this reporting - * period. Out of stock products and products not searched for by customers are - * examples of non-impacted products. - */ -@property(nonatomic, strong, nullable) NSArray *impactedProducts; - -/** - * List of all reasons the rule did not apply to the inapplicable products - * during the specified reporting period. - */ -@property(nonatomic, strong, nullable) NSArray *inapplicabilityDetails; - -/** - * List of product ids that are inapplicable to this rule during this reporting - * period. To get the inapplicable reason for a specific product, see - * RepricingProductReport. - */ -@property(nonatomic, strong, nullable) NSArray *inapplicableProducts; - -/** - * Total unit count of impacted products ordered while the rule was active on - * the date of the report. This count includes all orders that were started - * while the rule was active, even if the rule was no longer active when the - * order was completed. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *orderItemCount; - -/** Id of the Repricing rule for this report. */ -@property(nonatomic, copy, nullable) NSString *ruleId; - -/** - * Total GMV generated by impacted products while the rule was active on the - * date of the report. This value includes all orders that were started while - * the rule was active, even if the rule was no longer active when the order - * was completed. - */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_PriceAmount *totalGmv; - -/** - * Type of the rule. - * - * Likely values: - * @arg @c kGTLRShoppingContent_RepricingRuleReport_Type_RepricingRuleTypeUnspecified - * Unused. (Value: "REPRICING_RULE_TYPE_UNSPECIFIED") - * @arg @c kGTLRShoppingContent_RepricingRuleReport_Type_TypeCogsBased Cost - * of goods sale based rule. Repricer will adjust the offer price based - * on the offer's sale cost which is provided by the merchant. (Value: - * "TYPE_COGS_BASED") - * @arg @c kGTLRShoppingContent_RepricingRuleReport_Type_TypeCompetitivePrice - * Competitive price rule. Repricer will adjust the offer price based on - * the min price from a list of unnamed big competitors. (Value: - * "TYPE_COMPETITIVE_PRICE") - * @arg @c kGTLRShoppingContent_RepricingRuleReport_Type_TypeSalesVolumeBased - * Sales volume based rule. Repricer will adjust the offer price based on - * the offer's sales volume in the past period of time defined within the - * rule. (Value: "TYPE_SALES_VOLUME_BASED") - * @arg @c kGTLRShoppingContent_RepricingRuleReport_Type_TypeStatsBased - * Statistical measurement based rules among Google SA merchants. If this - * rule is chosen, repricer will adjust the offer price based on - * statistical metrics (currently only min is available) among other - * merchants who sell the same product. Details need to be provdided in - * the RuleDefinition. (Value: "TYPE_STATS_BASED") - */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * Stats specific to buybox winning rules for rule report. - */ -@interface GTLRShoppingContent_RepricingRuleReportBuyboxWinningRuleStats : GTLRObject - -/** - * Number of unique products that won the buybox with this rule during this - * period of time. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *buyboxWonProductCount; - -@end - - -/** - * Definition of a rule restriction. At least one of the following needs to be - * true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists - * (3) floor.percentage_delta exists If floor.price_delta and - * floor.percentage_delta are both set on a rule, the highest value will be - * chosen by the Repricer. In other words, for a product with a price of $50, - * if the `floor.percentage_delta` is "-10" and the floor.price_delta is "-12", - * the offer price will only be lowered $5 (10% lower than the original offer - * price). - */ -@interface GTLRShoppingContent_RepricingRuleRestriction : GTLRObject - -/** - * The inclusive floor lower bound. The repricing rule only applies when new - * price >= floor. - */ -@property(nonatomic, strong, nullable) GTLRShoppingContent_RepricingRuleRestrictionBoundary *floor; - -/** - * If true, use the AUTO_PRICING_MIN_PRICE offer attribute as the lower bound - * of the rule. If use_auto_pricing_min_price is true, then only offers with - * `AUTO_PRICING_MIN_PRICE` existing on the offer will get Repricer treatment, - * even if a floor value is set on the rule. Also, if - * use_auto_pricing_min_price is true, the floor restriction will be ignored. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *useAutoPricingMinPrice; - -@end - - -/** - * Definition of a boundary. - */ -@interface GTLRShoppingContent_RepricingRuleRestrictionBoundary : GTLRObject - -/** - * The percentage delta relative to the offer selling price. This field is - * signed. It must be negative in floor. When it is used in floor, it should be - * > -100. For example, if an offer is selling at $10 and this field is -30 in - * floor, the repricing rule only applies if the calculated new price is >= $7. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *percentageDelta; - -/** - * The price micros relative to the offer selling price. This field is signed. - * It must be negative in floor. For example, if an offer is selling at $10 and - * this field is -$2 in floor, the repricing rule only applies if the - * calculated new price is >= $8. - */ -@property(nonatomic, copy, nullable) NSString *priceDelta; - -@end - - -/** - * Definition of stats based rule. - */ -@interface GTLRShoppingContent_RepricingRuleStatsBasedRule : GTLRObject - -/** - * The percent change against the price target. Valid from 0 to 100 - * inclusively. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *percentageDelta; - -/** - * The price delta against the above price target. A positive value means the - * price should be adjusted to be above statistical measure, and a negative - * value means below. Currency code must not be included. - */ -@property(nonatomic, copy, nullable) NSString *priceDelta; - -@end - - /** * Request message for the RequestPhoneVerification method. */ diff --git a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentQuery.h b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentQuery.h index 42745a2ff..61af942d0 100644 --- a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentQuery.h +++ b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentQuery.h @@ -284,6 +284,147 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContentViewMerchant; @end +/** + * Creates a `BusinessMessagesLink` in Merchant Center account. + * + * Method: content.accounts.businessmessageslinks.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_AccountsBusinessmessageslinksCreate : GTLRShoppingContentQuery + +/** Required. The ID of the Merchant Center account. */ +@property(nonatomic, assign) long long accountId; + +/** + * Fetches a @c GTLRShoppingContent_BusinessMessagesLink. + * + * Creates a `BusinessMessagesLink` in Merchant Center account. + * + * @param object The @c GTLRShoppingContent_BusinessMessagesLink to include in + * the query. + * @param accountId Required. The ID of the Merchant Center account. + * + * @return GTLRShoppingContentQuery_AccountsBusinessmessageslinksCreate + */ ++ (instancetype)queryWithObject:(GTLRShoppingContent_BusinessMessagesLink *)object + accountId:(long long)accountId; + +@end + +/** + * Deletes the specified `BusinessMessagesLink` resource from Merchant Center + * account. + * + * Method: content.accounts.businessmessageslinks.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_AccountsBusinessmessageslinksDelete : GTLRShoppingContentQuery + +/** Required. The ID of the Merchant Center account. */ +@property(nonatomic, assign) long long accountId; + +/** Required. The identifier for the Business Messages Link. */ +@property(nonatomic, copy, nullable) NSString *businessMessagesLinkId; + +/** + * Upon successful completion, the callback's object and error parameters will + * be nil. This query does not fetch an object. + * + * Deletes the specified `BusinessMessagesLink` resource from Merchant Center + * account. + * + * @param accountId Required. The ID of the Merchant Center account. + * @param businessMessagesLinkId Required. The identifier for the Business + * Messages Link. + * + * @return GTLRShoppingContentQuery_AccountsBusinessmessageslinksDelete + */ ++ (instancetype)queryWithAccountId:(long long)accountId + businessMessagesLinkId:(NSString *)businessMessagesLinkId; + +@end + +/** + * Retrieves `BusinessMessagesLink` in Merchant Center account. + * + * Method: content.accounts.businessmessageslinks.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_AccountsBusinessmessageslinksGet : GTLRShoppingContentQuery + +/** Required. The ID of the Merchant Center account. */ +@property(nonatomic, assign) long long accountId; + +/** Required. The identifier for the Business Messages Link. */ +@property(nonatomic, copy, nullable) NSString *businessMessagesLinkId; + +/** + * Fetches a @c GTLRShoppingContent_BusinessMessagesLink. + * + * Retrieves `BusinessMessagesLink` in Merchant Center account. + * + * @param accountId Required. The ID of the Merchant Center account. + * @param businessMessagesLinkId Required. The identifier for the Business + * Messages Link. + * + * @return GTLRShoppingContentQuery_AccountsBusinessmessageslinksGet + */ ++ (instancetype)queryWithAccountId:(long long)accountId + businessMessagesLinkId:(NSString *)businessMessagesLinkId; + +@end + +/** + * Lists the `BusinessMessagesLink` resources for Merchant Center account. + * + * Method: content.accounts.businessmessageslinks.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_AccountsBusinessmessageslinksList : GTLRShoppingContentQuery + +/** Required. The ID of the account. */ +@property(nonatomic, assign) long long accountId; + +/** + * Optional. The maximum number of `BusinessMessagesLink` resources for the + * Merchant Center account to return. Defaults to 50; values above 1000 will be + * coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListBusinessMessagesLinks` + * call. Provide the page token to retrieve the subsequent page. When + * paginating, all other parameters provided to `ListBusinessMessagesLinks` + * must match the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRShoppingContent_ListBusinessMessagesLinksResponse. + * + * Lists the `BusinessMessagesLink` resources for Merchant Center account. + * + * @param accountId Required. The ID of the account. + * + * @return GTLRShoppingContentQuery_AccountsBusinessmessageslinksList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithAccountId:(long long)accountId; + +@end + /** * Claims the website of a Merchant Center sub-account. Merchant accounts with * approved third-party CSSs aren't required to claim a website. @@ -3333,7 +3474,7 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContentViewMerchant; /** * Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code * used to localize support content. If not set, the result will be in default - * language ('en-US'). + * language `en-US`. */ @property(nonatomic, copy, nullable) NSString *languageCode; @@ -3380,7 +3521,7 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContentViewMerchant; /** * Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code * used to localize support content. If not set, the result will be in default - * language ('en-US'). + * language `en-US`. */ @property(nonatomic, copy, nullable) NSString *languageCode; @@ -5616,79 +5757,6 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContentViewMerchant; @end -/** - * Lists the metrics report for a given Repricing product. - * - * Method: content.productstatuses.repricingreports.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeShoppingContent - */ -@interface GTLRShoppingContentQuery_ProductstatusesRepricingreportsList : GTLRShoppingContentQuery - -/** - * Gets Repricing reports on and before this date in the merchant's timezone. - * You can only retrieve data up to 7 days ago (default) or earlier. Format is - * YYYY-MM-DD. - */ -@property(nonatomic, copy, nullable) NSString *endDate; - -/** Required. Id of the merchant who owns the Repricing rule. */ -@property(nonatomic, assign) long long merchantId; - -/** - * Maximum number of days of reports to return. There can be more than one rule - * report returned per day. For example, if 3 rule types got applied to the - * same product within a 24-hour period, then a page_size of 1 will return 3 - * rule reports. The page size defaults to 50 and values above 1000 are coerced - * to 1000. This service may return fewer days of reports than this value, for - * example, if the time between your start and end date is less than the page - * size. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * Token (if provided) to retrieve the subsequent page. All other parameters - * must match the original call that provided the page token. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** - * Required. Id of the Repricing product. Also known as the - * [REST_ID](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.id) - */ -@property(nonatomic, copy, nullable) NSString *productId; - -/** Id of the Repricing rule. If specified, only gets this rule's reports. */ -@property(nonatomic, copy, nullable) NSString *ruleId; - -/** - * Gets Repricing reports on and after this date in the merchant's timezone, up - * to one year ago. Do not use a start date later than 7 days ago (default). - * Format is YYYY-MM-DD. - */ -@property(nonatomic, copy, nullable) NSString *startDate; - -/** - * Fetches a @c GTLRShoppingContent_ListRepricingProductReportsResponse. - * - * Lists the metrics report for a given Repricing product. - * - * @param merchantId Required. Id of the merchant who owns the Repricing rule. - * @param productId Required. Id of the Repricing product. Also known as the - * [REST_ID](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.id) - * - * @return GTLRShoppingContentQuery_ProductstatusesRepricingreportsList - * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. - */ -+ (instancetype)queryWithMerchantId:(long long)merchantId - productId:(NSString *)productId; - -@end - /** * Updates an existing product in your Merchant Center account. Only updates * attributes provided in the request. @@ -6343,271 +6411,6 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContentViewMerchant; @end -/** - * Creates a repricing rule for your Merchant Center account. - * - * Method: content.repricingrules.create - * - * Authorization scope(s): - * @c kGTLRAuthScopeShoppingContent - */ -@interface GTLRShoppingContentQuery_RepricingrulesCreate : GTLRShoppingContentQuery - -/** Required. The id of the merchant who owns the repricing rule. */ -@property(nonatomic, assign) long long merchantId; - -/** Required. The id of the rule to create. */ -@property(nonatomic, copy, nullable) NSString *ruleId; - -/** - * Fetches a @c GTLRShoppingContent_RepricingRule. - * - * Creates a repricing rule for your Merchant Center account. - * - * @param object The @c GTLRShoppingContent_RepricingRule to include in the - * query. - * @param merchantId Required. The id of the merchant who owns the repricing - * rule. - * - * @return GTLRShoppingContentQuery_RepricingrulesCreate - */ -+ (instancetype)queryWithObject:(GTLRShoppingContent_RepricingRule *)object - merchantId:(long long)merchantId; - -@end - -/** - * Deletes a repricing rule in your Merchant Center account. - * - * Method: content.repricingrules.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeShoppingContent - */ -@interface GTLRShoppingContentQuery_RepricingrulesDelete : GTLRShoppingContentQuery - -/** Required. The id of the merchant who owns the repricing rule. */ -@property(nonatomic, assign) long long merchantId; - -/** Required. The id of the rule to Delete. */ -@property(nonatomic, copy, nullable) NSString *ruleId; - -/** - * Upon successful completion, the callback's object and error parameters will - * be nil. This query does not fetch an object. - * - * Deletes a repricing rule in your Merchant Center account. - * - * @param merchantId Required. The id of the merchant who owns the repricing - * rule. - * @param ruleId Required. The id of the rule to Delete. - * - * @return GTLRShoppingContentQuery_RepricingrulesDelete - */ -+ (instancetype)queryWithMerchantId:(long long)merchantId - ruleId:(NSString *)ruleId; - -@end - -/** - * Retrieves a repricing rule from your Merchant Center account. - * - * Method: content.repricingrules.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeShoppingContent - */ -@interface GTLRShoppingContentQuery_RepricingrulesGet : GTLRShoppingContentQuery - -/** Required. The id of the merchant who owns the repricing rule. */ -@property(nonatomic, assign) long long merchantId; - -/** Required. The id of the rule to retrieve. */ -@property(nonatomic, copy, nullable) NSString *ruleId; - -/** - * Fetches a @c GTLRShoppingContent_RepricingRule. - * - * Retrieves a repricing rule from your Merchant Center account. - * - * @param merchantId Required. The id of the merchant who owns the repricing - * rule. - * @param ruleId Required. The id of the rule to retrieve. - * - * @return GTLRShoppingContentQuery_RepricingrulesGet - */ -+ (instancetype)queryWithMerchantId:(long long)merchantId - ruleId:(NSString *)ruleId; - -@end - -/** - * Lists the repricing rules in your Merchant Center account. - * - * Method: content.repricingrules.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeShoppingContent - */ -@interface GTLRShoppingContentQuery_RepricingrulesList : GTLRShoppingContentQuery - -/** - * [CLDR country - * code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) (for - * example, "US"), used as a filter on repricing rules. - */ -@property(nonatomic, copy, nullable) NSString *countryCode; - -/** - * The two-letter ISO 639-1 language code associated with the repricing rule, - * used as a filter. - */ -@property(nonatomic, copy, nullable) NSString *languageCode; - -/** Required. The id of the merchant who owns the repricing rule. */ -@property(nonatomic, assign) long long merchantId; - -/** - * The maximum number of repricing rules to return. The service may return - * fewer than this value. If unspecified, at most 50 rules will be returned. - * The maximum value is 1000; values above 1000 will be coerced to 1000. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * A page token, received from a previous `ListRepricingRules` call. Provide - * this to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListRepricingRules` must match the call that provided the page - * token. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** - * Fetches a @c GTLRShoppingContent_ListRepricingRulesResponse. - * - * Lists the repricing rules in your Merchant Center account. - * - * @param merchantId Required. The id of the merchant who owns the repricing - * rule. - * - * @return GTLRShoppingContentQuery_RepricingrulesList - * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. - */ -+ (instancetype)queryWithMerchantId:(long long)merchantId; - -@end - -/** - * Updates a repricing rule in your Merchant Center account. All mutable fields - * will be overwritten in each update request. In each update, you must provide - * all required mutable fields, or an error will be thrown. If you do not - * provide an optional field in the update request, if that field currently - * exists, it will be deleted from the rule. - * - * Method: content.repricingrules.patch - * - * Authorization scope(s): - * @c kGTLRAuthScopeShoppingContent - */ -@interface GTLRShoppingContentQuery_RepricingrulesPatch : GTLRShoppingContentQuery - -/** Required. The id of the merchant who owns the repricing rule. */ -@property(nonatomic, assign) long long merchantId; - -/** Required. The id of the rule to update. */ -@property(nonatomic, copy, nullable) NSString *ruleId; - -/** - * Fetches a @c GTLRShoppingContent_RepricingRule. - * - * Updates a repricing rule in your Merchant Center account. All mutable fields - * will be overwritten in each update request. In each update, you must provide - * all required mutable fields, or an error will be thrown. If you do not - * provide an optional field in the update request, if that field currently - * exists, it will be deleted from the rule. - * - * @param object The @c GTLRShoppingContent_RepricingRule to include in the - * query. - * @param merchantId Required. The id of the merchant who owns the repricing - * rule. - * @param ruleId Required. The id of the rule to update. - * - * @return GTLRShoppingContentQuery_RepricingrulesPatch - */ -+ (instancetype)queryWithObject:(GTLRShoppingContent_RepricingRule *)object - merchantId:(long long)merchantId - ruleId:(NSString *)ruleId; - -@end - -/** - * *Deprecated*: New merchants can't start using this service. Lists the - * metrics report for a given Repricing rule. - * - * Method: content.repricingrules.repricingreports.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeShoppingContent - */ -@interface GTLRShoppingContentQuery_RepricingrulesRepricingreportsList : GTLRShoppingContentQuery - -/** - * Gets Repricing reports on and before this date in the merchant's timezone. - * You can only retrieve data up to 7 days ago (default) or earlier. Format: - * YYYY-MM-DD. - */ -@property(nonatomic, copy, nullable) NSString *endDate; - -/** Required. Id of the merchant who owns the Repricing rule. */ -@property(nonatomic, assign) long long merchantId; - -/** - * Maximum number of daily reports to return. Each report includes data from a - * single 24-hour period. The page size defaults to 50 and values above 1000 - * are coerced to 1000. This service may return fewer days than this value, for - * example, if the time between your start and end date is less than page size. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * Token (if provided) to retrieve the subsequent page. All other parameters - * must match the original call that provided the page token. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** Required. Id of the Repricing rule. */ -@property(nonatomic, copy, nullable) NSString *ruleId; - -/** - * Gets Repricing reports on and after this date in the merchant's timezone, up - * to one year ago. Do not use a start date later than 7 days ago (default). - * Format: YYYY-MM-DD. - */ -@property(nonatomic, copy, nullable) NSString *startDate; - -/** - * Fetches a @c GTLRShoppingContent_ListRepricingRuleReportsResponse. - * - * *Deprecated*: New merchants can't start using this service. Lists the - * metrics report for a given Repricing rule. - * - * @param merchantId Required. Id of the merchant who owns the Repricing rule. - * @param ruleId Required. Id of the Repricing rule. - * - * @return GTLRShoppingContentQuery_RepricingrulesRepricingreportsList - * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. - */ -+ (instancetype)queryWithMerchantId:(long long)merchantId - ruleId:(NSString *)ruleId; - -@end - /** * Batches multiple return address related calls in a single request. * diff --git a/Sources/GeneratedServices/SmartDeviceManagement/GTLRSmartDeviceManagementService.m b/Sources/GeneratedServices/SmartDeviceManagement/GTLRSmartDeviceManagementService.m index f083a85d4..a547c9d1e 100644 --- a/Sources/GeneratedServices/SmartDeviceManagement/GTLRSmartDeviceManagementService.m +++ b/Sources/GeneratedServices/SmartDeviceManagement/GTLRSmartDeviceManagementService.m @@ -12,9 +12,8 @@ #import // ---------------------------------------------------------------------------- -// Authorization scopes +// Authorization scope -NSString * const kGTLRAuthScopeSmartDeviceManagementCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; NSString * const kGTLRAuthScopeSmartDeviceManagementSdmService = @"https://www.googleapis.com/auth/sdm.service"; // ---------------------------------------------------------------------------- diff --git a/Sources/GeneratedServices/SmartDeviceManagement/Public/GoogleAPIClientForREST/GTLRSmartDeviceManagementQuery.h b/Sources/GeneratedServices/SmartDeviceManagement/Public/GoogleAPIClientForREST/GTLRSmartDeviceManagementQuery.h index 87e8eb0e7..8d166b25e 100644 --- a/Sources/GeneratedServices/SmartDeviceManagement/Public/GoogleAPIClientForREST/GTLRSmartDeviceManagementQuery.h +++ b/Sources/GeneratedServices/SmartDeviceManagement/Public/GoogleAPIClientForREST/GTLRSmartDeviceManagementQuery.h @@ -40,7 +40,6 @@ NS_ASSUME_NONNULL_BEGIN * Method: smartdevicemanagement.enterprises.devices.executeCommand * * Authorization scope(s): - * @c kGTLRAuthScopeSmartDeviceManagementCloudPlatform * @c kGTLRAuthScopeSmartDeviceManagementSdmService */ @interface GTLRSmartDeviceManagementQuery_EnterprisesDevicesExecuteCommand : GTLRSmartDeviceManagementQuery @@ -75,7 +74,6 @@ NS_ASSUME_NONNULL_BEGIN * Method: smartdevicemanagement.enterprises.devices.get * * Authorization scope(s): - * @c kGTLRAuthScopeSmartDeviceManagementCloudPlatform * @c kGTLRAuthScopeSmartDeviceManagementSdmService */ @interface GTLRSmartDeviceManagementQuery_EnterprisesDevicesGet : GTLRSmartDeviceManagementQuery @@ -105,7 +103,6 @@ NS_ASSUME_NONNULL_BEGIN * Method: smartdevicemanagement.enterprises.devices.list * * Authorization scope(s): - * @c kGTLRAuthScopeSmartDeviceManagementCloudPlatform * @c kGTLRAuthScopeSmartDeviceManagementSdmService */ @interface GTLRSmartDeviceManagementQuery_EnterprisesDevicesList : GTLRSmartDeviceManagementQuery @@ -140,7 +137,6 @@ NS_ASSUME_NONNULL_BEGIN * Method: smartdevicemanagement.enterprises.structures.get * * Authorization scope(s): - * @c kGTLRAuthScopeSmartDeviceManagementCloudPlatform * @c kGTLRAuthScopeSmartDeviceManagementSdmService */ @interface GTLRSmartDeviceManagementQuery_EnterprisesStructuresGet : GTLRSmartDeviceManagementQuery @@ -171,7 +167,6 @@ NS_ASSUME_NONNULL_BEGIN * Method: smartdevicemanagement.enterprises.structures.list * * Authorization scope(s): - * @c kGTLRAuthScopeSmartDeviceManagementCloudPlatform * @c kGTLRAuthScopeSmartDeviceManagementSdmService */ @interface GTLRSmartDeviceManagementQuery_EnterprisesStructuresList : GTLRSmartDeviceManagementQuery @@ -203,7 +198,6 @@ NS_ASSUME_NONNULL_BEGIN * Method: smartdevicemanagement.enterprises.structures.rooms.get * * Authorization scope(s): - * @c kGTLRAuthScopeSmartDeviceManagementCloudPlatform * @c kGTLRAuthScopeSmartDeviceManagementSdmService */ @interface GTLRSmartDeviceManagementQuery_EnterprisesStructuresRoomsGet : GTLRSmartDeviceManagementQuery @@ -234,7 +228,6 @@ NS_ASSUME_NONNULL_BEGIN * Method: smartdevicemanagement.enterprises.structures.rooms.list * * Authorization scope(s): - * @c kGTLRAuthScopeSmartDeviceManagementCloudPlatform * @c kGTLRAuthScopeSmartDeviceManagementSdmService */ @interface GTLRSmartDeviceManagementQuery_EnterprisesStructuresRoomsList : GTLRSmartDeviceManagementQuery diff --git a/Sources/GeneratedServices/SmartDeviceManagement/Public/GoogleAPIClientForREST/GTLRSmartDeviceManagementService.h b/Sources/GeneratedServices/SmartDeviceManagement/Public/GoogleAPIClientForREST/GTLRSmartDeviceManagementService.h index 162b388d0..74927df23 100644 --- a/Sources/GeneratedServices/SmartDeviceManagement/Public/GoogleAPIClientForREST/GTLRSmartDeviceManagementService.h +++ b/Sources/GeneratedServices/SmartDeviceManagement/Public/GoogleAPIClientForREST/GTLRSmartDeviceManagementService.h @@ -23,15 +23,8 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- -// Authorization scopes +// 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 kGTLRAuthScopeSmartDeviceManagementCloudPlatform; /** * Authorization scope: See and/or control the devices that you selected * diff --git a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h index 94ad4749f..d1dc82a3e 100644 --- a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h +++ b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h @@ -1006,7 +1006,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni /** * 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] + * 0 (no utilization) to 100 (full utilization). The valid range is [10, 99] * inclusive. * * Uses NSNumber of intValue. @@ -1282,9 +1282,25 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni * `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, + * `google.com` or `example.com`. * + * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workforce identity pool. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + * All workforce identities in a group. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All workforce identities with a specific attribute value. * + * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ + * *`: All identities in a workforce identity pool. * + * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + * A single identity in a workload identity pool. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + * A workload identity pool group. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + * All identities in a workload identity pool with a certain attribute. * + * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ + * *`: All identities in a workload identity pool. * + * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + * identifier) representing a user that has been recently deleted. For example, * `alice\@example.com?uid=123456789012345678901`. If the user is recovered, * this value reverts to `user:{emailid}` and the recovered user retains the * role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An @@ -1298,7 +1314,10 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni * 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. + * role in the binding. * + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + * Deleted single identity in a workforce identity pool. For example, + * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ @property(nonatomic, strong, nullable) NSArray *members; diff --git a/Sources/GeneratedServices/Storage/GTLRStorageQuery.m b/Sources/GeneratedServices/Storage/GTLRStorageQuery.m index 87c28732a..f47e934af 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageQuery.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageQuery.m @@ -131,7 +131,7 @@ @implementation GTLRStorageQuery_AnywhereCacheList + (instancetype)queryWithBucket:(NSString *)bucket { NSArray *pathParams = @[ @"bucket" ]; - NSString *pathURITemplate = @"b/{bucket}/anywhereCache"; + NSString *pathURITemplate = @"b/{bucket}/anywhereCaches"; GTLRStorageQuery_AnywhereCacheList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil diff --git a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h index 59f78f47d..23b17c805 100644 --- a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h +++ b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h @@ -917,14 +917,14 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit @property(nonatomic, copy, nullable) NSString *cloudfrontDomain; /** - * Optional. The Resource name of a secret in Secret Manager. The Azure SAS - * token must be stored in Secret Manager in JSON format: { "sas_token" : - * "SAS_TOKEN" } GoogleServiceAccount must be granted - * `roles/secretmanager.secretAccessor` for the resource. See [Configure access - * to a source: Microsoft Azure Blob Storage] - * (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager) + * Optional. The Resource name of a secret in Secret Manager. AWS credentials + * must be stored in Secret Manager in JSON format: { "access_key_id": + * "ACCESS_KEY_ID", "secret_access_key": "SECRET_ACCESS_KEY" } + * GoogleServiceAccount must be granted `roles/secretmanager.secretAccessor` + * for the resource. See [Configure access to a source: Amazon S3] + * (https://cloud.google.com/storage-transfer/docs/source-amazon-s3#secret_manager) * for more information. If `credentials_secret` is specified, do not specify - * azure_credentials. This feature is in + * role_arn or aws_access_key. This feature is in * [preview](https://cloud.google.com/terms/service-terms#1). Format: * `projects/{project_number}/secrets/{secret_name}` */ diff --git a/Sources/GeneratedServices/StreetViewPublish/GTLRStreetViewPublishObjects.m b/Sources/GeneratedServices/StreetViewPublish/GTLRStreetViewPublishObjects.m index 2fbf5c26e..62f8a1376 100644 --- a/Sources/GeneratedServices/StreetViewPublish/GTLRStreetViewPublishObjects.m +++ b/Sources/GeneratedServices/StreetViewPublish/GTLRStreetViewPublishObjects.m @@ -49,6 +49,7 @@ NSString * const kGTLRStreetViewPublish_PhotoSequence_FailureReason_InvalidVideoFormat = @"INVALID_VIDEO_FORMAT"; NSString * const kGTLRStreetViewPublish_PhotoSequence_FailureReason_JumpyGps = @"JUMPY_GPS"; NSString * const kGTLRStreetViewPublish_PhotoSequence_FailureReason_LowResolution = @"LOW_RESOLUTION"; +NSString * const kGTLRStreetViewPublish_PhotoSequence_FailureReason_MastDown = @"MAST_DOWN"; NSString * const kGTLRStreetViewPublish_PhotoSequence_FailureReason_NoOverlapGps = @"NO_OVERLAP_GPS"; NSString * const kGTLRStreetViewPublish_PhotoSequence_FailureReason_NotOutdoors = @"NOT_OUTDOORS"; NSString * const kGTLRStreetViewPublish_PhotoSequence_FailureReason_ProcessingFailureReasonUnspecified = @"PROCESSING_FAILURE_REASON_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/StreetViewPublish/Public/GoogleAPIClientForREST/GTLRStreetViewPublishObjects.h b/Sources/GeneratedServices/StreetViewPublish/Public/GoogleAPIClientForREST/GTLRStreetViewPublishObjects.h index 488a2f4e0..25457858a 100644 --- a/Sources/GeneratedServices/StreetViewPublish/Public/GoogleAPIClientForREST/GTLRStreetViewPublishObjects.h +++ b/Sources/GeneratedServices/StreetViewPublish/Public/GoogleAPIClientForREST/GTLRStreetViewPublishObjects.h @@ -242,6 +242,12 @@ FOUNDATION_EXTERN NSString * const kGTLRStreetViewPublish_PhotoSequence_FailureR * Value: "LOW_RESOLUTION" */ FOUNDATION_EXTERN NSString * const kGTLRStreetViewPublish_PhotoSequence_FailureReason_LowResolution; +/** + * Mast is down. + * + * Value: "MAST_DOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRStreetViewPublish_PhotoSequence_FailureReason_MastDown; /** * No overlap between the time frame of GPS track and the time frame of video. * @@ -981,6 +987,8 @@ FOUNDATION_EXTERN NSString * const kGTLRStreetViewPublish_PhotoSequence_Processi * data is too erratic to be processed. (Value: "JUMPY_GPS") * @arg @c kGTLRStreetViewPublish_PhotoSequence_FailureReason_LowResolution * Video frame's resolution is too small. (Value: "LOW_RESOLUTION") + * @arg @c kGTLRStreetViewPublish_PhotoSequence_FailureReason_MastDown Mast + * is down. (Value: "MAST_DOWN") * @arg @c kGTLRStreetViewPublish_PhotoSequence_FailureReason_NoOverlapGps No * overlap between the time frame of GPS track and the time frame of * video. (Value: "NO_OVERLAP_GPS") diff --git a/Sources/GeneratedServices/Translate/GTLRTranslateObjects.m b/Sources/GeneratedServices/Translate/GTLRTranslateObjects.m index a47f220d2..727241949 100644 --- a/Sources/GeneratedServices/Translate/GTLRTranslateObjects.m +++ b/Sources/GeneratedServices/Translate/GTLRTranslateObjects.m @@ -10,6 +10,83 @@ #import +// ---------------------------------------------------------------------------- +// +// GTLRTranslate_AdaptiveMtDataset +// + +@implementation GTLRTranslate_AdaptiveMtDataset +@dynamic createTime, displayName, exampleCount, name, sourceLanguageCode, + targetLanguageCode, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranslate_AdaptiveMtFile +// + +@implementation GTLRTranslate_AdaptiveMtFile +@dynamic createTime, displayName, entryCount, name, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranslate_AdaptiveMtSentence +// + +@implementation GTLRTranslate_AdaptiveMtSentence +@dynamic createTime, name, sourceSentence, targetSentence, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranslate_AdaptiveMtTranslateRequest +// + +@implementation GTLRTranslate_AdaptiveMtTranslateRequest +@dynamic content, dataset; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"content" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranslate_AdaptiveMtTranslateResponse +// + +@implementation GTLRTranslate_AdaptiveMtTranslateResponse +@dynamic languageCode, translations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"translations" : [GTLRTranslate_AdaptiveMtTranslation class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranslate_AdaptiveMtTranslation +// + +@implementation GTLRTranslate_AdaptiveMtTranslation +@dynamic translatedText; +@end + + // ---------------------------------------------------------------------------- // // GTLRTranslate_BatchDocumentInputConfig @@ -362,6 +439,16 @@ @implementation GTLRTranslate_ExportDataRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRTranslate_FileInputSource +// + +@implementation GTLRTranslate_FileInputSource +@dynamic content, displayName, mimeType; +@end + + // ---------------------------------------------------------------------------- // // GTLRTranslate_GcsDestination @@ -476,6 +563,26 @@ @implementation GTLRTranslate_GlossaryTermsSet @end +// ---------------------------------------------------------------------------- +// +// GTLRTranslate_ImportAdaptiveMtFileRequest +// + +@implementation GTLRTranslate_ImportAdaptiveMtFileRequest +@dynamic fileInputSource, gcsInputSource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranslate_ImportAdaptiveMtFileResponse +// + +@implementation GTLRTranslate_ImportAdaptiveMtFileResponse +@dynamic adaptiveMtFile; +@end + + // ---------------------------------------------------------------------------- // // GTLRTranslate_ImportDataRequest @@ -534,6 +641,72 @@ @implementation GTLRTranslate_LanguageCodesSet @end +// ---------------------------------------------------------------------------- +// +// GTLRTranslate_ListAdaptiveMtDatasetsResponse +// + +@implementation GTLRTranslate_ListAdaptiveMtDatasetsResponse +@dynamic adaptiveMtDatasets, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"adaptiveMtDatasets" : [GTLRTranslate_AdaptiveMtDataset class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"adaptiveMtDatasets"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranslate_ListAdaptiveMtFilesResponse +// + +@implementation GTLRTranslate_ListAdaptiveMtFilesResponse +@dynamic adaptiveMtFiles, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"adaptiveMtFiles" : [GTLRTranslate_AdaptiveMtFile class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"adaptiveMtFiles"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranslate_ListAdaptiveMtSentencesResponse +// + +@implementation GTLRTranslate_ListAdaptiveMtSentencesResponse +@dynamic adaptiveMtSentences, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"adaptiveMtSentences" : [GTLRTranslate_AdaptiveMtSentence class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"adaptiveMtSentences"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRTranslate_ListDatasetsResponse diff --git a/Sources/GeneratedServices/Translate/GTLRTranslateQuery.m b/Sources/GeneratedServices/Translate/GTLRTranslateQuery.m index 97528c1a8..82c554ce5 100644 --- a/Sources/GeneratedServices/Translate/GTLRTranslateQuery.m +++ b/Sources/GeneratedServices/Translate/GTLRTranslateQuery.m @@ -62,6 +62,239 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentencesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v3/{+parent}/adaptiveMtSentences"; + GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentencesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRTranslate_ListAdaptiveMtSentencesResponse class]; + query.loggingName = @"translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.adaptiveMtSentences.list"; + return query; +} + +@end + +@implementation GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v3/{+name}"; + GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRTranslate_Empty class]; + query.loggingName = @"translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.delete"; + return query; +} + +@end + +@implementation GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v3/{+name}"; + GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRTranslate_AdaptiveMtFile class]; + query.loggingName = @"translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.get"; + return query; +} + +@end + +@implementation GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v3/{+parent}/adaptiveMtFiles"; + GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRTranslate_ListAdaptiveMtFilesResponse class]; + query.loggingName = @"translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.list"; + return query; +} + +@end + +@implementation GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtSentencesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v3/{+parent}/adaptiveMtSentences"; + GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtSentencesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRTranslate_ListAdaptiveMtSentencesResponse class]; + query.loggingName = @"translate.projects.locations.adaptiveMtDatasets.adaptiveMtSentences.list"; + return query; +} + +@end + +@implementation GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRTranslate_AdaptiveMtDataset *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v3/{+parent}/adaptiveMtDatasets"; + GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRTranslate_AdaptiveMtDataset class]; + query.loggingName = @"translate.projects.locations.adaptiveMtDatasets.create"; + return query; +} + +@end + +@implementation GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v3/{+name}"; + GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRTranslate_Empty class]; + query.loggingName = @"translate.projects.locations.adaptiveMtDatasets.delete"; + return query; +} + +@end + +@implementation GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v3/{+name}"; + GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRTranslate_AdaptiveMtDataset class]; + query.loggingName = @"translate.projects.locations.adaptiveMtDatasets.get"; + return query; +} + +@end + +@implementation GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsImportAdaptiveMtFile + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRTranslate_ImportAdaptiveMtFileRequest *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v3/{+parent}:importAdaptiveMtFile"; + GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsImportAdaptiveMtFile *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRTranslate_ImportAdaptiveMtFileResponse class]; + query.loggingName = @"translate.projects.locations.adaptiveMtDatasets.importAdaptiveMtFile"; + return query; +} + +@end + +@implementation GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v3/{+parent}/adaptiveMtDatasets"; + GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRTranslate_ListAdaptiveMtDatasetsResponse class]; + query.loggingName = @"translate.projects.locations.adaptiveMtDatasets.list"; + return query; +} + +@end + +@implementation GTLRTranslateQuery_ProjectsLocationsAdaptiveMtTranslate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRTranslate_AdaptiveMtTranslateRequest *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v3/{+parent}:adaptiveMtTranslate"; + GTLRTranslateQuery_ProjectsLocationsAdaptiveMtTranslate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRTranslate_AdaptiveMtTranslateResponse class]; + query.loggingName = @"translate.projects.locations.adaptiveMtTranslate"; + return query; +} + +@end + @implementation GTLRTranslateQuery_ProjectsLocationsBatchTranslateDocument @dynamic parent; diff --git a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateObjects.h b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateObjects.h index 42e6fc330..6a67d3f5c 100644 --- a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateObjects.h +++ b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateObjects.h @@ -14,6 +14,10 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif +@class GTLRTranslate_AdaptiveMtDataset; +@class GTLRTranslate_AdaptiveMtFile; +@class GTLRTranslate_AdaptiveMtSentence; +@class GTLRTranslate_AdaptiveMtTranslation; @class GTLRTranslate_BatchDocumentInputConfig; @class GTLRTranslate_BatchDocumentOutputConfig; @class GTLRTranslate_BatchTranslateDocumentRequest_FormatConversions; @@ -32,6 +36,7 @@ @class GTLRTranslate_DocumentRequest_Labels; @class GTLRTranslate_DocumentTranslation; @class GTLRTranslate_Example; +@class GTLRTranslate_FileInputSource; @class GTLRTranslate_GcsDestination; @class GTLRTranslate_GcsInputSource; @class GTLRTranslate_GcsOutputDestination; @@ -70,6 +75,147 @@ NS_ASSUME_NONNULL_BEGIN +/** + * An Adaptive MT Dataset. + */ +@interface GTLRTranslate_AdaptiveMtDataset : GTLRObject + +/** Output only. Timestamp when this dataset was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * The name of the dataset to show in the interface. The name can be up to 32 + * characters long and can consist only of ASCII Latin letters A-Z and a-z, + * underscores (_), and ASCII digits 0-9. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * The number of examples in the dataset. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exampleCount; + +/** + * Required. The resource name of the dataset, in form of + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The BCP-47 language code of the source language. */ +@property(nonatomic, copy, nullable) NSString *sourceLanguageCode; + +/** The BCP-47 language code of the target language. */ +@property(nonatomic, copy, nullable) NSString *targetLanguageCode; + +/** Output only. Timestamp when this dataset was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * An AdaptiveMtFile. + */ +@interface GTLRTranslate_AdaptiveMtFile : GTLRObject + +/** Output only. Timestamp when this file was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** The file's display name. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * The number of entries that the file contains. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *entryCount; + +/** + * Required. The resource name of the file, in form of + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/files/{file}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Timestamp when this file was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * An AdaptiveMt sentence entry. + */ +@interface GTLRTranslate_AdaptiveMtSentence : GTLRObject + +/** Output only. Timestamp when this sentence was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Required. The resource name of the file, in form of + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/files/{file}/sentences/{sentence}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Required. The source sentence. */ +@property(nonatomic, copy, nullable) NSString *sourceSentence; + +/** Required. The target sentence. */ +@property(nonatomic, copy, nullable) NSString *targetSentence; + +/** Output only. Timestamp when this sentence was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * The request for sending an AdaptiveMt translation query. + */ +@interface GTLRTranslate_AdaptiveMtTranslateRequest : GTLRObject + +/** + * Required. The content of the input in string format. For now only one + * sentence per request is supported. + */ +@property(nonatomic, strong, nullable) NSArray *content; + +/** + * Required. The resource name for the dataset to use for adaptive MT. + * `projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}` + */ +@property(nonatomic, copy, nullable) NSString *dataset; + +@end + + +/** + * An AdaptiveMtTranslate response. + */ +@interface GTLRTranslate_AdaptiveMtTranslateResponse : GTLRObject + +/** Output only. The translation's language code. */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** Output only. The translation. */ +@property(nonatomic, strong, nullable) NSArray *translations; + +@end + + +/** + * An AdaptiveMt translation. + */ +@interface GTLRTranslate_AdaptiveMtTranslation : GTLRObject + +/** Output only. The translated text. */ +@property(nonatomic, copy, nullable) NSString *translatedText; + +@end + + /** * Input configuration for BatchTranslateDocument request. */ @@ -870,6 +1016,28 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * An inlined file. + */ +@interface GTLRTranslate_FileInputSource : GTLRObject + +/** + * Required. The file's byte contents. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *content; + +/** Required. The file's display name. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Required. The file's mime type. */ +@property(nonatomic, copy, nullable) NSString *mimeType; + +@end + + /** * The Google Cloud Storage location for the output content. */ @@ -1061,6 +1229,31 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * The request for importing an AdaptiveMt file along with its sentences. + */ +@interface GTLRTranslate_ImportAdaptiveMtFileRequest : GTLRObject + +/** Inline file source. */ +@property(nonatomic, strong, nullable) GTLRTranslate_FileInputSource *fileInputSource; + +/** Google Cloud Storage file source. */ +@property(nonatomic, strong, nullable) GTLRTranslate_GcsInputSource *gcsInputSource; + +@end + + +/** + * The response for importing an AdaptiveMtFile + */ +@interface GTLRTranslate_ImportAdaptiveMtFileResponse : GTLRObject + +/** Output only. The Adaptive MT file that was imported. */ +@property(nonatomic, strong, nullable) GTLRTranslate_AdaptiveMtFile *adaptiveMtFile; + +@end + + /** * Request message for ImportData. */ @@ -1156,6 +1349,86 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * A list of AdaptiveMtDatasets. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "adaptiveMtDatasets" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRTranslate_ListAdaptiveMtDatasetsResponse : GTLRCollectionObject + +/** + * Output only. A list of Adaptive MT datasets. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *adaptiveMtDatasets; + +/** + * Optional. A token to retrieve a page of results. Pass this value in the + * [ListAdaptiveMtDatasetsRequest.page_token] field in the subsequent call to + * `ListAdaptiveMtDatasets` method to retrieve the next page of results. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response for listing all AdaptiveMt files under a given dataset. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "adaptiveMtFiles" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRTranslate_ListAdaptiveMtFilesResponse : GTLRCollectionObject + +/** + * Output only. The Adaptive MT files. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *adaptiveMtFiles; + +/** + * Optional. A token to retrieve a page of results. Pass this value in the + * ListAdaptiveMtFilesRequest.page_token field in the subsequent call to + * `ListAdaptiveMtFiles` method to retrieve the next page of results. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * List AdaptiveMt sentences response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "adaptiveMtSentences" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRTranslate_ListAdaptiveMtSentencesResponse : GTLRCollectionObject + +/** + * Output only. The list of AdaptiveMtSentences. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *adaptiveMtSentences; + +/** Optional. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * Response message for ListDatasets. * diff --git a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h index f63741448..05132da9f 100644 --- a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h +++ b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h @@ -40,6 +40,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsDetectLanguage : GTLRTranslateQuery @@ -84,6 +85,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsGetSupportedLanguages : GTLRTranslateQuery @@ -135,6 +137,445 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Lists all AdaptiveMtSentences under a given file/dataset. + * + * Method: translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.adaptiveMtSentences.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation + */ +@interface GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentencesList : GTLRTranslateQuery + +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of ListAdaptiveMtSentencesRequest.next_page_token returned + * from the previous call to `ListTranslationMemories` method. The first page + * is returned if `page_token` is empty or missing. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the project from which to list the Adaptive + * MT files. The following format lists all sentences under a file. + * `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` + * The following format lists all sentences within a dataset. + * `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRTranslate_ListAdaptiveMtSentencesResponse. + * + * Lists all AdaptiveMtSentences under a given file/dataset. + * + * @param parent Required. The resource name of the project from which to list + * the Adaptive MT files. The following format lists all sentences under a + * file. + * `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` + * The following format lists all sentences within a dataset. + * `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}` + * + * @return GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentencesList + * + * @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 an AdaptiveMtFile along with its sentences. + * + * Method: translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation + */ +@interface GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesDelete : GTLRTranslateQuery + +/** + * Required. The resource name of the file to delete, in form of + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/files/{file}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRTranslate_Empty. + * + * Deletes an AdaptiveMtFile along with its sentences. + * + * @param name Required. The resource name of the file to delete, in form of + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/files/{file}` + * + * @return GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets and AdaptiveMtFile + * + * Method: translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation + */ +@interface GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesGet : GTLRTranslateQuery + +/** + * Required. The resource name of the file, in form of + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/files/{file}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRTranslate_AdaptiveMtFile. + * + * Gets and AdaptiveMtFile + * + * @param name Required. The resource name of the file, in form of + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/files/{file}` + * + * @return GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset. + * + * Method: translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation + */ +@interface GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesList : GTLRTranslateQuery + +/** Optional. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + * Typically, this is the value of ListAdaptiveMtFilesResponse.next_page_token + * returned from the previous call to `ListAdaptiveMtFiles` method. The first + * page is returned if `page_token`is empty or missing. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the project from which to list the Adaptive + * MT files. + * `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRTranslate_ListAdaptiveMtFilesResponse. + * + * Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset. + * + * @param parent Required. The resource name of the project from which to list + * the Adaptive MT files. + * `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}` + * + * @return GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Lists all AdaptiveMtSentences under a given file/dataset. + * + * Method: translate.projects.locations.adaptiveMtDatasets.adaptiveMtSentences.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation + */ +@interface GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtSentencesList : GTLRTranslateQuery + +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of ListAdaptiveMtSentencesRequest.next_page_token returned + * from the previous call to `ListTranslationMemories` method. The first page + * is returned if `page_token` is empty or missing. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the project from which to list the Adaptive + * MT files. The following format lists all sentences under a file. + * `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` + * The following format lists all sentences within a dataset. + * `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRTranslate_ListAdaptiveMtSentencesResponse. + * + * Lists all AdaptiveMtSentences under a given file/dataset. + * + * @param parent Required. The resource name of the project from which to list + * the Adaptive MT files. The following format lists all sentences under a + * file. + * `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` + * The following format lists all sentences within a dataset. + * `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}` + * + * @return GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtSentencesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Creates an Adaptive MT dataset. + * + * Method: translate.projects.locations.adaptiveMtDatasets.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation + */ +@interface GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsCreate : GTLRTranslateQuery + +/** + * Required. Name of the parent project. In form of + * `projects/{project-number-or-id}/locations/{location-id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRTranslate_AdaptiveMtDataset. + * + * Creates an Adaptive MT dataset. + * + * @param object The @c GTLRTranslate_AdaptiveMtDataset to include in the + * query. + * @param parent Required. Name of the parent project. In form of + * `projects/{project-number-or-id}/locations/{location-id}` + * + * @return GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsCreate + */ ++ (instancetype)queryWithObject:(GTLRTranslate_AdaptiveMtDataset *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an Adaptive MT dataset, including all its entries and associated + * metadata. + * + * Method: translate.projects.locations.adaptiveMtDatasets.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation + */ +@interface GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsDelete : GTLRTranslateQuery + +/** + * Required. Name of the dataset. In the form of + * `projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRTranslate_Empty. + * + * Deletes an Adaptive MT dataset, including all its entries and associated + * metadata. + * + * @param name Required. Name of the dataset. In the form of + * `projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}` + * + * @return GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the Adaptive MT dataset. + * + * Method: translate.projects.locations.adaptiveMtDatasets.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation + */ +@interface GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsGet : GTLRTranslateQuery + +/** + * Required. Name of the dataset. In the form of + * `projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRTranslate_AdaptiveMtDataset. + * + * Gets the Adaptive MT dataset. + * + * @param name Required. Name of the dataset. In the form of + * `projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}` + * + * @return GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Imports an AdaptiveMtFile and adds all of its sentences into the + * AdaptiveMtDataset. + * + * Method: translate.projects.locations.adaptiveMtDatasets.importAdaptiveMtFile + * + * Authorization scope(s): + * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation + */ +@interface GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsImportAdaptiveMtFile : GTLRTranslateQuery + +/** + * Required. The resource name of the file, in form of + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRTranslate_ImportAdaptiveMtFileResponse. + * + * Imports an AdaptiveMtFile and adds all of its sentences into the + * AdaptiveMtDataset. + * + * @param object The @c GTLRTranslate_ImportAdaptiveMtFileRequest to include in + * the query. + * @param parent Required. The resource name of the file, in form of + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}` + * + * @return GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsImportAdaptiveMtFile + */ ++ (instancetype)queryWithObject:(GTLRTranslate_ImportAdaptiveMtFileRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Lists all Adaptive MT datasets for which the caller has read permission. + * + * Method: translate.projects.locations.adaptiveMtDatasets.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation + */ +@interface GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsList : GTLRTranslateQuery + +/** + * Optional. An expression for filtering the results of the request. Filter is + * not supported yet. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Requested page size. The server may return fewer results than + * requested. If unspecified, the server picks an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + * Typically, this is the value of + * ListAdaptiveMtDatasetsResponse.next_page_token returned from the previous + * call to `ListAdaptiveMtDatasets` method. The first page is returned if + * `page_token`is empty or missing. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the project from which to list the Adaptive + * MT datasets. `projects/{project-number-or-id}/locations/{location-id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRTranslate_ListAdaptiveMtDatasetsResponse. + * + * Lists all Adaptive MT datasets for which the caller has read permission. + * + * @param parent Required. The resource name of the project from which to list + * the Adaptive MT datasets. + * `projects/{project-number-or-id}/locations/{location-id}` + * + * @return GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsList + * + * @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 + +/** + * Translate text using Adaptive MT. + * + * Method: translate.projects.locations.adaptiveMtTranslate + * + * Authorization scope(s): + * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation + */ +@interface GTLRTranslateQuery_ProjectsLocationsAdaptiveMtTranslate : GTLRTranslateQuery + +/** + * Required. Location to make a regional call. Format: + * `projects/{project-number-or-id}/locations/{location-id}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRTranslate_AdaptiveMtTranslateResponse. + * + * Translate text using Adaptive MT. + * + * @param object The @c GTLRTranslate_AdaptiveMtTranslateRequest to include in + * the query. + * @param parent Required. Location to make a regional call. Format: + * `projects/{project-number-or-id}/locations/{location-id}`. + * + * @return GTLRTranslateQuery_ProjectsLocationsAdaptiveMtTranslate + */ ++ (instancetype)queryWithObject:(GTLRTranslate_AdaptiveMtTranslateRequest *)object + parent:(NSString *)parent; + +@end + /** * Translates a large volume of document in asynchronous batch mode. This * function provides real-time output as the inputs are being processed. If @@ -241,6 +682,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsDatasetsCreate : GTLRTranslateQuery @@ -384,6 +826,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsDatasetsGet : GTLRTranslateQuery @@ -444,6 +887,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsDatasetsList : GTLRTranslateQuery @@ -491,6 +935,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsDetectLanguage : GTLRTranslateQuery @@ -562,6 +1007,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsGetSupportedLanguages : GTLRTranslateQuery @@ -651,6 +1097,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsGlossariesDelete : GTLRTranslateQuery @@ -678,6 +1125,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsGlossariesGet : GTLRTranslateQuery @@ -761,6 +1209,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsGlossariesGlossaryEntriesGet : GTLRTranslateQuery @@ -787,6 +1236,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsGlossariesGlossaryEntriesList : GTLRTranslateQuery @@ -869,6 +1319,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsGlossariesList : GTLRTranslateQuery @@ -1115,6 +1566,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsModelsList : GTLRTranslateQuery @@ -1366,6 +1818,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsRomanizeText : GTLRTranslateQuery @@ -1449,6 +1902,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsLocationsTranslateText : GTLRTranslateQuery @@ -1493,6 +1947,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsRomanizeText : GTLRTranslateQuery @@ -1533,6 +1988,7 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeTranslateCloudPlatform + * @c kGTLRAuthScopeTranslateCloudTranslation */ @interface GTLRTranslateQuery_ProjectsTranslateText : GTLRTranslateQuery diff --git a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h index 64ef26761..85d0e16ca 100644 --- a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h +++ b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h @@ -1101,7 +1101,8 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewUtilizationReportV @end /** - * Lists CloneJobs of a given migrating VM. + * Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are + * listed. * * Method: vmmigration.projects.locations.sources.migratingVms.cloneJobs.list * @@ -1138,7 +1139,8 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewUtilizationReportV /** * Fetches a @c GTLRVMMigrationService_ListCloneJobsResponse. * - * Lists CloneJobs of a given migrating VM. + * Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are + * listed. * * @param parent Required. The parent, which owns this collection of source * VMs. @@ -1303,7 +1305,8 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewUtilizationReportV @end /** - * Lists CutoverJobs of a given migrating VM. + * Lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs are + * listed. * * Method: vmmigration.projects.locations.sources.migratingVms.cutoverJobs.list * @@ -1340,7 +1343,8 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewUtilizationReportV /** * Fetches a @c GTLRVMMigrationService_ListCutoverJobsResponse. * - * Lists CutoverJobs of a given migrating VM. + * Lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs are + * listed. * * @param parent Required. The parent, which owns this collection of migrating * VMs. diff --git a/Sources/GeneratedServices/Vault/GTLRVaultObjects.m b/Sources/GeneratedServices/Vault/GTLRVaultObjects.m index 1a61d198e..90f59b15b 100644 --- a/Sources/GeneratedServices/Vault/GTLRVaultObjects.m +++ b/Sources/GeneratedServices/Vault/GTLRVaultObjects.m @@ -27,6 +27,19 @@ NSString * const kGTLRVault_AccountCountError_ErrorType_Unknown = @"UNKNOWN"; NSString * const kGTLRVault_AccountCountError_ErrorType_WildcardTooBroad = @"WILDCARD_TOO_BROAD"; +// GTLRVault_CalendarExportOptions.exportFormat +NSString * const kGTLRVault_CalendarExportOptions_ExportFormat_ExportFormatUnspecified = @"EXPORT_FORMAT_UNSPECIFIED"; +NSString * const kGTLRVault_CalendarExportOptions_ExportFormat_Ics = @"ICS"; +NSString * const kGTLRVault_CalendarExportOptions_ExportFormat_Mbox = @"MBOX"; +NSString * const kGTLRVault_CalendarExportOptions_ExportFormat_Pst = @"PST"; + +// GTLRVault_CalendarOptions.responseStatuses +NSString * const kGTLRVault_CalendarOptions_ResponseStatuses_AttendeeResponseAccepted = @"ATTENDEE_RESPONSE_ACCEPTED"; +NSString * const kGTLRVault_CalendarOptions_ResponseStatuses_AttendeeResponseDeclined = @"ATTENDEE_RESPONSE_DECLINED"; +NSString * const kGTLRVault_CalendarOptions_ResponseStatuses_AttendeeResponseNeedsAction = @"ATTENDEE_RESPONSE_NEEDS_ACTION"; +NSString * const kGTLRVault_CalendarOptions_ResponseStatuses_AttendeeResponseTentative = @"ATTENDEE_RESPONSE_TENTATIVE"; +NSString * const kGTLRVault_CalendarOptions_ResponseStatuses_AttendeeResponseUnspecified = @"ATTENDEE_RESPONSE_UNSPECIFIED"; + // GTLRVault_CountArtifactsRequest.view NSString * const kGTLRVault_CountArtifactsRequest_View_All = @"ALL"; NSString * const kGTLRVault_CountArtifactsRequest_View_CountResultViewUnspecified = @"COUNT_RESULT_VIEW_UNSPECIFIED"; @@ -52,11 +65,13 @@ // GTLRVault_GroupsExportOptions.exportFormat NSString * const kGTLRVault_GroupsExportOptions_ExportFormat_ExportFormatUnspecified = @"EXPORT_FORMAT_UNSPECIFIED"; +NSString * const kGTLRVault_GroupsExportOptions_ExportFormat_Ics = @"ICS"; NSString * const kGTLRVault_GroupsExportOptions_ExportFormat_Mbox = @"MBOX"; NSString * const kGTLRVault_GroupsExportOptions_ExportFormat_Pst = @"PST"; // GTLRVault_HangoutsChatExportOptions.exportFormat NSString * const kGTLRVault_HangoutsChatExportOptions_ExportFormat_ExportFormatUnspecified = @"EXPORT_FORMAT_UNSPECIFIED"; +NSString * const kGTLRVault_HangoutsChatExportOptions_ExportFormat_Ics = @"ICS"; NSString * const kGTLRVault_HangoutsChatExportOptions_ExportFormat_Mbox = @"MBOX"; NSString * const kGTLRVault_HangoutsChatExportOptions_ExportFormat_Pst = @"PST"; @@ -67,6 +82,7 @@ NSString * const kGTLRVault_HeldVoiceQuery_CoveredData_Voicemails = @"VOICEMAILS"; // GTLRVault_Hold.corpus +NSString * const kGTLRVault_Hold_Corpus_Calendar = @"CALENDAR"; NSString * const kGTLRVault_Hold_Corpus_CorpusTypeUnspecified = @"CORPUS_TYPE_UNSPECIFIED"; NSString * const kGTLRVault_Hold_Corpus_Drive = @"DRIVE"; NSString * const kGTLRVault_Hold_Corpus_Groups = @"GROUPS"; @@ -76,6 +92,7 @@ // GTLRVault_MailExportOptions.exportFormat NSString * const kGTLRVault_MailExportOptions_ExportFormat_ExportFormatUnspecified = @"EXPORT_FORMAT_UNSPECIFIED"; +NSString * const kGTLRVault_MailExportOptions_ExportFormat_Ics = @"ICS"; NSString * const kGTLRVault_MailExportOptions_ExportFormat_Mbox = @"MBOX"; NSString * const kGTLRVault_MailExportOptions_ExportFormat_Pst = @"PST"; @@ -97,6 +114,7 @@ NSString * const kGTLRVault_MatterPermission_Role_RoleUnspecified = @"ROLE_UNSPECIFIED"; // GTLRVault_Query.corpus +NSString * const kGTLRVault_Query_Corpus_Calendar = @"CALENDAR"; NSString * const kGTLRVault_Query_Corpus_CorpusTypeUnspecified = @"CORPUS_TYPE_UNSPECIFIED"; NSString * const kGTLRVault_Query_Corpus_Drive = @"DRIVE"; NSString * const kGTLRVault_Query_Corpus_Groups = @"GROUPS"; @@ -132,6 +150,7 @@ // GTLRVault_VoiceExportOptions.exportFormat NSString * const kGTLRVault_VoiceExportOptions_ExportFormat_ExportFormatUnspecified = @"EXPORT_FORMAT_UNSPECIFIED"; +NSString * const kGTLRVault_VoiceExportOptions_ExportFormat_Ics = @"ICS"; NSString * const kGTLRVault_VoiceExportOptions_ExportFormat_Mbox = @"MBOX"; NSString * const kGTLRVault_VoiceExportOptions_ExportFormat_Pst = @"PST"; @@ -240,6 +259,37 @@ @implementation GTLRVault_AddMatterPermissionsRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRVault_CalendarExportOptions +// + +@implementation GTLRVault_CalendarExportOptions +@dynamic exportFormat; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVault_CalendarOptions +// + +@implementation GTLRVault_CalendarOptions +@dynamic locationQuery, minusWords, peopleQuery, responseStatuses, versionDate; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locationQuery" : [NSString class], + @"minusWords" : [NSString class], + @"peopleQuery" : [NSString class], + @"responseStatuses" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRVault_CancelOperationRequest @@ -373,7 +423,7 @@ @implementation GTLRVault_Empty @implementation GTLRVault_Export @dynamic cloudStorageSink, createTime, exportOptions, identifier, matterId, - name, query, requester, stats, status; + name, parentExportId, query, requester, stats, status; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -388,8 +438,8 @@ @implementation GTLRVault_Export // @implementation GTLRVault_ExportOptions -@dynamic driveOptions, groupsOptions, hangoutsChatOptions, mailOptions, region, - voiceOptions; +@dynamic calendarOptions, driveOptions, groupsOptions, hangoutsChatOptions, + mailOptions, region, voiceOptions; @end @@ -723,7 +773,8 @@ @implementation GTLRVault_MailCountResult // @implementation GTLRVault_MailExportOptions -@dynamic exportFormat, showConfidentialModeContent, useNewExport; +@dynamic exportFormat, exportLinkedDriveFiles, showConfidentialModeContent, + useNewExport; @end @@ -823,7 +874,7 @@ @implementation GTLRVault_OrgUnitInfo // @implementation GTLRVault_Query -@dynamic accountInfo, corpus, dataScope, driveOptions, endTime, +@dynamic accountInfo, calendarOptions, corpus, dataScope, driveOptions, endTime, hangoutsChatInfo, hangoutsChatOptions, mailOptions, method, orgUnitInfo, searchMethod, sharedDriveInfo, sitesUrlInfo, startTime, teamDriveInfo, terms, timeZone, voiceOptions; diff --git a/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultObjects.h b/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultObjects.h index 358b3e7bc..ecfbcd191 100644 --- a/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultObjects.h +++ b/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultObjects.h @@ -24,6 +24,8 @@ @class GTLRVault_AccountCountError; @class GTLRVault_AccountInfo; @class GTLRVault_AddHeldAccountResult; +@class GTLRVault_CalendarExportOptions; +@class GTLRVault_CalendarOptions; @class GTLRVault_CloudStorageFile; @class GTLRVault_CloudStorageSink; @class GTLRVault_CorpusQuery; @@ -117,6 +119,71 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_AccountCountError_ErrorType_Unknow */ FOUNDATION_EXTERN NSString * const kGTLRVault_AccountCountError_ErrorType_WildcardTooBroad; +// ---------------------------------------------------------------------------- +// GTLRVault_CalendarExportOptions.exportFormat + +/** + * No export format specified. + * + * Value: "EXPORT_FORMAT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_CalendarExportOptions_ExportFormat_ExportFormatUnspecified; +/** + * Export as ICS. Only available for Calendar. + * + * Value: "ICS" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_CalendarExportOptions_ExportFormat_Ics; +/** + * Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice. + * + * Value: "MBOX" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_CalendarExportOptions_ExportFormat_Mbox; +/** + * Export as PST. Only available for Gmail, Groups, Hangouts, Voice and + * Calendar. + * + * Value: "PST" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_CalendarExportOptions_ExportFormat_Pst; + +// ---------------------------------------------------------------------------- +// GTLRVault_CalendarOptions.responseStatuses + +/** + * The participant plans to attend. + * + * Value: "ATTENDEE_RESPONSE_ACCEPTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_CalendarOptions_ResponseStatuses_AttendeeResponseAccepted; +/** + * The participant does not plan to attend. + * + * Value: "ATTENDEE_RESPONSE_DECLINED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_CalendarOptions_ResponseStatuses_AttendeeResponseDeclined; +/** + * The participant has been invited but has not responded yet. + * + * Value: "ATTENDEE_RESPONSE_NEEDS_ACTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_CalendarOptions_ResponseStatuses_AttendeeResponseNeedsAction; +/** + * The participant expects to possibly attend. + * + * Value: "ATTENDEE_RESPONSE_TENTATIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_CalendarOptions_ResponseStatuses_AttendeeResponseTentative; +/** + * Attendee response unspecified. If this is set no filtering on responses will + * be done, all other attendee responses that are part of the query options are + * ignored. + * + * Value: "ATTENDEE_RESPONSE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_CalendarOptions_ResponseStatuses_AttendeeResponseUnspecified; + // ---------------------------------------------------------------------------- // GTLRVault_CountArtifactsRequest.view @@ -235,6 +302,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_ExportOptions_Region_Us; * Value: "EXPORT_FORMAT_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRVault_GroupsExportOptions_ExportFormat_ExportFormatUnspecified; +/** + * Export as ICS. Only available for Calendar. + * + * Value: "ICS" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_GroupsExportOptions_ExportFormat_Ics; /** * Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice. * @@ -258,6 +331,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_GroupsExportOptions_ExportFormat_P * Value: "EXPORT_FORMAT_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRVault_HangoutsChatExportOptions_ExportFormat_ExportFormatUnspecified; +/** + * Export as ICS. Only available for Calendar. + * + * Value: "ICS" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_HangoutsChatExportOptions_ExportFormat_Ics; /** * Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice. * @@ -303,6 +382,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_HeldVoiceQuery_CoveredData_Voicema // ---------------------------------------------------------------------------- // GTLRVault_Hold.corpus +/** + * Calendar. + * + * Value: "CALENDAR" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_Hold_Corpus_Calendar; /** * No service specified. * @@ -349,6 +434,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_Hold_Corpus_Voice; * Value: "EXPORT_FORMAT_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRVault_MailExportOptions_ExportFormat_ExportFormatUnspecified; +/** + * Export as ICS. Only available for Calendar. + * + * Value: "ICS" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_MailExportOptions_ExportFormat_Ics; /** * Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice. * @@ -445,6 +536,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_MatterPermission_Role_RoleUnspecif // ---------------------------------------------------------------------------- // GTLRVault_Query.corpus +/** + * Calendar. + * + * Value: "CALENDAR" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_Query_Corpus_Calendar; /** * No service specified. * @@ -637,6 +734,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_Query_SearchMethod_TeamDrive GTLR_ * Value: "EXPORT_FORMAT_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceExportOptions_ExportFormat_ExportFormatUnspecified; +/** + * Export as ICS. Only available for Calendar. + * + * Value: "ICS" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceExportOptions_ExportFormat_Ics; /** * Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice. * @@ -814,6 +917,75 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceOptions_CoveredData_Voicemail @end +/** + * The options for Calendar exports. + */ +@interface GTLRVault_CalendarExportOptions : GTLRObject + +/** + * The file format for exported text messages. + * + * Likely values: + * @arg @c kGTLRVault_CalendarExportOptions_ExportFormat_ExportFormatUnspecified + * No export format specified. (Value: "EXPORT_FORMAT_UNSPECIFIED") + * @arg @c kGTLRVault_CalendarExportOptions_ExportFormat_Ics Export as ICS. + * Only available for Calendar. (Value: "ICS") + * @arg @c kGTLRVault_CalendarExportOptions_ExportFormat_Mbox Export as MBOX. + * Only available for Gmail, Groups, Hangouts and Voice. (Value: "MBOX") + * @arg @c kGTLRVault_CalendarExportOptions_ExportFormat_Pst Export as PST. + * Only available for Gmail, Groups, Hangouts, Voice and Calendar. + * (Value: "PST") + */ +@property(nonatomic, copy, nullable) NSString *exportFormat; + +@end + + +/** + * Additional options for Calendar search + */ +@interface GTLRVault_CalendarOptions : GTLRObject + +/** + * Matches only those events whose location contains all of the words in the + * given set. If the string contains quoted phrases, this method only matches + * those events whose location contain the exact phrase. Entries in the set are + * considered in "and". Word splitting example: ["New Zealand"] vs + * ["New","Zealand"] "New Zealand": matched by both "New and better Zealand": + * only matched by the later + */ +@property(nonatomic, strong, nullable) NSArray *locationQuery; + +/** + * Matches only those events that do not contain any of the words in the given + * set in title, description, location, or attendees. Entries in the set are + * considered in "or". + */ +@property(nonatomic, strong, nullable) NSArray *minusWords; + +/** + * Matches only those events whose attendees contain all of the words in the + * given set. Entries in the set are considered in "and". + */ +@property(nonatomic, strong, nullable) NSArray *peopleQuery; + +/** + * Matches only events for which the custodian gave one of these responses. If + * the set is empty or contains ATTENDEE_RESPONSE_UNSPECIFIED there will be no + * filtering on responses. + */ +@property(nonatomic, strong, nullable) NSArray *responseStatuses; + +/** + * Search the current version of the Calendar event, but export the contents of + * the last version saved before 12:00 AM UTC on the specified date. Enter the + * date in UTC. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *versionDate; + +@end + + /** * The request message for Operations.CancelOperation. */ @@ -1107,6 +1279,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceOptions_CoveredData_Voicemail */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. Identifies the parent export that spawned this child export. + * This is only set on child exports. + */ +@property(nonatomic, copy, nullable) NSString *parentExportId; + /** The query parameters used to create the export. */ @property(nonatomic, strong, nullable) GTLRVault_Query *query; @@ -1139,6 +1317,9 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceOptions_CoveredData_Voicemail */ @interface GTLRVault_ExportOptions : GTLRObject +/** Option available for Calendar export. */ +@property(nonatomic, strong, nullable) GTLRVault_CalendarExportOptions *calendarOptions; + /** Options for Drive exports. */ @property(nonatomic, strong, nullable) GTLRVault_DriveExportOptions *driveOptions; @@ -1247,6 +1428,8 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceOptions_CoveredData_Voicemail * Likely values: * @arg @c kGTLRVault_GroupsExportOptions_ExportFormat_ExportFormatUnspecified * No export format specified. (Value: "EXPORT_FORMAT_UNSPECIFIED") + * @arg @c kGTLRVault_GroupsExportOptions_ExportFormat_Ics Export as ICS. + * Only available for Calendar. (Value: "ICS") * @arg @c kGTLRVault_GroupsExportOptions_ExportFormat_Mbox Export as MBOX. * Only available for Gmail, Groups, Hangouts and Voice. (Value: "MBOX") * @arg @c kGTLRVault_GroupsExportOptions_ExportFormat_Pst Export as PST. @@ -1269,6 +1452,8 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceOptions_CoveredData_Voicemail * Likely values: * @arg @c kGTLRVault_HangoutsChatExportOptions_ExportFormat_ExportFormatUnspecified * No export format specified. (Value: "EXPORT_FORMAT_UNSPECIFIED") + * @arg @c kGTLRVault_HangoutsChatExportOptions_ExportFormat_Ics Export as + * ICS. Only available for Calendar. (Value: "ICS") * @arg @c kGTLRVault_HangoutsChatExportOptions_ExportFormat_Mbox Export as * MBOX. Only available for Gmail, Groups, Hangouts and Voice. (Value: * "MBOX") @@ -1489,6 +1674,7 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceOptions_CoveredData_Voicemail * The service to be searched. * * Likely values: + * @arg @c kGTLRVault_Hold_Corpus_Calendar Calendar. (Value: "CALENDAR") * @arg @c kGTLRVault_Hold_Corpus_CorpusTypeUnspecified No service specified. * (Value: "CORPUS_TYPE_UNSPECIFIED") * @arg @c kGTLRVault_Hold_Corpus_Drive Drive, including Meet and Sites. @@ -1711,6 +1897,8 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceOptions_CoveredData_Voicemail * Likely values: * @arg @c kGTLRVault_MailExportOptions_ExportFormat_ExportFormatUnspecified * No export format specified. (Value: "EXPORT_FORMAT_UNSPECIFIED") + * @arg @c kGTLRVault_MailExportOptions_ExportFormat_Ics Export as ICS. Only + * available for Calendar. (Value: "ICS") * @arg @c kGTLRVault_MailExportOptions_ExportFormat_Mbox Export as MBOX. * Only available for Gmail, Groups, Hangouts and Voice. (Value: "MBOX") * @arg @c kGTLRVault_MailExportOptions_ExportFormat_Pst Export as PST. Only @@ -1719,6 +1907,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceOptions_CoveredData_Voicemail */ @property(nonatomic, copy, nullable) NSString *exportFormat; +/** + * Optional. To enable exporting linked Drive files, set to **true**. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exportLinkedDriveFiles; + /** * To export confidential mode content, set to **true**. * @@ -1952,10 +2147,14 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceOptions_CoveredData_Voicemail /** Required when **SearchMethod** is **ACCOUNT**. */ @property(nonatomic, strong, nullable) GTLRVault_AccountInfo *accountInfo; +/** Set Calendar search-specific options. */ +@property(nonatomic, strong, nullable) GTLRVault_CalendarOptions *calendarOptions; + /** * The Google Workspace service to search. * * Likely values: + * @arg @c kGTLRVault_Query_Corpus_Calendar Calendar. (Value: "CALENDAR") * @arg @c kGTLRVault_Query_Corpus_CorpusTypeUnspecified No service * specified. (Value: "CORPUS_TYPE_UNSPECIFIED") * @arg @c kGTLRVault_Query_Corpus_Drive Drive, including Meet and Sites. @@ -2323,6 +2522,8 @@ GTLR_DEPRECATED * Likely values: * @arg @c kGTLRVault_VoiceExportOptions_ExportFormat_ExportFormatUnspecified * No export format specified. (Value: "EXPORT_FORMAT_UNSPECIFIED") + * @arg @c kGTLRVault_VoiceExportOptions_ExportFormat_Ics Export as ICS. Only + * available for Calendar. (Value: "ICS") * @arg @c kGTLRVault_VoiceExportOptions_ExportFormat_Mbox Export as MBOX. * Only available for Gmail, Groups, Hangouts and Voice. (Value: "MBOX") * @arg @c kGTLRVault_VoiceExportOptions_ExportFormat_Pst Export as PST. Only diff --git a/Sources/GeneratedServices/Vision/Public/GoogleAPIClientForREST/GTLRVisionObjects.h b/Sources/GeneratedServices/Vision/Public/GoogleAPIClientForREST/GTLRVisionObjects.h index 880eb4e58..d1e1f8245 100644 --- a/Sources/GeneratedServices/Vision/Public/GoogleAPIClientForREST/GTLRVisionObjects.h +++ b/Sources/GeneratedServices/Vision/Public/GoogleAPIClientForREST/GTLRVisionObjects.h @@ -6978,7 +6978,9 @@ FOUNDATION_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_Ver @property(nonatomic, copy, nullable) NSString *spoof; /** - * Likelihood that this image contains violent content. + * Likelihood that this image contains violent content. Violent content may + * include death, serious harm, or injury to individuals or groups of + * individuals. * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Violence_Likely @@ -8544,7 +8546,9 @@ FOUNDATION_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_Ver @property(nonatomic, copy, nullable) NSString *spoof; /** - * Likelihood that this image contains violent content. + * Likelihood that this image contains violent content. Violent content may + * include death, serious harm, or injury to individuals or groups of + * individuals. * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Violence_Likely @@ -10204,7 +10208,9 @@ FOUNDATION_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_Ver @property(nonatomic, copy, nullable) NSString *spoof; /** - * Likelihood that this image contains violent content. + * Likelihood that this image contains violent content. Violent content may + * include death, serious harm, or injury to individuals or groups of + * individuals. * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Violence_Likely @@ -11939,7 +11945,9 @@ FOUNDATION_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_Ver @property(nonatomic, copy, nullable) NSString *spoof; /** - * Likelihood that this image contains violent content. + * Likelihood that this image contains violent content. Violent content may + * include death, serious harm, or injury to individuals or groups of + * individuals. * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Violence_Likely @@ -13525,7 +13533,9 @@ FOUNDATION_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_Ver @property(nonatomic, copy, nullable) NSString *spoof; /** - * Likelihood that this image contains violent content. + * Likelihood that this image contains violent content. Violent content may + * include death, serious harm, or injury to individuals or groups of + * individuals. * * Likely values: * @arg @c kGTLRVision_SafeSearchAnnotation_Violence_Likely It is likely. @@ -13749,11 +13759,11 @@ FOUNDATION_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_Ver @interface GTLRVision_WebDetectionParams : GTLRObject /** - * Whether to include results derived from the geo information in the image. + * This field has no effect on results. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *includeGeoResults; +@property(nonatomic, strong, nullable) NSNumber *includeGeoResults GTLR_DEPRECATED; @end diff --git a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m new file mode 100644 index 000000000..06e3b3fea --- /dev/null +++ b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m @@ -0,0 +1,2866 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Wallet API (walletobjects/v1) +// Description: +// API for issuers to save and manage Google Wallet Objects. +// Documentation: +// https://developers.google.com/pay/passes + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRWalletobjects_ActivationStatus.state +NSString * const kGTLRWalletobjects_ActivationStatus_State_Activated = @"activated"; +NSString * const kGTLRWalletobjects_ActivationStatus_State_NotActivated = @"not_activated"; +NSString * const kGTLRWalletobjects_ActivationStatus_State_UnknownState = @"UNKNOWN_STATE"; + +// GTLRWalletobjects_Barcode.renderEncoding +NSString * const kGTLRWalletobjects_Barcode_RenderEncoding_RenderEncodingUnspecified = @"RENDER_ENCODING_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_Barcode_RenderEncoding_Utf8 = @"UTF_8"; + +// GTLRWalletobjects_Barcode.type +NSString * const kGTLRWalletobjects_Barcode_Type_Aztec = @"aztec"; +NSString * const kGTLRWalletobjects_Barcode_Type_BarcodeTypeUnspecified = @"BARCODE_TYPE_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_Barcode_Type_Codabar = @"codabar"; +NSString * const kGTLRWalletobjects_Barcode_Type_Code128 = @"code128"; +NSString * const kGTLRWalletobjects_Barcode_Type_Code39 = @"code39"; +NSString * const kGTLRWalletobjects_Barcode_Type_DataMatrix = @"dataMatrix"; +NSString * const kGTLRWalletobjects_Barcode_Type_Ean13 = @"EAN13"; +NSString * const kGTLRWalletobjects_Barcode_Type_Ean8 = @"ean8"; +NSString * const kGTLRWalletobjects_Barcode_Type_Itf14 = @"itf14"; +NSString * const kGTLRWalletobjects_Barcode_Type_Pdf417 = @"PDF417"; +NSString * const kGTLRWalletobjects_Barcode_Type_Qrcode = @"qrcode"; +NSString * const kGTLRWalletobjects_Barcode_Type_QrCode = @"qrCode"; +NSString * const kGTLRWalletobjects_Barcode_Type_TextOnly = @"textOnly"; +NSString * const kGTLRWalletobjects_Barcode_Type_UpcA = @"upcA"; + +// GTLRWalletobjects_BoardingAndSeatingInfo.boardingDoor +NSString * const kGTLRWalletobjects_BoardingAndSeatingInfo_BoardingDoor_Back = @"back"; +NSString * const kGTLRWalletobjects_BoardingAndSeatingInfo_BoardingDoor_BoardingDoorUnspecified = @"BOARDING_DOOR_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_BoardingAndSeatingInfo_BoardingDoor_Front = @"front"; + +// GTLRWalletobjects_BoardingAndSeatingPolicy.boardingPolicy +NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_BoardingPolicy_BoardingPolicyOther = @"boardingPolicyOther"; +NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_BoardingPolicy_BoardingPolicyUnspecified = @"BOARDING_POLICY_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_BoardingPolicy_GroupBased = @"groupBased"; +NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_BoardingPolicy_ZoneBased = @"zoneBased"; + +// GTLRWalletobjects_BoardingAndSeatingPolicy.seatClassPolicy +NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_CabinBased = @"cabinBased"; +NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_ClassBased = @"classBased"; +NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_SeatClassPolicyOther = @"seatClassPolicyOther"; +NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_SeatClassPolicyUnspecified = @"SEAT_CLASS_POLICY_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_TierBased = @"tierBased"; + +// GTLRWalletobjects_CompositeMedia.referenceType +NSString * const kGTLRWalletobjects_CompositeMedia_ReferenceType_BigstoreRef = @"BIGSTORE_REF"; +NSString * const kGTLRWalletobjects_CompositeMedia_ReferenceType_BlobRef = @"BLOB_REF"; +NSString * const kGTLRWalletobjects_CompositeMedia_ReferenceType_CosmoBinaryReference = @"COSMO_BINARY_REFERENCE"; +NSString * const kGTLRWalletobjects_CompositeMedia_ReferenceType_Inline = @"INLINE"; +NSString * const kGTLRWalletobjects_CompositeMedia_ReferenceType_Path = @"PATH"; + +// GTLRWalletobjects_DiscoverableProgram.state +NSString * const kGTLRWalletobjects_DiscoverableProgram_State_Disabled = @"disabled"; +NSString * const kGTLRWalletobjects_DiscoverableProgram_State_Live = @"live"; +NSString * const kGTLRWalletobjects_DiscoverableProgram_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_DiscoverableProgram_State_TrustedTesters = @"trustedTesters"; + +// GTLRWalletobjects_DiscoverableProgramMerchantSignupInfo.signupSharedDatas +NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_AddressLine1 = @"ADDRESS_LINE_1"; +NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_AddressLine2 = @"ADDRESS_LINE_2"; +NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_AddressLine3 = @"ADDRESS_LINE_3"; +NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_City = @"CITY"; +NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_Country = @"COUNTRY"; +NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_Email = @"EMAIL"; +NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_FirstName = @"FIRST_NAME"; +NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_LastName = @"LAST_NAME"; +NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_Phone = @"PHONE"; +NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_SharedDataTypeUnspecified = @"SHARED_DATA_TYPE_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_State = @"STATE"; +NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_StreetAddress = @"STREET_ADDRESS"; +NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_Zipcode = @"ZIPCODE"; + +// GTLRWalletobjects_EventDateTime.doorsOpenLabel +NSString * const kGTLRWalletobjects_EventDateTime_DoorsOpenLabel_DoorsOpen = @"doorsOpen"; +NSString * const kGTLRWalletobjects_EventDateTime_DoorsOpenLabel_DoorsOpenLabelUnspecified = @"DOORS_OPEN_LABEL_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_EventDateTime_DoorsOpenLabel_GatesOpen = @"gatesOpen"; + +// GTLRWalletobjects_EventTicketClass.confirmationCodeLabel +NSString * const kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_ConfirmationCode = @"confirmationCode"; +NSString * const kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_ConfirmationCodeLabelUnspecified = @"CONFIRMATION_CODE_LABEL_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_ConfirmationNumber = @"confirmationNumber"; +NSString * const kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_OrderNumber = @"orderNumber"; +NSString * const kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_ReservationNumber = @"reservationNumber"; + +// GTLRWalletobjects_EventTicketClass.gateLabel +NSString * const kGTLRWalletobjects_EventTicketClass_GateLabel_Door = @"door"; +NSString * const kGTLRWalletobjects_EventTicketClass_GateLabel_Entrance = @"entrance"; +NSString * const kGTLRWalletobjects_EventTicketClass_GateLabel_Gate = @"gate"; +NSString * const kGTLRWalletobjects_EventTicketClass_GateLabel_GateLabelUnspecified = @"GATE_LABEL_UNSPECIFIED"; + +// GTLRWalletobjects_EventTicketClass.multipleDevicesAndHoldersAllowedStatus +NSString * const kGTLRWalletobjects_EventTicketClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders = @"multipleHolders"; +NSString * const kGTLRWalletobjects_EventTicketClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices = @"oneUserAllDevices"; +NSString * const kGTLRWalletobjects_EventTicketClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice = @"oneUserOneDevice"; +NSString * const kGTLRWalletobjects_EventTicketClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified = @"STATUS_UNSPECIFIED"; + +// GTLRWalletobjects_EventTicketClass.reviewStatus +NSString * const kGTLRWalletobjects_EventTicketClass_ReviewStatus_Approved = @"approved"; +NSString * const kGTLRWalletobjects_EventTicketClass_ReviewStatus_Draft = @"draft"; +NSString * const kGTLRWalletobjects_EventTicketClass_ReviewStatus_Rejected = @"rejected"; +NSString * const kGTLRWalletobjects_EventTicketClass_ReviewStatus_ReviewStatusUnspecified = @"REVIEW_STATUS_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_EventTicketClass_ReviewStatus_UnderReview = @"underReview"; + +// GTLRWalletobjects_EventTicketClass.rowLabel +NSString * const kGTLRWalletobjects_EventTicketClass_RowLabel_Row = @"row"; +NSString * const kGTLRWalletobjects_EventTicketClass_RowLabel_RowLabelUnspecified = @"ROW_LABEL_UNSPECIFIED"; + +// GTLRWalletobjects_EventTicketClass.seatLabel +NSString * const kGTLRWalletobjects_EventTicketClass_SeatLabel_Seat = @"seat"; +NSString * const kGTLRWalletobjects_EventTicketClass_SeatLabel_SeatLabelUnspecified = @"SEAT_LABEL_UNSPECIFIED"; + +// GTLRWalletobjects_EventTicketClass.sectionLabel +NSString * const kGTLRWalletobjects_EventTicketClass_SectionLabel_Section = @"section"; +NSString * const kGTLRWalletobjects_EventTicketClass_SectionLabel_SectionLabelUnspecified = @"SECTION_LABEL_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_EventTicketClass_SectionLabel_Theater = @"theater"; + +// GTLRWalletobjects_EventTicketClass.viewUnlockRequirement +NSString * const kGTLRWalletobjects_EventTicketClass_ViewUnlockRequirement_UnlockNotRequired = @"UNLOCK_NOT_REQUIRED"; +NSString * const kGTLRWalletobjects_EventTicketClass_ViewUnlockRequirement_UnlockRequiredToView = @"UNLOCK_REQUIRED_TO_VIEW"; +NSString * const kGTLRWalletobjects_EventTicketClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified = @"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED"; + +// GTLRWalletobjects_EventTicketObject.state +NSString * const kGTLRWalletobjects_EventTicketObject_State_Active = @"active"; +NSString * const kGTLRWalletobjects_EventTicketObject_State_Completed = @"completed"; +NSString * const kGTLRWalletobjects_EventTicketObject_State_Expired = @"expired"; +NSString * const kGTLRWalletobjects_EventTicketObject_State_Inactive = @"inactive"; +NSString * const kGTLRWalletobjects_EventTicketObject_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRWalletobjects_FieldReference.dateFormat +NSString * const kGTLRWalletobjects_FieldReference_DateFormat_DateFormatUnspecified = @"DATE_FORMAT_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_FieldReference_DateFormat_DateOnly = @"dateOnly"; +NSString * const kGTLRWalletobjects_FieldReference_DateFormat_DateTime = @"dateTime"; +NSString * const kGTLRWalletobjects_FieldReference_DateFormat_DateTimeYear = @"dateTimeYear"; +NSString * const kGTLRWalletobjects_FieldReference_DateFormat_DateYear = @"dateYear"; +NSString * const kGTLRWalletobjects_FieldReference_DateFormat_TimeOnly = @"timeOnly"; +NSString * const kGTLRWalletobjects_FieldReference_DateFormat_YearMonth = @"YEAR_MONTH"; +NSString * const kGTLRWalletobjects_FieldReference_DateFormat_YearMonthDay = @"YEAR_MONTH_DAY"; + +// GTLRWalletobjects_FirstRowOption.transitOption +NSString * const kGTLRWalletobjects_FirstRowOption_TransitOption_OriginAndDestinationCodes = @"originAndDestinationCodes"; +NSString * const kGTLRWalletobjects_FirstRowOption_TransitOption_OriginAndDestinationNames = @"originAndDestinationNames"; +NSString * const kGTLRWalletobjects_FirstRowOption_TransitOption_OriginName = @"originName"; +NSString * const kGTLRWalletobjects_FirstRowOption_TransitOption_TransitOptionUnspecified = @"TRANSIT_OPTION_UNSPECIFIED"; + +// GTLRWalletobjects_FlightClass.flightStatus +NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_Active = @"active"; +NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_Cancelled = @"cancelled"; +NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_Diverted = @"diverted"; +NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_FlightStatusUnspecified = @"FLIGHT_STATUS_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_Landed = @"landed"; +NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_Redirected = @"redirected"; +NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_Scheduled = @"scheduled"; + +// GTLRWalletobjects_FlightClass.multipleDevicesAndHoldersAllowedStatus +NSString * const kGTLRWalletobjects_FlightClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders = @"multipleHolders"; +NSString * const kGTLRWalletobjects_FlightClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices = @"oneUserAllDevices"; +NSString * const kGTLRWalletobjects_FlightClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice = @"oneUserOneDevice"; +NSString * const kGTLRWalletobjects_FlightClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified = @"STATUS_UNSPECIFIED"; + +// GTLRWalletobjects_FlightClass.reviewStatus +NSString * const kGTLRWalletobjects_FlightClass_ReviewStatus_Approved = @"approved"; +NSString * const kGTLRWalletobjects_FlightClass_ReviewStatus_Draft = @"draft"; +NSString * const kGTLRWalletobjects_FlightClass_ReviewStatus_Rejected = @"rejected"; +NSString * const kGTLRWalletobjects_FlightClass_ReviewStatus_ReviewStatusUnspecified = @"REVIEW_STATUS_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_FlightClass_ReviewStatus_UnderReview = @"underReview"; + +// GTLRWalletobjects_FlightClass.viewUnlockRequirement +NSString * const kGTLRWalletobjects_FlightClass_ViewUnlockRequirement_UnlockNotRequired = @"UNLOCK_NOT_REQUIRED"; +NSString * const kGTLRWalletobjects_FlightClass_ViewUnlockRequirement_UnlockRequiredToView = @"UNLOCK_REQUIRED_TO_VIEW"; +NSString * const kGTLRWalletobjects_FlightClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified = @"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED"; + +// GTLRWalletobjects_FlightObject.state +NSString * const kGTLRWalletobjects_FlightObject_State_Active = @"active"; +NSString * const kGTLRWalletobjects_FlightObject_State_Completed = @"completed"; +NSString * const kGTLRWalletobjects_FlightObject_State_Expired = @"expired"; +NSString * const kGTLRWalletobjects_FlightObject_State_Inactive = @"inactive"; +NSString * const kGTLRWalletobjects_FlightObject_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRWalletobjects_GenericClass.multipleDevicesAndHoldersAllowedStatus +NSString * const kGTLRWalletobjects_GenericClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders = @"multipleHolders"; +NSString * const kGTLRWalletobjects_GenericClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices = @"oneUserAllDevices"; +NSString * const kGTLRWalletobjects_GenericClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice = @"oneUserOneDevice"; +NSString * const kGTLRWalletobjects_GenericClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified = @"STATUS_UNSPECIFIED"; + +// GTLRWalletobjects_GenericClass.viewUnlockRequirement +NSString * const kGTLRWalletobjects_GenericClass_ViewUnlockRequirement_UnlockNotRequired = @"UNLOCK_NOT_REQUIRED"; +NSString * const kGTLRWalletobjects_GenericClass_ViewUnlockRequirement_UnlockRequiredToView = @"UNLOCK_REQUIRED_TO_VIEW"; +NSString * const kGTLRWalletobjects_GenericClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified = @"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED"; + +// GTLRWalletobjects_GenericObject.genericType +NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericAutoInsurance = @"GENERIC_AUTO_INSURANCE"; +NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericEntryTicket = @"GENERIC_ENTRY_TICKET"; +NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericGymMembership = @"GENERIC_GYM_MEMBERSHIP"; +NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericHomeInsurance = @"GENERIC_HOME_INSURANCE"; +NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericLibraryMembership = @"GENERIC_LIBRARY_MEMBERSHIP"; +NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericOther = @"GENERIC_OTHER"; +NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericParkingPass = @"GENERIC_PARKING_PASS"; +NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericReceipt = @"GENERIC_RECEIPT"; +NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericReservations = @"GENERIC_RESERVATIONS"; +NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericSeasonPass = @"GENERIC_SEASON_PASS"; +NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericTypeUnspecified = @"GENERIC_TYPE_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericUtilityBills = @"GENERIC_UTILITY_BILLS"; +NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericVoucher = @"GENERIC_VOUCHER"; + +// GTLRWalletobjects_GenericObject.state +NSString * const kGTLRWalletobjects_GenericObject_State_Active = @"active"; +NSString * const kGTLRWalletobjects_GenericObject_State_Completed = @"completed"; +NSString * const kGTLRWalletobjects_GenericObject_State_Expired = @"expired"; +NSString * const kGTLRWalletobjects_GenericObject_State_Inactive = @"inactive"; +NSString * const kGTLRWalletobjects_GenericObject_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRWalletobjects_GiftCardClass.multipleDevicesAndHoldersAllowedStatus +NSString * const kGTLRWalletobjects_GiftCardClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders = @"multipleHolders"; +NSString * const kGTLRWalletobjects_GiftCardClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices = @"oneUserAllDevices"; +NSString * const kGTLRWalletobjects_GiftCardClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice = @"oneUserOneDevice"; +NSString * const kGTLRWalletobjects_GiftCardClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified = @"STATUS_UNSPECIFIED"; + +// GTLRWalletobjects_GiftCardClass.reviewStatus +NSString * const kGTLRWalletobjects_GiftCardClass_ReviewStatus_Approved = @"approved"; +NSString * const kGTLRWalletobjects_GiftCardClass_ReviewStatus_Draft = @"draft"; +NSString * const kGTLRWalletobjects_GiftCardClass_ReviewStatus_Rejected = @"rejected"; +NSString * const kGTLRWalletobjects_GiftCardClass_ReviewStatus_ReviewStatusUnspecified = @"REVIEW_STATUS_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_GiftCardClass_ReviewStatus_UnderReview = @"underReview"; + +// GTLRWalletobjects_GiftCardClass.viewUnlockRequirement +NSString * const kGTLRWalletobjects_GiftCardClass_ViewUnlockRequirement_UnlockNotRequired = @"UNLOCK_NOT_REQUIRED"; +NSString * const kGTLRWalletobjects_GiftCardClass_ViewUnlockRequirement_UnlockRequiredToView = @"UNLOCK_REQUIRED_TO_VIEW"; +NSString * const kGTLRWalletobjects_GiftCardClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified = @"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED"; + +// GTLRWalletobjects_GiftCardObject.state +NSString * const kGTLRWalletobjects_GiftCardObject_State_Active = @"active"; +NSString * const kGTLRWalletobjects_GiftCardObject_State_Completed = @"completed"; +NSString * const kGTLRWalletobjects_GiftCardObject_State_Expired = @"expired"; +NSString * const kGTLRWalletobjects_GiftCardObject_State_Inactive = @"inactive"; +NSString * const kGTLRWalletobjects_GiftCardObject_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRWalletobjects_IssuerToUserInfo.action +NSString * const kGTLRWalletobjects_IssuerToUserInfo_Action_ActionUnspecified = @"ACTION_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_IssuerToUserInfo_Action_S2ap = @"s2ap"; +NSString * const kGTLRWalletobjects_IssuerToUserInfo_Action_SignUp = @"signUp"; + +// GTLRWalletobjects_LoyaltyClass.multipleDevicesAndHoldersAllowedStatus +NSString * const kGTLRWalletobjects_LoyaltyClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders = @"multipleHolders"; +NSString * const kGTLRWalletobjects_LoyaltyClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices = @"oneUserAllDevices"; +NSString * const kGTLRWalletobjects_LoyaltyClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice = @"oneUserOneDevice"; +NSString * const kGTLRWalletobjects_LoyaltyClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified = @"STATUS_UNSPECIFIED"; + +// GTLRWalletobjects_LoyaltyClass.reviewStatus +NSString * const kGTLRWalletobjects_LoyaltyClass_ReviewStatus_Approved = @"approved"; +NSString * const kGTLRWalletobjects_LoyaltyClass_ReviewStatus_Draft = @"draft"; +NSString * const kGTLRWalletobjects_LoyaltyClass_ReviewStatus_Rejected = @"rejected"; +NSString * const kGTLRWalletobjects_LoyaltyClass_ReviewStatus_ReviewStatusUnspecified = @"REVIEW_STATUS_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_LoyaltyClass_ReviewStatus_UnderReview = @"underReview"; + +// GTLRWalletobjects_LoyaltyClass.viewUnlockRequirement +NSString * const kGTLRWalletobjects_LoyaltyClass_ViewUnlockRequirement_UnlockNotRequired = @"UNLOCK_NOT_REQUIRED"; +NSString * const kGTLRWalletobjects_LoyaltyClass_ViewUnlockRequirement_UnlockRequiredToView = @"UNLOCK_REQUIRED_TO_VIEW"; +NSString * const kGTLRWalletobjects_LoyaltyClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified = @"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED"; + +// GTLRWalletobjects_LoyaltyObject.state +NSString * const kGTLRWalletobjects_LoyaltyObject_State_Active = @"active"; +NSString * const kGTLRWalletobjects_LoyaltyObject_State_Completed = @"completed"; +NSString * const kGTLRWalletobjects_LoyaltyObject_State_Expired = @"expired"; +NSString * const kGTLRWalletobjects_LoyaltyObject_State_Inactive = @"inactive"; +NSString * const kGTLRWalletobjects_LoyaltyObject_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRWalletobjects_Media.referenceType +NSString * const kGTLRWalletobjects_Media_ReferenceType_ArbitraryBytes = @"ARBITRARY_BYTES"; +NSString * const kGTLRWalletobjects_Media_ReferenceType_BigstoreRef = @"BIGSTORE_REF"; +NSString * const kGTLRWalletobjects_Media_ReferenceType_BlobRef = @"BLOB_REF"; +NSString * const kGTLRWalletobjects_Media_ReferenceType_CompositeMedia = @"COMPOSITE_MEDIA"; +NSString * const kGTLRWalletobjects_Media_ReferenceType_CosmoBinaryReference = @"COSMO_BINARY_REFERENCE"; +NSString * const kGTLRWalletobjects_Media_ReferenceType_DiffChecksumsResponse = @"DIFF_CHECKSUMS_RESPONSE"; +NSString * const kGTLRWalletobjects_Media_ReferenceType_DiffDownloadResponse = @"DIFF_DOWNLOAD_RESPONSE"; +NSString * const kGTLRWalletobjects_Media_ReferenceType_DiffUploadRequest = @"DIFF_UPLOAD_REQUEST"; +NSString * const kGTLRWalletobjects_Media_ReferenceType_DiffUploadResponse = @"DIFF_UPLOAD_RESPONSE"; +NSString * const kGTLRWalletobjects_Media_ReferenceType_DiffVersionResponse = @"DIFF_VERSION_RESPONSE"; +NSString * const kGTLRWalletobjects_Media_ReferenceType_GetMedia = @"GET_MEDIA"; +NSString * const kGTLRWalletobjects_Media_ReferenceType_Inline = @"INLINE"; +NSString * const kGTLRWalletobjects_Media_ReferenceType_Path = @"PATH"; + +// GTLRWalletobjects_MediaRequestInfo.notificationType +NSString * const kGTLRWalletobjects_MediaRequestInfo_NotificationType_End = @"END"; +NSString * const kGTLRWalletobjects_MediaRequestInfo_NotificationType_Error = @"ERROR"; +NSString * const kGTLRWalletobjects_MediaRequestInfo_NotificationType_Progress = @"PROGRESS"; +NSString * const kGTLRWalletobjects_MediaRequestInfo_NotificationType_ResponseSent = @"RESPONSE_SENT"; +NSString * const kGTLRWalletobjects_MediaRequestInfo_NotificationType_Start = @"START"; + +// GTLRWalletobjects_Message.messageType +NSString * const kGTLRWalletobjects_Message_MessageType_ExpirationNotification = @"expirationNotification"; +NSString * const kGTLRWalletobjects_Message_MessageType_MessageTypeUnspecified = @"MESSAGE_TYPE_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_Message_MessageType_Text = @"text"; + +// GTLRWalletobjects_OfferClass.multipleDevicesAndHoldersAllowedStatus +NSString * const kGTLRWalletobjects_OfferClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders = @"multipleHolders"; +NSString * const kGTLRWalletobjects_OfferClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices = @"oneUserAllDevices"; +NSString * const kGTLRWalletobjects_OfferClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice = @"oneUserOneDevice"; +NSString * const kGTLRWalletobjects_OfferClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified = @"STATUS_UNSPECIFIED"; + +// GTLRWalletobjects_OfferClass.redemptionChannel +NSString * const kGTLRWalletobjects_OfferClass_RedemptionChannel_Both = @"both"; +NSString * const kGTLRWalletobjects_OfferClass_RedemptionChannel_Instore = @"instore"; +NSString * const kGTLRWalletobjects_OfferClass_RedemptionChannel_Online = @"online"; +NSString * const kGTLRWalletobjects_OfferClass_RedemptionChannel_RedemptionChannelUnspecified = @"REDEMPTION_CHANNEL_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_OfferClass_RedemptionChannel_TemporaryPriceReduction = @"temporaryPriceReduction"; + +// GTLRWalletobjects_OfferClass.reviewStatus +NSString * const kGTLRWalletobjects_OfferClass_ReviewStatus_Approved = @"approved"; +NSString * const kGTLRWalletobjects_OfferClass_ReviewStatus_Draft = @"draft"; +NSString * const kGTLRWalletobjects_OfferClass_ReviewStatus_Rejected = @"rejected"; +NSString * const kGTLRWalletobjects_OfferClass_ReviewStatus_ReviewStatusUnspecified = @"REVIEW_STATUS_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_OfferClass_ReviewStatus_UnderReview = @"underReview"; + +// GTLRWalletobjects_OfferClass.viewUnlockRequirement +NSString * const kGTLRWalletobjects_OfferClass_ViewUnlockRequirement_UnlockNotRequired = @"UNLOCK_NOT_REQUIRED"; +NSString * const kGTLRWalletobjects_OfferClass_ViewUnlockRequirement_UnlockRequiredToView = @"UNLOCK_REQUIRED_TO_VIEW"; +NSString * const kGTLRWalletobjects_OfferClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified = @"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED"; + +// GTLRWalletobjects_OfferObject.state +NSString * const kGTLRWalletobjects_OfferObject_State_Active = @"active"; +NSString * const kGTLRWalletobjects_OfferObject_State_Completed = @"completed"; +NSString * const kGTLRWalletobjects_OfferObject_State_Expired = @"expired"; +NSString * const kGTLRWalletobjects_OfferObject_State_Inactive = @"inactive"; +NSString * const kGTLRWalletobjects_OfferObject_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRWalletobjects_PassConstraints.nfcConstraint +NSString * const kGTLRWalletobjects_PassConstraints_NfcConstraint_BlockClosedLoopTransit = @"BLOCK_CLOSED_LOOP_TRANSIT"; +NSString * const kGTLRWalletobjects_PassConstraints_NfcConstraint_BlockPayment = @"BLOCK_PAYMENT"; +NSString * const kGTLRWalletobjects_PassConstraints_NfcConstraint_NfcConstraintUnspecified = @"NFC_CONSTRAINT_UNSPECIFIED"; + +// GTLRWalletobjects_PassConstraints.screenshotEligibility +NSString * const kGTLRWalletobjects_PassConstraints_ScreenshotEligibility_Eligible = @"ELIGIBLE"; +NSString * const kGTLRWalletobjects_PassConstraints_ScreenshotEligibility_Ineligible = @"INELIGIBLE"; +NSString * const kGTLRWalletobjects_PassConstraints_ScreenshotEligibility_ScreenshotEligibilityUnspecified = @"SCREENSHOT_ELIGIBILITY_UNSPECIFIED"; + +// GTLRWalletobjects_Permission.role +NSString * const kGTLRWalletobjects_Permission_Role_Owner = @"owner"; +NSString * const kGTLRWalletobjects_Permission_Role_Reader = @"reader"; +NSString * const kGTLRWalletobjects_Permission_Role_RoleUnspecified = @"ROLE_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_Permission_Role_Writer = @"writer"; + +// GTLRWalletobjects_RotatingBarcode.renderEncoding +NSString * const kGTLRWalletobjects_RotatingBarcode_RenderEncoding_RenderEncodingUnspecified = @"RENDER_ENCODING_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_RotatingBarcode_RenderEncoding_Utf8 = @"UTF_8"; + +// GTLRWalletobjects_RotatingBarcode.type +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Aztec = @"aztec"; +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_BarcodeTypeUnspecified = @"BARCODE_TYPE_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Codabar = @"codabar"; +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Code128 = @"code128"; +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Code39 = @"code39"; +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_DataMatrix = @"dataMatrix"; +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Ean13 = @"EAN13"; +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Ean8 = @"ean8"; +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Itf14 = @"itf14"; +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Pdf417 = @"PDF417"; +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Qrcode = @"qrcode"; +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_QrCode = @"qrCode"; +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_TextOnly = @"textOnly"; +NSString * const kGTLRWalletobjects_RotatingBarcode_Type_UpcA = @"upcA"; + +// GTLRWalletobjects_RotatingBarcodeTotpDetails.algorithm +NSString * const kGTLRWalletobjects_RotatingBarcodeTotpDetails_Algorithm_TotpAlgorithmUnspecified = @"TOTP_ALGORITHM_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_RotatingBarcodeTotpDetails_Algorithm_TotpSha1 = @"TOTP_SHA1"; + +// GTLRWalletobjects_SecurityAnimation.animationType +NSString * const kGTLRWalletobjects_SecurityAnimation_AnimationType_AnimationUnspecified = @"ANIMATION_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_SecurityAnimation_AnimationType_FoilShimmer = @"foilShimmer"; + +// GTLRWalletobjects_TemplateItem.predefinedItem +NSString * const kGTLRWalletobjects_TemplateItem_PredefinedItem_FlightNumberAndOperatingFlightNumber = @"flightNumberAndOperatingFlightNumber"; +NSString * const kGTLRWalletobjects_TemplateItem_PredefinedItem_FrequentFlyerProgramNameAndNumber = @"frequentFlyerProgramNameAndNumber"; +NSString * const kGTLRWalletobjects_TemplateItem_PredefinedItem_PredefinedItemUnspecified = @"PREDEFINED_ITEM_UNSPECIFIED"; + +// GTLRWalletobjects_TicketSeat.fareClass +NSString * const kGTLRWalletobjects_TicketSeat_FareClass_Business = @"business"; +NSString * const kGTLRWalletobjects_TicketSeat_FareClass_Economy = @"economy"; +NSString * const kGTLRWalletobjects_TicketSeat_FareClass_FareClassUnspecified = @"FARE_CLASS_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_TicketSeat_FareClass_First = @"first"; + +// GTLRWalletobjects_TransitClass.multipleDevicesAndHoldersAllowedStatus +NSString * const kGTLRWalletobjects_TransitClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders = @"multipleHolders"; +NSString * const kGTLRWalletobjects_TransitClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices = @"oneUserAllDevices"; +NSString * const kGTLRWalletobjects_TransitClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice = @"oneUserOneDevice"; +NSString * const kGTLRWalletobjects_TransitClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified = @"STATUS_UNSPECIFIED"; + +// GTLRWalletobjects_TransitClass.reviewStatus +NSString * const kGTLRWalletobjects_TransitClass_ReviewStatus_Approved = @"approved"; +NSString * const kGTLRWalletobjects_TransitClass_ReviewStatus_Draft = @"draft"; +NSString * const kGTLRWalletobjects_TransitClass_ReviewStatus_Rejected = @"rejected"; +NSString * const kGTLRWalletobjects_TransitClass_ReviewStatus_ReviewStatusUnspecified = @"REVIEW_STATUS_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_TransitClass_ReviewStatus_UnderReview = @"underReview"; + +// GTLRWalletobjects_TransitClass.transitType +NSString * const kGTLRWalletobjects_TransitClass_TransitType_Bus = @"bus"; +NSString * const kGTLRWalletobjects_TransitClass_TransitType_Ferry = @"ferry"; +NSString * const kGTLRWalletobjects_TransitClass_TransitType_Other = @"other"; +NSString * const kGTLRWalletobjects_TransitClass_TransitType_Rail = @"rail"; +NSString * const kGTLRWalletobjects_TransitClass_TransitType_Tram = @"tram"; +NSString * const kGTLRWalletobjects_TransitClass_TransitType_TransitTypeUnspecified = @"TRANSIT_TYPE_UNSPECIFIED"; + +// GTLRWalletobjects_TransitClass.viewUnlockRequirement +NSString * const kGTLRWalletobjects_TransitClass_ViewUnlockRequirement_UnlockNotRequired = @"UNLOCK_NOT_REQUIRED"; +NSString * const kGTLRWalletobjects_TransitClass_ViewUnlockRequirement_UnlockRequiredToView = @"UNLOCK_REQUIRED_TO_VIEW"; +NSString * const kGTLRWalletobjects_TransitClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified = @"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED"; + +// GTLRWalletobjects_TransitObject.concessionCategory +NSString * const kGTLRWalletobjects_TransitObject_ConcessionCategory_Adult = @"adult"; +NSString * const kGTLRWalletobjects_TransitObject_ConcessionCategory_Child = @"child"; +NSString * const kGTLRWalletobjects_TransitObject_ConcessionCategory_ConcessionCategoryUnspecified = @"CONCESSION_CATEGORY_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_TransitObject_ConcessionCategory_Senior = @"senior"; + +// GTLRWalletobjects_TransitObject.passengerType +NSString * const kGTLRWalletobjects_TransitObject_PassengerType_MultiplePassengers = @"multiplePassengers"; +NSString * const kGTLRWalletobjects_TransitObject_PassengerType_PassengerTypeUnspecified = @"PASSENGER_TYPE_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_TransitObject_PassengerType_SinglePassenger = @"singlePassenger"; + +// GTLRWalletobjects_TransitObject.state +NSString * const kGTLRWalletobjects_TransitObject_State_Active = @"active"; +NSString * const kGTLRWalletobjects_TransitObject_State_Completed = @"completed"; +NSString * const kGTLRWalletobjects_TransitObject_State_Expired = @"expired"; +NSString * const kGTLRWalletobjects_TransitObject_State_Inactive = @"inactive"; +NSString * const kGTLRWalletobjects_TransitObject_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRWalletobjects_TransitObject.ticketStatus +NSString * const kGTLRWalletobjects_TransitObject_TicketStatus_Exchanged = @"exchanged"; +NSString * const kGTLRWalletobjects_TransitObject_TicketStatus_Refunded = @"refunded"; +NSString * const kGTLRWalletobjects_TransitObject_TicketStatus_TicketStatusUnspecified = @"TICKET_STATUS_UNSPECIFIED"; +NSString * const kGTLRWalletobjects_TransitObject_TicketStatus_Used = @"used"; + +// GTLRWalletobjects_TransitObject.tripType +NSString * const kGTLRWalletobjects_TransitObject_TripType_OneWay = @"oneWay"; +NSString * const kGTLRWalletobjects_TransitObject_TripType_RoundTrip = @"roundTrip"; +NSString * const kGTLRWalletobjects_TransitObject_TripType_TripTypeUnspecified = @"TRIP_TYPE_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_ActivationOptions +// + +@implementation GTLRWalletobjects_ActivationOptions +@dynamic activationUrl, allowReactivation; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_ActivationStatus +// + +@implementation GTLRWalletobjects_ActivationStatus +@dynamic state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_AddMessageRequest +// + +@implementation GTLRWalletobjects_AddMessageRequest +@dynamic message; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_AirportInfo +// + +@implementation GTLRWalletobjects_AirportInfo +@dynamic airportIataCode, airportNameOverride, gate, kind, terminal; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_AppLinkData +// + +@implementation GTLRWalletobjects_AppLinkData +@dynamic androidAppLinkInfo, iosAppLinkInfo, webAppLinkInfo; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_AppLinkDataAppLinkInfo +// + +@implementation GTLRWalletobjects_AppLinkDataAppLinkInfo +@dynamic appLogoImage, appTarget, descriptionProperty, title; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_AppLinkDataAppLinkInfoAppTarget +// + +@implementation GTLRWalletobjects_AppLinkDataAppLinkInfoAppTarget +@dynamic targetUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_AuthenticationKey +// + +@implementation GTLRWalletobjects_AuthenticationKey +@dynamic identifier, publicKeyPem; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Barcode +// + +@implementation GTLRWalletobjects_Barcode +@dynamic alternateText, kind, renderEncoding, showCodeText, type, value; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_BarcodeSectionDetail +// + +@implementation GTLRWalletobjects_BarcodeSectionDetail +@dynamic fieldSelector; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Blobstore2Info +// + +@implementation GTLRWalletobjects_Blobstore2Info +@dynamic blobGeneration, blobId, downloadReadHandle, readToken, + uploadMetadataContainer; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_BoardingAndSeatingInfo +// + +@implementation GTLRWalletobjects_BoardingAndSeatingInfo +@dynamic boardingDoor, boardingGroup, boardingPosition, boardingPrivilegeImage, + kind, seatAssignment, seatClass, seatNumber, sequenceNumber; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_BoardingAndSeatingPolicy +// + +@implementation GTLRWalletobjects_BoardingAndSeatingPolicy +@dynamic boardingPolicy, kind, seatClassPolicy; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_CallbackOptions +// + +@implementation GTLRWalletobjects_CallbackOptions +@dynamic updateRequestUrl, url; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_CardBarcodeSectionDetails +// + +@implementation GTLRWalletobjects_CardBarcodeSectionDetails +@dynamic firstBottomDetail, firstTopDetail, secondTopDetail; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_CardRowOneItem +// + +@implementation GTLRWalletobjects_CardRowOneItem +@dynamic item; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_CardRowTemplateInfo +// + +@implementation GTLRWalletobjects_CardRowTemplateInfo +@dynamic oneItem, threeItems, twoItems; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_CardRowThreeItems +// + +@implementation GTLRWalletobjects_CardRowThreeItems +@dynamic endItem, middleItem, startItem; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_CardRowTwoItems +// + +@implementation GTLRWalletobjects_CardRowTwoItems +@dynamic endItem, startItem; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_CardTemplateOverride +// + +@implementation GTLRWalletobjects_CardTemplateOverride +@dynamic cardRowTemplateInfos; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"cardRowTemplateInfos" : [GTLRWalletobjects_CardRowTemplateInfo class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_ClassTemplateInfo +// + +@implementation GTLRWalletobjects_ClassTemplateInfo +@dynamic cardBarcodeSectionDetails, cardTemplateOverride, + detailsTemplateOverride, listTemplateOverride; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_CompositeMedia +// + +@implementation GTLRWalletobjects_CompositeMedia +@dynamic blobRef, blobstore2Info, cosmoBinaryReference, crc32cHash, + inlineProperty, length, md5Hash, objectId, path, referenceType, + sha1Hash; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"inlineProperty" : @"inline" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_ContentTypeInfo +// + +@implementation GTLRWalletobjects_ContentTypeInfo +@dynamic bestGuess, fromBytes, fromFileName, fromHeader, fromUrlPath; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_DateTime +// + +@implementation GTLRWalletobjects_DateTime +@dynamic date; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_DetailsItemInfo +// + +@implementation GTLRWalletobjects_DetailsItemInfo +@dynamic item; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_DetailsTemplateOverride +// + +@implementation GTLRWalletobjects_DetailsTemplateOverride +@dynamic detailsItemInfos; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"detailsItemInfos" : [GTLRWalletobjects_DetailsItemInfo class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_DeviceContext +// + +@implementation GTLRWalletobjects_DeviceContext +@dynamic deviceToken; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_DiffChecksumsResponse +// + +@implementation GTLRWalletobjects_DiffChecksumsResponse +@dynamic checksumsLocation, chunkSizeBytes, objectLocation, objectSizeBytes, + objectVersion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_DiffDownloadResponse +// + +@implementation GTLRWalletobjects_DiffDownloadResponse +@dynamic objectLocation; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_DiffUploadRequest +// + +@implementation GTLRWalletobjects_DiffUploadRequest +@dynamic checksumsInfo, objectInfo, objectVersion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_DiffUploadResponse +// + +@implementation GTLRWalletobjects_DiffUploadResponse +@dynamic objectVersion, originalObject; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_DiffVersionResponse +// + +@implementation GTLRWalletobjects_DiffVersionResponse +@dynamic objectSizeBytes, objectVersion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_DiscoverableProgram +// + +@implementation GTLRWalletobjects_DiscoverableProgram +@dynamic merchantSigninInfo, merchantSignupInfo, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_DiscoverableProgramMerchantSigninInfo +// + +@implementation GTLRWalletobjects_DiscoverableProgramMerchantSigninInfo +@dynamic signinWebsite; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_DiscoverableProgramMerchantSignupInfo +// + +@implementation GTLRWalletobjects_DiscoverableProgramMerchantSignupInfo +@dynamic signupSharedDatas, signupWebsite; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"signupSharedDatas" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_DownloadParameters +// + +@implementation GTLRWalletobjects_DownloadParameters +@dynamic allowGzipCompression, ignoreRange; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_EventDateTime +// + +@implementation GTLRWalletobjects_EventDateTime +@dynamic customDoorsOpenLabel, doorsOpen, doorsOpenLabel, end, kind, start; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_EventReservationInfo +// + +@implementation GTLRWalletobjects_EventReservationInfo +@dynamic confirmationCode, kind; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_EventSeat +// + +@implementation GTLRWalletobjects_EventSeat +@dynamic gate, kind, row, seat, section; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_EventTicketClass +// + +@implementation GTLRWalletobjects_EventTicketClass +@dynamic allowMultipleUsersPerObject, callbackOptions, classTemplateInfo, + confirmationCodeLabel, countryCode, customConfirmationCodeLabel, + customGateLabel, customRowLabel, customSeatLabel, customSectionLabel, + dateTime, enableSmartTap, eventId, eventName, finePrint, gateLabel, + heroImage, hexBackgroundColor, homepageUri, identifier, + imageModulesData, infoModuleData, issuerName, kind, linksModuleData, + localizedIssuerName, locations, logo, messages, + multipleDevicesAndHoldersAllowedStatus, redemptionIssuers, review, + reviewStatus, rowLabel, seatLabel, sectionLabel, securityAnimation, + textModulesData, venue, version, viewUnlockRequirement, wideLogo, + wordMark; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"locations" : [GTLRWalletobjects_LatLongPoint class], + @"messages" : [GTLRWalletobjects_Message class], + @"redemptionIssuers" : [NSNumber class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class] + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_EventTicketClassAddMessageResponse +// + +@implementation GTLRWalletobjects_EventTicketClassAddMessageResponse +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_EventTicketClassListResponse +// + +@implementation GTLRWalletobjects_EventTicketClassListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_EventTicketClass class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_EventTicketObject +// + +@implementation GTLRWalletobjects_EventTicketObject +@dynamic appLinkData, barcode, classId, classReference, + disableExpirationNotification, faceValue, groupingInfo, + hasLinkedDevice, hasUsers, heroImage, hexBackgroundColor, identifier, + imageModulesData, infoModuleData, kind, linkedOfferIds, + linksModuleData, locations, messages, passConstraints, reservationInfo, + rotatingBarcode, seatInfo, smartTapRedemptionValue, state, + textModulesData, ticketHolderName, ticketNumber, ticketType, + validTimeInterval, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"linkedOfferIds" : [NSString class], + @"locations" : [GTLRWalletobjects_LatLongPoint class], + @"messages" : [GTLRWalletobjects_Message class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class] + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_EventTicketObjectAddMessageResponse +// + +@implementation GTLRWalletobjects_EventTicketObjectAddMessageResponse +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_EventTicketObjectListResponse +// + +@implementation GTLRWalletobjects_EventTicketObjectListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_EventTicketObject class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_EventVenue +// + +@implementation GTLRWalletobjects_EventVenue +@dynamic address, kind, name; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_ExpiryNotification +// + +@implementation GTLRWalletobjects_ExpiryNotification +@dynamic enableNotification; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_FieldReference +// + +@implementation GTLRWalletobjects_FieldReference +@dynamic dateFormat, fieldPath; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_FieldSelector +// + +@implementation GTLRWalletobjects_FieldSelector +@dynamic fields; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"fields" : [GTLRWalletobjects_FieldReference class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_FirstRowOption +// + +@implementation GTLRWalletobjects_FirstRowOption +@dynamic fieldOption, transitOption; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_FlightCarrier +// + +@implementation GTLRWalletobjects_FlightCarrier +@dynamic airlineAllianceLogo, airlineLogo, airlineName, carrierIataCode, + carrierIcaoCode, kind, wideAirlineLogo; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_FlightClass +// + +@implementation GTLRWalletobjects_FlightClass +@dynamic allowMultipleUsersPerObject, boardingAndSeatingPolicy, callbackOptions, + classTemplateInfo, countryCode, destination, enableSmartTap, + flightHeader, flightStatus, heroImage, hexBackgroundColor, homepageUri, + identifier, imageModulesData, infoModuleData, issuerName, kind, + languageOverride, linksModuleData, localBoardingDateTime, + localEstimatedOrActualArrivalDateTime, + localEstimatedOrActualDepartureDateTime, localGateClosingDateTime, + localizedIssuerName, localScheduledArrivalDateTime, + localScheduledDepartureDateTime, locations, messages, + multipleDevicesAndHoldersAllowedStatus, origin, redemptionIssuers, + review, reviewStatus, securityAnimation, textModulesData, version, + viewUnlockRequirement, wordMark; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"locations" : [GTLRWalletobjects_LatLongPoint class], + @"messages" : [GTLRWalletobjects_Message class], + @"redemptionIssuers" : [NSNumber class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class] + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_FlightClassAddMessageResponse +// + +@implementation GTLRWalletobjects_FlightClassAddMessageResponse +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_FlightClassListResponse +// + +@implementation GTLRWalletobjects_FlightClassListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_FlightClass class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_FlightHeader +// + +@implementation GTLRWalletobjects_FlightHeader +@dynamic carrier, flightNumber, flightNumberDisplayOverride, kind, + operatingCarrier, operatingFlightNumber; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_FlightObject +// + +@implementation GTLRWalletobjects_FlightObject +@dynamic appLinkData, barcode, boardingAndSeatingInfo, classId, classReference, + disableExpirationNotification, groupingInfo, hasLinkedDevice, hasUsers, + heroImage, hexBackgroundColor, identifier, imageModulesData, + infoModuleData, kind, linksModuleData, locations, messages, + passConstraints, passengerName, reservationInfo, rotatingBarcode, + securityProgramLogo, smartTapRedemptionValue, state, textModulesData, + validTimeInterval, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"locations" : [GTLRWalletobjects_LatLongPoint class], + @"messages" : [GTLRWalletobjects_Message class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class] + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_FlightObjectAddMessageResponse +// + +@implementation GTLRWalletobjects_FlightObjectAddMessageResponse +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_FlightObjectListResponse +// + +@implementation GTLRWalletobjects_FlightObjectListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_FlightObject class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_FrequentFlyerInfo +// + +@implementation GTLRWalletobjects_FrequentFlyerInfo +@dynamic frequentFlyerNumber, frequentFlyerProgramName, kind; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_GenericClass +// + +@implementation GTLRWalletobjects_GenericClass +@dynamic callbackOptions, classTemplateInfo, enableSmartTap, identifier, + imageModulesData, linksModuleData, + multipleDevicesAndHoldersAllowedStatus, redemptionIssuers, + securityAnimation, textModulesData, viewUnlockRequirement; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"redemptionIssuers" : [NSNumber class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_GenericClassListResponse +// + +@implementation GTLRWalletobjects_GenericClassListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_GenericClass class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_GenericObject +// + +@implementation GTLRWalletobjects_GenericObject +@dynamic appLinkData, barcode, cardTitle, classId, genericType, groupingInfo, + hasUsers, header, heroImage, hexBackgroundColor, identifier, + imageModulesData, linksModuleData, logo, notifications, + passConstraints, rotatingBarcode, smartTapRedemptionValue, state, + subheader, textModulesData, validTimeInterval, wideLogo; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_GenericObjectListResponse +// + +@implementation GTLRWalletobjects_GenericObjectListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_GenericObject class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_GiftCardClass +// + +@implementation GTLRWalletobjects_GiftCardClass +@dynamic allowBarcodeRedemption, allowMultipleUsersPerObject, callbackOptions, + cardNumberLabel, classTemplateInfo, countryCode, enableSmartTap, + eventNumberLabel, heroImage, hexBackgroundColor, homepageUri, + identifier, imageModulesData, infoModuleData, issuerName, kind, + linksModuleData, localizedCardNumberLabel, localizedEventNumberLabel, + localizedIssuerName, localizedMerchantName, localizedPinLabel, + locations, merchantName, messages, + multipleDevicesAndHoldersAllowedStatus, pinLabel, programLogo, + redemptionIssuers, review, reviewStatus, securityAnimation, + textModulesData, version, viewUnlockRequirement, wideProgramLogo, + wordMark; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"locations" : [GTLRWalletobjects_LatLongPoint class], + @"messages" : [GTLRWalletobjects_Message class], + @"redemptionIssuers" : [NSNumber class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class] + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_GiftCardClassAddMessageResponse +// + +@implementation GTLRWalletobjects_GiftCardClassAddMessageResponse +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_GiftCardClassListResponse +// + +@implementation GTLRWalletobjects_GiftCardClassListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_GiftCardClass class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_GiftCardObject +// + +@implementation GTLRWalletobjects_GiftCardObject +@dynamic appLinkData, balance, balanceUpdateTime, barcode, cardNumber, classId, + classReference, disableExpirationNotification, eventNumber, + groupingInfo, hasLinkedDevice, hasUsers, heroImage, identifier, + imageModulesData, infoModuleData, kind, linksModuleData, locations, + messages, passConstraints, pin, rotatingBarcode, + smartTapRedemptionValue, state, textModulesData, validTimeInterval, + version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"locations" : [GTLRWalletobjects_LatLongPoint class], + @"messages" : [GTLRWalletobjects_Message class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class] + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_GiftCardObjectAddMessageResponse +// + +@implementation GTLRWalletobjects_GiftCardObjectAddMessageResponse +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_GiftCardObjectListResponse +// + +@implementation GTLRWalletobjects_GiftCardObjectListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_GiftCardObject class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_GroupingInfo +// + +@implementation GTLRWalletobjects_GroupingInfo +@dynamic groupingId, sortIndex; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Image +// + +@implementation GTLRWalletobjects_Image +@dynamic contentDescription, kind, sourceUri; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_ImageModuleData +// + +@implementation GTLRWalletobjects_ImageModuleData +@dynamic identifier, mainImage; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_ImageUri +// + +@implementation GTLRWalletobjects_ImageUri +@dynamic descriptionProperty, localizedDescription, uri; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_InfoModuleData +// + +@implementation GTLRWalletobjects_InfoModuleData +@dynamic labelValueRows, showLastUpdateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"labelValueRows" : [GTLRWalletobjects_LabelValueRow class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Issuer +// + +@implementation GTLRWalletobjects_Issuer +@dynamic contactInfo, homepageUrl, issuerId, name, smartTapMerchantData; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_IssuerContactInfo +// + +@implementation GTLRWalletobjects_IssuerContactInfo +@dynamic alertsEmails, email, name, phone; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"alertsEmails" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_IssuerListResponse +// + +@implementation GTLRWalletobjects_IssuerListResponse +@dynamic resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_Issuer class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_IssuerToUserInfo +// + +@implementation GTLRWalletobjects_IssuerToUserInfo +@dynamic action, signUpInfo, url, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_JwtInsertResponse +// + +@implementation GTLRWalletobjects_JwtInsertResponse +@dynamic resources, saveUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_JwtResource +// + +@implementation GTLRWalletobjects_JwtResource +@dynamic jwt; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_LabelValue +// + +@implementation GTLRWalletobjects_LabelValue +@dynamic label, localizedLabel, localizedValue, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_LabelValueRow +// + +@implementation GTLRWalletobjects_LabelValueRow +@dynamic columns; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"columns" : [GTLRWalletobjects_LabelValue class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_LatLongPoint +// + +@implementation GTLRWalletobjects_LatLongPoint +@dynamic kind, latitude, longitude; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_LinksModuleData +// + +@implementation GTLRWalletobjects_LinksModuleData +@dynamic uris; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"uris" : [GTLRWalletobjects_Uri class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_ListTemplateOverride +// + +@implementation GTLRWalletobjects_ListTemplateOverride +@dynamic firstRowOption, secondRowOption, thirdRowOption; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_LocalizedString +// + +@implementation GTLRWalletobjects_LocalizedString +@dynamic defaultValue, kind, translatedValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"translatedValues" : [GTLRWalletobjects_TranslatedString class] + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_LoyaltyClass +// + +@implementation GTLRWalletobjects_LoyaltyClass +@dynamic accountIdLabel, accountNameLabel, allowMultipleUsersPerObject, + callbackOptions, classTemplateInfo, countryCode, discoverableProgram, + enableSmartTap, heroImage, hexBackgroundColor, homepageUri, identifier, + imageModulesData, infoModuleData, issuerName, kind, linksModuleData, + localizedAccountIdLabel, localizedAccountNameLabel, + localizedIssuerName, localizedProgramName, localizedRewardsTier, + localizedRewardsTierLabel, localizedSecondaryRewardsTier, + localizedSecondaryRewardsTierLabel, locations, messages, + multipleDevicesAndHoldersAllowedStatus, programLogo, programName, + redemptionIssuers, review, reviewStatus, rewardsTier, rewardsTierLabel, + secondaryRewardsTier, secondaryRewardsTierLabel, securityAnimation, + textModulesData, version, viewUnlockRequirement, wideProgramLogo, + wordMark; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"locations" : [GTLRWalletobjects_LatLongPoint class], + @"messages" : [GTLRWalletobjects_Message class], + @"redemptionIssuers" : [NSNumber class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class] + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_LoyaltyClassAddMessageResponse +// + +@implementation GTLRWalletobjects_LoyaltyClassAddMessageResponse +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_LoyaltyClassListResponse +// + +@implementation GTLRWalletobjects_LoyaltyClassListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_LoyaltyClass class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_LoyaltyObject +// + +@implementation GTLRWalletobjects_LoyaltyObject +@dynamic accountId, accountName, appLinkData, barcode, classId, classReference, + disableExpirationNotification, groupingInfo, hasLinkedDevice, hasUsers, + heroImage, identifier, imageModulesData, infoModuleData, kind, + linkedOfferIds, linksModuleData, locations, loyaltyPoints, messages, + passConstraints, rotatingBarcode, secondaryLoyaltyPoints, + smartTapRedemptionValue, state, textModulesData, validTimeInterval, + version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"linkedOfferIds" : [NSString class], + @"locations" : [GTLRWalletobjects_LatLongPoint class], + @"messages" : [GTLRWalletobjects_Message class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class] + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_LoyaltyObjectAddMessageResponse +// + +@implementation GTLRWalletobjects_LoyaltyObjectAddMessageResponse +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_LoyaltyObjectListResponse +// + +@implementation GTLRWalletobjects_LoyaltyObjectListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_LoyaltyObject class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_LoyaltyPoints +// + +@implementation GTLRWalletobjects_LoyaltyPoints +@dynamic balance, label, localizedLabel; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_LoyaltyPointsBalance +// + +@implementation GTLRWalletobjects_LoyaltyPointsBalance +@dynamic doubleProperty, intProperty, money, string; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"doubleProperty" : @"double", + @"intProperty" : @"int" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Media +// + +@implementation GTLRWalletobjects_Media +@dynamic algorithm, bigstoreObjectRef, blobRef, blobstore2Info, compositeMedia, + contentType, contentTypeInfo, cosmoBinaryReference, crc32cHash, + diffChecksumsResponse, diffDownloadResponse, diffUploadRequest, + diffUploadResponse, diffVersionResponse, downloadParameters, filename, + hashProperty, hashVerified, inlineProperty, isPotentialRetry, length, + md5Hash, mediaId, objectId, path, referenceType, sha1Hash, sha256Hash, + timestamp, token; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"hashProperty" : @"hash", + @"inlineProperty" : @"inline" + }; + return map; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"compositeMedia" : [GTLRWalletobjects_CompositeMedia class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_MediaRequestInfo +// + +@implementation GTLRWalletobjects_MediaRequestInfo +@dynamic currentBytes, customData, diffObjectVersion, finalStatus, + notificationType, requestId, requestReceivedParamsServingInfo, + totalBytes, totalBytesIsEstimated; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Message +// + +@implementation GTLRWalletobjects_Message +@dynamic body, displayInterval, header, identifier, kind, localizedBody, + localizedHeader, messageType; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_ModifyLinkedOfferObjects +// + +@implementation GTLRWalletobjects_ModifyLinkedOfferObjects +@dynamic addLinkedOfferObjectIds, removeLinkedOfferObjectIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"addLinkedOfferObjectIds" : [NSString class], + @"removeLinkedOfferObjectIds" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_ModifyLinkedOfferObjectsRequest +// + +@implementation GTLRWalletobjects_ModifyLinkedOfferObjectsRequest +@dynamic linkedOfferObjectIds; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Money +// + +@implementation GTLRWalletobjects_Money +@dynamic currencyCode, kind, micros; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Notifications +// + +@implementation GTLRWalletobjects_Notifications +@dynamic expiryNotification, upcomingNotification; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_ObjectId +// + +@implementation GTLRWalletobjects_ObjectId +@dynamic bucketName, generation, objectName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_OfferClass +// + +@implementation GTLRWalletobjects_OfferClass +@dynamic allowMultipleUsersPerObject, callbackOptions, classTemplateInfo, + countryCode, details, enableSmartTap, finePrint, helpUri, heroImage, + hexBackgroundColor, homepageUri, identifier, imageModulesData, + infoModuleData, issuerName, kind, linksModuleData, localizedDetails, + localizedFinePrint, localizedIssuerName, localizedProvider, + localizedShortTitle, localizedTitle, locations, messages, + multipleDevicesAndHoldersAllowedStatus, provider, redemptionChannel, + redemptionIssuers, review, reviewStatus, securityAnimation, shortTitle, + textModulesData, title, titleImage, version, viewUnlockRequirement, + wideTitleImage, wordMark; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"locations" : [GTLRWalletobjects_LatLongPoint class], + @"messages" : [GTLRWalletobjects_Message class], + @"redemptionIssuers" : [NSNumber class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class] + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_OfferClassAddMessageResponse +// + +@implementation GTLRWalletobjects_OfferClassAddMessageResponse +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_OfferClassListResponse +// + +@implementation GTLRWalletobjects_OfferClassListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_OfferClass class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_OfferObject +// + +@implementation GTLRWalletobjects_OfferObject +@dynamic appLinkData, barcode, classId, classReference, + disableExpirationNotification, groupingInfo, hasLinkedDevice, hasUsers, + heroImage, identifier, imageModulesData, infoModuleData, kind, + linksModuleData, locations, messages, passConstraints, rotatingBarcode, + smartTapRedemptionValue, state, textModulesData, validTimeInterval, + version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"locations" : [GTLRWalletobjects_LatLongPoint class], + @"messages" : [GTLRWalletobjects_Message class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class] + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_OfferObjectAddMessageResponse +// + +@implementation GTLRWalletobjects_OfferObjectAddMessageResponse +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_OfferObjectListResponse +// + +@implementation GTLRWalletobjects_OfferObjectListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_OfferObject class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Pagination +// + +@implementation GTLRWalletobjects_Pagination +@dynamic kind, nextPageToken, resultsPerPage; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_PassConstraints +// + +@implementation GTLRWalletobjects_PassConstraints +@dynamic nfcConstraint, screenshotEligibility; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"nfcConstraint" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Permission +// + +@implementation GTLRWalletobjects_Permission +@dynamic emailAddress, role; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Permissions +// + +@implementation GTLRWalletobjects_Permissions +@dynamic issuerId, permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [GTLRWalletobjects_Permission class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_PrivateText +// + +@implementation GTLRWalletobjects_PrivateText +@dynamic body, header; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_PrivateUri +// + +@implementation GTLRWalletobjects_PrivateUri +@dynamic descriptionProperty, uri; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_PurchaseDetails +// + +@implementation GTLRWalletobjects_PurchaseDetails +@dynamic accountId, confirmationCode, purchaseDateTime, purchaseReceiptNumber, + ticketCost; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_ReservationInfo +// + +@implementation GTLRWalletobjects_ReservationInfo +@dynamic confirmationCode, eticketNumber, frequentFlyerInfo, kind; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Resources +// + +@implementation GTLRWalletobjects_Resources +@dynamic eventTicketClasses, eventTicketObjects, flightClasses, flightObjects, + giftCardClasses, giftCardObjects, loyaltyClasses, loyaltyObjects, + offerClasses, offerObjects, transitClasses, transitObjects; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"eventTicketClasses" : [GTLRWalletobjects_EventTicketClass class], + @"eventTicketObjects" : [GTLRWalletobjects_EventTicketObject class], + @"flightClasses" : [GTLRWalletobjects_FlightClass class], + @"flightObjects" : [GTLRWalletobjects_FlightObject class], + @"giftCardClasses" : [GTLRWalletobjects_GiftCardClass class], + @"giftCardObjects" : [GTLRWalletobjects_GiftCardObject class], + @"loyaltyClasses" : [GTLRWalletobjects_LoyaltyClass class], + @"loyaltyObjects" : [GTLRWalletobjects_LoyaltyObject class], + @"offerClasses" : [GTLRWalletobjects_OfferClass class], + @"offerObjects" : [GTLRWalletobjects_OfferObject class], + @"transitClasses" : [GTLRWalletobjects_TransitClass class], + @"transitObjects" : [GTLRWalletobjects_TransitObject class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Review +// + +@implementation GTLRWalletobjects_Review +@dynamic comments; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_RotatingBarcode +// + +@implementation GTLRWalletobjects_RotatingBarcode +@dynamic alternateText, initialRotatingBarcodeValues, renderEncoding, + showCodeText, totpDetails, type, valuePattern; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_RotatingBarcodeTotpDetails +// + +@implementation GTLRWalletobjects_RotatingBarcodeTotpDetails +@dynamic algorithm, parameters, periodMillis; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"parameters" : [GTLRWalletobjects_RotatingBarcodeTotpDetailsTotpParameters class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_RotatingBarcodeTotpDetailsTotpParameters +// + +@implementation GTLRWalletobjects_RotatingBarcodeTotpDetailsTotpParameters +@dynamic key, valueLength; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_RotatingBarcodeValues +// + +@implementation GTLRWalletobjects_RotatingBarcodeValues +@dynamic periodMillis, startDateTime, values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_SecurityAnimation +// + +@implementation GTLRWalletobjects_SecurityAnimation +@dynamic animationType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_SetPassUpdateNoticeRequest +// + +@implementation GTLRWalletobjects_SetPassUpdateNoticeRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_SetPassUpdateNoticeResponse +// + +@implementation GTLRWalletobjects_SetPassUpdateNoticeResponse +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_SignUpInfo +// + +@implementation GTLRWalletobjects_SignUpInfo +@dynamic classId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_SmartTap +// + +@implementation GTLRWalletobjects_SmartTap +@dynamic identifier, infos, kind, merchantId; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"infos" : [GTLRWalletobjects_IssuerToUserInfo class] + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_SmartTapMerchantData +// + +@implementation GTLRWalletobjects_SmartTapMerchantData +@dynamic authenticationKeys, smartTapMerchantId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"authenticationKeys" : [GTLRWalletobjects_AuthenticationKey class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TemplateItem +// + +@implementation GTLRWalletobjects_TemplateItem +@dynamic firstValue, predefinedItem, secondValue; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TextModuleData +// + +@implementation GTLRWalletobjects_TextModuleData +@dynamic body, header, identifier, localizedBody, localizedHeader; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TicketCost +// + +@implementation GTLRWalletobjects_TicketCost +@dynamic discountMessage, faceValue, purchasePrice; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TicketLeg +// + +@implementation GTLRWalletobjects_TicketLeg +@dynamic arrivalDateTime, carriage, departureDateTime, destinationName, + destinationStationCode, fareName, originName, originStationCode, + platform, ticketSeat, ticketSeats, transitOperatorName, + transitTerminusName, zoneProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"ticketSeats" : [GTLRWalletobjects_TicketSeat class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TicketRestrictions +// + +@implementation GTLRWalletobjects_TicketRestrictions +@dynamic otherRestrictions, routeRestrictions, routeRestrictionsDetails, + timeRestrictions; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TicketSeat +// + +@implementation GTLRWalletobjects_TicketSeat +@dynamic coach, customFareClass, fareClass, seat, seatAssignment; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TimeInterval +// + +@implementation GTLRWalletobjects_TimeInterval +@dynamic end, kind, start; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TransitClass +// + +@implementation GTLRWalletobjects_TransitClass +@dynamic activationOptions, allowMultipleUsersPerObject, callbackOptions, + classTemplateInfo, countryCode, customCarriageLabel, customCoachLabel, + customConcessionCategoryLabel, customConfirmationCodeLabel, + customDiscountMessageLabel, customFareClassLabel, customFareNameLabel, + customOtherRestrictionsLabel, customPlatformLabel, + customPurchaseFaceValueLabel, customPurchasePriceLabel, + customPurchaseReceiptNumberLabel, customRouteRestrictionsDetailsLabel, + customRouteRestrictionsLabel, customSeatLabel, customTicketNumberLabel, + customTimeRestrictionsLabel, customTransitTerminusNameLabel, + customZoneLabel, enableSingleLegItinerary, enableSmartTap, heroImage, + hexBackgroundColor, homepageUri, identifier, imageModulesData, + infoModuleData, issuerName, languageOverride, linksModuleData, + localizedIssuerName, locations, logo, messages, + multipleDevicesAndHoldersAllowedStatus, redemptionIssuers, review, + reviewStatus, securityAnimation, textModulesData, transitOperatorName, + transitType, version, viewUnlockRequirement, watermark, wideLogo, + wordMark; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"locations" : [GTLRWalletobjects_LatLongPoint class], + @"messages" : [GTLRWalletobjects_Message class], + @"redemptionIssuers" : [NSNumber class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TransitClassAddMessageResponse +// + +@implementation GTLRWalletobjects_TransitClassAddMessageResponse +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TransitClassListResponse +// + +@implementation GTLRWalletobjects_TransitClassListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_TransitClass class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TransitObject +// + +@implementation GTLRWalletobjects_TransitObject +@dynamic activationStatus, appLinkData, barcode, classId, classReference, + concessionCategory, customConcessionCategory, customTicketStatus, + deviceContext, disableExpirationNotification, groupingInfo, + hasLinkedDevice, hasUsers, heroImage, hexBackgroundColor, identifier, + imageModulesData, infoModuleData, linksModuleData, locations, messages, + passConstraints, passengerNames, passengerType, purchaseDetails, + rotatingBarcode, smartTapRedemptionValue, state, textModulesData, + ticketLeg, ticketLegs, ticketNumber, ticketRestrictions, ticketStatus, + tripId, tripType, validTimeInterval, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"imageModulesData" : [GTLRWalletobjects_ImageModuleData class], + @"locations" : [GTLRWalletobjects_LatLongPoint class], + @"messages" : [GTLRWalletobjects_Message class], + @"textModulesData" : [GTLRWalletobjects_TextModuleData class], + @"ticketLegs" : [GTLRWalletobjects_TicketLeg class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TransitObjectAddMessageResponse +// + +@implementation GTLRWalletobjects_TransitObjectAddMessageResponse +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TransitObjectListResponse +// + +@implementation GTLRWalletobjects_TransitObjectListResponse +@dynamic pagination, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRWalletobjects_TransitObject class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TransitObjectUploadRotatingBarcodeValuesRequest +// + +@implementation GTLRWalletobjects_TransitObjectUploadRotatingBarcodeValuesRequest +@dynamic blob, mediaRequestInfo; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TransitObjectUploadRotatingBarcodeValuesResponse +// + +@implementation GTLRWalletobjects_TransitObjectUploadRotatingBarcodeValuesResponse +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_TranslatedString +// + +@implementation GTLRWalletobjects_TranslatedString +@dynamic kind, language, value; + ++ (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 + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_UpcomingNotification +// + +@implementation GTLRWalletobjects_UpcomingNotification +@dynamic enableNotification; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_UploadPrivateDataRequest +// + +@implementation GTLRWalletobjects_UploadPrivateDataRequest +@dynamic issuerId, text, uri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_UploadPrivateDataResponse +// + +@implementation GTLRWalletobjects_UploadPrivateDataResponse +@dynamic privateContentId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_UploadPrivateImageRequest +// + +@implementation GTLRWalletobjects_UploadPrivateImageRequest +@dynamic blob, mediaRequestInfo; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_UploadPrivateImageResponse +// + +@implementation GTLRWalletobjects_UploadPrivateImageResponse +@dynamic privateContentId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_Uri +// + +@implementation GTLRWalletobjects_Uri +@dynamic descriptionProperty, identifier, kind, localizedDescription, uri; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"identifier" : @"id" + }; + return map; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end diff --git a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsQuery.m b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsQuery.m new file mode 100644 index 000000000..441cc3ced --- /dev/null +++ b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsQuery.m @@ -0,0 +1,2264 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Wallet API (walletobjects/v1) +// Description: +// API for issuers to save and manage Google Wallet Objects. +// Documentation: +// https://developers.google.com/pay/passes + +#import + +@implementation GTLRWalletobjectsQuery + +@dynamic fields; + +@end + +@implementation GTLRWalletobjectsQuery_EventticketclassAddmessage + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/eventTicketClass/{resourceId}/addMessage"; + GTLRWalletobjectsQuery_EventticketclassAddmessage *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_EventTicketClassAddMessageResponse class]; + query.loggingName = @"walletobjects.eventticketclass.addmessage"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_EventticketclassGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/eventTicketClass/{resourceId}"; + GTLRWalletobjectsQuery_EventticketclassGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_EventTicketClass class]; + query.loggingName = @"walletobjects.eventticketclass.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_EventticketclassInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_EventTicketClass *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/eventTicketClass"; + GTLRWalletobjectsQuery_EventticketclassInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_EventTicketClass class]; + query.loggingName = @"walletobjects.eventticketclass.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_EventticketclassList + +@dynamic issuerId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/eventTicketClass"; + GTLRWalletobjectsQuery_EventticketclassList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_EventTicketClassListResponse class]; + query.loggingName = @"walletobjects.eventticketclass.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_EventticketclassPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_EventTicketClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/eventTicketClass/{resourceId}"; + GTLRWalletobjectsQuery_EventticketclassPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_EventTicketClass class]; + query.loggingName = @"walletobjects.eventticketclass.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_EventticketclassUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_EventTicketClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/eventTicketClass/{resourceId}"; + GTLRWalletobjectsQuery_EventticketclassUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_EventTicketClass class]; + query.loggingName = @"walletobjects.eventticketclass.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_EventticketobjectAddmessage + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/eventTicketObject/{resourceId}/addMessage"; + GTLRWalletobjectsQuery_EventticketobjectAddmessage *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_EventTicketObjectAddMessageResponse class]; + query.loggingName = @"walletobjects.eventticketobject.addmessage"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_EventticketobjectGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/eventTicketObject/{resourceId}"; + GTLRWalletobjectsQuery_EventticketobjectGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_EventTicketObject class]; + query.loggingName = @"walletobjects.eventticketobject.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_EventticketobjectInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_EventTicketObject *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/eventTicketObject"; + GTLRWalletobjectsQuery_EventticketobjectInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_EventTicketObject class]; + query.loggingName = @"walletobjects.eventticketobject.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_EventticketobjectList + +@dynamic classId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/eventTicketObject"; + GTLRWalletobjectsQuery_EventticketobjectList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_EventTicketObjectListResponse class]; + query.loggingName = @"walletobjects.eventticketobject.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_EventticketobjectModifylinkedofferobjects + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_ModifyLinkedOfferObjectsRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/eventTicketObject/{resourceId}/modifyLinkedOfferObjects"; + GTLRWalletobjectsQuery_EventticketobjectModifylinkedofferobjects *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_EventTicketObject class]; + query.loggingName = @"walletobjects.eventticketobject.modifylinkedofferobjects"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_EventticketobjectPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_EventTicketObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/eventTicketObject/{resourceId}"; + GTLRWalletobjectsQuery_EventticketobjectPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_EventTicketObject class]; + query.loggingName = @"walletobjects.eventticketobject.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_EventticketobjectUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_EventTicketObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/eventTicketObject/{resourceId}"; + GTLRWalletobjectsQuery_EventticketobjectUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_EventTicketObject class]; + query.loggingName = @"walletobjects.eventticketobject.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_FlightclassAddmessage + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/flightClass/{resourceId}/addMessage"; + GTLRWalletobjectsQuery_FlightclassAddmessage *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_FlightClassAddMessageResponse class]; + query.loggingName = @"walletobjects.flightclass.addmessage"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_FlightclassGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/flightClass/{resourceId}"; + GTLRWalletobjectsQuery_FlightclassGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_FlightClass class]; + query.loggingName = @"walletobjects.flightclass.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_FlightclassInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_FlightClass *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/flightClass"; + GTLRWalletobjectsQuery_FlightclassInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_FlightClass class]; + query.loggingName = @"walletobjects.flightclass.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_FlightclassList + +@dynamic issuerId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/flightClass"; + GTLRWalletobjectsQuery_FlightclassList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_FlightClassListResponse class]; + query.loggingName = @"walletobjects.flightclass.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_FlightclassPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_FlightClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/flightClass/{resourceId}"; + GTLRWalletobjectsQuery_FlightclassPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_FlightClass class]; + query.loggingName = @"walletobjects.flightclass.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_FlightclassUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_FlightClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/flightClass/{resourceId}"; + GTLRWalletobjectsQuery_FlightclassUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_FlightClass class]; + query.loggingName = @"walletobjects.flightclass.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_FlightobjectAddmessage + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/flightObject/{resourceId}/addMessage"; + GTLRWalletobjectsQuery_FlightobjectAddmessage *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_FlightObjectAddMessageResponse class]; + query.loggingName = @"walletobjects.flightobject.addmessage"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_FlightobjectGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/flightObject/{resourceId}"; + GTLRWalletobjectsQuery_FlightobjectGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_FlightObject class]; + query.loggingName = @"walletobjects.flightobject.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_FlightobjectInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_FlightObject *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/flightObject"; + GTLRWalletobjectsQuery_FlightobjectInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_FlightObject class]; + query.loggingName = @"walletobjects.flightobject.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_FlightobjectList + +@dynamic classId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/flightObject"; + GTLRWalletobjectsQuery_FlightobjectList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_FlightObjectListResponse class]; + query.loggingName = @"walletobjects.flightobject.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_FlightobjectPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_FlightObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/flightObject/{resourceId}"; + GTLRWalletobjectsQuery_FlightobjectPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_FlightObject class]; + query.loggingName = @"walletobjects.flightobject.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_FlightobjectUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_FlightObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/flightObject/{resourceId}"; + GTLRWalletobjectsQuery_FlightobjectUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_FlightObject class]; + query.loggingName = @"walletobjects.flightobject.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GenericclassGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/genericClass/{resourceId}"; + GTLRWalletobjectsQuery_GenericclassGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GenericClass class]; + query.loggingName = @"walletobjects.genericclass.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GenericclassInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_GenericClass *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/genericClass"; + GTLRWalletobjectsQuery_GenericclassInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_GenericClass class]; + query.loggingName = @"walletobjects.genericclass.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GenericclassList + +@dynamic issuerId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/genericClass"; + GTLRWalletobjectsQuery_GenericclassList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_GenericClassListResponse class]; + query.loggingName = @"walletobjects.genericclass.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GenericclassPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_GenericClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/genericClass/{resourceId}"; + GTLRWalletobjectsQuery_GenericclassPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GenericClass class]; + query.loggingName = @"walletobjects.genericclass.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GenericclassUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_GenericClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/genericClass/{resourceId}"; + GTLRWalletobjectsQuery_GenericclassUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GenericClass class]; + query.loggingName = @"walletobjects.genericclass.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GenericobjectGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/genericObject/{resourceId}"; + GTLRWalletobjectsQuery_GenericobjectGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GenericObject class]; + query.loggingName = @"walletobjects.genericobject.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GenericobjectInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_GenericObject *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/genericObject"; + GTLRWalletobjectsQuery_GenericobjectInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_GenericObject class]; + query.loggingName = @"walletobjects.genericobject.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GenericobjectList + +@dynamic classId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/genericObject"; + GTLRWalletobjectsQuery_GenericobjectList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_GenericObjectListResponse class]; + query.loggingName = @"walletobjects.genericobject.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GenericobjectPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_GenericObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/genericObject/{resourceId}"; + GTLRWalletobjectsQuery_GenericobjectPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GenericObject class]; + query.loggingName = @"walletobjects.genericobject.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GenericobjectUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_GenericObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/genericObject/{resourceId}"; + GTLRWalletobjectsQuery_GenericobjectUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GenericObject class]; + query.loggingName = @"walletobjects.genericobject.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GiftcardclassAddmessage + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/giftCardClass/{resourceId}/addMessage"; + GTLRWalletobjectsQuery_GiftcardclassAddmessage *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GiftCardClassAddMessageResponse class]; + query.loggingName = @"walletobjects.giftcardclass.addmessage"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GiftcardclassGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/giftCardClass/{resourceId}"; + GTLRWalletobjectsQuery_GiftcardclassGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GiftCardClass class]; + query.loggingName = @"walletobjects.giftcardclass.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GiftcardclassInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_GiftCardClass *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/giftCardClass"; + GTLRWalletobjectsQuery_GiftcardclassInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_GiftCardClass class]; + query.loggingName = @"walletobjects.giftcardclass.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GiftcardclassList + +@dynamic issuerId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/giftCardClass"; + GTLRWalletobjectsQuery_GiftcardclassList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_GiftCardClassListResponse class]; + query.loggingName = @"walletobjects.giftcardclass.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GiftcardclassPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_GiftCardClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/giftCardClass/{resourceId}"; + GTLRWalletobjectsQuery_GiftcardclassPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GiftCardClass class]; + query.loggingName = @"walletobjects.giftcardclass.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GiftcardclassUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_GiftCardClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/giftCardClass/{resourceId}"; + GTLRWalletobjectsQuery_GiftcardclassUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GiftCardClass class]; + query.loggingName = @"walletobjects.giftcardclass.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GiftcardobjectAddmessage + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/giftCardObject/{resourceId}/addMessage"; + GTLRWalletobjectsQuery_GiftcardobjectAddmessage *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GiftCardObjectAddMessageResponse class]; + query.loggingName = @"walletobjects.giftcardobject.addmessage"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GiftcardobjectGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/giftCardObject/{resourceId}"; + GTLRWalletobjectsQuery_GiftcardobjectGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GiftCardObject class]; + query.loggingName = @"walletobjects.giftcardobject.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GiftcardobjectInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_GiftCardObject *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/giftCardObject"; + GTLRWalletobjectsQuery_GiftcardobjectInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_GiftCardObject class]; + query.loggingName = @"walletobjects.giftcardobject.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GiftcardobjectList + +@dynamic classId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/giftCardObject"; + GTLRWalletobjectsQuery_GiftcardobjectList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_GiftCardObjectListResponse class]; + query.loggingName = @"walletobjects.giftcardobject.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GiftcardobjectPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_GiftCardObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/giftCardObject/{resourceId}"; + GTLRWalletobjectsQuery_GiftcardobjectPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GiftCardObject class]; + query.loggingName = @"walletobjects.giftcardobject.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_GiftcardobjectUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_GiftCardObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/giftCardObject/{resourceId}"; + GTLRWalletobjectsQuery_GiftcardobjectUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_GiftCardObject class]; + query.loggingName = @"walletobjects.giftcardobject.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_IssuerGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(long long)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/issuer/{resourceId}"; + GTLRWalletobjectsQuery_IssuerGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_Issuer class]; + query.loggingName = @"walletobjects.issuer.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_IssuerInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_Issuer *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/issuer"; + GTLRWalletobjectsQuery_IssuerInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_Issuer class]; + query.loggingName = @"walletobjects.issuer.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_IssuerList + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/issuer"; + GTLRWalletobjectsQuery_IssuerList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_IssuerListResponse class]; + query.loggingName = @"walletobjects.issuer.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_IssuerPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_Issuer *)object + resourceId:(long long)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/issuer/{resourceId}"; + GTLRWalletobjectsQuery_IssuerPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_Issuer class]; + query.loggingName = @"walletobjects.issuer.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_IssuerUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_Issuer *)object + resourceId:(long long)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/issuer/{resourceId}"; + GTLRWalletobjectsQuery_IssuerUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_Issuer class]; + query.loggingName = @"walletobjects.issuer.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_JwtInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_JwtResource *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/jwt"; + GTLRWalletobjectsQuery_JwtInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_JwtInsertResponse class]; + query.loggingName = @"walletobjects.jwt.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_LoyaltyclassAddmessage + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/loyaltyClass/{resourceId}/addMessage"; + GTLRWalletobjectsQuery_LoyaltyclassAddmessage *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_LoyaltyClassAddMessageResponse class]; + query.loggingName = @"walletobjects.loyaltyclass.addmessage"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_LoyaltyclassGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/loyaltyClass/{resourceId}"; + GTLRWalletobjectsQuery_LoyaltyclassGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_LoyaltyClass class]; + query.loggingName = @"walletobjects.loyaltyclass.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_LoyaltyclassInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_LoyaltyClass *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/loyaltyClass"; + GTLRWalletobjectsQuery_LoyaltyclassInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_LoyaltyClass class]; + query.loggingName = @"walletobjects.loyaltyclass.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_LoyaltyclassList + +@dynamic issuerId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/loyaltyClass"; + GTLRWalletobjectsQuery_LoyaltyclassList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_LoyaltyClassListResponse class]; + query.loggingName = @"walletobjects.loyaltyclass.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_LoyaltyclassPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_LoyaltyClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/loyaltyClass/{resourceId}"; + GTLRWalletobjectsQuery_LoyaltyclassPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_LoyaltyClass class]; + query.loggingName = @"walletobjects.loyaltyclass.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_LoyaltyclassUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_LoyaltyClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/loyaltyClass/{resourceId}"; + GTLRWalletobjectsQuery_LoyaltyclassUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_LoyaltyClass class]; + query.loggingName = @"walletobjects.loyaltyclass.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_LoyaltyobjectAddmessage + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/loyaltyObject/{resourceId}/addMessage"; + GTLRWalletobjectsQuery_LoyaltyobjectAddmessage *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_LoyaltyObjectAddMessageResponse class]; + query.loggingName = @"walletobjects.loyaltyobject.addmessage"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_LoyaltyobjectGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/loyaltyObject/{resourceId}"; + GTLRWalletobjectsQuery_LoyaltyobjectGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_LoyaltyObject class]; + query.loggingName = @"walletobjects.loyaltyobject.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_LoyaltyobjectInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_LoyaltyObject *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/loyaltyObject"; + GTLRWalletobjectsQuery_LoyaltyobjectInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_LoyaltyObject class]; + query.loggingName = @"walletobjects.loyaltyobject.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_LoyaltyobjectList + +@dynamic classId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/loyaltyObject"; + GTLRWalletobjectsQuery_LoyaltyobjectList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_LoyaltyObjectListResponse class]; + query.loggingName = @"walletobjects.loyaltyobject.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_LoyaltyobjectModifylinkedofferobjects + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_ModifyLinkedOfferObjectsRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/loyaltyObject/{resourceId}/modifyLinkedOfferObjects"; + GTLRWalletobjectsQuery_LoyaltyobjectModifylinkedofferobjects *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_LoyaltyObject class]; + query.loggingName = @"walletobjects.loyaltyobject.modifylinkedofferobjects"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_LoyaltyobjectPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_LoyaltyObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/loyaltyObject/{resourceId}"; + GTLRWalletobjectsQuery_LoyaltyobjectPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_LoyaltyObject class]; + query.loggingName = @"walletobjects.loyaltyobject.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_LoyaltyobjectUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_LoyaltyObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/loyaltyObject/{resourceId}"; + GTLRWalletobjectsQuery_LoyaltyobjectUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_LoyaltyObject class]; + query.loggingName = @"walletobjects.loyaltyobject.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_MediaDownload + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/transitObject/{resourceId}/downloadRotatingBarcodeValues"; + GTLRWalletobjectsQuery_MediaDownload *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_Media class]; + query.loggingName = @"walletobjects.media.download"; + return query; +} + ++ (instancetype)queryForMediaWithResourceId:(NSString *)resourceId { + GTLRWalletobjectsQuery_MediaDownload *query = + [self queryWithResourceId:resourceId]; + query.downloadAsDataObjectType = @"media"; + query.useMediaDownloadService = YES; + query.loggingName = @"Download walletobjects.media.download"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_MediaUpload + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitObjectUploadRotatingBarcodeValuesRequest *)object + resourceId:(NSString *)resourceId + uploadParameters:(GTLRUploadParameters *)uploadParameters { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/transitObject/{resourceId}/uploadRotatingBarcodeValues"; + GTLRWalletobjectsQuery_MediaUpload *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.uploadParameters = uploadParameters; + query.expectedObjectClass = [GTLRWalletobjects_TransitObjectUploadRotatingBarcodeValuesResponse class]; + query.loggingName = @"walletobjects.media.upload"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_OfferclassAddmessage + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/offerClass/{resourceId}/addMessage"; + GTLRWalletobjectsQuery_OfferclassAddmessage *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_OfferClassAddMessageResponse class]; + query.loggingName = @"walletobjects.offerclass.addmessage"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_OfferclassGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/offerClass/{resourceId}"; + GTLRWalletobjectsQuery_OfferclassGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_OfferClass class]; + query.loggingName = @"walletobjects.offerclass.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_OfferclassInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_OfferClass *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/offerClass"; + GTLRWalletobjectsQuery_OfferclassInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_OfferClass class]; + query.loggingName = @"walletobjects.offerclass.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_OfferclassList + +@dynamic issuerId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/offerClass"; + GTLRWalletobjectsQuery_OfferclassList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_OfferClassListResponse class]; + query.loggingName = @"walletobjects.offerclass.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_OfferclassPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_OfferClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/offerClass/{resourceId}"; + GTLRWalletobjectsQuery_OfferclassPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_OfferClass class]; + query.loggingName = @"walletobjects.offerclass.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_OfferclassUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_OfferClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/offerClass/{resourceId}"; + GTLRWalletobjectsQuery_OfferclassUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_OfferClass class]; + query.loggingName = @"walletobjects.offerclass.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_OfferobjectAddmessage + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/offerObject/{resourceId}/addMessage"; + GTLRWalletobjectsQuery_OfferobjectAddmessage *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_OfferObjectAddMessageResponse class]; + query.loggingName = @"walletobjects.offerobject.addmessage"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_OfferobjectGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/offerObject/{resourceId}"; + GTLRWalletobjectsQuery_OfferobjectGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_OfferObject class]; + query.loggingName = @"walletobjects.offerobject.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_OfferobjectInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_OfferObject *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/offerObject"; + GTLRWalletobjectsQuery_OfferobjectInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_OfferObject class]; + query.loggingName = @"walletobjects.offerobject.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_OfferobjectList + +@dynamic classId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/offerObject"; + GTLRWalletobjectsQuery_OfferobjectList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_OfferObjectListResponse class]; + query.loggingName = @"walletobjects.offerobject.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_OfferobjectPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_OfferObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/offerObject/{resourceId}"; + GTLRWalletobjectsQuery_OfferobjectPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_OfferObject class]; + query.loggingName = @"walletobjects.offerobject.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_OfferobjectUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_OfferObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/offerObject/{resourceId}"; + GTLRWalletobjectsQuery_OfferobjectUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_OfferObject class]; + query.loggingName = @"walletobjects.offerobject.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_PermissionsGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(long long)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/permissions/{resourceId}"; + GTLRWalletobjectsQuery_PermissionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_Permissions class]; + query.loggingName = @"walletobjects.permissions.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_PermissionsUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_Permissions *)object + resourceId:(long long)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/permissions/{resourceId}"; + GTLRWalletobjectsQuery_PermissionsUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_Permissions class]; + query.loggingName = @"walletobjects.permissions.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_SmarttapInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_SmartTap *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/smartTap"; + GTLRWalletobjectsQuery_SmarttapInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_SmartTap class]; + query.loggingName = @"walletobjects.smarttap.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_TransitclassAddmessage + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/transitClass/{resourceId}/addMessage"; + GTLRWalletobjectsQuery_TransitclassAddmessage *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_TransitClassAddMessageResponse class]; + query.loggingName = @"walletobjects.transitclass.addmessage"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_TransitclassGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/transitClass/{resourceId}"; + GTLRWalletobjectsQuery_TransitclassGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_TransitClass class]; + query.loggingName = @"walletobjects.transitclass.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_TransitclassInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitClass *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/transitClass"; + GTLRWalletobjectsQuery_TransitclassInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_TransitClass class]; + query.loggingName = @"walletobjects.transitclass.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_TransitclassList + +@dynamic issuerId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/transitClass"; + GTLRWalletobjectsQuery_TransitclassList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_TransitClassListResponse class]; + query.loggingName = @"walletobjects.transitclass.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_TransitclassPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/transitClass/{resourceId}"; + GTLRWalletobjectsQuery_TransitclassPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_TransitClass class]; + query.loggingName = @"walletobjects.transitclass.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_TransitclassUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitClass *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/transitClass/{resourceId}"; + GTLRWalletobjectsQuery_TransitclassUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_TransitClass class]; + query.loggingName = @"walletobjects.transitclass.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_TransitobjectAddmessage + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/transitObject/{resourceId}/addMessage"; + GTLRWalletobjectsQuery_TransitobjectAddmessage *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_TransitObjectAddMessageResponse class]; + query.loggingName = @"walletobjects.transitobject.addmessage"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_TransitobjectGet + +@dynamic resourceId; + ++ (instancetype)queryWithResourceId:(NSString *)resourceId { + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/transitObject/{resourceId}"; + GTLRWalletobjectsQuery_TransitobjectGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_TransitObject class]; + query.loggingName = @"walletobjects.transitobject.get"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_TransitobjectInsert + ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitObject *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/transitObject"; + GTLRWalletobjectsQuery_TransitobjectInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_TransitObject class]; + query.loggingName = @"walletobjects.transitobject.insert"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_TransitobjectList + +@dynamic classId, maxResults, token; + ++ (instancetype)query { + NSString *pathURITemplate = @"walletobjects/v1/transitObject"; + GTLRWalletobjectsQuery_TransitobjectList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRWalletobjects_TransitObjectListResponse class]; + query.loggingName = @"walletobjects.transitobject.list"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_TransitobjectPatch + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/transitObject/{resourceId}"; + GTLRWalletobjectsQuery_TransitobjectPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_TransitObject class]; + query.loggingName = @"walletobjects.transitobject.patch"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_TransitobjectUpdate + +@dynamic resourceId; + ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitObject *)object + resourceId:(NSString *)resourceId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resourceId" ]; + NSString *pathURITemplate = @"walletobjects/v1/transitObject/{resourceId}"; + GTLRWalletobjectsQuery_TransitobjectUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resourceId = resourceId; + query.expectedObjectClass = [GTLRWalletobjects_TransitObject class]; + query.loggingName = @"walletobjects.transitobject.update"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_WalletobjectsV1PrivateContentSetPassUpdateNotice + ++ (instancetype)queryWithObject:(GTLRWalletobjects_SetPassUpdateNoticeRequest *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/privateContent/setPassUpdateNotice"; + GTLRWalletobjectsQuery_WalletobjectsV1PrivateContentSetPassUpdateNotice *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_SetPassUpdateNoticeResponse class]; + query.loggingName = @"walletobjects.walletobjects.v1.privateContent.setPassUpdateNotice"; + return query; +} + +@end + +@implementation GTLRWalletobjectsQuery_WalletobjectsV1PrivateContentUploadPrivateData + ++ (instancetype)queryWithObject:(GTLRWalletobjects_UploadPrivateDataRequest *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"walletobjects/v1/privateContent/uploadPrivateData"; + GTLRWalletobjectsQuery_WalletobjectsV1PrivateContentUploadPrivateData *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRWalletobjects_UploadPrivateDataResponse class]; + query.loggingName = @"walletobjects.walletobjects.v1.privateContent.uploadPrivateData"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsService.m b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsService.m new file mode 100644 index 000000000..bc3c64224 --- /dev/null +++ b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsService.m @@ -0,0 +1,36 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Wallet API (walletobjects/v1) +// Description: +// API for issuers to save and manage Google Wallet Objects. +// Documentation: +// https://developers.google.com/pay/passes + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeWalletobjectsWalletObjectIssuer = @"https://www.googleapis.com/auth/wallet_object.issuer"; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjectsService +// + +@implementation GTLRWalletobjectsService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://walletobjects.googleapis.com/"; + self.simpleUploadPath = @"upload/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjects.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjects.h new file mode 100644 index 000000000..1f7836f07 --- /dev/null +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjects.h @@ -0,0 +1,13 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Wallet API (walletobjects/v1) +// Description: +// API for issuers to save and manage Google Wallet Objects. +// Documentation: +// https://developers.google.com/pay/passes + +#import "GTLRWalletobjectsObjects.h" +#import "GTLRWalletobjectsQuery.h" +#import "GTLRWalletobjectsService.h" diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h new file mode 100644 index 000000000..886e66ee1 --- /dev/null +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h @@ -0,0 +1,9436 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Wallet API (walletobjects/v1) +// Description: +// API for issuers to save and manage Google Wallet Objects. +// Documentation: +// https://developers.google.com/pay/passes + +#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 GTLRWalletobjects_ActivationOptions; +@class GTLRWalletobjects_ActivationStatus; +@class GTLRWalletobjects_AirportInfo; +@class GTLRWalletobjects_AppLinkData; +@class GTLRWalletobjects_AppLinkDataAppLinkInfo; +@class GTLRWalletobjects_AppLinkDataAppLinkInfoAppTarget; +@class GTLRWalletobjects_AuthenticationKey; +@class GTLRWalletobjects_Barcode; +@class GTLRWalletobjects_BarcodeSectionDetail; +@class GTLRWalletobjects_Blobstore2Info; +@class GTLRWalletobjects_BoardingAndSeatingInfo; +@class GTLRWalletobjects_BoardingAndSeatingPolicy; +@class GTLRWalletobjects_CallbackOptions; +@class GTLRWalletobjects_CardBarcodeSectionDetails; +@class GTLRWalletobjects_CardRowOneItem; +@class GTLRWalletobjects_CardRowTemplateInfo; +@class GTLRWalletobjects_CardRowThreeItems; +@class GTLRWalletobjects_CardRowTwoItems; +@class GTLRWalletobjects_CardTemplateOverride; +@class GTLRWalletobjects_ClassTemplateInfo; +@class GTLRWalletobjects_CompositeMedia; +@class GTLRWalletobjects_ContentTypeInfo; +@class GTLRWalletobjects_DateTime; +@class GTLRWalletobjects_DetailsItemInfo; +@class GTLRWalletobjects_DetailsTemplateOverride; +@class GTLRWalletobjects_DeviceContext; +@class GTLRWalletobjects_DiffChecksumsResponse; +@class GTLRWalletobjects_DiffDownloadResponse; +@class GTLRWalletobjects_DiffUploadRequest; +@class GTLRWalletobjects_DiffUploadResponse; +@class GTLRWalletobjects_DiffVersionResponse; +@class GTLRWalletobjects_DiscoverableProgram; +@class GTLRWalletobjects_DiscoverableProgramMerchantSigninInfo; +@class GTLRWalletobjects_DiscoverableProgramMerchantSignupInfo; +@class GTLRWalletobjects_DownloadParameters; +@class GTLRWalletobjects_EventDateTime; +@class GTLRWalletobjects_EventReservationInfo; +@class GTLRWalletobjects_EventSeat; +@class GTLRWalletobjects_EventTicketClass; +@class GTLRWalletobjects_EventTicketObject; +@class GTLRWalletobjects_EventVenue; +@class GTLRWalletobjects_ExpiryNotification; +@class GTLRWalletobjects_FieldReference; +@class GTLRWalletobjects_FieldSelector; +@class GTLRWalletobjects_FirstRowOption; +@class GTLRWalletobjects_FlightCarrier; +@class GTLRWalletobjects_FlightClass; +@class GTLRWalletobjects_FlightHeader; +@class GTLRWalletobjects_FlightObject; +@class GTLRWalletobjects_FrequentFlyerInfo; +@class GTLRWalletobjects_GenericClass; +@class GTLRWalletobjects_GenericObject; +@class GTLRWalletobjects_GiftCardClass; +@class GTLRWalletobjects_GiftCardObject; +@class GTLRWalletobjects_GroupingInfo; +@class GTLRWalletobjects_Image; +@class GTLRWalletobjects_ImageModuleData; +@class GTLRWalletobjects_ImageUri; +@class GTLRWalletobjects_InfoModuleData; +@class GTLRWalletobjects_Issuer; +@class GTLRWalletobjects_IssuerContactInfo; +@class GTLRWalletobjects_IssuerToUserInfo; +@class GTLRWalletobjects_LabelValue; +@class GTLRWalletobjects_LabelValueRow; +@class GTLRWalletobjects_LatLongPoint; +@class GTLRWalletobjects_LinksModuleData; +@class GTLRWalletobjects_ListTemplateOverride; +@class GTLRWalletobjects_LocalizedString; +@class GTLRWalletobjects_LoyaltyClass; +@class GTLRWalletobjects_LoyaltyObject; +@class GTLRWalletobjects_LoyaltyPoints; +@class GTLRWalletobjects_LoyaltyPointsBalance; +@class GTLRWalletobjects_Media; +@class GTLRWalletobjects_MediaRequestInfo; +@class GTLRWalletobjects_Message; +@class GTLRWalletobjects_ModifyLinkedOfferObjects; +@class GTLRWalletobjects_Money; +@class GTLRWalletobjects_Notifications; +@class GTLRWalletobjects_ObjectId; +@class GTLRWalletobjects_OfferClass; +@class GTLRWalletobjects_OfferObject; +@class GTLRWalletobjects_Pagination; +@class GTLRWalletobjects_PassConstraints; +@class GTLRWalletobjects_Permission; +@class GTLRWalletobjects_PrivateText; +@class GTLRWalletobjects_PrivateUri; +@class GTLRWalletobjects_PurchaseDetails; +@class GTLRWalletobjects_ReservationInfo; +@class GTLRWalletobjects_Resources; +@class GTLRWalletobjects_Review; +@class GTLRWalletobjects_RotatingBarcode; +@class GTLRWalletobjects_RotatingBarcodeTotpDetails; +@class GTLRWalletobjects_RotatingBarcodeTotpDetailsTotpParameters; +@class GTLRWalletobjects_RotatingBarcodeValues; +@class GTLRWalletobjects_SecurityAnimation; +@class GTLRWalletobjects_SignUpInfo; +@class GTLRWalletobjects_SmartTapMerchantData; +@class GTLRWalletobjects_TemplateItem; +@class GTLRWalletobjects_TextModuleData; +@class GTLRWalletobjects_TicketCost; +@class GTLRWalletobjects_TicketLeg; +@class GTLRWalletobjects_TicketRestrictions; +@class GTLRWalletobjects_TicketSeat; +@class GTLRWalletobjects_TimeInterval; +@class GTLRWalletobjects_TransitClass; +@class GTLRWalletobjects_TransitObject; +@class GTLRWalletobjects_TranslatedString; +@class GTLRWalletobjects_UpcomingNotification; +@class GTLRWalletobjects_Uri; + +// 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. + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_ActivationStatus.state + +/** + * Legacy alias for `ACTIVATED`. Deprecated. + * + * Value: "activated" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_ActivationStatus_State_Activated GTLR_DEPRECATED; +/** + * Legacy alias for `NOT_ACTIVATED`. Deprecated. + * + * Value: "not_activated" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_ActivationStatus_State_NotActivated GTLR_DEPRECATED; +/** Value: "UNKNOWN_STATE" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_ActivationStatus_State_UnknownState; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_Barcode.renderEncoding + +/** Value: "RENDER_ENCODING_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_RenderEncoding_RenderEncodingUnspecified; +/** + * UTF_8 encoding for barcodes. This is only supported for barcode type qrCode. + * + * Value: "UTF_8" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_RenderEncoding_Utf8; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_Barcode.type + +/** + * Legacy alias for `AZTEC`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "aztec" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_Aztec GTLR_DEPRECATED; +/** Value: "BARCODE_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_BarcodeTypeUnspecified; +/** + * Legacy alias for `CODABAR`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "codabar" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_Codabar GTLR_DEPRECATED; +/** + * Legacy alias for `CODE_128`. Deprecated. Not supported for Rotating + * Barcodes. + * + * Value: "code128" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_Code128 GTLR_DEPRECATED; +/** + * Legacy alias for `CODE_39`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "code39" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_Code39 GTLR_DEPRECATED; +/** + * Legacy alias for `DATA_MATRIX`. Deprecated. Not supported for Rotating + * Barcodes. + * + * Value: "dataMatrix" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_DataMatrix GTLR_DEPRECATED; +/** + * Legacy alias for `EAN_13`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "EAN13" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_Ean13 GTLR_DEPRECATED; +/** + * Legacy alias for `EAN_8`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "ean8" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_Ean8 GTLR_DEPRECATED; +/** + * Legacy alias for `ITF_14`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "itf14" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_Itf14 GTLR_DEPRECATED; +/** + * Legacy alias for `PDF_417`. Deprecated. + * + * Value: "PDF417" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_Pdf417 GTLR_DEPRECATED; +/** + * Legacy alias for `QR_CODE`. Deprecated. + * + * Value: "qrcode" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_Qrcode GTLR_DEPRECATED; +/** + * Legacy alias for `QR_CODE`. Deprecated. + * + * Value: "qrCode" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_QrCode GTLR_DEPRECATED; +/** + * Legacy alias for `TEXT_ONLY`. Deprecated. Not supported for Rotating + * Barcodes. + * + * Value: "textOnly" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_TextOnly GTLR_DEPRECATED; +/** + * Legacy alias for `UPC_A`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "upcA" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Barcode_Type_UpcA GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_BoardingAndSeatingInfo.boardingDoor + +/** + * Legacy alias for `BACK`. Deprecated. + * + * Value: "back" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_BoardingAndSeatingInfo_BoardingDoor_Back GTLR_DEPRECATED; +/** Value: "BOARDING_DOOR_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_BoardingAndSeatingInfo_BoardingDoor_BoardingDoorUnspecified; +/** + * Legacy alias for `FRONT`. Deprecated. + * + * Value: "front" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_BoardingAndSeatingInfo_BoardingDoor_Front GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_BoardingAndSeatingPolicy.boardingPolicy + +/** + * Legacy alias for `BOARDING_POLICY_OTHER`. Deprecated. + * + * Value: "boardingPolicyOther" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_BoardingPolicy_BoardingPolicyOther GTLR_DEPRECATED; +/** Value: "BOARDING_POLICY_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_BoardingPolicy_BoardingPolicyUnspecified; +/** + * Legacy alias for `GROUP_BASED`. Deprecated. + * + * Value: "groupBased" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_BoardingPolicy_GroupBased GTLR_DEPRECATED; +/** + * Legacy alias for `ZONE_BASED`. Deprecated. + * + * Value: "zoneBased" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_BoardingPolicy_ZoneBased GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_BoardingAndSeatingPolicy.seatClassPolicy + +/** + * Legacy alias for `CABIN_BASED`. Deprecated. + * + * Value: "cabinBased" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_CabinBased GTLR_DEPRECATED; +/** + * Legacy alias for `CLASS_BASED`. Deprecated. + * + * Value: "classBased" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_ClassBased GTLR_DEPRECATED; +/** + * Legacy alias for `SEAT_CLASS_POLICY_OTHER`. Deprecated. + * + * Value: "seatClassPolicyOther" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_SeatClassPolicyOther GTLR_DEPRECATED; +/** Value: "SEAT_CLASS_POLICY_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_SeatClassPolicyUnspecified; +/** + * Legacy alias for `TIER_BASED`. Deprecated. + * + * Value: "tierBased" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_TierBased GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_CompositeMedia.referenceType + +/** + * Reference points to a bigstore object + * + * Value: "BIGSTORE_REF" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_CompositeMedia_ReferenceType_BigstoreRef; +/** + * Reference points to a blobstore object. This could be either a v1 blob_ref + * or a v2 blobstore2_info. Clients should check blobstore2_info first, since + * v1 is being deprecated. + * + * Value: "BLOB_REF" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_CompositeMedia_ReferenceType_BlobRef; +/** + * Indicates the data is stored in cosmo_binary_reference. + * + * Value: "COSMO_BINARY_REFERENCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_CompositeMedia_ReferenceType_CosmoBinaryReference; +/** + * Data is included into this proto buffer + * + * Value: "INLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_CompositeMedia_ReferenceType_Inline; +/** + * Reference contains a GFS path or a local path. + * + * Value: "PATH" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_CompositeMedia_ReferenceType_Path; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_DiscoverableProgram.state + +/** + * Legacy alias for `DISABLED`. Deprecated. + * + * Value: "disabled" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgram_State_Disabled GTLR_DEPRECATED; +/** + * Legacy alias for `LIVE`. Deprecated. + * + * Value: "live" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgram_State_Live GTLR_DEPRECATED; +/** Value: "STATE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgram_State_StateUnspecified; +/** + * Legacy alias for `TRUSTED_TESTERS`. Deprecated. + * + * Value: "trustedTesters" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgram_State_TrustedTesters GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_DiscoverableProgramMerchantSignupInfo.signupSharedDatas + +/** + * multi line address fields + * + * Value: "ADDRESS_LINE_1" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_AddressLine1; +/** Value: "ADDRESS_LINE_2" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_AddressLine2; +/** Value: "ADDRESS_LINE_3" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_AddressLine3; +/** Value: "CITY" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_City; +/** Value: "COUNTRY" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_Country; +/** Value: "EMAIL" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_Email; +/** Value: "FIRST_NAME" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_FirstName; +/** Value: "LAST_NAME" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_LastName; +/** Value: "PHONE" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_Phone; +/** Value: "SHARED_DATA_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_SharedDataTypeUnspecified; +/** Value: "STATE" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_State; +/** + * single line address field + * + * Value: "STREET_ADDRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_StreetAddress; +/** Value: "ZIPCODE" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_DiscoverableProgramMerchantSignupInfo_SignupSharedDatas_Zipcode; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_EventDateTime.doorsOpenLabel + +/** + * Legacy alias for `DOORS_OPEN`. Deprecated. + * + * Value: "doorsOpen" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventDateTime_DoorsOpenLabel_DoorsOpen GTLR_DEPRECATED; +/** Value: "DOORS_OPEN_LABEL_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventDateTime_DoorsOpenLabel_DoorsOpenLabelUnspecified; +/** + * Legacy alias for `GATES_OPEN`. Deprecated. + * + * Value: "gatesOpen" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventDateTime_DoorsOpenLabel_GatesOpen GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_EventTicketClass.confirmationCodeLabel + +/** + * Legacy alias for `CONFIRMATION_CODE`. Deprecated. + * + * Value: "confirmationCode" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_ConfirmationCode GTLR_DEPRECATED; +/** Value: "CONFIRMATION_CODE_LABEL_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_ConfirmationCodeLabelUnspecified; +/** + * Legacy alias for `CONFIRMATION_NUMBER`. Deprecated. + * + * Value: "confirmationNumber" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_ConfirmationNumber GTLR_DEPRECATED; +/** + * Legacy alias for `ORDER_NUMBER`. Deprecated. + * + * Value: "orderNumber" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_OrderNumber GTLR_DEPRECATED; +/** + * Legacy alias for `RESERVATION_NUMBER`. Deprecated. + * + * Value: "reservationNumber" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_ReservationNumber GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_EventTicketClass.gateLabel + +/** + * Legacy alias for `DOOR`. Deprecated. + * + * Value: "door" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_GateLabel_Door GTLR_DEPRECATED; +/** + * Legacy alias for `ENTRANCE`. Deprecated. + * + * Value: "entrance" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_GateLabel_Entrance GTLR_DEPRECATED; +/** + * Legacy alias for `GATE`. Deprecated. + * + * Value: "gate" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_GateLabel_Gate GTLR_DEPRECATED; +/** Value: "GATE_LABEL_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_GateLabel_GateLabelUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_EventTicketClass.multipleDevicesAndHoldersAllowedStatus + +/** + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. + * + * Value: "multipleHolders" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. + * + * Value: "oneUserAllDevices" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. + * + * Value: "oneUserOneDevice" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice GTLR_DEPRECATED; +/** + * Unspecified preference. + * + * Value: "STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_EventTicketClass.reviewStatus + +/** + * Legacy alias for `APPROVED`. Deprecated. + * + * Value: "approved" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_ReviewStatus_Approved GTLR_DEPRECATED; +/** + * Legacy alias for `DRAFT`. Deprecated. + * + * Value: "draft" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_ReviewStatus_Draft GTLR_DEPRECATED; +/** + * Legacy alias for `REJECTED`. Deprecated. + * + * Value: "rejected" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_ReviewStatus_Rejected GTLR_DEPRECATED; +/** Value: "REVIEW_STATUS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_ReviewStatus_ReviewStatusUnspecified; +/** + * Legacy alias for `UNDER_REVIEW`. Deprecated. + * + * Value: "underReview" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_ReviewStatus_UnderReview GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_EventTicketClass.rowLabel + +/** + * Legacy alias for `ROW`. Deprecated. + * + * Value: "row" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_RowLabel_Row GTLR_DEPRECATED; +/** Value: "ROW_LABEL_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_RowLabel_RowLabelUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_EventTicketClass.seatLabel + +/** + * Legacy alias for `SEAT`. Deprecated. + * + * Value: "seat" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_SeatLabel_Seat GTLR_DEPRECATED; +/** Value: "SEAT_LABEL_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_SeatLabel_SeatLabelUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_EventTicketClass.sectionLabel + +/** + * Legacy alias for `SECTION`. Deprecated. + * + * Value: "section" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_SectionLabel_Section GTLR_DEPRECATED; +/** Value: "SECTION_LABEL_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_SectionLabel_SectionLabelUnspecified; +/** + * Legacy alias for `THEATER`. Deprecated. + * + * Value: "theater" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_SectionLabel_Theater GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_EventTicketClass.viewUnlockRequirement + +/** + * Default behavior for all the existing Passes if ViewUnlockRequirement is not + * set. + * + * Value: "UNLOCK_NOT_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_ViewUnlockRequirement_UnlockNotRequired; +/** + * Requires the user to unlock their device each time the pass is viewed. If + * the user removes their device lock after saving the pass, then they will be + * prompted to create a device lock before the pass can be viewed. + * + * Value: "UNLOCK_REQUIRED_TO_VIEW" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_ViewUnlockRequirement_UnlockRequiredToView; +/** + * Default value, same as UNLOCK_NOT_REQUIRED. + * + * Value: "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_EventTicketObject.state + +/** + * Legacy alias for `ACTIVE`. Deprecated. + * + * Value: "active" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketObject_State_Active GTLR_DEPRECATED; +/** + * Legacy alias for `COMPLETED`. Deprecated. + * + * Value: "completed" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketObject_State_Completed GTLR_DEPRECATED; +/** + * Legacy alias for `EXPIRED`. Deprecated. + * + * Value: "expired" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketObject_State_Expired GTLR_DEPRECATED; +/** + * Legacy alias for `INACTIVE`. Deprecated. + * + * Value: "inactive" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketObject_State_Inactive GTLR_DEPRECATED; +/** Value: "STATE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketObject_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_FieldReference.dateFormat + +/** + * Default option when no format is specified, when selected, no formatting + * will be applied. + * + * Value: "DATE_FORMAT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FieldReference_DateFormat_DateFormatUnspecified; +/** + * Legacy alias for `DATE_ONLY`. Deprecated. + * + * Value: "dateOnly" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FieldReference_DateFormat_DateOnly GTLR_DEPRECATED; +/** + * Legacy alias for `DATE_TIME`. Deprecated. + * + * Value: "dateTime" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FieldReference_DateFormat_DateTime GTLR_DEPRECATED; +/** + * Legacy alias for `DATE_TIME_YEAR`. Deprecated. + * + * Value: "dateTimeYear" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FieldReference_DateFormat_DateTimeYear GTLR_DEPRECATED; +/** + * Legacy alias for `DATE_YEAR`. Deprecated. + * + * Value: "dateYear" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FieldReference_DateFormat_DateYear GTLR_DEPRECATED; +/** + * Legacy alias for `TIME_ONLY`. Deprecated. + * + * Value: "timeOnly" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FieldReference_DateFormat_TimeOnly GTLR_DEPRECATED; +/** + * Renders `2018-12-14T13:00:00` as `2018-12`. + * + * Value: "YEAR_MONTH" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FieldReference_DateFormat_YearMonth; +/** + * Renders `2018-12-14T13:00:00` as `2018-12-14`. + * + * Value: "YEAR_MONTH_DAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FieldReference_DateFormat_YearMonthDay; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_FirstRowOption.transitOption + +/** + * Legacy alias for `ORIGIN_AND_DESTINATION_CODES`. Deprecated. + * + * Value: "originAndDestinationCodes" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FirstRowOption_TransitOption_OriginAndDestinationCodes GTLR_DEPRECATED; +/** + * Legacy alias for `ORIGIN_AND_DESTINATION_NAMES`. Deprecated. + * + * Value: "originAndDestinationNames" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FirstRowOption_TransitOption_OriginAndDestinationNames GTLR_DEPRECATED; +/** + * Legacy alias for `ORIGIN_NAME`. Deprecated. + * + * Value: "originName" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FirstRowOption_TransitOption_OriginName GTLR_DEPRECATED; +/** Value: "TRANSIT_OPTION_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FirstRowOption_TransitOption_TransitOptionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_FlightClass.flightStatus + +/** + * Legacy alias for `ACTIVE`. Deprecated. + * + * Value: "active" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_Active GTLR_DEPRECATED; +/** + * Legacy alias for `CANCELLED`. Deprecated. + * + * Value: "cancelled" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_Cancelled GTLR_DEPRECATED; +/** + * Legacy alias for `DIVERTED`. Deprecated. + * + * Value: "diverted" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_Diverted GTLR_DEPRECATED; +/** Value: "FLIGHT_STATUS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_FlightStatusUnspecified; +/** + * Legacy alias for `LANDED`. Deprecated. + * + * Value: "landed" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_Landed GTLR_DEPRECATED; +/** + * Legacy alias for `REDIRECTED`. Deprecated. + * + * Value: "redirected" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_Redirected GTLR_DEPRECATED; +/** + * Legacy alias for `SCHEDULED`. Deprecated. + * + * Value: "scheduled" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_FlightStatus_Scheduled GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_FlightClass.multipleDevicesAndHoldersAllowedStatus + +/** + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. + * + * Value: "multipleHolders" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. + * + * Value: "oneUserAllDevices" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. + * + * Value: "oneUserOneDevice" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice GTLR_DEPRECATED; +/** + * Unspecified preference. + * + * Value: "STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_FlightClass.reviewStatus + +/** + * Legacy alias for `APPROVED`. Deprecated. + * + * Value: "approved" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_ReviewStatus_Approved GTLR_DEPRECATED; +/** + * Legacy alias for `DRAFT`. Deprecated. + * + * Value: "draft" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_ReviewStatus_Draft GTLR_DEPRECATED; +/** + * Legacy alias for `REJECTED`. Deprecated. + * + * Value: "rejected" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_ReviewStatus_Rejected GTLR_DEPRECATED; +/** Value: "REVIEW_STATUS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_ReviewStatus_ReviewStatusUnspecified; +/** + * Legacy alias for `UNDER_REVIEW`. Deprecated. + * + * Value: "underReview" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_ReviewStatus_UnderReview GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_FlightClass.viewUnlockRequirement + +/** + * Default behavior for all the existing Passes if ViewUnlockRequirement is not + * set. + * + * Value: "UNLOCK_NOT_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_ViewUnlockRequirement_UnlockNotRequired; +/** + * Requires the user to unlock their device each time the pass is viewed. If + * the user removes their device lock after saving the pass, then they will be + * prompted to create a device lock before the pass can be viewed. + * + * Value: "UNLOCK_REQUIRED_TO_VIEW" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_ViewUnlockRequirement_UnlockRequiredToView; +/** + * Default value, same as UNLOCK_NOT_REQUIRED. + * + * Value: "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_FlightObject.state + +/** + * Legacy alias for `ACTIVE`. Deprecated. + * + * Value: "active" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightObject_State_Active GTLR_DEPRECATED; +/** + * Legacy alias for `COMPLETED`. Deprecated. + * + * Value: "completed" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightObject_State_Completed GTLR_DEPRECATED; +/** + * Legacy alias for `EXPIRED`. Deprecated. + * + * Value: "expired" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightObject_State_Expired GTLR_DEPRECATED; +/** + * Legacy alias for `INACTIVE`. Deprecated. + * + * Value: "inactive" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightObject_State_Inactive GTLR_DEPRECATED; +/** Value: "STATE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightObject_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_GenericClass.multipleDevicesAndHoldersAllowedStatus + +/** + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. + * + * Value: "multipleHolders" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. + * + * Value: "oneUserAllDevices" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. + * + * Value: "oneUserOneDevice" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice GTLR_DEPRECATED; +/** + * Unspecified preference. + * + * Value: "STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_GenericClass.viewUnlockRequirement + +/** + * Default behavior for all the existing Passes if ViewUnlockRequirement is not + * set. + * + * Value: "UNLOCK_NOT_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericClass_ViewUnlockRequirement_UnlockNotRequired; +/** + * Requires the user to unlock their device each time the pass is viewed. If + * the user removes their device lock after saving the pass, then they will be + * prompted to create a device lock before the pass can be viewed. + * + * Value: "UNLOCK_REQUIRED_TO_VIEW" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericClass_ViewUnlockRequirement_UnlockRequiredToView; +/** + * Default value, same as UNLOCK_NOT_REQUIRED. + * + * Value: "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_GenericObject.genericType + +/** + * Auto-insurance cards + * + * Value: "GENERIC_AUTO_INSURANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericAutoInsurance; +/** + * Entry tickets + * + * Value: "GENERIC_ENTRY_TICKET" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericEntryTicket; +/** + * Gym membership cards + * + * Value: "GENERIC_GYM_MEMBERSHIP" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericGymMembership; +/** + * Home-insurance cards + * + * Value: "GENERIC_HOME_INSURANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericHomeInsurance; +/** + * Library membership cards + * + * Value: "GENERIC_LIBRARY_MEMBERSHIP" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericLibraryMembership; +/** + * Other type + * + * Value: "GENERIC_OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericOther; +/** + * Parking pass + * + * Value: "GENERIC_PARKING_PASS" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericParkingPass; +/** + * Receipts + * + * Value: "GENERIC_RECEIPT" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericReceipt; +/** + * Reservations + * + * Value: "GENERIC_RESERVATIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericReservations; +/** + * Season pass + * + * Value: "GENERIC_SEASON_PASS" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericSeasonPass; +/** + * Unspecified generic type. + * + * Value: "GENERIC_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericTypeUnspecified; +/** + * Utility bills + * + * Value: "GENERIC_UTILITY_BILLS" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericUtilityBills; +/** + * Voucher + * + * Value: "GENERIC_VOUCHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_GenericType_GenericVoucher; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_GenericObject.state + +/** + * Legacy alias for `ACTIVE`. Deprecated. + * + * Value: "active" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_State_Active GTLR_DEPRECATED; +/** + * Legacy alias for `COMPLETED`. Deprecated. + * + * Value: "completed" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_State_Completed GTLR_DEPRECATED; +/** + * Legacy alias for `EXPIRED`. Deprecated. + * + * Value: "expired" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_State_Expired GTLR_DEPRECATED; +/** + * Legacy alias for `INACTIVE`. Deprecated. + * + * Value: "inactive" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_State_Inactive GTLR_DEPRECATED; +/** Value: "STATE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_GiftCardClass.multipleDevicesAndHoldersAllowedStatus + +/** + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. + * + * Value: "multipleHolders" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. + * + * Value: "oneUserAllDevices" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. + * + * Value: "oneUserOneDevice" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice GTLR_DEPRECATED; +/** + * Unspecified preference. + * + * Value: "STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_GiftCardClass.reviewStatus + +/** + * Legacy alias for `APPROVED`. Deprecated. + * + * Value: "approved" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardClass_ReviewStatus_Approved GTLR_DEPRECATED; +/** + * Legacy alias for `DRAFT`. Deprecated. + * + * Value: "draft" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardClass_ReviewStatus_Draft GTLR_DEPRECATED; +/** + * Legacy alias for `REJECTED`. Deprecated. + * + * Value: "rejected" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardClass_ReviewStatus_Rejected GTLR_DEPRECATED; +/** Value: "REVIEW_STATUS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardClass_ReviewStatus_ReviewStatusUnspecified; +/** + * Legacy alias for `UNDER_REVIEW`. Deprecated. + * + * Value: "underReview" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardClass_ReviewStatus_UnderReview GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_GiftCardClass.viewUnlockRequirement + +/** + * Default behavior for all the existing Passes if ViewUnlockRequirement is not + * set. + * + * Value: "UNLOCK_NOT_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardClass_ViewUnlockRequirement_UnlockNotRequired; +/** + * Requires the user to unlock their device each time the pass is viewed. If + * the user removes their device lock after saving the pass, then they will be + * prompted to create a device lock before the pass can be viewed. + * + * Value: "UNLOCK_REQUIRED_TO_VIEW" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardClass_ViewUnlockRequirement_UnlockRequiredToView; +/** + * Default value, same as UNLOCK_NOT_REQUIRED. + * + * Value: "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_GiftCardObject.state + +/** + * Legacy alias for `ACTIVE`. Deprecated. + * + * Value: "active" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardObject_State_Active GTLR_DEPRECATED; +/** + * Legacy alias for `COMPLETED`. Deprecated. + * + * Value: "completed" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardObject_State_Completed GTLR_DEPRECATED; +/** + * Legacy alias for `EXPIRED`. Deprecated. + * + * Value: "expired" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardObject_State_Expired GTLR_DEPRECATED; +/** + * Legacy alias for `INACTIVE`. Deprecated. + * + * Value: "inactive" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardObject_State_Inactive GTLR_DEPRECATED; +/** Value: "STATE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardObject_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_IssuerToUserInfo.action + +/** Value: "ACTION_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_IssuerToUserInfo_Action_ActionUnspecified; +/** + * Legacy alias for `S2AP`. Deprecated. + * + * Value: "s2ap" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_IssuerToUserInfo_Action_S2ap GTLR_DEPRECATED; +/** + * Legacy alias for `SIGN_UP`. Deprecated. + * + * Value: "signUp" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_IssuerToUserInfo_Action_SignUp GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_LoyaltyClass.multipleDevicesAndHoldersAllowedStatus + +/** + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. + * + * Value: "multipleHolders" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. + * + * Value: "oneUserAllDevices" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. + * + * Value: "oneUserOneDevice" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice GTLR_DEPRECATED; +/** + * Unspecified preference. + * + * Value: "STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_LoyaltyClass.reviewStatus + +/** + * Legacy alias for `APPROVED`. Deprecated. + * + * Value: "approved" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyClass_ReviewStatus_Approved GTLR_DEPRECATED; +/** + * Legacy alias for `DRAFT`. Deprecated. + * + * Value: "draft" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyClass_ReviewStatus_Draft GTLR_DEPRECATED; +/** + * Legacy alias for `REJECTED`. Deprecated. + * + * Value: "rejected" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyClass_ReviewStatus_Rejected GTLR_DEPRECATED; +/** Value: "REVIEW_STATUS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyClass_ReviewStatus_ReviewStatusUnspecified; +/** + * Legacy alias for `UNDER_REVIEW`. Deprecated. + * + * Value: "underReview" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyClass_ReviewStatus_UnderReview GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_LoyaltyClass.viewUnlockRequirement + +/** + * Default behavior for all the existing Passes if ViewUnlockRequirement is not + * set. + * + * Value: "UNLOCK_NOT_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyClass_ViewUnlockRequirement_UnlockNotRequired; +/** + * Requires the user to unlock their device each time the pass is viewed. If + * the user removes their device lock after saving the pass, then they will be + * prompted to create a device lock before the pass can be viewed. + * + * Value: "UNLOCK_REQUIRED_TO_VIEW" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyClass_ViewUnlockRequirement_UnlockRequiredToView; +/** + * Default value, same as UNLOCK_NOT_REQUIRED. + * + * Value: "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_LoyaltyObject.state + +/** + * Legacy alias for `ACTIVE`. Deprecated. + * + * Value: "active" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyObject_State_Active GTLR_DEPRECATED; +/** + * Legacy alias for `COMPLETED`. Deprecated. + * + * Value: "completed" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyObject_State_Completed GTLR_DEPRECATED; +/** + * Legacy alias for `EXPIRED`. Deprecated. + * + * Value: "expired" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyObject_State_Expired GTLR_DEPRECATED; +/** + * Legacy alias for `INACTIVE`. Deprecated. + * + * Value: "inactive" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyObject_State_Inactive GTLR_DEPRECATED; +/** Value: "STATE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyObject_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_Media.referenceType + +/** + * Informs Scotty to generate a response payload with the size specified in the + * length field. The contents of the payload are generated by Scotty and are + * undefined. This is useful for testing download speeds between the user and + * Scotty without involving a real payload source. Note: range is not supported + * when using arbitrary_bytes. + * + * Value: "ARBITRARY_BYTES" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Media_ReferenceType_ArbitraryBytes; +/** + * Reference points to a bigstore object + * + * Value: "BIGSTORE_REF" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Media_ReferenceType_BigstoreRef; +/** + * Reference points to a blobstore object. This could be either a v1 blob_ref + * or a v2 blobstore2_info. Clients should check blobstore2_info first, since + * v1 is being deprecated. + * + * Value: "BLOB_REF" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Media_ReferenceType_BlobRef; +/** + * The content for this media object is stored across multiple partial media + * objects under the composite_media field. + * + * Value: "COMPOSITE_MEDIA" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Media_ReferenceType_CompositeMedia; +/** + * Indicates the data is stored in cosmo_binary_reference. + * + * Value: "COSMO_BINARY_REFERENCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Media_ReferenceType_CosmoBinaryReference; +/** + * Indicates the data is stored in diff_checksums_response. + * + * Value: "DIFF_CHECKSUMS_RESPONSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Media_ReferenceType_DiffChecksumsResponse; +/** + * Indicates the data is stored in diff_download_response. + * + * Value: "DIFF_DOWNLOAD_RESPONSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Media_ReferenceType_DiffDownloadResponse; +/** + * Indicates the data is stored in diff_upload_request. + * + * Value: "DIFF_UPLOAD_REQUEST" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Media_ReferenceType_DiffUploadRequest; +/** + * Indicates the data is stored in diff_upload_response. + * + * Value: "DIFF_UPLOAD_RESPONSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Media_ReferenceType_DiffUploadResponse; +/** + * Indicates the data is stored in diff_version_response. + * + * Value: "DIFF_VERSION_RESPONSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Media_ReferenceType_DiffVersionResponse; +/** + * Data should be accessed from the current service using the operation + * GetMedia. + * + * Value: "GET_MEDIA" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Media_ReferenceType_GetMedia; +/** + * Data is included into this proto buffer + * + * Value: "INLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Media_ReferenceType_Inline; +/** + * Reference contains a GFS path or a local path. + * + * Value: "PATH" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Media_ReferenceType_Path; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_MediaRequestInfo.notificationType + +/** + * Such requests signals the end of a request containing media upload. END + * should be handled just like normal Insert/Upload requests, that is, they + * should process the request and return a complete resource in the response. + * Pointers to media data (a GFS path usually) appear in the relevant fields in + * the inserted/updated resource. See gdata.Media in data.proto. + * + * Value: "END" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_MediaRequestInfo_NotificationType_End; +/** + * Such requests indicate that an error occurred while processing the request. + * ERROR is only sent to the backend if it is configured to receive them. It is + * not guaranteed that all errors will result in this notification to the + * backend, even if the backend requests them. Since these requests are just + * for informational purposes, the response does not need to contain anything. + * + * Value: "ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_MediaRequestInfo_NotificationType_Error; +/** + * Such requests signals that the upload has progressed and that the backend + * might want to access the media file specified in relevant fields in the + * resource. Only the media field(s) in the inserted/updated resource are set. + * The response should either return an error or succeed. On success, responses + * don't need to contain anything. + * + * Value: "PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_MediaRequestInfo_NotificationType_Progress; +/** + * Such requests occur after an END and signal that the response has been sent + * back to the client. RESPONSE_SENT is only sent to the backend if it is + * configured to receive them. The response does not need to contain anything. + * + * Value: "RESPONSE_SENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_MediaRequestInfo_NotificationType_ResponseSent; +/** + * Such requests signals the start of a request containing media upload. Only + * the media field(s) in the inserted/updated resource are set. The response + * should either return an error or succeed. On success, responses don't need + * to contain anything. + * + * Value: "START" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_MediaRequestInfo_NotificationType_Start; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_Message.messageType + +/** + * Legacy alias for `EXPIRATION_NOTIFICATION`. Deprecated. + * + * Value: "expirationNotification" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Message_MessageType_ExpirationNotification GTLR_DEPRECATED; +/** Value: "MESSAGE_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Message_MessageType_MessageTypeUnspecified; +/** + * Legacy alias for `TEXT`. Deprecated. + * + * Value: "text" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Message_MessageType_Text GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_OfferClass.multipleDevicesAndHoldersAllowedStatus + +/** + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. + * + * Value: "multipleHolders" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. + * + * Value: "oneUserAllDevices" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. + * + * Value: "oneUserOneDevice" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice GTLR_DEPRECATED; +/** + * Unspecified preference. + * + * Value: "STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_OfferClass.redemptionChannel + +/** + * Legacy alias for `BOTH`. Deprecated. + * + * Value: "both" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_RedemptionChannel_Both GTLR_DEPRECATED; +/** + * Legacy alias for `INSTORE`. Deprecated. + * + * Value: "instore" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_RedemptionChannel_Instore GTLR_DEPRECATED; +/** + * Legacy alias for `ONLINE`. Deprecated. + * + * Value: "online" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_RedemptionChannel_Online GTLR_DEPRECATED; +/** Value: "REDEMPTION_CHANNEL_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_RedemptionChannel_RedemptionChannelUnspecified; +/** + * Legacy alias for `TEMPORARY_PRICE_REDUCTION`. Deprecated. + * + * Value: "temporaryPriceReduction" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_RedemptionChannel_TemporaryPriceReduction GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_OfferClass.reviewStatus + +/** + * Legacy alias for `APPROVED`. Deprecated. + * + * Value: "approved" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_ReviewStatus_Approved GTLR_DEPRECATED; +/** + * Legacy alias for `DRAFT`. Deprecated. + * + * Value: "draft" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_ReviewStatus_Draft GTLR_DEPRECATED; +/** + * Legacy alias for `REJECTED`. Deprecated. + * + * Value: "rejected" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_ReviewStatus_Rejected GTLR_DEPRECATED; +/** Value: "REVIEW_STATUS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_ReviewStatus_ReviewStatusUnspecified; +/** + * Legacy alias for `UNDER_REVIEW`. Deprecated. + * + * Value: "underReview" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_ReviewStatus_UnderReview GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_OfferClass.viewUnlockRequirement + +/** + * Default behavior for all the existing Passes if ViewUnlockRequirement is not + * set. + * + * Value: "UNLOCK_NOT_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_ViewUnlockRequirement_UnlockNotRequired; +/** + * Requires the user to unlock their device each time the pass is viewed. If + * the user removes their device lock after saving the pass, then they will be + * prompted to create a device lock before the pass can be viewed. + * + * Value: "UNLOCK_REQUIRED_TO_VIEW" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_ViewUnlockRequirement_UnlockRequiredToView; +/** + * Default value, same as UNLOCK_NOT_REQUIRED. + * + * Value: "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_OfferObject.state + +/** + * Legacy alias for `ACTIVE`. Deprecated. + * + * Value: "active" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferObject_State_Active GTLR_DEPRECATED; +/** + * Legacy alias for `COMPLETED`. Deprecated. + * + * Value: "completed" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferObject_State_Completed GTLR_DEPRECATED; +/** + * Legacy alias for `EXPIRED`. Deprecated. + * + * Value: "expired" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferObject_State_Expired GTLR_DEPRECATED; +/** + * Legacy alias for `INACTIVE`. Deprecated. + * + * Value: "inactive" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferObject_State_Inactive GTLR_DEPRECATED; +/** Value: "STATE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferObject_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_PassConstraints.nfcConstraint + +/** + * Closed loop transit cards will not be conveyed while the pass is open. + * + * Value: "BLOCK_CLOSED_LOOP_TRANSIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_PassConstraints_NfcConstraint_BlockClosedLoopTransit; +/** + * Payment cards will not be conveyed while the pass is open. + * + * Value: "BLOCK_PAYMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_PassConstraints_NfcConstraint_BlockPayment; +/** + * Default value, no specified constraint. + * + * Value: "NFC_CONSTRAINT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_PassConstraints_NfcConstraint_NfcConstraintUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_PassConstraints.screenshotEligibility + +/** + * Default behavior for all existing Passes if ScreenshotEligibility is not + * set. Allows screenshots to be taken on Android devices. + * + * Value: "ELIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_PassConstraints_ScreenshotEligibility_Eligible; +/** + * Disallows screenshots to be taken on Android devices. Note that older + * versions of Wallet may still allow screenshots to be taken. + * + * Value: "INELIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_PassConstraints_ScreenshotEligibility_Ineligible; +/** + * Default value, same as ELIGIBLE. + * + * Value: "SCREENSHOT_ELIGIBILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_PassConstraints_ScreenshotEligibility_ScreenshotEligibilityUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_Permission.role + +/** + * Legacy alias for `OWNER`. Deprecated. + * + * Value: "owner" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Permission_Role_Owner GTLR_DEPRECATED; +/** + * Legacy alias for `READER`. Deprecated. + * + * Value: "reader" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Permission_Role_Reader GTLR_DEPRECATED; +/** Value: "ROLE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Permission_Role_RoleUnspecified; +/** + * Legacy alias for `WRITER`. Deprecated. + * + * Value: "writer" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Permission_Role_Writer GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_RotatingBarcode.renderEncoding + +/** Value: "RENDER_ENCODING_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_RenderEncoding_RenderEncodingUnspecified; +/** + * UTF_8 encoding for barcodes. This is only supported for barcode type qrCode. + * + * Value: "UTF_8" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_RenderEncoding_Utf8; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_RotatingBarcode.type + +/** + * Legacy alias for `AZTEC`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "aztec" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Aztec GTLR_DEPRECATED; +/** Value: "BARCODE_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_BarcodeTypeUnspecified; +/** + * Legacy alias for `CODABAR`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "codabar" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Codabar GTLR_DEPRECATED; +/** + * Legacy alias for `CODE_128`. Deprecated. Not supported for Rotating + * Barcodes. + * + * Value: "code128" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Code128 GTLR_DEPRECATED; +/** + * Legacy alias for `CODE_39`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "code39" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Code39 GTLR_DEPRECATED; +/** + * Legacy alias for `DATA_MATRIX`. Deprecated. Not supported for Rotating + * Barcodes. + * + * Value: "dataMatrix" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_DataMatrix GTLR_DEPRECATED; +/** + * Legacy alias for `EAN_13`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "EAN13" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Ean13 GTLR_DEPRECATED; +/** + * Legacy alias for `EAN_8`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "ean8" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Ean8 GTLR_DEPRECATED; +/** + * Legacy alias for `ITF_14`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "itf14" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Itf14 GTLR_DEPRECATED; +/** + * Legacy alias for `PDF_417`. Deprecated. + * + * Value: "PDF417" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Pdf417 GTLR_DEPRECATED; +/** + * Legacy alias for `QR_CODE`. Deprecated. + * + * Value: "qrcode" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_Qrcode GTLR_DEPRECATED; +/** + * Legacy alias for `QR_CODE`. Deprecated. + * + * Value: "qrCode" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_QrCode GTLR_DEPRECATED; +/** + * Legacy alias for `TEXT_ONLY`. Deprecated. Not supported for Rotating + * Barcodes. + * + * Value: "textOnly" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_TextOnly GTLR_DEPRECATED; +/** + * Legacy alias for `UPC_A`. Deprecated. Not supported for Rotating Barcodes. + * + * Value: "upcA" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcode_Type_UpcA GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_RotatingBarcodeTotpDetails.algorithm + +/** Value: "TOTP_ALGORITHM_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcodeTotpDetails_Algorithm_TotpAlgorithmUnspecified; +/** + * TOTP algorithm from RFC 6238 with the SHA1 hash function + * + * Value: "TOTP_SHA1" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_RotatingBarcodeTotpDetails_Algorithm_TotpSha1; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_SecurityAnimation.animationType + +/** Value: "ANIMATION_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_SecurityAnimation_AnimationType_AnimationUnspecified; +/** + * Legacy alias for `FOIL_SHIMMER`. Deprecated. + * + * Value: "foilShimmer" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_SecurityAnimation_AnimationType_FoilShimmer GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_TemplateItem.predefinedItem + +/** + * Legacy alias for `FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER`. Deprecated. + * + * Value: "flightNumberAndOperatingFlightNumber" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TemplateItem_PredefinedItem_FlightNumberAndOperatingFlightNumber GTLR_DEPRECATED; +/** + * Legacy alias for `FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER`. Deprecated. + * + * Value: "frequentFlyerProgramNameAndNumber" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TemplateItem_PredefinedItem_FrequentFlyerProgramNameAndNumber GTLR_DEPRECATED; +/** Value: "PREDEFINED_ITEM_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TemplateItem_PredefinedItem_PredefinedItemUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_TicketSeat.fareClass + +/** + * Legacy alias for `BUSINESS`. Deprecated. + * + * Value: "business" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TicketSeat_FareClass_Business GTLR_DEPRECATED; +/** + * Legacy alias for `ECONOMY`. Deprecated. + * + * Value: "economy" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TicketSeat_FareClass_Economy GTLR_DEPRECATED; +/** Value: "FARE_CLASS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TicketSeat_FareClass_FareClassUnspecified; +/** + * Legacy alias for `FIRST`. Deprecated. + * + * Value: "first" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TicketSeat_FareClass_First GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_TransitClass.multipleDevicesAndHoldersAllowedStatus + +/** + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. + * + * Value: "multipleHolders" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. + * + * Value: "oneUserAllDevices" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices GTLR_DEPRECATED; +/** + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. + * + * Value: "oneUserOneDevice" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice GTLR_DEPRECATED; +/** + * Unspecified preference. + * + * Value: "STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_TransitClass.reviewStatus + +/** + * Legacy alias for `APPROVED`. Deprecated. + * + * Value: "approved" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_ReviewStatus_Approved GTLR_DEPRECATED; +/** + * Legacy alias for `DRAFT`. Deprecated. + * + * Value: "draft" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_ReviewStatus_Draft GTLR_DEPRECATED; +/** + * Legacy alias for `REJECTED`. Deprecated. + * + * Value: "rejected" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_ReviewStatus_Rejected GTLR_DEPRECATED; +/** Value: "REVIEW_STATUS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_ReviewStatus_ReviewStatusUnspecified; +/** + * Legacy alias for `UNDER_REVIEW`. Deprecated. + * + * Value: "underReview" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_ReviewStatus_UnderReview GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_TransitClass.transitType + +/** + * Legacy alias for `BUS`. Deprecated. + * + * Value: "bus" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_TransitType_Bus GTLR_DEPRECATED; +/** + * Legacy alias for `FERRY`. Deprecated. + * + * Value: "ferry" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_TransitType_Ferry GTLR_DEPRECATED; +/** + * Legacy alias for `OTHER`. Deprecated. + * + * Value: "other" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_TransitType_Other GTLR_DEPRECATED; +/** + * Legacy alias for `RAIL`. Deprecated. + * + * Value: "rail" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_TransitType_Rail GTLR_DEPRECATED; +/** + * Legacy alias for `TRAM`. Deprecated. + * + * Value: "tram" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_TransitType_Tram GTLR_DEPRECATED; +/** Value: "TRANSIT_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_TransitType_TransitTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_TransitClass.viewUnlockRequirement + +/** + * Default behavior for all the existing Passes if ViewUnlockRequirement is not + * set. + * + * Value: "UNLOCK_NOT_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_ViewUnlockRequirement_UnlockNotRequired; +/** + * Requires the user to unlock their device each time the pass is viewed. If + * the user removes their device lock after saving the pass, then they will be + * prompted to create a device lock before the pass can be viewed. + * + * Value: "UNLOCK_REQUIRED_TO_VIEW" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_ViewUnlockRequirement_UnlockRequiredToView; +/** + * Default value, same as UNLOCK_NOT_REQUIRED. + * + * Value: "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_TransitObject.concessionCategory + +/** + * Legacy alias for `ADULT`. Deprecated. + * + * Value: "adult" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_ConcessionCategory_Adult GTLR_DEPRECATED; +/** + * Legacy alias for `CHILD`. Deprecated. + * + * Value: "child" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_ConcessionCategory_Child GTLR_DEPRECATED; +/** Value: "CONCESSION_CATEGORY_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_ConcessionCategory_ConcessionCategoryUnspecified; +/** + * Legacy alias for `SENIOR`. Deprecated. + * + * Value: "senior" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_ConcessionCategory_Senior GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_TransitObject.passengerType + +/** + * Legacy alias for `MULTIPLE_PASSENGERS`. Deprecated. + * + * Value: "multiplePassengers" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_PassengerType_MultiplePassengers GTLR_DEPRECATED; +/** Value: "PASSENGER_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_PassengerType_PassengerTypeUnspecified; +/** + * Legacy alias for `SINGLE_PASSENGER`. Deprecated. + * + * Value: "singlePassenger" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_PassengerType_SinglePassenger GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_TransitObject.state + +/** + * Legacy alias for `ACTIVE`. Deprecated. + * + * Value: "active" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_State_Active GTLR_DEPRECATED; +/** + * Legacy alias for `COMPLETED`. Deprecated. + * + * Value: "completed" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_State_Completed GTLR_DEPRECATED; +/** + * Legacy alias for `EXPIRED`. Deprecated. + * + * Value: "expired" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_State_Expired GTLR_DEPRECATED; +/** + * Legacy alias for `INACTIVE`. Deprecated. + * + * Value: "inactive" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_State_Inactive GTLR_DEPRECATED; +/** Value: "STATE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_TransitObject.ticketStatus + +/** + * Legacy alias for `EXCHANGED`. Deprecated. + * + * Value: "exchanged" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TicketStatus_Exchanged GTLR_DEPRECATED; +/** + * Legacy alias for `REFUNDED`. Deprecated. + * + * Value: "refunded" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TicketStatus_Refunded GTLR_DEPRECATED; +/** Value: "TICKET_STATUS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TicketStatus_TicketStatusUnspecified; +/** + * Legacy alias for `USED`. Deprecated. + * + * Value: "used" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TicketStatus_Used GTLR_DEPRECATED; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjects_TransitObject.tripType + +/** + * Legacy alias for `ONE_WAY`. Deprecated. + * + * Value: "oneWay" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_OneWay GTLR_DEPRECATED; +/** + * Legacy alias for `ROUND_TRIP`. Deprecated. + * + * Value: "roundTrip" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_RoundTrip GTLR_DEPRECATED; +/** Value: "TRIP_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_TripTypeUnspecified; + +/** + * ActivationOptions for the class + */ +@interface GTLRWalletobjects_ActivationOptions : GTLRObject + +/** + * HTTPS URL that supports REST semantics. Would be used for requesting + * activation from partners for given valuable, triggered by the users. + */ +@property(nonatomic, copy, nullable) NSString *activationUrl; + +/** + * Flag to allow users to make activation call from different device. This + * allows client to render the activation button enabled even if the + * activationStatus is ACTIVATED but the requested device is different than the + * current device. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowReactivation; + +@end + + +/** + * The activation status of the object. This field includes activation status + * if valuable supports activation. + */ +@interface GTLRWalletobjects_ActivationStatus : GTLRObject + +/** + * state + * + * Likely values: + * @arg @c kGTLRWalletobjects_ActivationStatus_State_Activated Legacy alias + * for `ACTIVATED`. Deprecated. (Value: "activated") + * @arg @c kGTLRWalletobjects_ActivationStatus_State_NotActivated Legacy + * alias for `NOT_ACTIVATED`. Deprecated. (Value: "not_activated") + * @arg @c kGTLRWalletobjects_ActivationStatus_State_UnknownState Value + * "UNKNOWN_STATE" + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * Resource used when the AddMessage endpoints are called. + */ +@interface GTLRWalletobjects_AddMessageRequest : GTLRObject + +@property(nonatomic, strong, nullable) GTLRWalletobjects_Message *message; + +@end + + +/** + * GTLRWalletobjects_AirportInfo + */ +@interface GTLRWalletobjects_AirportInfo : GTLRObject + +/** + * Three character IATA airport code. This is a required field for `origin` and + * `destination`. Eg: "SFO" + */ +@property(nonatomic, copy, nullable) NSString *airportIataCode; + +/** + * Optional field that overrides the airport city name defined by IATA. By + * default, Google takes the `airportIataCode` provided and maps it to the + * official airport city name defined by IATA. Official IATA airport city names + * can be found at IATA airport city names website. For example, for the + * airport IATA code "LTN", IATA website tells us that the corresponding + * airport city is "London". If this field is not populated, Google would + * display "London". However, populating this field with a custom name (eg: + * "London Luton") would override it. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *airportNameOverride; + +/** A name of the gate. Eg: "B59" or "59" */ +@property(nonatomic, copy, nullable) NSString *gate; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#airportInfo"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** Terminal name. Eg: "INTL" or "I" */ +@property(nonatomic, copy, nullable) NSString *terminal; + +@end + + +/** + * GTLRWalletobjects_AppLinkData + */ +@interface GTLRWalletobjects_AppLinkData : GTLRObject + +/** + * Optional information about the partner app link. If included, the app link + * link module will be rendered on the valuable details on the android client. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkDataAppLinkInfo *androidAppLinkInfo; + +/** + * Optional information about the partner app link. If included, the app link + * link module will be rendered on the valuable details on the ios client. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkDataAppLinkInfo *iosAppLinkInfo; + +/** + * Optional information about the partner app link. If included, the app link + * link module will be rendered on the valuable details on the web client. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkDataAppLinkInfo *webAppLinkInfo; + +@end + + +/** + * GTLRWalletobjects_AppLinkDataAppLinkInfo + */ +@interface GTLRWalletobjects_AppLinkDataAppLinkInfo : GTLRObject + +/** Optional image to be displayed in the App Link Module */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *appLogoImage; + +/** + * Url to follow when opening the App Link Module on clients. It will be used + * by partners to open their webpage or deeplink into their app. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkDataAppLinkInfoAppTarget *appTarget; + +/** + * String to be displayed in the description of the App Link Module Required + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *descriptionProperty; + +/** String to be displayed in the title of the App Link Module Required */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *title; + +@end + + +/** + * GTLRWalletobjects_AppLinkDataAppLinkInfoAppTarget + */ +@interface GTLRWalletobjects_AppLinkDataAppLinkInfoAppTarget : GTLRObject + +@property(nonatomic, strong, nullable) GTLRWalletobjects_Uri *targetUri; + +@end + + +/** + * GTLRWalletobjects_AuthenticationKey + */ +@interface GTLRWalletobjects_AuthenticationKey : GTLRObject + +/** + * Available only to Smart Tap enabled partners. Contact support for additional + * guidance. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** + * Available only to Smart Tap enabled partners. Contact support for additional + * guidance. + */ +@property(nonatomic, copy, nullable) NSString *publicKeyPem; + +@end + + +/** + * GTLRWalletobjects_Barcode + */ +@interface GTLRWalletobjects_Barcode : GTLRObject + +/** + * An optional text that will override the default text that shows under the + * barcode. This field is intended for a human readable equivalent of the + * barcode value, used when the barcode cannot be scanned. + */ +@property(nonatomic, copy, nullable) NSString *alternateText; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#barcode"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * The render encoding for the barcode. When specified, barcode is rendered in + * the given encoding. Otherwise best known encoding is chosen by Google. + * + * Likely values: + * @arg @c kGTLRWalletobjects_Barcode_RenderEncoding_RenderEncodingUnspecified + * Value "RENDER_ENCODING_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_Barcode_RenderEncoding_Utf8 UTF_8 encoding for + * barcodes. This is only supported for barcode type qrCode. (Value: + * "UTF_8") + */ +@property(nonatomic, copy, nullable) NSString *renderEncoding; + +/** + * Optional text that will be shown when the barcode is hidden behind a click + * action. This happens in cases where a pass has Smart Tap enabled. If not + * specified, a default is chosen by Google. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *showCodeText; + +/** + * The type of barcode. + * + * Likely values: + * @arg @c kGTLRWalletobjects_Barcode_Type_Aztec Legacy alias for `AZTEC`. + * Deprecated. Not supported for Rotating Barcodes. (Value: "aztec") + * @arg @c kGTLRWalletobjects_Barcode_Type_BarcodeTypeUnspecified Value + * "BARCODE_TYPE_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_Barcode_Type_Codabar Legacy alias for + * `CODABAR`. Deprecated. Not supported for Rotating Barcodes. (Value: + * "codabar") + * @arg @c kGTLRWalletobjects_Barcode_Type_Code128 Legacy alias for + * `CODE_128`. Deprecated. Not supported for Rotating Barcodes. (Value: + * "code128") + * @arg @c kGTLRWalletobjects_Barcode_Type_Code39 Legacy alias for `CODE_39`. + * Deprecated. Not supported for Rotating Barcodes. (Value: "code39") + * @arg @c kGTLRWalletobjects_Barcode_Type_DataMatrix Legacy alias for + * `DATA_MATRIX`. Deprecated. Not supported for Rotating Barcodes. + * (Value: "dataMatrix") + * @arg @c kGTLRWalletobjects_Barcode_Type_Ean13 Legacy alias for `EAN_13`. + * Deprecated. Not supported for Rotating Barcodes. (Value: "EAN13") + * @arg @c kGTLRWalletobjects_Barcode_Type_Ean8 Legacy alias for `EAN_8`. + * Deprecated. Not supported for Rotating Barcodes. (Value: "ean8") + * @arg @c kGTLRWalletobjects_Barcode_Type_Itf14 Legacy alias for `ITF_14`. + * Deprecated. Not supported for Rotating Barcodes. (Value: "itf14") + * @arg @c kGTLRWalletobjects_Barcode_Type_Pdf417 Legacy alias for `PDF_417`. + * Deprecated. (Value: "PDF417") + * @arg @c kGTLRWalletobjects_Barcode_Type_Qrcode Legacy alias for `QR_CODE`. + * Deprecated. (Value: "qrcode") + * @arg @c kGTLRWalletobjects_Barcode_Type_QrCode Legacy alias for `QR_CODE`. + * Deprecated. (Value: "qrCode") + * @arg @c kGTLRWalletobjects_Barcode_Type_TextOnly Legacy alias for + * `TEXT_ONLY`. Deprecated. Not supported for Rotating Barcodes. (Value: + * "textOnly") + * @arg @c kGTLRWalletobjects_Barcode_Type_UpcA Legacy alias for `UPC_A`. + * Deprecated. Not supported for Rotating Barcodes. (Value: "upcA") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** The value encoded in the barcode. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + +/** + * GTLRWalletobjects_BarcodeSectionDetail + */ +@interface GTLRWalletobjects_BarcodeSectionDetail : GTLRObject + +/** A reference to an existing text-based or image field to display. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FieldSelector *fieldSelector; + +@end + + +/** + * Information to read/write to blobstore2. + */ +@interface GTLRWalletobjects_Blobstore2Info : GTLRObject + +/** + * The blob generation id. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *blobGeneration; + +/** The blob id, e.g., /blobstore/prod/playground/scotty */ +@property(nonatomic, copy, nullable) NSString *blobId; + +/** + * Read handle passed from Bigstore -> Scotty for a GCS download. This is a + * signed, serialized blobstore2.ReadHandle proto which must never be set + * outside of Bigstore, and is not applicable to non-GCS media downloads. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *downloadReadHandle; + +/** + * The blob read token. Needed to read blobs that have not been replicated. + * Might not be available until the final call. + */ +@property(nonatomic, copy, nullable) NSString *readToken; + +/** + * Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a + * signed, serialized blobstore2.BlobMetadataContainer proto which must never + * be consumed outside of Bigstore, and is not applicable to non-GCS media + * uploads. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *uploadMetadataContainer; + +@end + + +/** + * GTLRWalletobjects_BoardingAndSeatingInfo + */ +@interface GTLRWalletobjects_BoardingAndSeatingInfo : GTLRObject + +/** + * Set this field only if this flight boards through more than one door or + * bridge and you want to explicitly print the door location on the boarding + * pass. Most airlines route their passengers to the right door or bridge by + * refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` + * should not be set. + * + * Likely values: + * @arg @c kGTLRWalletobjects_BoardingAndSeatingInfo_BoardingDoor_Back Legacy + * alias for `BACK`. Deprecated. (Value: "back") + * @arg @c kGTLRWalletobjects_BoardingAndSeatingInfo_BoardingDoor_BoardingDoorUnspecified + * Value "BOARDING_DOOR_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_BoardingAndSeatingInfo_BoardingDoor_Front + * Legacy alias for `FRONT`. Deprecated. (Value: "front") + */ +@property(nonatomic, copy, nullable) NSString *boardingDoor; + +/** + * The value of boarding group (or zone) this passenger shall board with. eg: + * "B" The label for this value will be determined by the `boardingPolicy` + * field in the `flightClass` referenced by this object. + */ +@property(nonatomic, copy, nullable) NSString *boardingGroup; + +/** The value of boarding position. eg: "76" */ +@property(nonatomic, copy, nullable) NSString *boardingPosition; + +/** + * A small image shown above the boarding barcode. Airlines can use it to + * communicate any special boarding privileges. In the event the security + * program logo is also set, this image might be rendered alongside the logo + * for that security program. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *boardingPrivilegeImage; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#boardingAndSeatingInfo"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * The passenger's seat assignment. To be used when there is no specific + * identifier to use in `seatNumber`. eg: "assigned at gate" + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *seatAssignment; + +/** The value of the seat class. eg: "Economy" or "Economy Plus" */ +@property(nonatomic, copy, nullable) NSString *seatClass; + +/** + * The value of passenger seat. If there is no specific identifier, use + * `seatAssignment` instead. eg: "25A" + */ +@property(nonatomic, copy, nullable) NSString *seatNumber; + +/** + * The sequence number on the boarding pass. This usually matches the sequence + * in which the passengers checked in. Airline might use the number for manual + * boarding and bag tags. eg: "49" + */ +@property(nonatomic, copy, nullable) NSString *sequenceNumber; + +@end + + +/** + * GTLRWalletobjects_BoardingAndSeatingPolicy + */ +@interface GTLRWalletobjects_BoardingAndSeatingPolicy : GTLRObject + +/** + * Indicates the policy the airline uses for boarding. If unset, Google will + * default to `zoneBased`. + * + * Likely values: + * @arg @c kGTLRWalletobjects_BoardingAndSeatingPolicy_BoardingPolicy_BoardingPolicyOther + * Legacy alias for `BOARDING_POLICY_OTHER`. Deprecated. (Value: + * "boardingPolicyOther") + * @arg @c kGTLRWalletobjects_BoardingAndSeatingPolicy_BoardingPolicy_BoardingPolicyUnspecified + * Value "BOARDING_POLICY_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_BoardingAndSeatingPolicy_BoardingPolicy_GroupBased + * Legacy alias for `GROUP_BASED`. Deprecated. (Value: "groupBased") + * @arg @c kGTLRWalletobjects_BoardingAndSeatingPolicy_BoardingPolicy_ZoneBased + * Legacy alias for `ZONE_BASED`. Deprecated. (Value: "zoneBased") + */ +@property(nonatomic, copy, nullable) NSString *boardingPolicy; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#boardingAndSeatingPolicy"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * Seating policy which dictates how we display the seat class. If unset, + * Google will default to `cabinBased`. + * + * Likely values: + * @arg @c kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_CabinBased + * Legacy alias for `CABIN_BASED`. Deprecated. (Value: "cabinBased") + * @arg @c kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_ClassBased + * Legacy alias for `CLASS_BASED`. Deprecated. (Value: "classBased") + * @arg @c kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_SeatClassPolicyOther + * Legacy alias for `SEAT_CLASS_POLICY_OTHER`. Deprecated. (Value: + * "seatClassPolicyOther") + * @arg @c kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_SeatClassPolicyUnspecified + * Value "SEAT_CLASS_POLICY_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_BoardingAndSeatingPolicy_SeatClassPolicy_TierBased + * Legacy alias for `TIER_BASED`. Deprecated. (Value: "tierBased") + */ +@property(nonatomic, copy, nullable) NSString *seatClassPolicy; + +@end + + +/** + * GTLRWalletobjects_CallbackOptions + */ +@interface GTLRWalletobjects_CallbackOptions : GTLRObject + +/** + * URL for the merchant endpoint that would be called to request updates. The + * URL should be hosted on HTTPS and robots.txt should allow the URL path to be + * accessible by UserAgent:Google-Valuables. Deprecated. + */ +@property(nonatomic, copy, nullable) NSString *updateRequestUrl GTLR_DEPRECATED; + +/** + * The HTTPS url configured by the merchant. The URL should be hosted on HTTPS + * and robots.txt should allow the URL path to be accessible by + * UserAgent:Google-Valuables. + */ +@property(nonatomic, copy, nullable) NSString *url; + +@end + + +/** + * GTLRWalletobjects_CardBarcodeSectionDetails + */ +@interface GTLRWalletobjects_CardBarcodeSectionDetails : GTLRObject + +/** Optional information to display below the barcode. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_BarcodeSectionDetail *firstBottomDetail; + +/** + * Optional information to display above the barcode. If `secondTopDetail` is + * defined, this will be displayed to the start side of this detail section. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_BarcodeSectionDetail *firstTopDetail; + +/** + * Optional second piece of information to display above the barcode. If + * `firstTopDetail` is defined, this will be displayed to the end side of this + * detail section. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_BarcodeSectionDetail *secondTopDetail; + +@end + + +/** + * GTLRWalletobjects_CardRowOneItem + */ +@interface GTLRWalletobjects_CardRowOneItem : GTLRObject + +/** + * The item to be displayed in the row. This item will be automatically + * centered. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TemplateItem *item; + +@end + + +/** + * GTLRWalletobjects_CardRowTemplateInfo + */ +@interface GTLRWalletobjects_CardRowTemplateInfo : GTLRObject + +/** + * Template for a row containing one item. Exactly one of "one_item", + * "two_items", "three_items" must be set. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CardRowOneItem *oneItem; + +/** + * Template for a row containing three items. Exactly one of "one_item", + * "two_items", "three_items" must be set. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CardRowThreeItems *threeItems; + +/** + * Template for a row containing two items. Exactly one of "one_item", + * "two_items", "three_items" must be set. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CardRowTwoItems *twoItems; + +@end + + +/** + * GTLRWalletobjects_CardRowThreeItems + */ +@interface GTLRWalletobjects_CardRowThreeItems : GTLRObject + +/** + * The item to be displayed at the end of the row. This item will be aligned to + * the right. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TemplateItem *endItem; + +/** + * The item to be displayed in the middle of the row. This item will be + * centered between the start and end items. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TemplateItem *middleItem; + +/** + * The item to be displayed at the start of the row. This item will be aligned + * to the left. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TemplateItem *startItem; + +@end + + +/** + * GTLRWalletobjects_CardRowTwoItems + */ +@interface GTLRWalletobjects_CardRowTwoItems : GTLRObject + +/** + * The item to be displayed at the end of the row. This item will be aligned to + * the right. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TemplateItem *endItem; + +/** + * The item to be displayed at the start of the row. This item will be aligned + * to the left. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TemplateItem *startItem; + +@end + + +/** + * GTLRWalletobjects_CardTemplateOverride + */ +@interface GTLRWalletobjects_CardTemplateOverride : GTLRObject + +/** + * Template information for rows in the card view. At most three rows are + * allowed to be specified. + */ +@property(nonatomic, strong, nullable) NSArray *cardRowTemplateInfos; + +@end + + +/** + * GTLRWalletobjects_ClassTemplateInfo + */ +@interface GTLRWalletobjects_ClassTemplateInfo : GTLRObject + +/** + * Specifies extra information to be displayed above and below the barcode. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CardBarcodeSectionDetails *cardBarcodeSectionDetails; + +/** Override for the card view. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CardTemplateOverride *cardTemplateOverride; + +/** Override for the details view (beneath the card view). */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DetailsTemplateOverride *detailsTemplateOverride; + +/** Override for the passes list view. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ListTemplateOverride *listTemplateOverride; + +@end + + +/** + * A sequence of media data references representing composite data. Introduced + * to support Bigstore composite objects. For details, visit + * http://go/bigstore-composites. + */ +@interface GTLRWalletobjects_CompositeMedia : GTLRObject + +/** + * Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should + * be the byte representation of a blobstore.BlobRef. Since Blobstore is + * deprecating v1, use blobstore2_info instead. For now, any v2 blob will also + * be represented in this field as v1 BlobRef. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *blobRef GTLR_DEPRECATED; + +/** + * Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a + * v2 blob. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Blobstore2Info *blobstore2Info; + +/** + * A binary data reference for a media download. Serves as a + * technology-agnostic binary reference in some Google infrastructure. This + * value is a serialized storage_cosmo.BinaryReference proto. Storing it as + * bytes is a hack to get around the fact that the cosmo proto (as well as + * others it includes) doesn't support JavaScript. This prevents us from + * including the actual type of this field. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *cosmoBinaryReference; + +/** + * crc32.c hash for the payload. + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *crc32cHash; + +/** + * Media data, set if reference_type is INLINE + * + * Remapped to 'inlineProperty' to avoid language reserved word 'inline'. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *inlineProperty; + +/** + * Size of the data, in bytes + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *length; + +/** + * MD5 hash for the payload. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *md5Hash; + +/** Reference to a TI Blob, set if reference_type is BIGSTORE_REF. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ObjectId *objectId; + +/** Path to the data, set if reference_type is PATH */ +@property(nonatomic, copy, nullable) NSString *path; + +/** + * Describes what the field reference contains. + * + * Likely values: + * @arg @c kGTLRWalletobjects_CompositeMedia_ReferenceType_BigstoreRef + * Reference points to a bigstore object (Value: "BIGSTORE_REF") + * @arg @c kGTLRWalletobjects_CompositeMedia_ReferenceType_BlobRef Reference + * points to a blobstore object. This could be either a v1 blob_ref or a + * v2 blobstore2_info. Clients should check blobstore2_info first, since + * v1 is being deprecated. (Value: "BLOB_REF") + * @arg @c kGTLRWalletobjects_CompositeMedia_ReferenceType_CosmoBinaryReference + * Indicates the data is stored in cosmo_binary_reference. (Value: + * "COSMO_BINARY_REFERENCE") + * @arg @c kGTLRWalletobjects_CompositeMedia_ReferenceType_Inline Data is + * included into this proto buffer (Value: "INLINE") + * @arg @c kGTLRWalletobjects_CompositeMedia_ReferenceType_Path Reference + * contains a GFS path or a local path. (Value: "PATH") + */ +@property(nonatomic, copy, nullable) NSString *referenceType; + +/** + * SHA-1 hash for the payload. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *sha1Hash; + +@end + + +/** + * Detailed Content-Type information from Scotty. The Content-Type of the media + * will typically be filled in by the header or Scotty's best_guess, but this + * extended information provides the backend with more information so that it + * can make a better decision if needed. This is only used on media upload + * requests from Scotty. + */ +@interface GTLRWalletobjects_ContentTypeInfo : GTLRObject + +/** Scotty's best guess of what the content type of the file is. */ +@property(nonatomic, copy, nullable) NSString *bestGuess; + +/** + * The content type of the file derived by looking at specific bytes (i.e. + * "magic bytes") of the actual file. + */ +@property(nonatomic, copy, nullable) NSString *fromBytes; + +/** + * The content type of the file derived from the file extension of the original + * file name used by the client. + */ +@property(nonatomic, copy, nullable) NSString *fromFileName; + +/** + * The content type of the file as specified in the request headers, multipart + * headers, or RUPIO start request. + */ +@property(nonatomic, copy, nullable) NSString *fromHeader; + +/** + * The content type of the file derived from the file extension of the URL + * path. The URL path is assumed to represent a file name (which is typically + * only true for agents that are providing a REST API). + */ +@property(nonatomic, copy, nullable) NSString *fromUrlPath; + +@end + + +/** + * GTLRWalletobjects_DateTime + */ +@interface GTLRWalletobjects_DateTime : GTLRObject + +/** + * An ISO 8601 extended format date/time. Offset may or may not be required + * (refer to the parent field's documentation). Time may be specified up to + * nanosecond precision. Offsets may be specified with seconds precision (even + * though offset seconds is not part of ISO 8601). For example: + * `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the + * 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would + * be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 + * hours before UTC (same instant in time as the above example). If the + * date/time is intended for a physical location in New York, this would be the + * equivalent of Eastern Daylight Time (EDT). Remember that offset varies in + * regions that observe Daylight Saving Time (or Summer Time), depending on the + * time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 + * seconds after the 19th hour of April 12th, 1985 with no offset information. + * Providing an offset makes this an absolute instant in time around the world. + * The date/time will be adjusted based on the user's time zone. For example, a + * time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York + * and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a + * local date/time, representing several instants in time around the world. The + * date/time will always be in the user's current time zone. For example, a + * time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and + * also 18:30:00 for a user in Los Angeles. This is useful when the same local + * date/time should apply to many physical locations across several time zones. + */ +@property(nonatomic, copy, nullable) NSString *date; + +@end + + +/** + * GTLRWalletobjects_DetailsItemInfo + */ +@interface GTLRWalletobjects_DetailsItemInfo : GTLRObject + +/** The item to be displayed in the details list. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TemplateItem *item; + +@end + + +/** + * GTLRWalletobjects_DetailsTemplateOverride + */ +@interface GTLRWalletobjects_DetailsTemplateOverride : GTLRObject + +/** Information for the "nth" item displayed in the details list. */ +@property(nonatomic, strong, nullable) NSArray *detailsItemInfos; + +@end + + +/** + * Device context associated with the object. + */ +@interface GTLRWalletobjects_DeviceContext : GTLRObject + +/** + * If set, redemption information will only be returned to the given device + * upon activation of the object. This should not be used as a stable + * identifier to trace a user's device. It can change across different passes + * for the same device or even across different activations for the same + * device. When setting this, callers must also set has_linked_device on the + * object being activated. + */ +@property(nonatomic, copy, nullable) NSString *deviceToken; + +@end + + +/** + * Backend response for a Diff get checksums response. For details on the + * Scotty Diff protocol, visit http://go/scotty-diff-protocol. + */ +@interface GTLRWalletobjects_DiffChecksumsResponse : GTLRObject + +/** + * Exactly one of these fields must be populated. If checksums_location is + * filled, the server will return the corresponding contents to the user. If + * object_location is filled, the server will calculate the checksums based on + * the content there and return that to the user. For details on the format of + * the checksums, see http://go/scotty-diff-protocol. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CompositeMedia *checksumsLocation; + +/** + * The chunk size of checksums. Must be a multiple of 256KB. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *chunkSizeBytes; + +/** + * If set, calculate the checksums based on the contents and return them to the + * caller. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CompositeMedia *objectLocation; + +/** + * The total size of the server object. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *objectSizeBytes; + +/** The object version of the object the checksums are being returned for. */ +@property(nonatomic, copy, nullable) NSString *objectVersion; + +@end + + +/** + * Backend response for a Diff download response. For details on the Scotty + * Diff protocol, visit http://go/scotty-diff-protocol. + */ +@interface GTLRWalletobjects_DiffDownloadResponse : GTLRObject + +/** The original object location. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CompositeMedia *objectLocation; + +@end + + +/** + * A Diff upload request. For details on the Scotty Diff protocol, visit + * http://go/scotty-diff-protocol. + */ +@interface GTLRWalletobjects_DiffUploadRequest : GTLRObject + +/** + * The location of the checksums for the new object. Agents must clone the + * object located here, as the upload server will delete the contents once a + * response is received. For details on the format of the checksums, see + * http://go/scotty-diff-protocol. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CompositeMedia *checksumsInfo; + +/** + * The location of the new object. Agents must clone the object located here, + * as the upload server will delete the contents once a response is received. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CompositeMedia *objectInfo; + +/** + * The object version of the object that is the base version the incoming diff + * script will be applied to. This field will always be filled in. + */ +@property(nonatomic, copy, nullable) NSString *objectVersion; + +@end + + +/** + * Backend response for a Diff upload request. For details on the Scotty Diff + * protocol, visit http://go/scotty-diff-protocol. + */ +@interface GTLRWalletobjects_DiffUploadResponse : GTLRObject + +/** + * The object version of the object at the server. Must be included in the end + * notification response. The version in the end notification response must + * correspond to the new version of the object that is now stored at the + * server, after the upload. + */ +@property(nonatomic, copy, nullable) NSString *objectVersion; + +/** + * The location of the original file for a diff upload request. Must be filled + * in if responding to an upload start notification. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CompositeMedia *originalObject; + +@end + + +/** + * Backend response for a Diff get version response. For details on the Scotty + * Diff protocol, visit http://go/scotty-diff-protocol. + */ +@interface GTLRWalletobjects_DiffVersionResponse : GTLRObject + +/** + * The total size of the server object. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *objectSizeBytes; + +/** The version of the object stored at the server. */ +@property(nonatomic, copy, nullable) NSString *objectVersion; + +@end + + +/** + * Information about how a class may be discovered and instantiated from within + * the Android Pay app. This is done by searching for a loyalty or gift card + * program and scanning or manually entering. + */ +@interface GTLRWalletobjects_DiscoverableProgram : GTLRObject + +/** + * Information about the ability to signin and add a valuable for this program + * through a merchant site. Used when MERCHANT_HOSTED_SIGNIN is enabled. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DiscoverableProgramMerchantSigninInfo *merchantSigninInfo; + +/** + * Information about the ability to signup and add a valuable for this program + * through a merchant site. Used when MERCHANT_HOSTED_SIGNUP is enabled. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DiscoverableProgramMerchantSignupInfo *merchantSignupInfo; + +/** + * Visibility state of the discoverable program. + * + * Likely values: + * @arg @c kGTLRWalletobjects_DiscoverableProgram_State_Disabled Legacy alias + * for `DISABLED`. Deprecated. (Value: "disabled") + * @arg @c kGTLRWalletobjects_DiscoverableProgram_State_Live Legacy alias for + * `LIVE`. Deprecated. (Value: "live") + * @arg @c kGTLRWalletobjects_DiscoverableProgram_State_StateUnspecified + * Value "STATE_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_DiscoverableProgram_State_TrustedTesters Legacy + * alias for `TRUSTED_TESTERS`. Deprecated. (Value: "trustedTesters") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * Information about the merchant hosted signin flow for a program. + */ +@interface GTLRWalletobjects_DiscoverableProgramMerchantSigninInfo : GTLRObject + +/** The URL to direct the user to for the merchant's signin site. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Uri *signinWebsite; + +@end + + +/** + * Information about the merchant hosted signup flow for a program. + */ +@interface GTLRWalletobjects_DiscoverableProgramMerchantSignupInfo : GTLRObject + +/** + * User data that is sent in a POST request to the signup website URL. This + * information is encoded and then shared so that the merchant's website can + * prefill fields used to enroll the user for the discoverable program. + */ +@property(nonatomic, strong, nullable) NSArray *signupSharedDatas; + +/** The URL to direct the user to for the merchant's signup site. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Uri *signupWebsite; + +@end + + +/** + * Parameters specific to media downloads. + */ +@interface GTLRWalletobjects_DownloadParameters : GTLRObject + +/** + * A boolean to be returned in the response to Scotty. Allows/disallows gzip + * encoding of the payload content when the server thinks it's advantageous + * (hence, does not guarantee compression) which allows Scotty to GZip the + * response to the client. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowGzipCompression; + +/** + * Determining whether or not Apiary should skip the inclusion of any + * Content-Range header on its response to Scotty. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoreRange; + +@end + + +/** + * GTLRWalletobjects_EventDateTime + */ +@interface GTLRWalletobjects_EventDateTime : GTLRObject + +/** + * A custom label to use for the doors open value (`doorsOpen`) on the card + * detail view. This should only be used if the default "Doors Open" label or + * one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` + * and `customDoorsOpenLabel` may not be set. If neither is set, the label will + * default to "Doors Open", localized. If the doors open field is unset, this + * label will not be used. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customDoorsOpenLabel; + +/** + * The date/time when the doors open at the venue. This is an ISO 8601 extended + * format date/time, with or without an offset. Time may be specified up to + * nanosecond precision. Offsets may be specified with seconds precision (even + * though offset seconds is not part of ISO 8601). For example: + * `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the + * 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would + * be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 + * hours before UTC (same instant in time as the above example). If the event + * were in New York, this would be the equivalent of Eastern Daylight Time + * (EDT). Remember that offset varies in regions that observe Daylight Saving + * Time (or Summer Time), depending on the time of the year. + * `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the + * 19th hour of April 12th, 1985 with no offset information. The portion of the + * date/time without the offset is considered the "local date/time". This + * should be the local date/time at the venue. For example, if the event occurs + * at the 20th hour of June 5th, 2018 at the venue, the local date/time portion + * should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 + * hours before UTC, an offset of `-04:00` may be appended. Without offset + * information, some rich features may not be available. + */ +@property(nonatomic, copy, nullable) NSString *doorsOpen; + +/** + * The label to use for the doors open value (`doorsOpen`) on the card detail + * view. Each available option maps to a set of localized strings, so that + * translations are shown to the user based on their locale. Both + * `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is + * set, the label will default to "Doors Open", localized. If the doors open + * field is unset, this label will not be used. + * + * Likely values: + * @arg @c kGTLRWalletobjects_EventDateTime_DoorsOpenLabel_DoorsOpen Legacy + * alias for `DOORS_OPEN`. Deprecated. (Value: "doorsOpen") + * @arg @c kGTLRWalletobjects_EventDateTime_DoorsOpenLabel_DoorsOpenLabelUnspecified + * Value "DOORS_OPEN_LABEL_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_EventDateTime_DoorsOpenLabel_GatesOpen Legacy + * alias for `GATES_OPEN`. Deprecated. (Value: "gatesOpen") + */ +@property(nonatomic, copy, nullable) NSString *doorsOpenLabel; + +/** + * The date/time when the event ends. If the event spans multiple days, it + * should be the end date/time on the last day. This is an ISO 8601 extended + * format date/time, with or without an offset. Time may be specified up to + * nanosecond precision. Offsets may be specified with seconds precision (even + * though offset seconds is not part of ISO 8601). For example: + * `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the + * 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would + * be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 + * hours before UTC (same instant in time as the above example). If the event + * were in New York, this would be the equivalent of Eastern Daylight Time + * (EDT). Remember that offset varies in regions that observe Daylight Saving + * Time (or Summer Time), depending on the time of the year. + * `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the + * 19th hour of April 12th, 1985 with no offset information. The portion of the + * date/time without the offset is considered the "local date/time". This + * should be the local date/time at the venue. For example, if the event occurs + * at the 20th hour of June 5th, 2018 at the venue, the local date/time portion + * should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 + * hours before UTC, an offset of `-04:00` may be appended. Without offset + * information, some rich features may not be available. + */ +@property(nonatomic, copy, nullable) NSString *end; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#eventDateTime"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * The date/time when the event starts. If the event spans multiple days, it + * should be the start date/time on the first day. This is an ISO 8601 extended + * format date/time, with or without an offset. Time may be specified up to + * nanosecond precision. Offsets may be specified with seconds precision (even + * though offset seconds is not part of ISO 8601). For example: + * `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the + * 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would + * be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 + * hours before UTC (same instant in time as the above example). If the event + * were in New York, this would be the equivalent of Eastern Daylight Time + * (EDT). Remember that offset varies in regions that observe Daylight Saving + * Time (or Summer Time), depending on the time of the year. + * `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the + * 19th hour of April 12th, 1985 with no offset information. The portion of the + * date/time without the offset is considered the "local date/time". This + * should be the local date/time at the venue. For example, if the event occurs + * at the 20th hour of June 5th, 2018 at the venue, the local date/time portion + * should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 + * hours before UTC, an offset of `-04:00` may be appended. Without offset + * information, some rich features may not be available. + */ +@property(nonatomic, copy, nullable) NSString *start; + +@end + + +/** + * GTLRWalletobjects_EventReservationInfo + */ +@interface GTLRWalletobjects_EventReservationInfo : GTLRObject + +/** + * The confirmation code of the event reservation. This may also take the form + * of an "order number", "confirmation number", "reservation number", or other + * equivalent. + */ +@property(nonatomic, copy, nullable) NSString *confirmationCode; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#eventReservationInfo"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_EventSeat + */ +@interface GTLRWalletobjects_EventSeat : GTLRObject + +/** + * The gate the ticket holder should enter to get to their seat, such as "A" or + * "West". This field is localizable so you may translate words or use + * different alphabets for the characters in an identifier. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *gate; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#eventSeat"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * The row of the seat, such as "1", E", "BB", or "A5". This field is + * localizable so you may translate words or use different alphabets for the + * characters in an identifier. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *row; + +/** + * The seat number, such as "1", "2", "3", or any other seat identifier. This + * field is localizable so you may translate words or use different alphabets + * for the characters in an identifier. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *seat; + +/** + * The section of the seat, such as "121". This field is localizable so you may + * translate words or use different alphabets for the characters in an + * identifier. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *section; + +@end + + +/** + * GTLRWalletobjects_EventTicketClass + */ +@interface GTLRWalletobjects_EventTicketClass : GTLRObject + +/** + * Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowMultipleUsersPerObject GTLR_DEPRECATED; + +/** + * Callback options to be used to call the issuer back for every save/delete of + * an object for this class by the end-user. All objects of this class are + * eligible for the callback. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CallbackOptions *callbackOptions; + +/** + * Template information about how the class should be displayed. If unset, + * Google will fallback to a default set of fields to display. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ClassTemplateInfo *classTemplateInfo; + +/** + * The label to use for the confirmation code value + * (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail + * view. Each available option maps to a set of localized strings, so that + * translations are shown to the user based on their locale. Both + * `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If + * neither is set, the label will default to "Confirmation Code", localized. If + * the confirmation code field is unset, this label will not be used. + * + * Likely values: + * @arg @c kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_ConfirmationCode + * Legacy alias for `CONFIRMATION_CODE`. Deprecated. (Value: + * "confirmationCode") + * @arg @c kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_ConfirmationCodeLabelUnspecified + * Value "CONFIRMATION_CODE_LABEL_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_ConfirmationNumber + * Legacy alias for `CONFIRMATION_NUMBER`. Deprecated. (Value: + * "confirmationNumber") + * @arg @c kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_OrderNumber + * Legacy alias for `ORDER_NUMBER`. Deprecated. (Value: "orderNumber") + * @arg @c kGTLRWalletobjects_EventTicketClass_ConfirmationCodeLabel_ReservationNumber + * Legacy alias for `RESERVATION_NUMBER`. Deprecated. (Value: + * "reservationNumber") + */ +@property(nonatomic, copy, nullable) NSString *confirmationCodeLabel; + +/** + * Country code used to display the card's country (when the user is not in + * that country), as well as to display localized content when content is not + * available in the user's locale. + */ +@property(nonatomic, copy, nullable) NSString *countryCode; + +/** + * A custom label to use for the confirmation code value + * (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail + * view. This should only be used if the default "Confirmation Code" label or + * one of the `confirmationCodeLabel` options is not sufficient. Both + * `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If + * neither is set, the label will default to "Confirmation Code", localized. If + * the confirmation code field is unset, this label will not be used. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customConfirmationCodeLabel; + +/** + * A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) + * on the card detail view. This should only be used if the default "Gate" + * label or one of the `gateLabel` options is not sufficient. Both `gateLabel` + * and `customGateLabel` may not be set. If neither is set, the label will + * default to "Gate", localized. If the gate field is unset, this label will + * not be used. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customGateLabel; + +/** + * A custom label to use for the row value (`eventTicketObject.seatInfo.row`) + * on the card detail view. This should only be used if the default "Row" label + * or one of the `rowLabel` options is not sufficient. Both `rowLabel` and + * `customRowLabel` may not be set. If neither is set, the label will default + * to "Row", localized. If the row field is unset, this label will not be used. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customRowLabel; + +/** + * A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) + * on the card detail view. This should only be used if the default "Seat" + * label or one of the `seatLabel` options is not sufficient. Both `seatLabel` + * and `customSeatLabel` may not be set. If neither is set, the label will + * default to "Seat", localized. If the seat field is unset, this label will + * not be used. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customSeatLabel; + +/** + * A custom label to use for the section value + * (`eventTicketObject.seatInfo.section`) on the card detail view. This should + * only be used if the default "Section" label or one of the `sectionLabel` + * options is not sufficient. Both `sectionLabel` and `customSectionLabel` may + * not be set. If neither is set, the label will default to "Section", + * localized. If the section field is unset, this label will not be used. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customSectionLabel; + +/** The date & time information of the event. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_EventDateTime *dateTime; + +/** + * Identifies whether this class supports Smart Tap. The `redemptionIssuers` + * and object level `smartTapRedemptionLevel` fields must also be set up + * correctly in order for a pass to support Smart Tap. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableSmartTap; + +/** + * The ID of the event. This ID should be unique for every event in an account. + * It is used to group tickets together if the user has saved multiple tickets + * for the same event. It can be at most 64 characters. If provided, the + * grouping will be stable. Be wary of unintentional collision to avoid + * grouping tickets that should not be grouped. If you use only one class per + * event, you can simply set this to the `classId` (with or without the issuer + * ID portion). If not provided, the platform will attempt to use other data to + * group tickets (potentially unstable). + */ +@property(nonatomic, copy, nullable) NSString *eventId; + +/** Required. The name of the event, such as "LA Dodgers at SF Giants". */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *eventName; + +/** The fine print, terms, or conditions of the ticket. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *finePrint; + +/** + * The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on + * the card detail view. Each available option maps to a set of localized + * strings, so that translations are shown to the user based on their locale. + * Both `gateLabel` and `customGateLabel` may not be set. If neither is set, + * the label will default to "Gate", localized. If the gate field is unset, + * this label will not be used. + * + * Likely values: + * @arg @c kGTLRWalletobjects_EventTicketClass_GateLabel_Door Legacy alias + * for `DOOR`. Deprecated. (Value: "door") + * @arg @c kGTLRWalletobjects_EventTicketClass_GateLabel_Entrance Legacy + * alias for `ENTRANCE`. Deprecated. (Value: "entrance") + * @arg @c kGTLRWalletobjects_EventTicketClass_GateLabel_Gate Legacy alias + * for `GATE`. Deprecated. (Value: "gate") + * @arg @c kGTLRWalletobjects_EventTicketClass_GateLabel_GateLabelUnspecified + * Value "GATE_LABEL_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *gateLabel; + +/** + * Optional banner image displayed on the front of the card. If none is + * present, nothing will be displayed. The image will display at 100% width. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *heroImage; + +/** + * The background color for the card. If not set the dominant color of the hero + * image is used, and if no hero image is set, the dominant color of the logo + * is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as + * `#ffcc00`. You can also use the shorthand version of the RGB triplet which + * is #rgb, such as `#fc0`. + */ +@property(nonatomic, copy, nullable) NSString *hexBackgroundColor; + +/** + * The URI of your application's home page. Populating the URI in this field + * results in the exact same behavior as populating an URI in linksModuleData + * (when an object is rendered, a link to the homepage is shown in what would + * usually be thought of as the linksModuleData section of the object). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Uri *homepageUri; + +/** + * Required. The unique identifier for a class. This ID must be unique across + * all classes from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. The maximum number of these fields displayed is 1 from + * object level and 1 for class object level. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** Deprecated. Use textModulesData instead. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_InfoModuleData *infoModuleData GTLR_DEPRECATED; + +/** + * Required. The issuer name. Recommended maximum length is 20 characters to + * ensure full string is displayed on smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *issuerName; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#eventTicketClass"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * Links module data. If links module data is also defined on the object, both + * will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** + * Translated strings for the issuer_name. Recommended maximum length is 20 + * characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedIssuerName; + +/** + * Note: This field is currently not supported to trigger geo notifications. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** + * The logo image of the ticket. This image is displayed in the card detail + * view of the app. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *logo; + +/** + * An array of messages displayed in the app. All users of this object will + * receive its associated messages. The maximum number of these fields is 10. + */ +@property(nonatomic, strong, nullable) NSArray *messages; + +/** + * Identifies whether multiple users and devices will save the same object + * referencing this class. + * + * Likely values: + * @arg @c kGTLRWalletobjects_EventTicketClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. (Value: + * "multipleHolders") + * @arg @c kGTLRWalletobjects_EventTicketClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. (Value: + * "oneUserAllDevices") + * @arg @c kGTLRWalletobjects_EventTicketClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. (Value: + * "oneUserOneDevice") + * @arg @c kGTLRWalletobjects_EventTicketClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified + * Unspecified preference. (Value: "STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *multipleDevicesAndHoldersAllowedStatus; + +/** + * Identifies which redemption issuers can redeem the pass over Smart Tap. + * Redemption issuers are identified by their issuer ID. Redemption issuers + * must have at least one Smart Tap key configured. The `enableSmartTap` and + * object level `smartTapRedemptionLevel` fields must also be set up correctly + * in order for a pass to support Smart Tap. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *redemptionIssuers; + +/** + * The review comments set by the platform when a class is marked `approved` or + * `rejected`. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Review *review; + +/** + * Required. The status of the class. This field can be set to `draft` or + * `underReview` using the insert, patch, or update API calls. Once the review + * state is changed from `draft` it may not be changed back to `draft`. You + * should keep this field to `draft` when the class is under development. A + * `draft` class cannot be used to create any object. You should set this field + * to `underReview` when you believe the class is ready for use. The platform + * will automatically set this field to `approved` and it can be immediately + * used to create or migrate objects. When updating an already `approved` class + * you should keep setting this field to `underReview`. + * + * Likely values: + * @arg @c kGTLRWalletobjects_EventTicketClass_ReviewStatus_Approved Legacy + * alias for `APPROVED`. Deprecated. (Value: "approved") + * @arg @c kGTLRWalletobjects_EventTicketClass_ReviewStatus_Draft Legacy + * alias for `DRAFT`. Deprecated. (Value: "draft") + * @arg @c kGTLRWalletobjects_EventTicketClass_ReviewStatus_Rejected Legacy + * alias for `REJECTED`. Deprecated. (Value: "rejected") + * @arg @c kGTLRWalletobjects_EventTicketClass_ReviewStatus_ReviewStatusUnspecified + * Value "REVIEW_STATUS_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_EventTicketClass_ReviewStatus_UnderReview + * Legacy alias for `UNDER_REVIEW`. Deprecated. (Value: "underReview") + */ +@property(nonatomic, copy, nullable) NSString *reviewStatus; + +/** + * The label to use for the row value (`eventTicketObject.seatInfo.row`) on the + * card detail view. Each available option maps to a set of localized strings, + * so that translations are shown to the user based on their locale. Both + * `rowLabel` and `customRowLabel` may not be set. If neither is set, the label + * will default to "Row", localized. If the row field is unset, this label will + * not be used. + * + * Likely values: + * @arg @c kGTLRWalletobjects_EventTicketClass_RowLabel_Row Legacy alias for + * `ROW`. Deprecated. (Value: "row") + * @arg @c kGTLRWalletobjects_EventTicketClass_RowLabel_RowLabelUnspecified + * Value "ROW_LABEL_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *rowLabel; + +/** + * The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on + * the card detail view. Each available option maps to a set of localized + * strings, so that translations are shown to the user based on their locale. + * Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, + * the label will default to "Seat", localized. If the seat field is unset, + * this label will not be used. + * + * Likely values: + * @arg @c kGTLRWalletobjects_EventTicketClass_SeatLabel_Seat Legacy alias + * for `SEAT`. Deprecated. (Value: "seat") + * @arg @c kGTLRWalletobjects_EventTicketClass_SeatLabel_SeatLabelUnspecified + * Value "SEAT_LABEL_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *seatLabel; + +/** + * The label to use for the section value + * (`eventTicketObject.seatInfo.section`) on the card detail view. Each + * available option maps to a set of localized strings, so that translations + * are shown to the user based on their locale. Both `sectionLabel` and + * `customSectionLabel` may not be set. If neither is set, the label will + * default to "Section", localized. If the section field is unset, this label + * will not be used. + * + * Likely values: + * @arg @c kGTLRWalletobjects_EventTicketClass_SectionLabel_Section Legacy + * alias for `SECTION`. Deprecated. (Value: "section") + * @arg @c kGTLRWalletobjects_EventTicketClass_SectionLabel_SectionLabelUnspecified + * Value "SECTION_LABEL_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_EventTicketClass_SectionLabel_Theater Legacy + * alias for `THEATER`. Deprecated. (Value: "theater") + */ +@property(nonatomic, copy, nullable) NSString *sectionLabel; + +/** + * Optional information about the security animation. If this is set a security + * animation will be rendered on pass details. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_SecurityAnimation *securityAnimation; + +/** + * Text module data. If text module data is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * the object and 10 from the class. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** Event venue details. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_EventVenue *venue; + +/** + * Deprecated + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version GTLR_DEPRECATED; + +/** + * View Unlock Requirement options for the event ticket. + * + * Likely values: + * @arg @c kGTLRWalletobjects_EventTicketClass_ViewUnlockRequirement_UnlockNotRequired + * Default behavior for all the existing Passes if ViewUnlockRequirement + * is not set. (Value: "UNLOCK_NOT_REQUIRED") + * @arg @c kGTLRWalletobjects_EventTicketClass_ViewUnlockRequirement_UnlockRequiredToView + * Requires the user to unlock their device each time the pass is viewed. + * If the user removes their device lock after saving the pass, then they + * will be prompted to create a device lock before the pass can be + * viewed. (Value: "UNLOCK_REQUIRED_TO_VIEW") + * @arg @c kGTLRWalletobjects_EventTicketClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified + * Default value, same as UNLOCK_NOT_REQUIRED. (Value: + * "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *viewUnlockRequirement; + +/** + * The wide logo of the ticket. When provided, this will be used in place of + * the logo in the top left of the card view. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *wideLogo; + +/** Deprecated. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *wordMark GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_EventTicketClassAddMessageResponse + */ +@interface GTLRWalletobjects_EventTicketClassAddMessageResponse : GTLRObject + +/** The updated EventTicketClass resource. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_EventTicketClass *resource; + +@end + + +/** + * GTLRWalletobjects_EventTicketClassListResponse + */ +@interface GTLRWalletobjects_EventTicketClassListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRWalletobjects_EventTicketObject + */ +@interface GTLRWalletobjects_EventTicketObject : GTLRObject + +/** Optional information about the partner app link. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + +/** The barcode type and value. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Barcode *barcode; + +/** + * Required. The class associated with this object. The class must be of the + * same type as this object, must already exist, and must be approved. Class + * IDs should follow the format issuer ID.identifier where the former is issued + * by Google and latter is chosen by you. + */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * A copy of the inherited fields of the parent class. These fields are + * retrieved during a GET. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_EventTicketClass *classReference; + +/** + * Indicates if notifications should explicitly be suppressed. If this field is + * set to true, regardless of the `messages` field, expiration notifications to + * the user will be suppressed. By default, this field is set to false. + * Currently, this can only be set for offers. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableExpirationNotification; + +/** + * The face value of the ticket, matching what would be printed on a physical + * version of the ticket. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Money *faceValue; + +/** Information that controls how passes are grouped together. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_GroupingInfo *groupingInfo; + +/** + * Whether this object is currently linked to a single device. This field is + * set by the platform when a user saves the object, linking it to their + * device. Intended for use by select partners. Contact support for additional + * information. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasLinkedDevice; + +/** + * Indicates if the object has users. This field is set by the platform. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasUsers; + +/** + * Optional banner image displayed on the front of the card. If none is + * present, hero image of the class, if present, will be displayed. If hero + * image of the class is also not present, nothing will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *heroImage; + +/** + * The background color for the card. If not set the dominant color of the hero + * image is used, and if no hero image is set, the dominant color of the logo + * is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as + * `#ffcc00`. You can also use the shorthand version of the RGB triplet which + * is #rgb, such as `#fc0`. + */ +@property(nonatomic, copy, nullable) NSString *hexBackgroundColor; + +/** + * Required. The unique identifier for an object. This ID must be unique across + * all objects from an issuer. This value should follow the format issuer + * ID.identifier where the former is issued by Google and latter is chosen by + * you. The unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. The maximum number of these fields displayed is 1 from + * object level and 1 for class object level. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** Deprecated. Use textModulesData instead. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_InfoModuleData *infoModuleData; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#eventTicketObject"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * A list of offer objects linked to this event ticket. The offer objects must + * already exist. Offer object IDs should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + */ +@property(nonatomic, strong, nullable) NSArray *linkedOfferIds; + +/** + * Links module data. If links module data is also defined on the class, both + * will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** + * Note: This field is currently not supported to trigger geo notifications. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** + * An array of messages displayed in the app. All users of this object will + * receive its associated messages. The maximum number of these fields is 10. + */ +@property(nonatomic, strong, nullable) NSArray *messages; + +/** + * Pass constraints for the object. Includes limiting NFC and screenshot + * behaviors. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_PassConstraints *passConstraints; + +/** + * Reservation details for this ticket. This is expected to be shared amongst + * all tickets that were purchased in the same order. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_EventReservationInfo *reservationInfo; + +/** The rotating barcode type and value. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_RotatingBarcode *rotatingBarcode; + +/** Seating details for this ticket. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_EventSeat *seatInfo; + +/** + * The value that will be transmitted to a Smart Tap certified terminal over + * NFC for this object. The class level fields `enableSmartTap` and + * `redemptionIssuers` must also be set up correctly in order for the pass to + * support Smart Tap. Only ASCII characters are supported. + */ +@property(nonatomic, copy, nullable) NSString *smartTapRedemptionValue; + +/** + * Required. The state of the object. This field is used to determine how an + * object is displayed in the app. For example, an `inactive` object is moved + * to the "Expired passes" section. + * + * Likely values: + * @arg @c kGTLRWalletobjects_EventTicketObject_State_Active Legacy alias for + * `ACTIVE`. Deprecated. (Value: "active") + * @arg @c kGTLRWalletobjects_EventTicketObject_State_Completed Legacy alias + * for `COMPLETED`. Deprecated. (Value: "completed") + * @arg @c kGTLRWalletobjects_EventTicketObject_State_Expired Legacy alias + * for `EXPIRED`. Deprecated. (Value: "expired") + * @arg @c kGTLRWalletobjects_EventTicketObject_State_Inactive Legacy alias + * for `INACTIVE`. Deprecated. (Value: "inactive") + * @arg @c kGTLRWalletobjects_EventTicketObject_State_StateUnspecified Value + * "STATE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Text module data. If text module data is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * the object and 10 from the class. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** + * Name of the ticket holder, if the ticket is assigned to a person. E.g. "John + * Doe" or "Jane Doe". + */ +@property(nonatomic, copy, nullable) NSString *ticketHolderName; + +/** + * The number of the ticket. This can be a unique identifier across all tickets + * in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or + * all tickets in the order (1, 2, 3, etc.). + */ +@property(nonatomic, copy, nullable) NSString *ticketNumber; + +/** + * The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard". + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *ticketType; + +/** + * The time period this object will be `active` and object can be used. An + * object's state will be changed to `expired` when this time period has + * passed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TimeInterval *validTimeInterval; + +/** + * Deprecated + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_EventTicketObjectAddMessageResponse + */ +@interface GTLRWalletobjects_EventTicketObjectAddMessageResponse : GTLRObject + +/** The updated EventTicketObject resource. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_EventTicketObject *resource; + +@end + + +/** + * GTLRWalletobjects_EventTicketObjectListResponse + */ +@interface GTLRWalletobjects_EventTicketObjectListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRWalletobjects_EventVenue + */ +@interface GTLRWalletobjects_EventVenue : GTLRObject + +/** + * The address of the venue, such as "24 Willie Mays Plaza\\nSan Francisco, CA + * 94107". Address lines are separated by line feed (`\\n`) characters. This is + * required. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *address; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#eventVenue"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** The name of the venue, such as "AT&T Park". This is required. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *name; + +@end + + +/** + * Indicates that the issuer would like Google Wallet to send expiry + * notifications 2 days prior to the card expiration. + */ +@interface GTLRWalletobjects_ExpiryNotification : GTLRObject + +/** + * Indicates if the object needs to have expiry notification enabled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableNotification; + +@end + + +/** + * Reference definition to use with field overrides. + */ +@interface GTLRWalletobjects_FieldReference : GTLRObject + +/** + * Only valid if the `fieldPath` references a date field. Chooses how the date + * field will be formatted and displayed in the UI. + * + * Likely values: + * @arg @c kGTLRWalletobjects_FieldReference_DateFormat_DateFormatUnspecified + * Default option when no format is specified, when selected, no + * formatting will be applied. (Value: "DATE_FORMAT_UNSPECIFIED") + * @arg @c kGTLRWalletobjects_FieldReference_DateFormat_DateOnly Legacy alias + * for `DATE_ONLY`. Deprecated. (Value: "dateOnly") + * @arg @c kGTLRWalletobjects_FieldReference_DateFormat_DateTime Legacy alias + * for `DATE_TIME`. Deprecated. (Value: "dateTime") + * @arg @c kGTLRWalletobjects_FieldReference_DateFormat_DateTimeYear Legacy + * alias for `DATE_TIME_YEAR`. Deprecated. (Value: "dateTimeYear") + * @arg @c kGTLRWalletobjects_FieldReference_DateFormat_DateYear Legacy alias + * for `DATE_YEAR`. Deprecated. (Value: "dateYear") + * @arg @c kGTLRWalletobjects_FieldReference_DateFormat_TimeOnly Legacy alias + * for `TIME_ONLY`. Deprecated. (Value: "timeOnly") + * @arg @c kGTLRWalletobjects_FieldReference_DateFormat_YearMonth Renders + * `2018-12-14T13:00:00` as `2018-12`. (Value: "YEAR_MONTH") + * @arg @c kGTLRWalletobjects_FieldReference_DateFormat_YearMonthDay Renders + * `2018-12-14T13:00:00` as `2018-12-14`. (Value: "YEAR_MONTH_DAY") + */ +@property(nonatomic, copy, nullable) NSString *dateFormat; + +/** + * Path to the field being referenced, prefixed with "object" or "class" and + * separated with dots. For example, it may be the string + * "object.purchaseDetails.purchasePrice". + */ +@property(nonatomic, copy, nullable) NSString *fieldPath; + +@end + + +/** + * Custom field selector to use with field overrides. + */ +@interface GTLRWalletobjects_FieldSelector : GTLRObject + +/** + * If more than one reference is supplied, then the first one that references a + * non-empty field will be displayed. + */ +@property(nonatomic, strong, nullable) NSArray *fields; + +@end + + +/** + * GTLRWalletobjects_FirstRowOption + */ +@interface GTLRWalletobjects_FirstRowOption : GTLRObject + +/** A reference to the field to be displayed in the first row. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FieldSelector *fieldOption; + +/** + * transitOption + * + * Likely values: + * @arg @c kGTLRWalletobjects_FirstRowOption_TransitOption_OriginAndDestinationCodes + * Legacy alias for `ORIGIN_AND_DESTINATION_CODES`. Deprecated. (Value: + * "originAndDestinationCodes") + * @arg @c kGTLRWalletobjects_FirstRowOption_TransitOption_OriginAndDestinationNames + * Legacy alias for `ORIGIN_AND_DESTINATION_NAMES`. Deprecated. (Value: + * "originAndDestinationNames") + * @arg @c kGTLRWalletobjects_FirstRowOption_TransitOption_OriginName Legacy + * alias for `ORIGIN_NAME`. Deprecated. (Value: "originName") + * @arg @c kGTLRWalletobjects_FirstRowOption_TransitOption_TransitOptionUnspecified + * Value "TRANSIT_OPTION_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *transitOption; + +@end + + +/** + * GTLRWalletobjects_FlightCarrier + */ +@interface GTLRWalletobjects_FlightCarrier : GTLRObject + +/** + * A logo for the airline alliance, displayed above the QR code that the + * passenger scans to board. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *airlineAllianceLogo; + +/** + * A logo for the airline described by carrierIataCode and + * localizedAirlineName. This logo will be rendered at the top of the detailed + * card view. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *airlineLogo; + +/** + * A localized name of the airline specified by carrierIataCode. If unset, + * `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for + * display purposes. eg: "Swiss Air" for "LX" + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *airlineName; + +/** + * Two character IATA airline code of the marketing carrier (as opposed to + * operating carrier). Exactly one of this or `carrierIcaoCode` needs to be + * provided for `carrier` and `operatingCarrier`. eg: "LX" for Swiss Air + */ +@property(nonatomic, copy, nullable) NSString *carrierIataCode; + +/** + * Three character ICAO airline code of the marketing carrier (as opposed to + * operating carrier). Exactly one of this or `carrierIataCode` needs to be + * provided for `carrier` and `operatingCarrier`. eg: "EZY" for Easy Jet + */ +@property(nonatomic, copy, nullable) NSString *carrierIcaoCode; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#flightCarrier"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * The wide logo of the airline. When provided, this will be used in place of + * the airline logo in the top left of the card view. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *wideAirlineLogo; + +@end + + +/** + * GTLRWalletobjects_FlightClass + */ +@interface GTLRWalletobjects_FlightClass : GTLRObject + +/** + * Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowMultipleUsersPerObject GTLR_DEPRECATED; + +/** + * Policies for boarding and seating. These will inform which labels will be + * shown to users. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_BoardingAndSeatingPolicy *boardingAndSeatingPolicy; + +/** + * Callback options to be used to call the issuer back for every save/delete of + * an object for this class by the end-user. All objects of this class are + * eligible for the callback. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CallbackOptions *callbackOptions; + +/** + * Template information about how the class should be displayed. If unset, + * Google will fallback to a default set of fields to display. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ClassTemplateInfo *classTemplateInfo; + +/** + * Country code used to display the card's country (when the user is not in + * that country), as well as to display localized content when content is not + * available in the user's locale. + */ +@property(nonatomic, copy, nullable) NSString *countryCode; + +/** Required. Destination airport. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AirportInfo *destination; + +/** + * Identifies whether this class supports Smart Tap. The `redemptionIssuers` + * and object level `smartTapRedemptionLevel` fields must also be set up + * correctly in order for a pass to support Smart Tap. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableSmartTap; + +/** Required. Information about the flight carrier and number. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FlightHeader *flightHeader; + +/** + * Status of this flight. If unset, Google will compute status based on data + * from other sources, such as FlightStats, etc. Note: Google-computed status + * will not be returned in API responses. + * + * Likely values: + * @arg @c kGTLRWalletobjects_FlightClass_FlightStatus_Active Legacy alias + * for `ACTIVE`. Deprecated. (Value: "active") + * @arg @c kGTLRWalletobjects_FlightClass_FlightStatus_Cancelled Legacy alias + * for `CANCELLED`. Deprecated. (Value: "cancelled") + * @arg @c kGTLRWalletobjects_FlightClass_FlightStatus_Diverted Legacy alias + * for `DIVERTED`. Deprecated. (Value: "diverted") + * @arg @c kGTLRWalletobjects_FlightClass_FlightStatus_FlightStatusUnspecified + * Value "FLIGHT_STATUS_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_FlightClass_FlightStatus_Landed Legacy alias + * for `LANDED`. Deprecated. (Value: "landed") + * @arg @c kGTLRWalletobjects_FlightClass_FlightStatus_Redirected Legacy + * alias for `REDIRECTED`. Deprecated. (Value: "redirected") + * @arg @c kGTLRWalletobjects_FlightClass_FlightStatus_Scheduled Legacy alias + * for `SCHEDULED`. Deprecated. (Value: "scheduled") + */ +@property(nonatomic, copy, nullable) NSString *flightStatus; + +/** + * Optional banner image displayed on the front of the card. If none is + * present, nothing will be displayed. The image will display at 100% width. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *heroImage; + +/** + * The background color for the card. If not set the dominant color of the hero + * image is used, and if no hero image is set, the dominant color of the logo + * is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as + * `#ffcc00`. You can also use the shorthand version of the RGB triplet which + * is #rgb, such as `#fc0`. + */ +@property(nonatomic, copy, nullable) NSString *hexBackgroundColor; + +/** + * The URI of your application's home page. Populating the URI in this field + * results in the exact same behavior as populating an URI in linksModuleData + * (when an object is rendered, a link to the homepage is shown in what would + * usually be thought of as the linksModuleData section of the object). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Uri *homepageUri; + +/** + * Required. The unique identifier for a class. This ID must be unique across + * all classes from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. The maximum number of these fields displayed is 1 from + * object level and 1 for class object level. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** Deprecated. Use textModulesData instead. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_InfoModuleData *infoModuleData GTLR_DEPRECATED; + +/** + * Required. The issuer name. Recommended maximum length is 20 characters to + * ensure full string is displayed on smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *issuerName; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#flightClass"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * If this field is present, boarding passes served to a user's device will + * always be in this language. Represents the BCP 47 language tag. Example + * values are "en-US", "en-GB", "de", or "de-AT". + */ +@property(nonatomic, copy, nullable) NSString *languageOverride; + +/** + * Links module data. If links module data is also defined on the object, both + * will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** + * The boarding time as it would be printed on the boarding pass. This is an + * ISO 8601 extended format date/time without an offset. Time may be specified + * up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the + * local date/time at the airport (not a UTC time). Google will reject the + * request if UTC offset is provided. Time zones will be calculated by Google + * based on departure airport. If this is not set, Google will set it based on + * data from other sources. + */ +@property(nonatomic, copy, nullable) NSString *localBoardingDateTime; + +/** + * The estimated time the aircraft plans to reach the destination gate (not the + * runway) or the actual time it reached the gate. This field should be set if + * at least one of the below is true: - It differs from the scheduled time. + * Google will use it to calculate the delay. - The aircraft already arrived at + * the gate. Google will use it to inform the user that the flight has arrived + * at the gate. This is an ISO 8601 extended format date/time without an + * offset. Time may be specified up to millisecond precision. eg: + * `2027-03-05T06:30:00` This should be the local date/time at the airport (not + * a UTC time). Google will reject the request if UTC offset is provided. Time + * zones will be calculated by Google based on arrival airport. If this is not + * set, Google will set it based on data from other sources. + */ +@property(nonatomic, copy, nullable) NSString *localEstimatedOrActualArrivalDateTime; + +/** + * The estimated time the aircraft plans to pull from the gate or the actual + * time the aircraft already pulled from the gate. Note: This is not the runway + * time. This field should be set if at least one of the below is true: - It + * differs from the scheduled time. Google will use it to calculate the delay. + * - The aircraft already pulled from the gate. Google will use it to inform + * the user when the flight actually departed. This is an ISO 8601 extended + * format date/time without an offset. Time may be specified up to millisecond + * precision. eg: `2027-03-05T06:30:00` This should be the local date/time at + * the airport (not a UTC time). Google will reject the request if UTC offset + * is provided. Time zones will be calculated by Google based on departure + * airport. If this is not set, Google will set it based on data from other + * sources. + */ +@property(nonatomic, copy, nullable) NSString *localEstimatedOrActualDepartureDateTime; + +/** + * The gate closing time as it would be printed on the boarding pass. Do not + * set this field if you do not want to print it in the boarding pass. This is + * an ISO 8601 extended format date/time without an offset. Time may be + * specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should + * be the local date/time at the airport (not a UTC time). Google will reject + * the request if UTC offset is provided. Time zones will be calculated by + * Google based on departure airport. + */ +@property(nonatomic, copy, nullable) NSString *localGateClosingDateTime; + +/** + * Translated strings for the issuer_name. Recommended maximum length is 20 + * characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedIssuerName; + +/** + * The scheduled time the aircraft plans to reach the destination gate (not the + * runway). Note: This field should not change too close to the flight time. + * For updates to departure times (delays, etc), please set + * `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format + * date/time without an offset. Time may be specified up to millisecond + * precision. eg: `2027-03-05T06:30:00` This should be the local date/time at + * the airport (not a UTC time). Google will reject the request if UTC offset + * is provided. Time zones will be calculated by Google based on arrival + * airport. If this is not set, Google will set it based on data from other + * sources. + */ +@property(nonatomic, copy, nullable) NSString *localScheduledArrivalDateTime; + +/** + * Required. The scheduled date and time when the aircraft is expected to + * depart the gate (not the runway) Note: This field should not change too + * close to the departure time. For updates to departure times (delays, etc), + * please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 + * extended format date/time without an offset. Time may be specified up to + * millisecond precision. eg: `2027-03-05T06:30:00` This should be the local + * date/time at the airport (not a UTC time). Google will reject the request if + * UTC offset is provided. Time zones will be calculated by Google based on + * departure airport. + */ +@property(nonatomic, copy, nullable) NSString *localScheduledDepartureDateTime; + +/** + * Note: This field is currently not supported to trigger geo notifications. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** + * An array of messages displayed in the app. All users of this object will + * receive its associated messages. The maximum number of these fields is 10. + */ +@property(nonatomic, strong, nullable) NSArray *messages; + +/** + * Identifies whether multiple users and devices will save the same object + * referencing this class. + * + * Likely values: + * @arg @c kGTLRWalletobjects_FlightClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. (Value: + * "multipleHolders") + * @arg @c kGTLRWalletobjects_FlightClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. (Value: + * "oneUserAllDevices") + * @arg @c kGTLRWalletobjects_FlightClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. (Value: + * "oneUserOneDevice") + * @arg @c kGTLRWalletobjects_FlightClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified + * Unspecified preference. (Value: "STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *multipleDevicesAndHoldersAllowedStatus; + +/** Required. Origin airport. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AirportInfo *origin; + +/** + * Identifies which redemption issuers can redeem the pass over Smart Tap. + * Redemption issuers are identified by their issuer ID. Redemption issuers + * must have at least one Smart Tap key configured. The `enableSmartTap` and + * object level `smartTapRedemptionLevel` fields must also be set up correctly + * in order for a pass to support Smart Tap. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *redemptionIssuers; + +/** + * The review comments set by the platform when a class is marked `approved` or + * `rejected`. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Review *review; + +/** + * Required. The status of the class. This field can be set to `draft` or + * `underReview` using the insert, patch, or update API calls. Once the review + * state is changed from `draft` it may not be changed back to `draft`. You + * should keep this field to `draft` when the class is under development. A + * `draft` class cannot be used to create any object. You should set this field + * to `underReview` when you believe the class is ready for use. The platform + * will automatically set this field to `approved` and it can be immediately + * used to create or migrate objects. When updating an already `approved` class + * you should keep setting this field to `underReview`. + * + * Likely values: + * @arg @c kGTLRWalletobjects_FlightClass_ReviewStatus_Approved Legacy alias + * for `APPROVED`. Deprecated. (Value: "approved") + * @arg @c kGTLRWalletobjects_FlightClass_ReviewStatus_Draft Legacy alias for + * `DRAFT`. Deprecated. (Value: "draft") + * @arg @c kGTLRWalletobjects_FlightClass_ReviewStatus_Rejected Legacy alias + * for `REJECTED`. Deprecated. (Value: "rejected") + * @arg @c kGTLRWalletobjects_FlightClass_ReviewStatus_ReviewStatusUnspecified + * Value "REVIEW_STATUS_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_FlightClass_ReviewStatus_UnderReview Legacy + * alias for `UNDER_REVIEW`. Deprecated. (Value: "underReview") + */ +@property(nonatomic, copy, nullable) NSString *reviewStatus; + +/** + * Optional information about the security animation. If this is set a security + * animation will be rendered on pass details. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_SecurityAnimation *securityAnimation; + +/** + * Text module data. If text module data is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * the object and 10 from the class. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** + * Deprecated + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version GTLR_DEPRECATED; + +/** + * View Unlock Requirement options for the boarding pass. + * + * Likely values: + * @arg @c kGTLRWalletobjects_FlightClass_ViewUnlockRequirement_UnlockNotRequired + * Default behavior for all the existing Passes if ViewUnlockRequirement + * is not set. (Value: "UNLOCK_NOT_REQUIRED") + * @arg @c kGTLRWalletobjects_FlightClass_ViewUnlockRequirement_UnlockRequiredToView + * Requires the user to unlock their device each time the pass is viewed. + * If the user removes their device lock after saving the pass, then they + * will be prompted to create a device lock before the pass can be + * viewed. (Value: "UNLOCK_REQUIRED_TO_VIEW") + * @arg @c kGTLRWalletobjects_FlightClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified + * Default value, same as UNLOCK_NOT_REQUIRED. (Value: + * "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *viewUnlockRequirement; + +/** Deprecated. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *wordMark GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_FlightClassAddMessageResponse + */ +@interface GTLRWalletobjects_FlightClassAddMessageResponse : GTLRObject + +/** The updated FlightClass resource. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FlightClass *resource; + +@end + + +/** + * GTLRWalletobjects_FlightClassListResponse + */ +@interface GTLRWalletobjects_FlightClassListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRWalletobjects_FlightHeader + */ +@interface GTLRWalletobjects_FlightHeader : GTLRObject + +/** + * Information about airline carrier. This is a required property of + * `flightHeader`. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FlightCarrier *carrier; + +/** + * The flight number without IATA carrier code. This field should contain only + * digits. This is a required property of `flightHeader`. eg: "123" + */ +@property(nonatomic, copy, nullable) NSString *flightNumber; + +/** + * Override value to use for flight number. The default value used for display + * purposes is carrier + flight_number. If a different value needs to be shown + * to passengers, use this field to override the default behavior. eg: "XX1234 + * / YY576" + */ +@property(nonatomic, copy, nullable) NSString *flightNumberDisplayOverride; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#flightHeader"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** Information about operating airline carrier. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FlightCarrier *operatingCarrier; + +/** + * The flight number used by the operating carrier without IATA carrier code. + * This field should contain only digits. eg: "234" + */ +@property(nonatomic, copy, nullable) NSString *operatingFlightNumber; + +@end + + +/** + * GTLRWalletobjects_FlightObject + */ +@interface GTLRWalletobjects_FlightObject : GTLRObject + +/** Optional information about the partner app link. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + +/** The barcode type and value. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Barcode *barcode; + +/** Passenger specific information about boarding and seating. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_BoardingAndSeatingInfo *boardingAndSeatingInfo; + +/** + * Required. The class associated with this object. The class must be of the + * same type as this object, must already exist, and must be approved. Class + * IDs should follow the format issuer ID.identifier where the former is issued + * by Google and latter is chosen by you. + */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * A copy of the inherited fields of the parent class. These fields are + * retrieved during a GET. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FlightClass *classReference; + +/** + * Indicates if notifications should explicitly be suppressed. If this field is + * set to true, regardless of the `messages` field, expiration notifications to + * the user will be suppressed. By default, this field is set to false. + * Currently, this can only be set for Flights. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableExpirationNotification; + +/** Information that controls how passes are grouped together. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_GroupingInfo *groupingInfo; + +/** + * Whether this object is currently linked to a single device. This field is + * set by the platform when a user saves the object, linking it to their + * device. Intended for use by select partners. Contact support for additional + * information. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasLinkedDevice; + +/** + * Indicates if the object has users. This field is set by the platform. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasUsers; + +/** + * Optional banner image displayed on the front of the card. If none is + * present, hero image of the class, if present, will be displayed. If hero + * image of the class is also not present, nothing will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *heroImage; + +/** + * The background color for the card. If not set the dominant color of the hero + * image is used, and if no hero image is set, the dominant color of the logo + * is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as + * `#ffcc00`. You can also use the shorthand version of the RGB triplet which + * is #rgb, such as `#fc0`. + */ +@property(nonatomic, copy, nullable) NSString *hexBackgroundColor; + +/** + * Required. The unique identifier for an object. This ID must be unique across + * all objects from an issuer. This value should follow the format issuer + * ID.identifier where the former is issued by Google and latter is chosen by + * you. The unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. The maximum number of these fields displayed is 1 from + * object level and 1 for class object level. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** Deprecated. Use textModulesData instead. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_InfoModuleData *infoModuleData; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#flightObject"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * Links module data. If links module data is also defined on the class, both + * will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** + * Note: This field is currently not supported to trigger geo notifications. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** + * An array of messages displayed in the app. All users of this object will + * receive its associated messages. The maximum number of these fields is 10. + */ +@property(nonatomic, strong, nullable) NSArray *messages; + +/** + * Pass constraints for the object. Includes limiting NFC and screenshot + * behaviors. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_PassConstraints *passConstraints; + +/** + * Required. Passenger name as it would appear on the boarding pass. eg: "Dave + * M Gahan" or "Gahan/Dave" or "GAHAN/DAVEM" + */ +@property(nonatomic, copy, nullable) NSString *passengerName; + +/** Required. Information about flight reservation. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ReservationInfo *reservationInfo; + +/** The rotating barcode type and value. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_RotatingBarcode *rotatingBarcode; + +/** An image for the security program that applies to the passenger. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *securityProgramLogo; + +/** + * The value that will be transmitted to a Smart Tap certified terminal over + * NFC for this object. The class level fields `enableSmartTap` and + * `redemptionIssuers` must also be set up correctly in order for the pass to + * support Smart Tap. Only ASCII characters are supported. + */ +@property(nonatomic, copy, nullable) NSString *smartTapRedemptionValue; + +/** + * Required. The state of the object. This field is used to determine how an + * object is displayed in the app. For example, an `inactive` object is moved + * to the "Expired passes" section. + * + * Likely values: + * @arg @c kGTLRWalletobjects_FlightObject_State_Active Legacy alias for + * `ACTIVE`. Deprecated. (Value: "active") + * @arg @c kGTLRWalletobjects_FlightObject_State_Completed Legacy alias for + * `COMPLETED`. Deprecated. (Value: "completed") + * @arg @c kGTLRWalletobjects_FlightObject_State_Expired Legacy alias for + * `EXPIRED`. Deprecated. (Value: "expired") + * @arg @c kGTLRWalletobjects_FlightObject_State_Inactive Legacy alias for + * `INACTIVE`. Deprecated. (Value: "inactive") + * @arg @c kGTLRWalletobjects_FlightObject_State_StateUnspecified Value + * "STATE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Text module data. If text module data is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * the object and 10 from the class. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** + * The time period this object will be `active` and object can be used. An + * object's state will be changed to `expired` when this time period has + * passed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TimeInterval *validTimeInterval; + +/** + * Deprecated + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_FlightObjectAddMessageResponse + */ +@interface GTLRWalletobjects_FlightObjectAddMessageResponse : GTLRObject + +/** The updated FlightObject resource. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FlightObject *resource; + +@end + + +/** + * GTLRWalletobjects_FlightObjectListResponse + */ +@interface GTLRWalletobjects_FlightObjectListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRWalletobjects_FrequentFlyerInfo + */ +@interface GTLRWalletobjects_FrequentFlyerInfo : GTLRObject + +/** + * Frequent flyer number. Required for each nested object of kind + * `walletobjects#frequentFlyerInfo`. + */ +@property(nonatomic, copy, nullable) NSString *frequentFlyerNumber; + +/** Frequent flyer program name. eg: "Lufthansa Miles & More" */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *frequentFlyerProgramName; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#frequentFlyerInfo"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +@end + + +/** + * Generic Class + */ +@interface GTLRWalletobjects_GenericClass : GTLRObject + +/** + * Callback options to be used to call the issuer back for every save/delete of + * an object for this class by the end-user. All objects of this class are + * eligible for the callback. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CallbackOptions *callbackOptions; + +/** + * Template information about how the class should be displayed. If unset, + * Google will fallback to a default set of fields to display. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ClassTemplateInfo *classTemplateInfo; + +/** + * Available only to Smart Tap enabled partners. Contact support for additional + * guidance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableSmartTap; + +/** + * Required. The unique identifier for the class. This ID must be unique across + * all from an issuer. This value needs to follow the format + * `issuerID.identifier` where `issuerID` is issued by Google and `identifier` + * is chosen by you. The unique identifier can only include alphanumeric + * characters, `.`, `_`, or `-`. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. If `imageModulesData` is also defined on the object, both + * will be displayed. Only one of the image from class and one from object + * level will be rendered when both set. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** + * Links module data. If `linksModuleData` is also defined on the object, both + * will be displayed. The maximum number of these fields displayed is 10 from + * class and 10 from object. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** + * Identifies whether multiple users and devices will save the same object + * referencing this class. + * + * Likely values: + * @arg @c kGTLRWalletobjects_GenericClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. (Value: + * "multipleHolders") + * @arg @c kGTLRWalletobjects_GenericClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. (Value: + * "oneUserAllDevices") + * @arg @c kGTLRWalletobjects_GenericClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. (Value: + * "oneUserOneDevice") + * @arg @c kGTLRWalletobjects_GenericClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified + * Unspecified preference. (Value: "STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *multipleDevicesAndHoldersAllowedStatus; + +/** + * Identifies which redemption issuers can redeem the pass over Smart Tap. + * Redemption issuers are identified by their issuer ID. Redemption issuers + * must have at least one Smart Tap key configured. The `enableSmartTap` and + * object level `smartTapRedemptionLevel` fields must also be set up correctly + * in order for a pass to support Smart Tap. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *redemptionIssuers; + +/** + * Optional information about the security animation. If this is set a security + * animation will be rendered on pass details. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_SecurityAnimation *securityAnimation; + +/** + * Text module data. If `textModulesData` is also defined on the object, both + * will be displayed. The maximum number of these fields displayed is 10 from + * class and 10 from object. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** + * View Unlock Requirement options for the generic pass. + * + * Likely values: + * @arg @c kGTLRWalletobjects_GenericClass_ViewUnlockRequirement_UnlockNotRequired + * Default behavior for all the existing Passes if ViewUnlockRequirement + * is not set. (Value: "UNLOCK_NOT_REQUIRED") + * @arg @c kGTLRWalletobjects_GenericClass_ViewUnlockRequirement_UnlockRequiredToView + * Requires the user to unlock their device each time the pass is viewed. + * If the user removes their device lock after saving the pass, then they + * will be prompted to create a device lock before the pass can be + * viewed. (Value: "UNLOCK_REQUIRED_TO_VIEW") + * @arg @c kGTLRWalletobjects_GenericClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified + * Default value, same as UNLOCK_NOT_REQUIRED. (Value: + * "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *viewUnlockRequirement; + +@end + + +/** + * List response which contains the list of all generic classes for a given + * issuer ID. + */ +@interface GTLRWalletobjects_GenericClassListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * Generic Object Next ID: 121 + */ +@interface GTLRWalletobjects_GenericObject : GTLRObject + +/** + * Information about the partner app link. The maximum number of these fields + * displayed is 10. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + +/** + * The barcode type and value. If pass does not have a barcode, we can allow + * the issuer to set Barcode.alternate_text and display just that. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Barcode *barcode; + +/** + * Required. The header of the pass. This is usually the Business name such as + * "XXX Gym", "AAA Insurance". This field is required and appears in the header + * row at the very top of the pass. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *cardTitle; + +/** + * Required. The class associated with this object. The class must be of the + * same type as this object, must already exist, and must be approved. Class + * IDs should follow the format `issuerID.identifier` where `issuerID` is + * issued by Google and `identifier` is chosen by you. + */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * Specify which `GenericType` the card belongs to. + * + * Likely values: + * @arg @c kGTLRWalletobjects_GenericObject_GenericType_GenericAutoInsurance + * Auto-insurance cards (Value: "GENERIC_AUTO_INSURANCE") + * @arg @c kGTLRWalletobjects_GenericObject_GenericType_GenericEntryTicket + * Entry tickets (Value: "GENERIC_ENTRY_TICKET") + * @arg @c kGTLRWalletobjects_GenericObject_GenericType_GenericGymMembership + * Gym membership cards (Value: "GENERIC_GYM_MEMBERSHIP") + * @arg @c kGTLRWalletobjects_GenericObject_GenericType_GenericHomeInsurance + * Home-insurance cards (Value: "GENERIC_HOME_INSURANCE") + * @arg @c kGTLRWalletobjects_GenericObject_GenericType_GenericLibraryMembership + * Library membership cards (Value: "GENERIC_LIBRARY_MEMBERSHIP") + * @arg @c kGTLRWalletobjects_GenericObject_GenericType_GenericOther Other + * type (Value: "GENERIC_OTHER") + * @arg @c kGTLRWalletobjects_GenericObject_GenericType_GenericParkingPass + * Parking pass (Value: "GENERIC_PARKING_PASS") + * @arg @c kGTLRWalletobjects_GenericObject_GenericType_GenericReceipt + * Receipts (Value: "GENERIC_RECEIPT") + * @arg @c kGTLRWalletobjects_GenericObject_GenericType_GenericReservations + * Reservations (Value: "GENERIC_RESERVATIONS") + * @arg @c kGTLRWalletobjects_GenericObject_GenericType_GenericSeasonPass + * Season pass (Value: "GENERIC_SEASON_PASS") + * @arg @c kGTLRWalletobjects_GenericObject_GenericType_GenericTypeUnspecified + * Unspecified generic type. (Value: "GENERIC_TYPE_UNSPECIFIED") + * @arg @c kGTLRWalletobjects_GenericObject_GenericType_GenericUtilityBills + * Utility bills (Value: "GENERIC_UTILITY_BILLS") + * @arg @c kGTLRWalletobjects_GenericObject_GenericType_GenericVoucher + * Voucher (Value: "GENERIC_VOUCHER") + */ +@property(nonatomic, copy, nullable) NSString *genericType; + +/** Information that controls how passes are grouped together. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_GroupingInfo *groupingInfo; + +/** + * Indicates if the object has users. This field is set by the platform. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasUsers; + +/** + * Required. The title of the pass, such as "50% off coupon" or "Library card" + * or "Voucher". This field is required and appears in the title row of the + * pass detail view. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *header; + +/** + * Banner image displayed on the front of the card if present. The image will + * be displayed at 100% width. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *heroImage; + +/** + * The background color for the card. If not set, the dominant color of the + * hero image is used, and if no hero image is set, the dominant color of the + * logo is used and if logo is not set, a color would be chosen by Google. + */ +@property(nonatomic, copy, nullable) NSString *hexBackgroundColor; + +/** + * Required. The unique identifier for an object. This ID must be unique across + * all objects from an issuer. This value needs to follow the format + * `issuerID.identifier` where `issuerID` is issued by Google and `identifier` + * is chosen by you. The unique identifier can only include alphanumeric + * characters, `.`, `_`, or `-`. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. Only one of the image from class and one from object + * level will be rendered when both set. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** + * Links module data. If `linksModuleData` is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * class and 10 from object. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** + * The logo image of the pass. This image is displayed in the card detail view + * in upper left, and also on the list/thumbnail view. If the logo is not + * present, the first letter of `cardTitle` would be shown as logo. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *logo; + +/** The notification settings that are enabled for this object. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Notifications *notifications; + +/** + * Pass constraints for the object. Includes limiting NFC and screenshot + * behaviors. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_PassConstraints *passConstraints; + +/** The rotating barcode settings/details. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_RotatingBarcode *rotatingBarcode; + +/** + * The value that will be transmitted to a Smart Tap certified terminal over + * NFC for this object. The class level fields `enableSmartTap` and + * `redemptionIssuers` must also be set up correctly in order for the pass to + * support Smart Tap. Only ASCII characters are supported. + */ +@property(nonatomic, copy, nullable) NSString *smartTapRedemptionValue; + +/** + * The state of the object. This field is used to determine how an object is + * displayed in the app. For example, an `inactive` object is moved to the + * "Expired passes" section. If this is not provided, the object would be + * considered `ACTIVE`. + * + * Likely values: + * @arg @c kGTLRWalletobjects_GenericObject_State_Active Legacy alias for + * `ACTIVE`. Deprecated. (Value: "active") + * @arg @c kGTLRWalletobjects_GenericObject_State_Completed Legacy alias for + * `COMPLETED`. Deprecated. (Value: "completed") + * @arg @c kGTLRWalletobjects_GenericObject_State_Expired Legacy alias for + * `EXPIRED`. Deprecated. (Value: "expired") + * @arg @c kGTLRWalletobjects_GenericObject_State_Inactive Legacy alias for + * `INACTIVE`. Deprecated. (Value: "inactive") + * @arg @c kGTLRWalletobjects_GenericObject_State_StateUnspecified Value + * "STATE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * The title label of the pass, such as location where this pass can be used. + * Appears right above the title in the title row in the pass detail view. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *subheader; + +/** + * Text module data. If `textModulesData` is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * class and 10 from object. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** + * The time period this object will be considered valid or usable. When the + * time period is passed, the object will be considered expired, which will + * affect the rendering on user's devices. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TimeInterval *validTimeInterval; + +/** + * The wide logo of the pass. When provided, this will be used in place of the + * logo in the top left of the card view. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *wideLogo; + +@end + + +/** + * List response which contains the list of all generic objects for a given + * issuer ID. + */ +@interface GTLRWalletobjects_GenericObjectListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRWalletobjects_GiftCardClass + */ +@interface GTLRWalletobjects_GiftCardClass : GTLRObject + +/** + * Determines whether the merchant supports gift card redemption using barcode. + * If true, app displays a barcode for the gift card on the Gift card details + * screen. If false, a barcode is not displayed. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowBarcodeRedemption; + +/** + * Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowMultipleUsersPerObject GTLR_DEPRECATED; + +/** + * Callback options to be used to call the issuer back for every save/delete of + * an object for this class by the end-user. All objects of this class are + * eligible for the callback. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CallbackOptions *callbackOptions; + +/** The label to display for the card number, such as "Card Number". */ +@property(nonatomic, copy, nullable) NSString *cardNumberLabel; + +/** + * Template information about how the class should be displayed. If unset, + * Google will fallback to a default set of fields to display. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ClassTemplateInfo *classTemplateInfo; + +/** + * Country code used to display the card's country (when the user is not in + * that country), as well as to display localized content when content is not + * available in the user's locale. + */ +@property(nonatomic, copy, nullable) NSString *countryCode; + +/** + * Identifies whether this class supports Smart Tap. The `redemptionIssuers` + * and object level `smartTapRedemptionLevel` fields must also be set up + * correctly in order for a pass to support Smart Tap. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableSmartTap; + +/** The label to display for event number, such as "Target Event #". */ +@property(nonatomic, copy, nullable) NSString *eventNumberLabel; + +/** + * Optional banner image displayed on the front of the card. If none is + * present, nothing will be displayed. The image will display at 100% width. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *heroImage; + +/** + * The background color for the card. If not set the dominant color of the hero + * image is used, and if no hero image is set, the dominant color of the logo + * is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as + * `#ffcc00`. You can also use the shorthand version of the RGB triplet which + * is #rgb, such as `#fc0`. + */ +@property(nonatomic, copy, nullable) NSString *hexBackgroundColor; + +/** + * The URI of your application's home page. Populating the URI in this field + * results in the exact same behavior as populating an URI in linksModuleData + * (when an object is rendered, a link to the homepage is shown in what would + * usually be thought of as the linksModuleData section of the object). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Uri *homepageUri; + +/** + * Required. The unique identifier for a class. This ID must be unique across + * all classes from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. The maximum number of these fields displayed is 1 from + * object level and 1 for class object level. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** Deprecated. Use textModulesData instead. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_InfoModuleData *infoModuleData GTLR_DEPRECATED; + +/** + * Required. The issuer name. Recommended maximum length is 20 characters to + * ensure full string is displayed on smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *issuerName; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#giftCardClass"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * Links module data. If links module data is also defined on the object, both + * will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** Translated strings for the card_number_label. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedCardNumberLabel; + +/** Translated strings for the event_number_label. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedEventNumberLabel; + +/** + * Translated strings for the issuer_name. Recommended maximum length is 20 + * characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedIssuerName; + +/** + * Translated strings for the merchant_name. The app may display an ellipsis + * after the first 20 characters to ensure full string is displayed on smaller + * screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedMerchantName; + +/** Translated strings for the pin_label. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedPinLabel; + +/** + * Note: This field is currently not supported to trigger geo notifications. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** + * Merchant name, such as "Adam's Apparel". The app may display an ellipsis + * after the first 20 characters to ensure full string is displayed on smaller + * screens. + */ +@property(nonatomic, copy, nullable) NSString *merchantName; + +/** + * An array of messages displayed in the app. All users of this object will + * receive its associated messages. The maximum number of these fields is 10. + */ +@property(nonatomic, strong, nullable) NSArray *messages; + +/** + * Identifies whether multiple users and devices will save the same object + * referencing this class. + * + * Likely values: + * @arg @c kGTLRWalletobjects_GiftCardClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. (Value: + * "multipleHolders") + * @arg @c kGTLRWalletobjects_GiftCardClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. (Value: + * "oneUserAllDevices") + * @arg @c kGTLRWalletobjects_GiftCardClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. (Value: + * "oneUserOneDevice") + * @arg @c kGTLRWalletobjects_GiftCardClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified + * Unspecified preference. (Value: "STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *multipleDevicesAndHoldersAllowedStatus; + +/** The label to display for the PIN, such as "4-digit PIN". */ +@property(nonatomic, copy, nullable) NSString *pinLabel; + +/** + * The logo of the gift card program or company. This logo is displayed in both + * the details and list views of the app. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *programLogo; + +/** + * Identifies which redemption issuers can redeem the pass over Smart Tap. + * Redemption issuers are identified by their issuer ID. Redemption issuers + * must have at least one Smart Tap key configured. The `enableSmartTap` and + * object level `smartTapRedemptionLevel` fields must also be set up correctly + * in order for a pass to support Smart Tap. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *redemptionIssuers; + +/** + * The review comments set by the platform when a class is marked `approved` or + * `rejected`. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Review *review; + +/** + * Required. The status of the class. This field can be set to `draft` or + * `underReview` using the insert, patch, or update API calls. Once the review + * state is changed from `draft` it may not be changed back to `draft`. You + * should keep this field to `draft` when the class is under development. A + * `draft` class cannot be used to create any object. You should set this field + * to `underReview` when you believe the class is ready for use. The platform + * will automatically set this field to `approved` and it can be immediately + * used to create or migrate objects. When updating an already `approved` class + * you should keep setting this field to `underReview`. + * + * Likely values: + * @arg @c kGTLRWalletobjects_GiftCardClass_ReviewStatus_Approved Legacy + * alias for `APPROVED`. Deprecated. (Value: "approved") + * @arg @c kGTLRWalletobjects_GiftCardClass_ReviewStatus_Draft Legacy alias + * for `DRAFT`. Deprecated. (Value: "draft") + * @arg @c kGTLRWalletobjects_GiftCardClass_ReviewStatus_Rejected Legacy + * alias for `REJECTED`. Deprecated. (Value: "rejected") + * @arg @c kGTLRWalletobjects_GiftCardClass_ReviewStatus_ReviewStatusUnspecified + * Value "REVIEW_STATUS_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_GiftCardClass_ReviewStatus_UnderReview Legacy + * alias for `UNDER_REVIEW`. Deprecated. (Value: "underReview") + */ +@property(nonatomic, copy, nullable) NSString *reviewStatus; + +/** + * Optional information about the security animation. If this is set a security + * animation will be rendered on pass details. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_SecurityAnimation *securityAnimation; + +/** + * Text module data. If text module data is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * the object and 10 from the class. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** + * Deprecated + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version GTLR_DEPRECATED; + +/** + * View Unlock Requirement options for the gift card. + * + * Likely values: + * @arg @c kGTLRWalletobjects_GiftCardClass_ViewUnlockRequirement_UnlockNotRequired + * Default behavior for all the existing Passes if ViewUnlockRequirement + * is not set. (Value: "UNLOCK_NOT_REQUIRED") + * @arg @c kGTLRWalletobjects_GiftCardClass_ViewUnlockRequirement_UnlockRequiredToView + * Requires the user to unlock their device each time the pass is viewed. + * If the user removes their device lock after saving the pass, then they + * will be prompted to create a device lock before the pass can be + * viewed. (Value: "UNLOCK_REQUIRED_TO_VIEW") + * @arg @c kGTLRWalletobjects_GiftCardClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified + * Default value, same as UNLOCK_NOT_REQUIRED. (Value: + * "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *viewUnlockRequirement; + +/** + * The wide logo of the gift card program or company. When provided, this will + * be used in place of the program logo in the top left of the card view. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *wideProgramLogo; + +/** Deprecated. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *wordMark GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_GiftCardClassAddMessageResponse + */ +@interface GTLRWalletobjects_GiftCardClassAddMessageResponse : GTLRObject + +/** The updated GiftCardClass resource. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_GiftCardClass *resource; + +@end + + +/** + * GTLRWalletobjects_GiftCardClassListResponse + */ +@interface GTLRWalletobjects_GiftCardClassListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRWalletobjects_GiftCardObject + */ +@interface GTLRWalletobjects_GiftCardObject : GTLRObject + +/** Optional information about the partner app link. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + +/** The card's monetary balance. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Money *balance; + +/** + * The date and time when the balance was last updated. Offset is required. If + * balance is updated and this property is not provided, system will default to + * the current time. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DateTime *balanceUpdateTime; + +/** The barcode type and value. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Barcode *barcode; + +/** Required. The card's number. */ +@property(nonatomic, copy, nullable) NSString *cardNumber; + +/** + * Required. The class associated with this object. The class must be of the + * same type as this object, must already exist, and must be approved. Class + * IDs should follow the format issuer ID.identifier where the former is issued + * by Google and latter is chosen by you. + */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * A copy of the inherited fields of the parent class. These fields are + * retrieved during a GET. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_GiftCardClass *classReference; + +/** + * Indicates if notifications should explicitly be suppressed. If this field is + * set to true, regardless of the `messages` field, expiration notifications to + * the user will be suppressed. By default, this field is set to false. + * Currently, this can only be set for offers. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableExpirationNotification; + +/** The card's event number, an optional field used by some gift cards. */ +@property(nonatomic, copy, nullable) NSString *eventNumber; + +/** Information that controls how passes are grouped together. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_GroupingInfo *groupingInfo; + +/** + * Whether this object is currently linked to a single device. This field is + * set by the platform when a user saves the object, linking it to their + * device. Intended for use by select partners. Contact support for additional + * information. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasLinkedDevice; + +/** + * Indicates if the object has users. This field is set by the platform. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasUsers; + +/** + * Optional banner image displayed on the front of the card. If none is + * present, hero image of the class, if present, will be displayed. If hero + * image of the class is also not present, nothing will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *heroImage; + +/** + * Required. The unique identifier for an object. This ID must be unique across + * all objects from an issuer. This value should follow the format issuer + * ID.identifier where the former is issued by Google and latter is chosen by + * you. The unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. The maximum number of these fields displayed is 1 from + * object level and 1 for class object level. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** Deprecated. Use textModulesData instead. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_InfoModuleData *infoModuleData; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#giftCardObject"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * Links module data. If links module data is also defined on the class, both + * will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** + * Note: This field is currently not supported to trigger geo notifications. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** + * An array of messages displayed in the app. All users of this object will + * receive its associated messages. The maximum number of these fields is 10. + */ +@property(nonatomic, strong, nullable) NSArray *messages; + +/** + * Pass constraints for the object. Includes limiting NFC and screenshot + * behaviors. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_PassConstraints *passConstraints; + +/** The card's PIN. */ +@property(nonatomic, copy, nullable) NSString *pin; + +/** The rotating barcode type and value. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_RotatingBarcode *rotatingBarcode; + +/** + * The value that will be transmitted to a Smart Tap certified terminal over + * NFC for this object. The class level fields `enableSmartTap` and + * `redemptionIssuers` must also be set up correctly in order for the pass to + * support Smart Tap. Only ASCII characters are supported. + */ +@property(nonatomic, copy, nullable) NSString *smartTapRedemptionValue; + +/** + * Required. The state of the object. This field is used to determine how an + * object is displayed in the app. For example, an `inactive` object is moved + * to the "Expired passes" section. + * + * Likely values: + * @arg @c kGTLRWalletobjects_GiftCardObject_State_Active Legacy alias for + * `ACTIVE`. Deprecated. (Value: "active") + * @arg @c kGTLRWalletobjects_GiftCardObject_State_Completed Legacy alias for + * `COMPLETED`. Deprecated. (Value: "completed") + * @arg @c kGTLRWalletobjects_GiftCardObject_State_Expired Legacy alias for + * `EXPIRED`. Deprecated. (Value: "expired") + * @arg @c kGTLRWalletobjects_GiftCardObject_State_Inactive Legacy alias for + * `INACTIVE`. Deprecated. (Value: "inactive") + * @arg @c kGTLRWalletobjects_GiftCardObject_State_StateUnspecified Value + * "STATE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Text module data. If text module data is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * the object and 10 from the class. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** + * The time period this object will be `active` and object can be used. An + * object's state will be changed to `expired` when this time period has + * passed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TimeInterval *validTimeInterval; + +/** + * Deprecated + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_GiftCardObjectAddMessageResponse + */ +@interface GTLRWalletobjects_GiftCardObjectAddMessageResponse : GTLRObject + +/** The updated GiftCardObject resource. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_GiftCardObject *resource; + +@end + + +/** + * GTLRWalletobjects_GiftCardObjectListResponse + */ +@interface GTLRWalletobjects_GiftCardObjectListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRWalletobjects_GroupingInfo + */ +@interface GTLRWalletobjects_GroupingInfo : GTLRObject + +/** + * Optional grouping ID for grouping the passes with the same ID visually + * together. Grouping with different types of passes is allowed. + */ +@property(nonatomic, copy, nullable) NSString *groupingId; + +/** + * Optional index for sorting the passes when they are grouped with other + * passes. Passes with lower sort index are shown before passes with higher + * sort index. If unspecified, the value is assumed to be INT_MAX. For two + * passes with the same sort index, the sorting behavior is undefined. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sortIndex; + +@end + + +/** + * Wrapping type for Google hosted images. Next ID: 7 + */ +@interface GTLRWalletobjects_Image : GTLRObject + +/** Description of the image used for accessibility. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *contentDescription; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#image"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** The URI for the image. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ImageUri *sourceUri; + +@end + + +/** + * GTLRWalletobjects_ImageModuleData + */ +@interface GTLRWalletobjects_ImageModuleData : GTLRObject + +/** + * The ID associated with an image module. This field is here to enable ease of + * management of image modules. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** A 100% width image. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *mainImage; + +@end + + +/** + * GTLRWalletobjects_ImageUri + */ +@interface GTLRWalletobjects_ImageUri : GTLRObject + +/** + * Additional information about the image, which is unused and retained only + * for backward compatibility. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty GTLR_DEPRECATED; + +/** + * Translated strings for the description, which are unused and retained only + * for backward compatibility. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedDescription GTLR_DEPRECATED; + +/** The location of the image. URIs must have a scheme. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * GTLRWalletobjects_InfoModuleData + */ +@interface GTLRWalletobjects_InfoModuleData : GTLRObject + +/** + * A list of collections of labels and values. These will be displayed one + * after the other in a singular column. + */ +@property(nonatomic, strong, nullable) NSArray *labelValueRows; + +/** + * showLastUpdateTime + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *showLastUpdateTime GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_Issuer + */ +@interface GTLRWalletobjects_Issuer : GTLRObject + +/** Issuer contact information. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_IssuerContactInfo *contactInfo; + +/** URL for the issuer's home page. */ +@property(nonatomic, copy, nullable) NSString *homepageUrl; + +/** + * The unique identifier for an issuer account. This is automatically generated + * when the issuer is inserted. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *issuerId; + +/** The account name of the issuer. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Available only to Smart Tap enabled partners. Contact support for additional + * guidance. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_SmartTapMerchantData *smartTapMerchantData; + +@end + + +/** + * GTLRWalletobjects_IssuerContactInfo + */ +@interface GTLRWalletobjects_IssuerContactInfo : GTLRObject + +/** Email addresses which will receive alerts. */ +@property(nonatomic, strong, nullable) NSArray *alertsEmails; + +/** The primary contact email address. */ +@property(nonatomic, copy, nullable) NSString *email; + +/** The primary contact name. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The primary contact phone number. */ +@property(nonatomic, copy, nullable) NSString *phone; + +@end + + +/** + * GTLRWalletobjects_IssuerListResponse + */ +@interface GTLRWalletobjects_IssuerListResponse : GTLRObject + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRWalletobjects_IssuerToUserInfo + */ +@interface GTLRWalletobjects_IssuerToUserInfo : GTLRObject + +/** + * action + * + * Likely values: + * @arg @c kGTLRWalletobjects_IssuerToUserInfo_Action_ActionUnspecified Value + * "ACTION_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_IssuerToUserInfo_Action_S2ap Legacy alias for + * `S2AP`. Deprecated. (Value: "s2ap") + * @arg @c kGTLRWalletobjects_IssuerToUserInfo_Action_SignUp Legacy alias for + * `SIGN_UP`. Deprecated. (Value: "signUp") + */ +@property(nonatomic, copy, nullable) NSString *action; + +@property(nonatomic, strong, nullable) GTLRWalletobjects_SignUpInfo *signUpInfo; + +/** Currently not used, consider deprecating. */ +@property(nonatomic, copy, nullable) NSString *url; + +/** JSON web token for action S2AP. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + +/** + * GTLRWalletobjects_JwtInsertResponse + */ +@interface GTLRWalletobjects_JwtInsertResponse : GTLRObject + +/** + * Data that corresponds to the ids of the provided classes and objects in the + * JWT. resources will only include the non-empty arrays (i.e. if the JWT only + * includes eventTicketObjects, then that is the only field that will be + * present in resources). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Resources *resources; + +/** + * A URI that, when opened, will allow the end user to save the object(s) + * identified in the JWT to their Google account. + */ +@property(nonatomic, copy, nullable) NSString *saveUri; + +@end + + +/** + * GTLRWalletobjects_JwtResource + */ +@interface GTLRWalletobjects_JwtResource : GTLRObject + +/** + * A string representing a JWT of the format described at + * https://developers.google.com/wallet/reference/rest/v1/Jwt + */ +@property(nonatomic, copy, nullable) NSString *jwt; + +@end + + +/** + * A pair of text strings to be displayed in the details view. Note we no + * longer display LabelValue/LabelValueRow as a table, instead a list of items. + */ +@interface GTLRWalletobjects_LabelValue : GTLRObject + +/** + * The label for a specific row and column. Recommended maximum is 15 + * characters for a two-column layout and 30 characters for a one-column + * layout. + */ +@property(nonatomic, copy, nullable) NSString *label; + +/** + * Translated strings for the label. Recommended maximum is 15 characters for a + * two-column layout and 30 characters for a one-column layout. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedLabel; + +/** + * Translated strings for the value. Recommended maximum is 15 characters for a + * two-column layout and 30 characters for a one-column layout. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedValue; + +/** + * The value for a specific row and column. Recommended maximum is 15 + * characters for a two-column layout and 30 characters for a one-column + * layout. + */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + +/** + * GTLRWalletobjects_LabelValueRow + */ +@interface GTLRWalletobjects_LabelValueRow : GTLRObject + +/** + * A list of labels and values. These will be displayed in a singular column, + * one after the other, not in multiple columns, despite the field name. + */ +@property(nonatomic, strong, nullable) NSArray *columns; + +@end + + +/** + * GTLRWalletobjects_LatLongPoint + */ +@interface GTLRWalletobjects_LatLongPoint : GTLRObject + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#latLongPoint"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * The latitude specified as any value in the range of -90.0 through +90.0, + * both inclusive. Values outside these bounds will be rejected. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *latitude; + +/** + * The longitude specified in the range -180.0 through +180.0, both inclusive. + * Values outside these bounds will be rejected. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *longitude; + +@end + + +/** + * GTLRWalletobjects_LinksModuleData + */ +@interface GTLRWalletobjects_LinksModuleData : GTLRObject + +/** The list of URIs. */ +@property(nonatomic, strong, nullable) NSArray *uris; + +@end + + +/** + * GTLRWalletobjects_ListTemplateOverride + */ +@interface GTLRWalletobjects_ListTemplateOverride : GTLRObject + +/** + * Specifies from a predefined set of options or from a reference to the field + * what will be displayed in the first row. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FirstRowOption *firstRowOption; + +/** + * A reference to the field to be displayed in the second row. This option is + * only displayed if there are not multiple user objects in a group. If there + * is a group, the second row will always display a field shared by all + * objects. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FieldSelector *secondRowOption; + +/** + * A reference to the field to be displayed in the third row. This option is + * only displayed if there are not multiple user objects in a group. If there + * is a group, the third row will always display the number of objects in the + * group. Eg: "3 passes" + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FieldSelector *thirdRowOption GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_LocalizedString + */ +@interface GTLRWalletobjects_LocalizedString : GTLRObject + +/** + * Contains the string to be displayed if no appropriate translation is + * available. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TranslatedString *defaultValue; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#localizedString"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** Contains the translations for the string. */ +@property(nonatomic, strong, nullable) NSArray *translatedValues; + +@end + + +/** + * GTLRWalletobjects_LoyaltyClass + */ +@interface GTLRWalletobjects_LoyaltyClass : GTLRObject + +/** + * The account ID label, such as "Member ID." Recommended maximum length is 15 + * characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *accountIdLabel; + +/** + * The account name label, such as "Member Name." Recommended maximum length is + * 15 characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *accountNameLabel; + +/** + * Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowMultipleUsersPerObject GTLR_DEPRECATED; + +/** + * Callback options to be used to call the issuer back for every save/delete of + * an object for this class by the end-user. All objects of this class are + * eligible for the callback. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CallbackOptions *callbackOptions; + +/** + * Template information about how the class should be displayed. If unset, + * Google will fallback to a default set of fields to display. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ClassTemplateInfo *classTemplateInfo; + +/** + * Country code used to display the card's country (when the user is not in + * that country), as well as to display localized content when content is not + * available in the user's locale. + */ +@property(nonatomic, copy, nullable) NSString *countryCode; + +/** + * Information about how the class may be discovered and instantiated from + * within the Google Pay app. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DiscoverableProgram *discoverableProgram; + +/** + * Identifies whether this class supports Smart Tap. The `redemptionIssuers` + * and one of object level `smartTapRedemptionLevel`, barcode.value`, or + * `accountId` fields must also be set up correctly in order for a pass to + * support Smart Tap. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableSmartTap; + +/** + * Optional banner image displayed on the front of the card. If none is + * present, nothing will be displayed. The image will display at 100% width. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *heroImage; + +/** + * The background color for the card. If not set the dominant color of the hero + * image is used, and if no hero image is set, the dominant color of the logo + * is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as + * `#ffcc00`. You can also use the shorthand version of the RGB triplet which + * is #rgb, such as `#fc0`. + */ +@property(nonatomic, copy, nullable) NSString *hexBackgroundColor; + +/** + * The URI of your application's home page. Populating the URI in this field + * results in the exact same behavior as populating an URI in linksModuleData + * (when an object is rendered, a link to the homepage is shown in what would + * usually be thought of as the linksModuleData section of the object). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Uri *homepageUri; + +/** + * Required. The unique identifier for a class. This ID must be unique across + * all classes from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. The maximum number of these fields displayed is 1 from + * object level and 1 for class object level. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** Deprecated. Use textModulesData instead. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_InfoModuleData *infoModuleData GTLR_DEPRECATED; + +/** + * Required. The issuer name. Recommended maximum length is 20 characters to + * ensure full string is displayed on smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *issuerName; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#loyaltyClass"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * Links module data. If links module data is also defined on the object, both + * will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** + * Translated strings for the account_id_label. Recommended maximum length is + * 15 characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedAccountIdLabel; + +/** + * Translated strings for the account_name_label. Recommended maximum length is + * 15 characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedAccountNameLabel; + +/** + * Translated strings for the issuer_name. Recommended maximum length is 20 + * characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedIssuerName; + +/** + * Translated strings for the program_name. The app may display an ellipsis + * after the first 20 characters to ensure full string is displayed on smaller + * screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedProgramName; + +/** + * Translated strings for the rewards_tier. Recommended maximum length is 7 + * characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedRewardsTier; + +/** + * Translated strings for the rewards_tier_label. Recommended maximum length is + * 9 characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedRewardsTierLabel; + +/** Translated strings for the secondary_rewards_tier. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedSecondaryRewardsTier; + +/** Translated strings for the secondary_rewards_tier_label. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedSecondaryRewardsTierLabel; + +/** + * Note: This field is currently not supported to trigger geo notifications. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** + * An array of messages displayed in the app. All users of this object will + * receive its associated messages. The maximum number of these fields is 10. + */ +@property(nonatomic, strong, nullable) NSArray *messages; + +/** + * Identifies whether multiple users and devices will save the same object + * referencing this class. + * + * Likely values: + * @arg @c kGTLRWalletobjects_LoyaltyClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. (Value: + * "multipleHolders") + * @arg @c kGTLRWalletobjects_LoyaltyClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. (Value: + * "oneUserAllDevices") + * @arg @c kGTLRWalletobjects_LoyaltyClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. (Value: + * "oneUserOneDevice") + * @arg @c kGTLRWalletobjects_LoyaltyClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified + * Unspecified preference. (Value: "STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *multipleDevicesAndHoldersAllowedStatus; + +/** + * Required. The logo of the loyalty program or company. This logo is displayed + * in both the details and list views of the app. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *programLogo; + +/** + * Required. The program name, such as "Adam's Apparel". The app may display an + * ellipsis after the first 20 characters to ensure full string is displayed on + * smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *programName; + +/** + * Identifies which redemption issuers can redeem the pass over Smart Tap. + * Redemption issuers are identified by their issuer ID. Redemption issuers + * must have at least one Smart Tap key configured. The `enableSmartTap` and + * one of object level `smartTapRedemptionValue`, barcode.value`, or + * `accountId` fields must also be set up correctly in order for a pass to + * support Smart Tap. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *redemptionIssuers; + +/** + * The review comments set by the platform when a class is marked `approved` or + * `rejected`. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Review *review; + +/** + * Required. The status of the class. This field can be set to `draft` or + * `underReview` using the insert, patch, or update API calls. Once the review + * state is changed from `draft` it may not be changed back to `draft`. You + * should keep this field to `draft` when the class is under development. A + * `draft` class cannot be used to create any object. You should set this field + * to `underReview` when you believe the class is ready for use. The platform + * will automatically set this field to `approved` and it can be immediately + * used to create or migrate objects. When updating an already `approved` class + * you should keep setting this field to `underReview`. + * + * Likely values: + * @arg @c kGTLRWalletobjects_LoyaltyClass_ReviewStatus_Approved Legacy alias + * for `APPROVED`. Deprecated. (Value: "approved") + * @arg @c kGTLRWalletobjects_LoyaltyClass_ReviewStatus_Draft Legacy alias + * for `DRAFT`. Deprecated. (Value: "draft") + * @arg @c kGTLRWalletobjects_LoyaltyClass_ReviewStatus_Rejected Legacy alias + * for `REJECTED`. Deprecated. (Value: "rejected") + * @arg @c kGTLRWalletobjects_LoyaltyClass_ReviewStatus_ReviewStatusUnspecified + * Value "REVIEW_STATUS_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_LoyaltyClass_ReviewStatus_UnderReview Legacy + * alias for `UNDER_REVIEW`. Deprecated. (Value: "underReview") + */ +@property(nonatomic, copy, nullable) NSString *reviewStatus; + +/** + * The rewards tier, such as "Gold" or "Platinum." Recommended maximum length + * is 7 characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *rewardsTier; + +/** + * The rewards tier label, such as "Rewards Tier." Recommended maximum length + * is 9 characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *rewardsTierLabel; + +/** The secondary rewards tier, such as "Gold" or "Platinum." */ +@property(nonatomic, copy, nullable) NSString *secondaryRewardsTier; + +/** The secondary rewards tier label, such as "Rewards Tier." */ +@property(nonatomic, copy, nullable) NSString *secondaryRewardsTierLabel; + +/** + * Optional information about the security animation. If this is set a security + * animation will be rendered on pass details. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_SecurityAnimation *securityAnimation; + +/** + * Text module data. If text module data is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * the object and 10 from the class. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** + * Deprecated + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version GTLR_DEPRECATED; + +/** + * View Unlock Requirement options for the loyalty card. + * + * Likely values: + * @arg @c kGTLRWalletobjects_LoyaltyClass_ViewUnlockRequirement_UnlockNotRequired + * Default behavior for all the existing Passes if ViewUnlockRequirement + * is not set. (Value: "UNLOCK_NOT_REQUIRED") + * @arg @c kGTLRWalletobjects_LoyaltyClass_ViewUnlockRequirement_UnlockRequiredToView + * Requires the user to unlock their device each time the pass is viewed. + * If the user removes their device lock after saving the pass, then they + * will be prompted to create a device lock before the pass can be + * viewed. (Value: "UNLOCK_REQUIRED_TO_VIEW") + * @arg @c kGTLRWalletobjects_LoyaltyClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified + * Default value, same as UNLOCK_NOT_REQUIRED. (Value: + * "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *viewUnlockRequirement; + +/** + * The wide logo of the loyalty program or company. When provided, this will be + * used in place of the program logo in the top left of the card view. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *wideProgramLogo; + +/** Deprecated. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *wordMark GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_LoyaltyClassAddMessageResponse + */ +@interface GTLRWalletobjects_LoyaltyClassAddMessageResponse : GTLRObject + +/** The updated LoyaltyClass resource. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LoyaltyClass *resource; + +@end + + +/** + * GTLRWalletobjects_LoyaltyClassListResponse + */ +@interface GTLRWalletobjects_LoyaltyClassListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRWalletobjects_LoyaltyObject + */ +@interface GTLRWalletobjects_LoyaltyObject : GTLRObject + +/** + * The loyalty account identifier. Recommended maximum length is 20 characters. + */ +@property(nonatomic, copy, nullable) NSString *accountId; + +/** + * The loyalty account holder name, such as "John Smith." Recommended maximum + * length is 20 characters to ensure full string is displayed on smaller + * screens. + */ +@property(nonatomic, copy, nullable) NSString *accountName; + +/** Optional information about the partner app link. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + +/** The barcode type and value. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Barcode *barcode; + +/** + * Required. The class associated with this object. The class must be of the + * same type as this object, must already exist, and must be approved. Class + * IDs should follow the format issuer ID.identifier where the former is issued + * by Google and latter is chosen by you. + */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * A copy of the inherited fields of the parent class. These fields are + * retrieved during a GET. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LoyaltyClass *classReference; + +/** + * Indicates if notifications should explicitly be suppressed. If this field is + * set to true, regardless of the `messages` field, expiration notifications to + * the user will be suppressed. By default, this field is set to false. + * Currently, this can only be set for offers. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableExpirationNotification; + +/** Information that controls how passes are grouped together. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_GroupingInfo *groupingInfo; + +/** + * Whether this object is currently linked to a single device. This field is + * set by the platform when a user saves the object, linking it to their + * device. Intended for use by select partners. Contact support for additional + * information. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasLinkedDevice; + +/** + * Indicates if the object has users. This field is set by the platform. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasUsers; + +/** + * Optional banner image displayed on the front of the card. If none is + * present, hero image of the class, if present, will be displayed. If hero + * image of the class is also not present, nothing will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *heroImage; + +/** + * Required. The unique identifier for an object. This ID must be unique across + * all objects from an issuer. This value should follow the format issuer + * ID.identifier where the former is issued by Google and latter is chosen by + * you. The unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. The maximum number of these fields displayed is 1 from + * object level and 1 for class object level. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** Deprecated. Use textModulesData instead. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_InfoModuleData *infoModuleData; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#loyaltyObject"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * A list of offer objects linked to this loyalty card. The offer objects must + * already exist. Offer object IDs should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + */ +@property(nonatomic, strong, nullable) NSArray *linkedOfferIds; + +/** + * Links module data. If links module data is also defined on the class, both + * will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** + * Note: This field is currently not supported to trigger geo notifications. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** The loyalty reward points label, balance, and type. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LoyaltyPoints *loyaltyPoints; + +/** + * An array of messages displayed in the app. All users of this object will + * receive its associated messages. The maximum number of these fields is 10. + */ +@property(nonatomic, strong, nullable) NSArray *messages; + +/** + * Pass constraints for the object. Includes limiting NFC and screenshot + * behaviors. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_PassConstraints *passConstraints; + +/** The rotating barcode type and value. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_RotatingBarcode *rotatingBarcode; + +/** + * The secondary loyalty reward points label, balance, and type. Shown in + * addition to the primary loyalty points. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LoyaltyPoints *secondaryLoyaltyPoints; + +/** + * The value that will be transmitted to a Smart Tap certified terminal over + * NFC for this object. The class level fields `enableSmartTap` and + * `redemptionIssuers` must also be set up correctly in order for the pass to + * support Smart Tap. Only ASCII characters are supported. If this value is not + * set but the class level fields `enableSmartTap` and `redemptionIssuers` are + * set up correctly, the `barcode.value` or the `accountId` fields are used as + * fallback if present. + */ +@property(nonatomic, copy, nullable) NSString *smartTapRedemptionValue; + +/** + * Required. The state of the object. This field is used to determine how an + * object is displayed in the app. For example, an `inactive` object is moved + * to the "Expired passes" section. + * + * Likely values: + * @arg @c kGTLRWalletobjects_LoyaltyObject_State_Active Legacy alias for + * `ACTIVE`. Deprecated. (Value: "active") + * @arg @c kGTLRWalletobjects_LoyaltyObject_State_Completed Legacy alias for + * `COMPLETED`. Deprecated. (Value: "completed") + * @arg @c kGTLRWalletobjects_LoyaltyObject_State_Expired Legacy alias for + * `EXPIRED`. Deprecated. (Value: "expired") + * @arg @c kGTLRWalletobjects_LoyaltyObject_State_Inactive Legacy alias for + * `INACTIVE`. Deprecated. (Value: "inactive") + * @arg @c kGTLRWalletobjects_LoyaltyObject_State_StateUnspecified Value + * "STATE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Text module data. If text module data is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * the object and 10 from the class. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** + * The time period this object will be `active` and object can be used. An + * object's state will be changed to `expired` when this time period has + * passed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TimeInterval *validTimeInterval; + +/** + * Deprecated + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_LoyaltyObjectAddMessageResponse + */ +@interface GTLRWalletobjects_LoyaltyObjectAddMessageResponse : GTLRObject + +/** The updated LoyaltyObject resource. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LoyaltyObject *resource; + +@end + + +/** + * GTLRWalletobjects_LoyaltyObjectListResponse + */ +@interface GTLRWalletobjects_LoyaltyObjectListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRWalletobjects_LoyaltyPoints + */ +@interface GTLRWalletobjects_LoyaltyPoints : GTLRObject + +/** + * The account holder's loyalty point balance, such as "500" or "$10.00". + * Recommended maximum length is 7 characters. This is a required field of + * `loyaltyPoints` and `secondaryLoyaltyPoints`. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LoyaltyPointsBalance *balance; + +/** + * The loyalty points label, such as "Points". Recommended maximum length is 9 + * characters. + */ +@property(nonatomic, copy, nullable) NSString *label; + +/** + * Translated strings for the label. Recommended maximum length is 9 + * characters. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedLabel; + +@end + + +/** + * GTLRWalletobjects_LoyaltyPointsBalance + */ +@interface GTLRWalletobjects_LoyaltyPointsBalance : GTLRObject + +/** + * The double form of a balance. Only one of these subtypes (string, int, + * double, money) should be populated. + * + * Remapped to 'doubleProperty' to avoid language reserved word 'double'. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *doubleProperty; + +/** + * The integer form of a balance. Only one of these subtypes (string, int, + * double, money) should be populated. + * + * Remapped to 'intProperty' to avoid language reserved word 'int'. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *intProperty; + +/** + * The money form of a balance. Only one of these subtypes (string, int, + * double, money) should be populated. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Money *money; + +/** + * The string form of a balance. Only one of these subtypes (string, int, + * double, money) should be populated. + */ +@property(nonatomic, copy, nullable) NSString *string; + +@end + + +/** + * A reference to data stored on the filesystem, on GFS or in blobstore. + */ +@interface GTLRWalletobjects_Media : GTLRObject + +/** + * Deprecated, use one of explicit hash type fields instead. Algorithm used for + * calculating the hash. As of 2011/01/21, "MD5" is the only possible value for + * this field. New values may be added at any time. + */ +@property(nonatomic, copy, nullable) NSString *algorithm GTLR_DEPRECATED; + +/** + * Use object_id instead. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *bigstoreObjectRef GTLR_DEPRECATED; + +/** + * Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should + * be the byte representation of a blobstore.BlobRef. Since Blobstore is + * deprecating v1, use blobstore2_info instead. For now, any v2 blob will also + * be represented in this field as v1 BlobRef. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *blobRef GTLR_DEPRECATED; + +/** + * Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a + * v2 blob. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Blobstore2Info *blobstore2Info; + +/** + * A composite media composed of one or more media objects, set if + * reference_type is COMPOSITE_MEDIA. The media length field must be set to the + * sum of the lengths of all composite media objects. Note: All composite media + * must have length specified. + */ +@property(nonatomic, strong, nullable) NSArray *compositeMedia; + +/** MIME type of the data */ +@property(nonatomic, copy, nullable) NSString *contentType; + +/** Extended content type information provided for Scotty uploads. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ContentTypeInfo *contentTypeInfo; + +/** + * A binary data reference for a media download. Serves as a + * technology-agnostic binary reference in some Google infrastructure. This + * value is a serialized storage_cosmo.BinaryReference proto. Storing it as + * bytes is a hack to get around the fact that the cosmo proto (as well as + * others it includes) doesn't support JavaScript. This prevents us from + * including the actual type of this field. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *cosmoBinaryReference; + +/** + * For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: + * (WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash + * provided by the agent to be used to verify the data being downloaded. + * Currently only supported for inline payloads. Further, only crc32c_hash is + * currently supported. + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *crc32cHash; + +/** Set if reference_type is DIFF_CHECKSUMS_RESPONSE. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DiffChecksumsResponse *diffChecksumsResponse; + +/** Set if reference_type is DIFF_DOWNLOAD_RESPONSE. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DiffDownloadResponse *diffDownloadResponse; + +/** Set if reference_type is DIFF_UPLOAD_REQUEST. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DiffUploadRequest *diffUploadRequest; + +/** Set if reference_type is DIFF_UPLOAD_RESPONSE. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DiffUploadResponse *diffUploadResponse; + +/** Set if reference_type is DIFF_VERSION_RESPONSE. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DiffVersionResponse *diffVersionResponse; + +/** Parameters for a media download. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DownloadParameters *downloadParameters; + +/** Original file name */ +@property(nonatomic, copy, nullable) NSString *filename; + +/** + * Deprecated, use one of explicit hash type fields instead. These two hash + * related fields will only be populated on Scotty based media uploads and will + * contain the content of the hash group in the NotificationRequest: + * http://cs/#google3/uploader/service/proto/upload_listener.proto&q=class:Hash + * Hex encoded hash value of the uploaded media. + * + * Remapped to 'hashProperty' to avoid NSObject's 'hash'. + */ +@property(nonatomic, copy, nullable) NSString *hashProperty GTLR_DEPRECATED; + +/** + * For Scotty uploads only. If a user sends a hash code and the backend has + * requested that Scotty verify the upload against the client hash, Scotty will + * perform the check on behalf of the backend and will reject it if the hashes + * don't match. This is set to true if Scotty performed this verification. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hashVerified; + +/** + * Media data, set if reference_type is INLINE + * + * Remapped to 'inlineProperty' to avoid language reserved word 'inline'. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *inlineProperty; + +/** + * |is_potential_retry| is set false only when Scotty is certain that it has + * not sent the request before. When a client resumes an upload, this field + * must be set true in agent calls, because Scotty cannot be certain that it + * has never sent the request before due to potential failure in the session + * state persistence. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isPotentialRetry; + +/** + * Size of the data, in bytes + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *length; + +/** + * Scotty-provided MD5 hash for an upload. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *md5Hash; + +/** + * Media id to forward to the operation GetMedia. Can be set if reference_type + * is GET_MEDIA. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *mediaId; + +/** Reference to a TI Blob, set if reference_type is BIGSTORE_REF. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ObjectId *objectId; + +/** Path to the data, set if reference_type is PATH */ +@property(nonatomic, copy, nullable) NSString *path; + +/** + * Describes what the field reference contains. + * + * Likely values: + * @arg @c kGTLRWalletobjects_Media_ReferenceType_ArbitraryBytes Informs + * Scotty to generate a response payload with the size specified in the + * length field. The contents of the payload are generated by Scotty and + * are undefined. This is useful for testing download speeds between the + * user and Scotty without involving a real payload source. Note: range + * is not supported when using arbitrary_bytes. (Value: + * "ARBITRARY_BYTES") + * @arg @c kGTLRWalletobjects_Media_ReferenceType_BigstoreRef Reference + * points to a bigstore object (Value: "BIGSTORE_REF") + * @arg @c kGTLRWalletobjects_Media_ReferenceType_BlobRef Reference points to + * a blobstore object. This could be either a v1 blob_ref or a v2 + * blobstore2_info. Clients should check blobstore2_info first, since v1 + * is being deprecated. (Value: "BLOB_REF") + * @arg @c kGTLRWalletobjects_Media_ReferenceType_CompositeMedia The content + * for this media object is stored across multiple partial media objects + * under the composite_media field. (Value: "COMPOSITE_MEDIA") + * @arg @c kGTLRWalletobjects_Media_ReferenceType_CosmoBinaryReference + * Indicates the data is stored in cosmo_binary_reference. (Value: + * "COSMO_BINARY_REFERENCE") + * @arg @c kGTLRWalletobjects_Media_ReferenceType_DiffChecksumsResponse + * Indicates the data is stored in diff_checksums_response. (Value: + * "DIFF_CHECKSUMS_RESPONSE") + * @arg @c kGTLRWalletobjects_Media_ReferenceType_DiffDownloadResponse + * Indicates the data is stored in diff_download_response. (Value: + * "DIFF_DOWNLOAD_RESPONSE") + * @arg @c kGTLRWalletobjects_Media_ReferenceType_DiffUploadRequest Indicates + * the data is stored in diff_upload_request. (Value: + * "DIFF_UPLOAD_REQUEST") + * @arg @c kGTLRWalletobjects_Media_ReferenceType_DiffUploadResponse + * Indicates the data is stored in diff_upload_response. (Value: + * "DIFF_UPLOAD_RESPONSE") + * @arg @c kGTLRWalletobjects_Media_ReferenceType_DiffVersionResponse + * Indicates the data is stored in diff_version_response. (Value: + * "DIFF_VERSION_RESPONSE") + * @arg @c kGTLRWalletobjects_Media_ReferenceType_GetMedia Data should be + * accessed from the current service using the operation GetMedia. + * (Value: "GET_MEDIA") + * @arg @c kGTLRWalletobjects_Media_ReferenceType_Inline Data is included + * into this proto buffer (Value: "INLINE") + * @arg @c kGTLRWalletobjects_Media_ReferenceType_Path Reference contains a + * GFS path or a local path. (Value: "PATH") + */ +@property(nonatomic, copy, nullable) NSString *referenceType; + +/** + * Scotty-provided SHA1 hash for an upload. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *sha1Hash; + +/** + * Scotty-provided SHA256 hash for an upload. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *sha256Hash; + +/** + * Time at which the media data was last updated, in milliseconds since UNIX + * epoch + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *timestamp; + +/** A unique fingerprint/version id for the media data */ +@property(nonatomic, copy, nullable) NSString *token; + +@end + + +/** + * Extra information added to operations that support Scotty media requests. + */ +@interface GTLRWalletobjects_MediaRequestInfo : GTLRObject + +/** + * The number of current bytes uploaded or downloaded. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *currentBytes; + +/** + * Data to be copied to backend requests. Custom data is returned to Scotty in + * the agent_state field, which Scotty will then provide in subsequent upload + * notifications. + */ +@property(nonatomic, copy, nullable) NSString *customData; + +/** + * Set if the http request info is diff encoded. The value of this field is the + * version number of the base revision. This is corresponding to Apiary's + * mediaDiffObjectVersion + * (//depot/google3/java/com/google/api/server/media/variable/DiffObjectVersionVariable.java). + * See go/esf-scotty-diff-upload for more information. + */ +@property(nonatomic, copy, nullable) NSString *diffObjectVersion; + +/** + * The existence of the final_status field indicates that this is the last call + * to the agent for this request_id. + * http://google3/uploader/agent/scotty_agent.proto?l=737&rcl=347601929 + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *finalStatus; + +/** + * The type of notification received from Scotty. + * + * Likely values: + * @arg @c kGTLRWalletobjects_MediaRequestInfo_NotificationType_End Such + * requests signals the end of a request containing media upload. END + * should be handled just like normal Insert/Upload requests, that is, + * they should process the request and return a complete resource in the + * response. Pointers to media data (a GFS path usually) appear in the + * relevant fields in the inserted/updated resource. See gdata.Media in + * data.proto. (Value: "END") + * @arg @c kGTLRWalletobjects_MediaRequestInfo_NotificationType_Error Such + * requests indicate that an error occurred while processing the request. + * ERROR is only sent to the backend if it is configured to receive them. + * It is not guaranteed that all errors will result in this notification + * to the backend, even if the backend requests them. Since these + * requests are just for informational purposes, the response does not + * need to contain anything. (Value: "ERROR") + * @arg @c kGTLRWalletobjects_MediaRequestInfo_NotificationType_Progress Such + * requests signals that the upload has progressed and that the backend + * might want to access the media file specified in relevant fields in + * the resource. Only the media field(s) in the inserted/updated resource + * are set. The response should either return an error or succeed. On + * success, responses don't need to contain anything. (Value: "PROGRESS") + * @arg @c kGTLRWalletobjects_MediaRequestInfo_NotificationType_ResponseSent + * Such requests occur after an END and signal that the response has been + * sent back to the client. RESPONSE_SENT is only sent to the backend if + * it is configured to receive them. The response does not need to + * contain anything. (Value: "RESPONSE_SENT") + * @arg @c kGTLRWalletobjects_MediaRequestInfo_NotificationType_Start Such + * requests signals the start of a request containing media upload. Only + * the media field(s) in the inserted/updated resource are set. The + * response should either return an error or succeed. On success, + * responses don't need to contain anything. (Value: "START") + */ +@property(nonatomic, copy, nullable) NSString *notificationType; + +/** The Scotty request ID. */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * The partition of the Scotty server handling this request. type is + * uploader_service.RequestReceivedParamsServingInfo + * LINT.IfChange(request_received_params_serving_info_annotations) + * LINT.ThenChange() + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *requestReceivedParamsServingInfo; + +/** + * The total size of the file. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalBytes; + +/** + * Whether the total bytes field contains an estimated data. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalBytesIsEstimated; + +@end + + +/** + * A message that will be displayed with a Valuable + */ +@interface GTLRWalletobjects_Message : GTLRObject + +/** The message body. */ +@property(nonatomic, copy, nullable) NSString *body; + +/** + * The period of time that the message will be displayed to users. You can + * define both a `startTime` and `endTime` for each message. A message is + * displayed immediately after a Wallet Object is inserted unless a `startTime` + * is set. The message will appear in a list of messages indefinitely if + * `endTime` is not provided. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TimeInterval *displayInterval; + +/** The message header. */ +@property(nonatomic, copy, nullable) NSString *header; + +/** + * The ID associated with a message. This field is here to enable ease of + * management of messages. Notice ID values could possibly duplicate across + * multiple messages in the same class/instance, and care must be taken to + * select a reasonable ID for each message. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#walletObjectMessage"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** Translated strings for the message body. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedBody; + +/** Translated strings for the message header. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedHeader; + +/** + * The type of the message. Currently, this can only be set for offers. + * + * Likely values: + * @arg @c kGTLRWalletobjects_Message_MessageType_ExpirationNotification + * Legacy alias for `EXPIRATION_NOTIFICATION`. Deprecated. (Value: + * "expirationNotification") + * @arg @c kGTLRWalletobjects_Message_MessageType_MessageTypeUnspecified + * Value "MESSAGE_TYPE_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_Message_MessageType_Text Legacy alias for + * `TEXT`. Deprecated. (Value: "text") + */ +@property(nonatomic, copy, nullable) NSString *messageType; + +@end + + +/** + * GTLRWalletobjects_ModifyLinkedOfferObjects + */ +@interface GTLRWalletobjects_ModifyLinkedOfferObjects : GTLRObject + +/** The linked offer object ids to add to the object. */ +@property(nonatomic, strong, nullable) NSArray *addLinkedOfferObjectIds; + +/** The linked offer object ids to remove from the object. */ +@property(nonatomic, strong, nullable) NSArray *removeLinkedOfferObjectIds; + +@end + + +/** + * GTLRWalletobjects_ModifyLinkedOfferObjectsRequest + */ +@interface GTLRWalletobjects_ModifyLinkedOfferObjectsRequest : GTLRObject + +/** The linked offer object ids to add or remove from the object. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ModifyLinkedOfferObjects *linkedOfferObjectIds; + +@end + + +/** + * GTLRWalletobjects_Money + */ +@interface GTLRWalletobjects_Money : GTLRObject + +/** The currency code, such as "USD" or "EUR." */ +@property(nonatomic, copy, nullable) NSString *currencyCode; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#money"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * The unit of money amount in micros. For example, $1 USD would be represented + * as 1000000 micros. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *micros; + +@end + + +/** + * Indicates if the object needs to have notification enabled. We support only + * one of ExpiryNotification/UpcomingNotification. `expiryNotification` takes + * precedence over `upcomingNotification`. In other words if + * `expiryNotification` is set, we ignore the `upcomingNotification` field. + */ +@interface GTLRWalletobjects_Notifications : GTLRObject + +/** + * A notification would be triggered at a specific time before the card + * expires. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ExpiryNotification *expiryNotification; + +/** + * A notification would be triggered at a specific time before the card becomes + * usable. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_UpcomingNotification *upcomingNotification; + +@end + + +/** + * This is a copy of the tech.blob.ObjectId proto, which could not be used + * directly here due to transitive closure issues with JavaScript support; see + * http://b/8801763. + */ +@interface GTLRWalletobjects_ObjectId : GTLRObject + +/** The name of the bucket to which this object belongs. */ +@property(nonatomic, copy, nullable) NSString *bucketName; + +/** + * Generation of the object. Generations are monotonically increasing across + * writes, allowing them to be be compared to determine which generation is + * newer. If this is omitted in a request, then you are requesting the live + * object. See http://go/bigstore-versions + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *generation; + +/** The name of the object. */ +@property(nonatomic, copy, nullable) NSString *objectName; + +@end + + +/** + * GTLRWalletobjects_OfferClass + */ +@interface GTLRWalletobjects_OfferClass : GTLRObject + +/** + * Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowMultipleUsersPerObject GTLR_DEPRECATED; + +/** + * Callback options to be used to call the issuer back for every save/delete of + * an object for this class by the end-user. All objects of this class are + * eligible for the callback. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CallbackOptions *callbackOptions; + +/** + * Template information about how the class should be displayed. If unset, + * Google will fallback to a default set of fields to display. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ClassTemplateInfo *classTemplateInfo; + +/** + * Country code used to display the card's country (when the user is not in + * that country), as well as to display localized content when content is not + * available in the user's locale. + */ +@property(nonatomic, copy, nullable) NSString *countryCode; + +/** The details of the offer. */ +@property(nonatomic, copy, nullable) NSString *details; + +/** + * Identifies whether this class supports Smart Tap. The `redemptionIssuers` + * and object level `smartTapRedemptionLevel` fields must also be set up + * correctly in order for a pass to support Smart Tap. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableSmartTap; + +/** + * The fine print or terms of the offer, such as "20% off any t-shirt at Adam's + * Apparel." + */ +@property(nonatomic, copy, nullable) NSString *finePrint; + +/** + * The help link for the offer, such as `http://myownpersonaldomain.com/help` + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Uri *helpUri; + +/** + * Optional banner image displayed on the front of the card. If none is + * present, nothing will be displayed. The image will display at 100% width. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *heroImage; + +/** + * The background color for the card. If not set the dominant color of the hero + * image is used, and if no hero image is set, the dominant color of the logo + * is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as + * `#ffcc00`. You can also use the shorthand version of the RGB triplet which + * is #rgb, such as `#fc0`. + */ +@property(nonatomic, copy, nullable) NSString *hexBackgroundColor; + +/** + * The URI of your application's home page. Populating the URI in this field + * results in the exact same behavior as populating an URI in linksModuleData + * (when an object is rendered, a link to the homepage is shown in what would + * usually be thought of as the linksModuleData section of the object). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Uri *homepageUri; + +/** + * Required. The unique identifier for a class. This ID must be unique across + * all classes from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. The maximum number of these fields displayed is 1 from + * object level and 1 for class object level. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** Deprecated. Use textModulesData instead. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_InfoModuleData *infoModuleData GTLR_DEPRECATED; + +/** + * Required. The issuer name. Recommended maximum length is 20 characters to + * ensure full string is displayed on smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *issuerName; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#offerClass"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * Links module data. If links module data is also defined on the object, both + * will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** Translated strings for the details. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedDetails; + +/** Translated strings for the fine_print. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedFinePrint; + +/** + * Translated strings for the issuer_name. Recommended maximum length is 20 + * characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedIssuerName; + +/** + * Translated strings for the provider. Recommended maximum length is 12 + * characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedProvider; + +/** + * Translated strings for the short title. Recommended maximum length is 20 + * characters. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedShortTitle; + +/** + * Translated strings for the title. Recommended maximum length is 60 + * characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedTitle; + +/** + * Note: This field is currently not supported to trigger geo notifications. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** + * An array of messages displayed in the app. All users of this object will + * receive its associated messages. The maximum number of these fields is 10. + */ +@property(nonatomic, strong, nullable) NSArray *messages; + +/** + * Identifies whether multiple users and devices will save the same object + * referencing this class. + * + * Likely values: + * @arg @c kGTLRWalletobjects_OfferClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. (Value: + * "multipleHolders") + * @arg @c kGTLRWalletobjects_OfferClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. (Value: + * "oneUserAllDevices") + * @arg @c kGTLRWalletobjects_OfferClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. (Value: + * "oneUserOneDevice") + * @arg @c kGTLRWalletobjects_OfferClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified + * Unspecified preference. (Value: "STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *multipleDevicesAndHoldersAllowedStatus; + +/** + * Required. The offer provider (either the aggregator name or merchant name). + * Recommended maximum length is 12 characters to ensure full string is + * displayed on smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *provider; + +/** + * Required. The redemption channels applicable to this offer. + * + * Likely values: + * @arg @c kGTLRWalletobjects_OfferClass_RedemptionChannel_Both Legacy alias + * for `BOTH`. Deprecated. (Value: "both") + * @arg @c kGTLRWalletobjects_OfferClass_RedemptionChannel_Instore Legacy + * alias for `INSTORE`. Deprecated. (Value: "instore") + * @arg @c kGTLRWalletobjects_OfferClass_RedemptionChannel_Online Legacy + * alias for `ONLINE`. Deprecated. (Value: "online") + * @arg @c kGTLRWalletobjects_OfferClass_RedemptionChannel_RedemptionChannelUnspecified + * Value "REDEMPTION_CHANNEL_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_OfferClass_RedemptionChannel_TemporaryPriceReduction + * Legacy alias for `TEMPORARY_PRICE_REDUCTION`. Deprecated. (Value: + * "temporaryPriceReduction") + */ +@property(nonatomic, copy, nullable) NSString *redemptionChannel; + +/** + * Identifies which redemption issuers can redeem the pass over Smart Tap. + * Redemption issuers are identified by their issuer ID. Redemption issuers + * must have at least one Smart Tap key configured. The `enableSmartTap` and + * object level `smartTapRedemptionLevel` fields must also be set up correctly + * in order for a pass to support Smart Tap. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *redemptionIssuers; + +/** + * The review comments set by the platform when a class is marked `approved` or + * `rejected`. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Review *review; + +/** + * Required. The status of the class. This field can be set to `draft` or The + * status of the class. This field can be set to `draft` or `underReview` using + * the insert, patch, or update API calls. Once the review state is changed + * from `draft` it may not be changed back to `draft`. You should keep this + * field to `draft` when the class is under development. A `draft` class cannot + * be used to create any object. You should set this field to `underReview` + * when you believe the class is ready for use. The platform will automatically + * set this field to `approved` and it can be immediately used to create or + * migrate objects. When updating an already `approved` class you should keep + * setting this field to `underReview`. + * + * Likely values: + * @arg @c kGTLRWalletobjects_OfferClass_ReviewStatus_Approved Legacy alias + * for `APPROVED`. Deprecated. (Value: "approved") + * @arg @c kGTLRWalletobjects_OfferClass_ReviewStatus_Draft Legacy alias for + * `DRAFT`. Deprecated. (Value: "draft") + * @arg @c kGTLRWalletobjects_OfferClass_ReviewStatus_Rejected Legacy alias + * for `REJECTED`. Deprecated. (Value: "rejected") + * @arg @c kGTLRWalletobjects_OfferClass_ReviewStatus_ReviewStatusUnspecified + * Value "REVIEW_STATUS_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_OfferClass_ReviewStatus_UnderReview Legacy + * alias for `UNDER_REVIEW`. Deprecated. (Value: "underReview") + */ +@property(nonatomic, copy, nullable) NSString *reviewStatus; + +/** + * Optional information about the security animation. If this is set a security + * animation will be rendered on pass details. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_SecurityAnimation *securityAnimation; + +/** + * A shortened version of the title of the offer, such as "20% off," shown to + * users as a quick reference to the offer contents. Recommended maximum length + * is 20 characters. + */ +@property(nonatomic, copy, nullable) NSString *shortTitle; + +/** + * Text module data. If text module data is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * the object and 10 from the class. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** + * Required. The title of the offer, such as "20% off any t-shirt." Recommended + * maximum length is 60 characters to ensure full string is displayed on + * smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *title; + +/** + * The title image of the offer. This image is displayed in both the details + * and list views of the app. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *titleImage; + +/** + * Deprecated + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version GTLR_DEPRECATED; + +/** + * View Unlock Requirement options for the offer. + * + * Likely values: + * @arg @c kGTLRWalletobjects_OfferClass_ViewUnlockRequirement_UnlockNotRequired + * Default behavior for all the existing Passes if ViewUnlockRequirement + * is not set. (Value: "UNLOCK_NOT_REQUIRED") + * @arg @c kGTLRWalletobjects_OfferClass_ViewUnlockRequirement_UnlockRequiredToView + * Requires the user to unlock their device each time the pass is viewed. + * If the user removes their device lock after saving the pass, then they + * will be prompted to create a device lock before the pass can be + * viewed. (Value: "UNLOCK_REQUIRED_TO_VIEW") + * @arg @c kGTLRWalletobjects_OfferClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified + * Default value, same as UNLOCK_NOT_REQUIRED. (Value: + * "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *viewUnlockRequirement; + +/** + * The wide title image of the offer. When provided, this will be used in place + * of the title image in the top left of the card view. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *wideTitleImage; + +/** Deprecated. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *wordMark GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_OfferClassAddMessageResponse + */ +@interface GTLRWalletobjects_OfferClassAddMessageResponse : GTLRObject + +/** The updated OfferClass resource. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_OfferClass *resource; + +@end + + +/** + * GTLRWalletobjects_OfferClassListResponse + */ +@interface GTLRWalletobjects_OfferClassListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRWalletobjects_OfferObject + */ +@interface GTLRWalletobjects_OfferObject : GTLRObject + +/** Optional information about the partner app link. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + +/** The barcode type and value. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Barcode *barcode; + +/** + * Required. The class associated with this object. The class must be of the + * same type as this object, must already exist, and must be approved. Class + * IDs should follow the format issuer ID.identifier where the former is issued + * by Google and latter is chosen by you. + */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * A copy of the inherited fields of the parent class. These fields are + * retrieved during a GET. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_OfferClass *classReference; + +/** + * Indicates if notifications should explicitly be suppressed. If this field is + * set to true, regardless of the `messages` field, expiration notifications to + * the user will be suppressed. By default, this field is set to false. + * Currently, this can only be set for offers. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableExpirationNotification; + +/** Information that controls how passes are grouped together. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_GroupingInfo *groupingInfo; + +/** + * Whether this object is currently linked to a single device. This field is + * set by the platform when a user saves the object, linking it to their + * device. Intended for use by select partners. Contact support for additional + * information. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasLinkedDevice; + +/** + * Indicates if the object has users. This field is set by the platform. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasUsers; + +/** + * Optional banner image displayed on the front of the card. If none is + * present, hero image of the class, if present, will be displayed. If hero + * image of the class is also not present, nothing will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *heroImage; + +/** + * Required. The unique identifier for an object. This ID must be unique across + * all objects from an issuer. This value should follow the format issuer + * ID.identifier where the former is issued by Google and latter is chosen by + * you. The unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. The maximum number of these fields displayed is 1 from + * object level and 1 for class object level. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** Deprecated. Use textModulesData instead. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_InfoModuleData *infoModuleData; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#offerObject"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * Links module data. If links module data is also defined on the class, both + * will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** + * Note: This field is currently not supported to trigger geo notifications. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** + * An array of messages displayed in the app. All users of this object will + * receive its associated messages. The maximum number of these fields is 10. + */ +@property(nonatomic, strong, nullable) NSArray *messages; + +/** + * Pass constraints for the object. Includes limiting NFC and screenshot + * behaviors. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_PassConstraints *passConstraints; + +/** The rotating barcode type and value. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_RotatingBarcode *rotatingBarcode; + +/** + * The value that will be transmitted to a Smart Tap certified terminal over + * NFC for this object. The class level fields `enableSmartTap` and + * `redemptionIssuers` must also be set up correctly in order for the pass to + * support Smart Tap. Only ASCII characters are supported. + */ +@property(nonatomic, copy, nullable) NSString *smartTapRedemptionValue; + +/** + * Required. The state of the object. This field is used to determine how an + * object is displayed in the app. For example, an `inactive` object is moved + * to the "Expired passes" section. + * + * Likely values: + * @arg @c kGTLRWalletobjects_OfferObject_State_Active Legacy alias for + * `ACTIVE`. Deprecated. (Value: "active") + * @arg @c kGTLRWalletobjects_OfferObject_State_Completed Legacy alias for + * `COMPLETED`. Deprecated. (Value: "completed") + * @arg @c kGTLRWalletobjects_OfferObject_State_Expired Legacy alias for + * `EXPIRED`. Deprecated. (Value: "expired") + * @arg @c kGTLRWalletobjects_OfferObject_State_Inactive Legacy alias for + * `INACTIVE`. Deprecated. (Value: "inactive") + * @arg @c kGTLRWalletobjects_OfferObject_State_StateUnspecified Value + * "STATE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Text module data. If text module data is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * the object and 10 from the class. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** + * The time period this object will be `active` and object can be used. An + * object's state will be changed to `expired` when this time period has + * passed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TimeInterval *validTimeInterval; + +/** + * Deprecated + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_OfferObjectAddMessageResponse + */ +@interface GTLRWalletobjects_OfferObjectAddMessageResponse : GTLRObject + +/** The updated OfferObject resource. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_OfferObject *resource; + +@end + + +/** + * GTLRWalletobjects_OfferObjectListResponse + */ +@interface GTLRWalletobjects_OfferObjectListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRWalletobjects_Pagination + */ +@interface GTLRWalletobjects_Pagination : GTLRObject + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#pagination"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** Page token to send to fetch the next page. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * Number of results returned in this page. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *resultsPerPage; + +@end + + +/** + * Container for any constraints that may be placed on passes. + */ +@interface GTLRWalletobjects_PassConstraints : GTLRObject + +/** The NFC constraints for the pass. */ +@property(nonatomic, strong, nullable) NSArray *nfcConstraint; + +/** + * The screenshot eligibility for the pass. + * + * Likely values: + * @arg @c kGTLRWalletobjects_PassConstraints_ScreenshotEligibility_Eligible + * Default behavior for all existing Passes if ScreenshotEligibility is + * not set. Allows screenshots to be taken on Android devices. (Value: + * "ELIGIBLE") + * @arg @c kGTLRWalletobjects_PassConstraints_ScreenshotEligibility_Ineligible + * Disallows screenshots to be taken on Android devices. Note that older + * versions of Wallet may still allow screenshots to be taken. (Value: + * "INELIGIBLE") + * @arg @c kGTLRWalletobjects_PassConstraints_ScreenshotEligibility_ScreenshotEligibilityUnspecified + * Default value, same as ELIGIBLE. (Value: + * "SCREENSHOT_ELIGIBILITY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *screenshotEligibility; + +@end + + +/** + * GTLRWalletobjects_Permission + */ +@interface GTLRWalletobjects_Permission : GTLRObject + +/** + * The email address of the user, group, or service account to which this + * permission refers to. + */ +@property(nonatomic, copy, nullable) NSString *emailAddress; + +/** + * The role granted by this permission. + * + * Likely values: + * @arg @c kGTLRWalletobjects_Permission_Role_Owner Legacy alias for `OWNER`. + * Deprecated. (Value: "owner") + * @arg @c kGTLRWalletobjects_Permission_Role_Reader Legacy alias for + * `READER`. Deprecated. (Value: "reader") + * @arg @c kGTLRWalletobjects_Permission_Role_RoleUnspecified Value + * "ROLE_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_Permission_Role_Writer Legacy alias for + * `WRITER`. Deprecated. (Value: "writer") + */ +@property(nonatomic, copy, nullable) NSString *role; + +@end + + +/** + * GTLRWalletobjects_Permissions + */ +@interface GTLRWalletobjects_Permissions : GTLRObject + +/** + * ID of the issuer the list of permissions refer to. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *issuerId; + +/** The complete list of permissions for the issuer account. */ +@property(nonatomic, strong, nullable) NSArray *permissions; + +@end + + +/** + * Private data for TextModule. This data will be rendered as a TextModule for + * a pass. + */ +@interface GTLRWalletobjects_PrivateText : GTLRObject + +/** Translated strings for the body. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *body; + +/** Translated strings for the header. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *header; + +@end + + +/** + * Private data for LinkModule. This data will be rendered as the LinkModule + * for a pass. + */ +@interface GTLRWalletobjects_PrivateUri : GTLRObject + +/** + * The URI's title appearing in the app as text and its translated strings. + * Recommended maximum is 20 characters to ensure the full string is displayed + * on smaller screens. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *descriptionProperty; + +/** + * The location of a web page, image, or other resource. URIs in the + * `LinksModuleData` can have different prefixes indicating the type of URI (a + * link to a web page, a link to a map, a telephone number, or an email + * address). + */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * GTLRWalletobjects_PurchaseDetails + */ +@interface GTLRWalletobjects_PurchaseDetails : GTLRObject + +/** ID of the account used to purchase the ticket. */ +@property(nonatomic, copy, nullable) NSString *accountId; + +/** + * The confirmation code for the purchase. This may be the same for multiple + * different tickets and is used to group tickets together. + */ +@property(nonatomic, copy, nullable) NSString *confirmationCode; + +/** + * The purchase date/time of the ticket. This is an ISO 8601 extended format + * date/time, with or without an offset. Time may be specified up to nanosecond + * precision. Offsets may be specified with seconds precision (even though + * offset seconds is not part of ISO 8601). For example: + * `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the + * 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would + * be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 + * hours before UTC (same instant in time as the above example). If the event + * were in New York, this would be the equivalent of Eastern Daylight Time + * (EDT). Remember that offset varies in regions that observe Daylight Saving + * Time (or Summer Time), depending on the time of the year. + * `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the + * 19th hour of April 12th, 1985 with no offset information. Without offset + * information, some rich features may not be available. + */ +@property(nonatomic, copy, nullable) NSString *purchaseDateTime; + +/** + * Receipt number/identifier for tracking the ticket purchase via the body that + * sold the ticket. + */ +@property(nonatomic, copy, nullable) NSString *purchaseReceiptNumber; + +/** The cost of the ticket. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TicketCost *ticketCost; + +@end + + +/** + * GTLRWalletobjects_ReservationInfo + */ +@interface GTLRWalletobjects_ReservationInfo : GTLRObject + +/** + * Confirmation code needed to check into this flight. This is the number that + * the passenger would enter into a kiosk at the airport to look up the flight + * and print a boarding pass. + */ +@property(nonatomic, copy, nullable) NSString *confirmationCode; + +/** E-ticket number. */ +@property(nonatomic, copy, nullable) NSString *eticketNumber; + +/** Frequent flyer membership information. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FrequentFlyerInfo *frequentFlyerInfo; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#reservationInfo"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_Resources + */ +@interface GTLRWalletobjects_Resources : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *eventTicketClasses; +@property(nonatomic, strong, nullable) NSArray *eventTicketObjects; +@property(nonatomic, strong, nullable) NSArray *flightClasses; +@property(nonatomic, strong, nullable) NSArray *flightObjects; +@property(nonatomic, strong, nullable) NSArray *giftCardClasses; +@property(nonatomic, strong, nullable) NSArray *giftCardObjects; +@property(nonatomic, strong, nullable) NSArray *loyaltyClasses; +@property(nonatomic, strong, nullable) NSArray *loyaltyObjects; +@property(nonatomic, strong, nullable) NSArray *offerClasses; +@property(nonatomic, strong, nullable) NSArray *offerObjects; +@property(nonatomic, strong, nullable) NSArray *transitClasses; +@property(nonatomic, strong, nullable) NSArray *transitObjects; + +@end + + +/** + * GTLRWalletobjects_Review + */ +@interface GTLRWalletobjects_Review : GTLRObject + +@property(nonatomic, copy, nullable) NSString *comments; + +@end + + +/** + * GTLRWalletobjects_RotatingBarcode + */ +@interface GTLRWalletobjects_RotatingBarcode : GTLRObject + +/** + * An optional text that will override the default text that shows under the + * barcode. This field is intended for a human readable equivalent of the + * barcode value, used when the barcode cannot be scanned. + */ +@property(nonatomic, copy, nullable) NSString *alternateText; + +/** + * Input only. NOTE: This feature is only available for the transit vertical. + * Optional set of initial rotating barcode values. This allows a small subset + * of barcodes to be included with the object. Further rotating barcode values + * must be uploaded with the UploadRotatingBarcodeValues endpoint. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_RotatingBarcodeValues *initialRotatingBarcodeValues; + +/** + * The render encoding for the barcode. When specified, barcode is rendered in + * the given encoding. Otherwise best known encoding is chosen by Google. + * + * Likely values: + * @arg @c kGTLRWalletobjects_RotatingBarcode_RenderEncoding_RenderEncodingUnspecified + * Value "RENDER_ENCODING_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_RotatingBarcode_RenderEncoding_Utf8 UTF_8 + * encoding for barcodes. This is only supported for barcode type qrCode. + * (Value: "UTF_8") + */ +@property(nonatomic, copy, nullable) NSString *renderEncoding; + +/** + * Optional text that will be shown when the barcode is hidden behind a click + * action. This happens in cases where a pass has Smart Tap enabled. If not + * specified, a default is chosen by Google. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *showCodeText; + +/** Details used to evaluate the {totp_value_n} substitutions. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_RotatingBarcodeTotpDetails *totpDetails; + +/** + * The type of this barcode. + * + * Likely values: + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_Aztec Legacy alias for + * `AZTEC`. Deprecated. Not supported for Rotating Barcodes. (Value: + * "aztec") + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_BarcodeTypeUnspecified + * Value "BARCODE_TYPE_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_Codabar Legacy alias for + * `CODABAR`. Deprecated. Not supported for Rotating Barcodes. (Value: + * "codabar") + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_Code128 Legacy alias for + * `CODE_128`. Deprecated. Not supported for Rotating Barcodes. (Value: + * "code128") + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_Code39 Legacy alias for + * `CODE_39`. Deprecated. Not supported for Rotating Barcodes. (Value: + * "code39") + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_DataMatrix Legacy alias + * for `DATA_MATRIX`. Deprecated. Not supported for Rotating Barcodes. + * (Value: "dataMatrix") + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_Ean13 Legacy alias for + * `EAN_13`. Deprecated. Not supported for Rotating Barcodes. (Value: + * "EAN13") + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_Ean8 Legacy alias for + * `EAN_8`. Deprecated. Not supported for Rotating Barcodes. (Value: + * "ean8") + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_Itf14 Legacy alias for + * `ITF_14`. Deprecated. Not supported for Rotating Barcodes. (Value: + * "itf14") + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_Pdf417 Legacy alias for + * `PDF_417`. Deprecated. (Value: "PDF417") + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_Qrcode Legacy alias for + * `QR_CODE`. Deprecated. (Value: "qrcode") + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_QrCode Legacy alias for + * `QR_CODE`. Deprecated. (Value: "qrCode") + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_TextOnly Legacy alias for + * `TEXT_ONLY`. Deprecated. Not supported for Rotating Barcodes. (Value: + * "textOnly") + * @arg @c kGTLRWalletobjects_RotatingBarcode_Type_UpcA Legacy alias for + * `UPC_A`. Deprecated. Not supported for Rotating Barcodes. (Value: + * "upcA") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** + * String encoded barcode value. This string supports the following + * substitutions: * {totp_value_n}: Replaced with the TOTP value (see + * TotpDetails.parameters). * {totp_timestamp_millis}: Replaced with the + * timestamp (millis since epoch) at which the barcode was generated. * + * {totp_timestamp_seconds}: Replaced with the timestamp (seconds since epoch) + * at which the barcode was generated. + */ +@property(nonatomic, copy, nullable) NSString *valuePattern; + +@end + + +/** + * Configuration for the time-based OTP substitutions. See + * https://tools.ietf.org/html/rfc6238 + */ +@interface GTLRWalletobjects_RotatingBarcodeTotpDetails : GTLRObject + +/** + * The TOTP algorithm used to generate the OTP. + * + * Likely values: + * @arg @c kGTLRWalletobjects_RotatingBarcodeTotpDetails_Algorithm_TotpAlgorithmUnspecified + * Value "TOTP_ALGORITHM_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_RotatingBarcodeTotpDetails_Algorithm_TotpSha1 + * TOTP algorithm from RFC 6238 with the SHA1 hash function (Value: + * "TOTP_SHA1") + */ +@property(nonatomic, copy, nullable) NSString *algorithm; + +/** + * The TOTP parameters for each of the {totp_value_*} substitutions. The + * TotpParameters at index n is used for the {totp_value_n} substitution. + */ +@property(nonatomic, strong, nullable) NSArray *parameters; + +/** + * The time interval used for the TOTP value generation, in milliseconds. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *periodMillis; + +@end + + +/** + * Configuration for the key and value length. See + * https://www.rfc-editor.org/rfc/rfc4226#section-5.3 + */ +@interface GTLRWalletobjects_RotatingBarcodeTotpDetailsTotpParameters : GTLRObject + +/** + * The secret key used for the TOTP value generation, encoded as a Base16 + * string. + */ +@property(nonatomic, copy, nullable) NSString *key; + +/** + * The length of the TOTP value in decimal digits. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *valueLength; + +@end + + +/** + * A payload containing many barcode values and start date/time. + */ +@interface GTLRWalletobjects_RotatingBarcodeValues : GTLRObject + +/** + * Required. The amount of time each barcode is valid for. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *periodMillis; + +/** + * Required. The date/time the first barcode is valid from. Barcodes will be + * rotated through using period_millis defined on the object's + * RotatingBarcodeValueInfo. This is an ISO 8601 extended format date/time, + * with an offset. Time may be specified up to nanosecond precision. Offsets + * may be specified with seconds precision (even though offset seconds is not + * part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 + * minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. + * `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after + * the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time + * as the above example). If the event were in New York, this would be the + * equivalent of Eastern Daylight Time (EDT). Remember that offset varies in + * regions that observe Daylight Saving Time (or Summer Time), depending on the + * time of the year. + */ +@property(nonatomic, copy, nullable) NSString *startDateTime; + +/** + * Required. The values to encode in the barcode. At least one value is + * required. + */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + +/** + * GTLRWalletobjects_SecurityAnimation + */ +@interface GTLRWalletobjects_SecurityAnimation : GTLRObject + +/** + * Type of animation. + * + * Likely values: + * @arg @c kGTLRWalletobjects_SecurityAnimation_AnimationType_AnimationUnspecified + * Value "ANIMATION_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_SecurityAnimation_AnimationType_FoilShimmer + * Legacy alias for `FOIL_SHIMMER`. Deprecated. (Value: "foilShimmer") + */ +@property(nonatomic, copy, nullable) NSString *animationType; + +@end + + +/** + * Request to send a private pass update notice information to Google, so that + * devices can then fetch the notice prompting the user to update a pass. + */ +@interface GTLRWalletobjects_SetPassUpdateNoticeRequest : GTLRObject +@end + + +/** + * A response to a request to notify Google of an awaiting update to a private + * pass. + */ +@interface GTLRWalletobjects_SetPassUpdateNoticeResponse : GTLRObject +@end + + +/** + * GTLRWalletobjects_SignUpInfo + */ +@interface GTLRWalletobjects_SignUpInfo : GTLRObject + +/** ID of the class the user can sign up for. */ +@property(nonatomic, copy, nullable) NSString *classId; + +@end + + +/** + * GTLRWalletobjects_SmartTap + */ +@interface GTLRWalletobjects_SmartTap : GTLRObject + +/** + * The unique identifier for a smart tap. This value should follow the format + * issuer ID.identifier where the former is issued by Google and latter is the + * Smart Tap id. The Smart Tap id is a Base64 encoded string which represents + * the id which was generated by the Google Pay app. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** Communication from merchant to user. */ +@property(nonatomic, strong, nullable) NSArray *infos; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#smartTap"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * Smart Tap merchant ID of who engaged in the Smart Tap interaction. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *merchantId; + +@end + + +/** + * GTLRWalletobjects_SmartTapMerchantData + */ +@interface GTLRWalletobjects_SmartTapMerchantData : GTLRObject + +/** + * Available only to Smart Tap enabled partners. Contact support for additional + * guidance. + */ +@property(nonatomic, strong, nullable) NSArray *authenticationKeys; + +/** + * Available only to Smart Tap enabled partners. Contact support for additional + * guidance. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *smartTapMerchantId; + +@end + + +/** + * GTLRWalletobjects_TemplateItem + */ +@interface GTLRWalletobjects_TemplateItem : GTLRObject + +/** + * A reference to a field to display. If both `firstValue` and `secondValue` + * are populated, they will both appear as one item with a slash between them. + * For example, values A and B would be shown as "A / B". + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FieldSelector *firstValue; + +/** + * A predefined item to display. Only one of `firstValue` or `predefinedItem` + * may be set. + * + * Likely values: + * @arg @c kGTLRWalletobjects_TemplateItem_PredefinedItem_FlightNumberAndOperatingFlightNumber + * Legacy alias for `FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER`. + * Deprecated. (Value: "flightNumberAndOperatingFlightNumber") + * @arg @c kGTLRWalletobjects_TemplateItem_PredefinedItem_FrequentFlyerProgramNameAndNumber + * Legacy alias for `FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER`. Deprecated. + * (Value: "frequentFlyerProgramNameAndNumber") + * @arg @c kGTLRWalletobjects_TemplateItem_PredefinedItem_PredefinedItemUnspecified + * Value "PREDEFINED_ITEM_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *predefinedItem; + +/** + * A reference to a field to display. This may only be populated if the + * `firstValue` field is populated. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_FieldSelector *secondValue; + +@end + + +/** + * Data for Text module. All fields are optional. Header will be displayed if + * available, different types of bodies will be concatenated if they are + * defined. + */ +@interface GTLRWalletobjects_TextModuleData : GTLRObject + +/** + * The body of the Text Module, which is defined as an uninterrupted string. + * Recommended maximum length is 500 characters to ensure full string is + * displayed on smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *body; + +/** + * The header of the Text Module. Recommended maximum length is 35 characters + * to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *header; + +/** + * The ID associated with a text module. This field is here to enable ease of + * management of text modules. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Translated strings for the body. Recommended maximum length is 500 + * characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedBody; + +/** + * Translated strings for the header. Recommended maximum length is 35 + * characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedHeader; + +@end + + +/** + * GTLRWalletobjects_TicketCost + */ +@interface GTLRWalletobjects_TicketCost : GTLRObject + +/** A message describing any kind of discount that was applied. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *discountMessage; + +/** The face value of the ticket. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Money *faceValue; + +/** The actual purchase price of the ticket, after tax and/or discounts. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Money *purchasePrice; + +@end + + +/** + * GTLRWalletobjects_TicketLeg + */ +@interface GTLRWalletobjects_TicketLeg : GTLRObject + +/** + * The date/time of arrival. This is an ISO 8601 extended format date/time, + * with or without an offset. Time may be specified up to nanosecond precision. + * Offsets may be specified with seconds precision (even though offset seconds + * is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 + * minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. + * `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after + * the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time + * as the above example). If the event were in New York, this would be the + * equivalent of Eastern Daylight Time (EDT). Remember that offset varies in + * regions that observe Daylight Saving Time (or Summer Time), depending on the + * time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 + * seconds after the 19th hour of April 12th, 1985 with no offset information. + * The portion of the date/time without the offset is considered the "local + * date/time". This should be the local date/time at the destination station. + * For example, if the event occurs at the 20th hour of June 5th, 2018 at the + * destination station, the local date/time portion should be + * `2018-06-05T20:00:00`. If the local date/time at the destination station is + * 4 hours before UTC, an offset of `-04:00` may be appended. Without offset + * information, some rich features may not be available. + */ +@property(nonatomic, copy, nullable) NSString *arrivalDateTime; + +/** The train or ship name/number that the passsenger needs to board. */ +@property(nonatomic, copy, nullable) NSString *carriage; + +/** + * The date/time of departure. This is required if there is no validity time + * interval set on the transit object. This is an ISO 8601 extended format + * date/time, with or without an offset. Time may be specified up to nanosecond + * precision. Offsets may be specified with seconds precision (even though + * offset seconds is not part of ISO 8601). For example: + * `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the + * 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would + * be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 + * hours before UTC (same instant in time as the above example). If the event + * were in New York, this would be the equivalent of Eastern Daylight Time + * (EDT). Remember that offset varies in regions that observe Daylight Saving + * Time (or Summer Time), depending on the time of the year. + * `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the + * 19th hour of April 12th, 1985 with no offset information. The portion of the + * date/time without the offset is considered the "local date/time". This + * should be the local date/time at the origin station. For example, if the + * departure occurs at the 20th hour of June 5th, 2018 at the origin station, + * the local date/time portion should be `2018-06-05T20:00:00`. If the local + * date/time at the origin station is 4 hours before UTC, an offset of `-04:00` + * may be appended. Without offset information, some rich features may not be + * available. + */ +@property(nonatomic, copy, nullable) NSString *departureDateTime; + +/** The destination name. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *destinationName; + +/** The destination station code. */ +@property(nonatomic, copy, nullable) NSString *destinationStationCode; + +/** + * Short description/name of the fare for this leg of travel. Eg "Anytime + * Single Use". + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *fareName; + +/** + * The name of the origin station. This is required if `desinationName` is + * present or if `originStationCode` is not present. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *originName; + +/** + * The origin station code. This is required if `destinationStationCode` is + * present or if `originName` is not present. + */ +@property(nonatomic, copy, nullable) NSString *originStationCode; + +/** The platform or gate where the passenger can board the carriage. */ +@property(nonatomic, copy, nullable) NSString *platform; + +/** + * The reserved seat for the passenger(s). If more than one seat is to be + * specified then use the `ticketSeats` field instead. Both `ticketSeat` and + * `ticketSeats` may not be set. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TicketSeat *ticketSeat; + +/** + * The reserved seat for the passenger(s). If only one seat is to be specified + * then use the `ticketSeat` field instead. Both `ticketSeat` and `ticketSeats` + * may not be set. + */ +@property(nonatomic, strong, nullable) NSArray *ticketSeats; + +/** The name of the transit operator that is operating this leg of a trip. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *transitOperatorName; + +/** Terminus station or destination of the train/bus/etc. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *transitTerminusName; + +/** + * The zone of boarding within the platform. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +@end + + +/** + * GTLRWalletobjects_TicketRestrictions + */ +@interface GTLRWalletobjects_TicketRestrictions : GTLRObject + +/** + * Extra restrictions that don't fall under the "route" or "time" categories. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *otherRestrictions; + +/** + * Restrictions about routes that may be taken. For example, this may be the + * string "Reserved CrossCountry trains only". + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *routeRestrictions; + +/** More details about the above `routeRestrictions`. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *routeRestrictionsDetails; + +/** Restrictions about times this ticket may be used. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *timeRestrictions; + +@end + + +/** + * GTLRWalletobjects_TicketSeat + */ +@interface GTLRWalletobjects_TicketSeat : GTLRObject + +/** + * The identifier of the train car or coach in which the ticketed seat is + * located. Eg. "10" + */ +@property(nonatomic, copy, nullable) NSString *coach; + +/** + * A custome fare class to be used if no `fareClass` applies. Both `fareClass` + * and `customFareClass` may not be set. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customFareClass; + +/** + * The fare class of the ticketed seat. + * + * Likely values: + * @arg @c kGTLRWalletobjects_TicketSeat_FareClass_Business Legacy alias for + * `BUSINESS`. Deprecated. (Value: "business") + * @arg @c kGTLRWalletobjects_TicketSeat_FareClass_Economy Legacy alias for + * `ECONOMY`. Deprecated. (Value: "economy") + * @arg @c kGTLRWalletobjects_TicketSeat_FareClass_FareClassUnspecified Value + * "FARE_CLASS_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_TicketSeat_FareClass_First Legacy alias for + * `FIRST`. Deprecated. (Value: "first") + */ +@property(nonatomic, copy, nullable) NSString *fareClass; + +/** + * The identifier of where the ticketed seat is located. Eg. "42". If there is + * no specific identifier, use `seatAssigment` instead. + */ +@property(nonatomic, copy, nullable) NSString *seat; + +/** + * The passenger's seat assignment. Eg. "no specific seat". To be used when + * there is no specific identifier to use in `seat`. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *seatAssignment; + +@end + + +/** + * GTLRWalletobjects_TimeInterval + */ +@interface GTLRWalletobjects_TimeInterval : GTLRObject + +/** + * End time of the interval. Offset is not required. If an offset is provided + * and `start` time is set, `start` must also include an offset. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DateTime *end; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#timeInterval"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * Start time of the interval. Offset is not required. If an offset is provided + * and `end` time is set, `end` must also include an offset. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DateTime *start; + +@end + + +/** + * GTLRWalletobjects_TransitClass + */ +@interface GTLRWalletobjects_TransitClass : GTLRObject + +/** Activation options for an activatable ticket. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ActivationOptions *activationOptions; + +/** + * Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowMultipleUsersPerObject GTLR_DEPRECATED; + +/** + * Callback options to be used to call the issuer back for every save/delete of + * an object for this class by the end-user. All objects of this class are + * eligible for the callback. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_CallbackOptions *callbackOptions; + +/** + * Template information about how the class should be displayed. If unset, + * Google will fallback to a default set of fields to display. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ClassTemplateInfo *classTemplateInfo; + +/** + * Country code used to display the card's country (when the user is not in + * that country), as well as to display localized content when content is not + * available in the user's locale. + */ +@property(nonatomic, copy, nullable) NSString *countryCode; + +/** + * A custom label to use for the carriage value + * (`transitObject.ticketLeg.carriage`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customCarriageLabel; + +/** + * A custom label to use for the coach value + * (`transitObject.ticketLeg.ticketSeat.coach`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customCoachLabel; + +/** + * A custom label to use for the transit concession category value + * (`transitObject.concessionCategory`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customConcessionCategoryLabel; + +/** + * A custom label to use for the confirmation code value + * (`transitObject.purchaseDetails.confirmationCode`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customConfirmationCodeLabel; + +/** + * A custom label to use for the transit discount message value + * (`transitObject.purchaseDetails.ticketCost.discountMessage`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customDiscountMessageLabel; + +/** + * A custom label to use for the fare class value + * (`transitObject.ticketLeg.ticketSeat.fareClass`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customFareClassLabel; + +/** + * A custom label to use for the transit fare name value + * (`transitObject.ticketLeg.fareName`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customFareNameLabel; + +/** + * A custom label to use for the other restrictions value + * (`transitObject.ticketRestrictions.otherRestrictions`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customOtherRestrictionsLabel; + +/** + * A custom label to use for the boarding platform value + * (`transitObject.ticketLeg.platform`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customPlatformLabel; + +/** + * A custom label to use for the purchase face value + * (`transitObject.purchaseDetails.ticketCost.faceValue`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customPurchaseFaceValueLabel; + +/** + * A custom label to use for the purchase price value + * (`transitObject.purchaseDetails.ticketCost.purchasePrice`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customPurchasePriceLabel; + +/** + * A custom label to use for the purchase receipt number value + * (`transitObject.purchaseDetails.purchaseReceiptNumber`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customPurchaseReceiptNumberLabel; + +/** + * A custom label to use for the route restrictions details value + * (`transitObject.ticketRestrictions.routeRestrictionsDetails`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customRouteRestrictionsDetailsLabel; + +/** + * A custom label to use for the route restrictions value + * (`transitObject.ticketRestrictions.routeRestrictions`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customRouteRestrictionsLabel; + +/** + * A custom label to use for the seat location value + * (`transitObject.ticketLeg.ticketSeat.seat`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customSeatLabel; + +/** + * A custom label to use for the ticket number value + * (`transitObject.ticketNumber`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customTicketNumberLabel; + +/** + * A custom label to use for the time restrictions details value + * (`transitObject.ticketRestrictions.timeRestrictions`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customTimeRestrictionsLabel; + +/** + * A custom label to use for the transit terminus name value + * (`transitObject.ticketLeg.transitTerminusName`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customTransitTerminusNameLabel; + +/** + * A custom label to use for the boarding zone value + * (`transitObject.ticketLeg.zone`). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customZoneLabel; + +/** + * Controls the display of the single-leg itinerary for this class. By default, + * an itinerary will only display for multi-leg trips. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableSingleLegItinerary; + +/** + * Identifies whether this class supports Smart Tap. The `redemptionIssuers` + * and object level `smartTapRedemptionLevel` fields must also be set up + * correctly in order for a pass to support Smart Tap. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableSmartTap; + +/** + * Optional banner image displayed on the front of the card. If none is + * present, nothing will be displayed. The image will display at 100% width. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *heroImage; + +/** + * The background color for the card. If not set the dominant color of the hero + * image is used, and if no hero image is set, the dominant color of the logo + * is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as + * `#ffcc00`. You can also use the shorthand version of the RGB triplet which + * is #rgb, such as `#fc0`. + */ +@property(nonatomic, copy, nullable) NSString *hexBackgroundColor; + +/** + * The URI of your application's home page. Populating the URI in this field + * results in the exact same behavior as populating an URI in linksModuleData + * (when an object is rendered, a link to the homepage is shown in what would + * usually be thought of as the linksModuleData section of the object). + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Uri *homepageUri; + +/** + * Required. The unique identifier for a class. This ID must be unique across + * all classes from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. The maximum number of these fields displayed is 1 from + * object level and 1 for class object level. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** Deprecated. Use textModulesData instead. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_InfoModuleData *infoModuleData GTLR_DEPRECATED; + +/** + * Required. The issuer name. Recommended maximum length is 20 characters to + * ensure full string is displayed on smaller screens. + */ +@property(nonatomic, copy, nullable) NSString *issuerName; + +/** + * If this field is present, transit tickets served to a user's device will + * always be in this language. Represents the BCP 47 language tag. Example + * values are "en-US", "en-GB", "de", or "de-AT". + */ +@property(nonatomic, copy, nullable) NSString *languageOverride; + +/** + * Links module data. If links module data is also defined on the object, both + * will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** + * Translated strings for the issuer_name. Recommended maximum length is 20 + * characters to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedIssuerName; + +/** + * Note: This field is currently not supported to trigger geo notifications. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** + * Required. The logo image of the ticket. This image is displayed in the card + * detail view of the app. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *logo; + +/** + * An array of messages displayed in the app. All users of this object will + * receive its associated messages. The maximum number of these fields is 10. + */ +@property(nonatomic, strong, nullable) NSArray *messages; + +/** + * Identifies whether multiple users and devices will save the same object + * referencing this class. + * + * Likely values: + * @arg @c kGTLRWalletobjects_TransitClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders + * Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. (Value: + * "multipleHolders") + * @arg @c kGTLRWalletobjects_TransitClass_MultipleDevicesAndHoldersAllowedStatus_OneUserAllDevices + * Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. (Value: + * "oneUserAllDevices") + * @arg @c kGTLRWalletobjects_TransitClass_MultipleDevicesAndHoldersAllowedStatus_OneUserOneDevice + * Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. (Value: + * "oneUserOneDevice") + * @arg @c kGTLRWalletobjects_TransitClass_MultipleDevicesAndHoldersAllowedStatus_StatusUnspecified + * Unspecified preference. (Value: "STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *multipleDevicesAndHoldersAllowedStatus; + +/** + * Identifies which redemption issuers can redeem the pass over Smart Tap. + * Redemption issuers are identified by their issuer ID. Redemption issuers + * must have at least one Smart Tap key configured. The `enableSmartTap` and + * object level `smartTapRedemptionLevel` fields must also be set up correctly + * in order for a pass to support Smart Tap. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *redemptionIssuers; + +/** + * The review comments set by the platform when a class is marked `approved` or + * `rejected`. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Review *review; + +/** + * Required. The status of the class. This field can be set to `draft` or + * `underReview` using the insert, patch, or update API calls. Once the review + * state is changed from `draft` it may not be changed back to `draft`. You + * should keep this field to `draft` when the class is under development. A + * `draft` class cannot be used to create any object. You should set this field + * to `underReview` when you believe the class is ready for use. The platform + * will automatically set this field to `approved` and it can be immediately + * used to create or migrate objects. When updating an already `approved` class + * you should keep setting this field to `underReview`. + * + * Likely values: + * @arg @c kGTLRWalletobjects_TransitClass_ReviewStatus_Approved Legacy alias + * for `APPROVED`. Deprecated. (Value: "approved") + * @arg @c kGTLRWalletobjects_TransitClass_ReviewStatus_Draft Legacy alias + * for `DRAFT`. Deprecated. (Value: "draft") + * @arg @c kGTLRWalletobjects_TransitClass_ReviewStatus_Rejected Legacy alias + * for `REJECTED`. Deprecated. (Value: "rejected") + * @arg @c kGTLRWalletobjects_TransitClass_ReviewStatus_ReviewStatusUnspecified + * Value "REVIEW_STATUS_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_TransitClass_ReviewStatus_UnderReview Legacy + * alias for `UNDER_REVIEW`. Deprecated. (Value: "underReview") + */ +@property(nonatomic, copy, nullable) NSString *reviewStatus; + +/** + * Optional information about the security animation. If this is set a security + * animation will be rendered on pass details. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_SecurityAnimation *securityAnimation; + +/** + * Text module data. If text module data is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * the object and 10 from the class. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** The name of the transit operator. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *transitOperatorName; + +/** + * Required. The type of transit this class represents, such as "bus". + * + * Likely values: + * @arg @c kGTLRWalletobjects_TransitClass_TransitType_Bus Legacy alias for + * `BUS`. Deprecated. (Value: "bus") + * @arg @c kGTLRWalletobjects_TransitClass_TransitType_Ferry Legacy alias for + * `FERRY`. Deprecated. (Value: "ferry") + * @arg @c kGTLRWalletobjects_TransitClass_TransitType_Other Legacy alias for + * `OTHER`. Deprecated. (Value: "other") + * @arg @c kGTLRWalletobjects_TransitClass_TransitType_Rail Legacy alias for + * `RAIL`. Deprecated. (Value: "rail") + * @arg @c kGTLRWalletobjects_TransitClass_TransitType_Tram Legacy alias for + * `TRAM`. Deprecated. (Value: "tram") + * @arg @c kGTLRWalletobjects_TransitClass_TransitType_TransitTypeUnspecified + * Value "TRANSIT_TYPE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *transitType; + +/** + * Deprecated + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version GTLR_DEPRECATED; + +/** + * View Unlock Requirement options for the transit ticket. + * + * Likely values: + * @arg @c kGTLRWalletobjects_TransitClass_ViewUnlockRequirement_UnlockNotRequired + * Default behavior for all the existing Passes if ViewUnlockRequirement + * is not set. (Value: "UNLOCK_NOT_REQUIRED") + * @arg @c kGTLRWalletobjects_TransitClass_ViewUnlockRequirement_UnlockRequiredToView + * Requires the user to unlock their device each time the pass is viewed. + * If the user removes their device lock after saving the pass, then they + * will be prompted to create a device lock before the pass can be + * viewed. (Value: "UNLOCK_REQUIRED_TO_VIEW") + * @arg @c kGTLRWalletobjects_TransitClass_ViewUnlockRequirement_ViewUnlockRequirementUnspecified + * Default value, same as UNLOCK_NOT_REQUIRED. (Value: + * "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *viewUnlockRequirement; + +/** Watermark image to display on the user's device. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *watermark; + +/** + * The wide logo of the ticket. When provided, this will be used in place of + * the logo in the top left of the card view. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *wideLogo; + +/** Deprecated. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *wordMark GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_TransitClassAddMessageResponse + */ +@interface GTLRWalletobjects_TransitClassAddMessageResponse : GTLRObject + +/** The updated TransitClass resource. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TransitClass *resource; + +@end + + +/** + * GTLRWalletobjects_TransitClassListResponse + */ +@interface GTLRWalletobjects_TransitClassListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRWalletobjects_TransitObject + */ +@interface GTLRWalletobjects_TransitObject : GTLRObject + +/** + * The activation status for the object. Required if the class has + * `activationOptions` set. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_ActivationStatus *activationStatus; + +/** Optional information about the partner app link. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + +/** The barcode type and value. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Barcode *barcode; + +/** + * Required. The class associated with this object. The class must be of the + * same type as this object, must already exist, and must be approved. Class + * IDs should follow the format issuer ID.identifier where the former is issued + * by Google and latter is chosen by you. + */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * A copy of the inherited fields of the parent class. These fields are + * retrieved during a GET. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TransitClass *classReference; + +/** + * The concession category for the ticket. + * + * Likely values: + * @arg @c kGTLRWalletobjects_TransitObject_ConcessionCategory_Adult Legacy + * alias for `ADULT`. Deprecated. (Value: "adult") + * @arg @c kGTLRWalletobjects_TransitObject_ConcessionCategory_Child Legacy + * alias for `CHILD`. Deprecated. (Value: "child") + * @arg @c kGTLRWalletobjects_TransitObject_ConcessionCategory_ConcessionCategoryUnspecified + * Value "CONCESSION_CATEGORY_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_TransitObject_ConcessionCategory_Senior Legacy + * alias for `SENIOR`. Deprecated. (Value: "senior") + */ +@property(nonatomic, copy, nullable) NSString *concessionCategory; + +/** + * A custom concession category to use when `concessionCategory` does not + * provide the right option. Both `concessionCategory` and + * `customConcessionCategory` may not be set. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customConcessionCategory; + +/** + * A custom status to use for the ticket status value when `ticketStatus` does + * not provide the right option. Both `ticketStatus` and `customTicketStatus` + * may not be set. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *customTicketStatus; + +/** Device context associated with the object. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_DeviceContext *deviceContext; + +/** + * Indicates if notifications should explicitly be suppressed. If this field is + * set to true, regardless of the `messages` field, expiration notifications to + * the user will be suppressed. By default, this field is set to false. + * Currently, this can only be set for offers. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableExpirationNotification; + +/** Information that controls how passes are grouped together. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_GroupingInfo *groupingInfo; + +/** + * Whether this object is currently linked to a single device. This field is + * set by the platform when a user saves the object, linking it to their + * device. Intended for use by select partners. Contact support for additional + * information. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasLinkedDevice; + +/** + * Indicates if the object has users. This field is set by the platform. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasUsers; + +/** + * Optional banner image displayed on the front of the card. If none is + * present, hero image of the class, if present, will be displayed. If hero + * image of the class is also not present, nothing will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *heroImage; + +/** + * The background color for the card. If not set the dominant color of the hero + * image is used, and if no hero image is set, the dominant color of the logo + * is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as + * `#ffcc00`. You can also use the shorthand version of the RGB triplet which + * is #rgb, such as `#fc0`. + */ +@property(nonatomic, copy, nullable) NSString *hexBackgroundColor; + +/** + * Required. The unique identifier for an object. This ID must be unique across + * all objects from an issuer. This value should follow the format issuer + * ID.identifier where the former is issued by Google and latter is chosen by + * you. The unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Image module data. The maximum number of these fields displayed is 1 from + * object level and 1 for class object level. + */ +@property(nonatomic, strong, nullable) NSArray *imageModulesData; + +/** Deprecated. Use textModulesData instead. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_InfoModuleData *infoModuleData; + +/** + * Links module data. If links module data is also defined on the class, both + * will be displayed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LinksModuleData *linksModuleData; + +/** + * Note: This field is currently not supported to trigger geo notifications. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** + * An array of messages displayed in the app. All users of this object will + * receive its associated messages. The maximum number of these fields is 10. + */ +@property(nonatomic, strong, nullable) NSArray *messages; + +/** + * Pass constraints for the object. Includes limiting NFC and screenshot + * behaviors. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_PassConstraints *passConstraints; + +/** + * The name(s) of the passengers the ticket is assigned to. The above + * `passengerType` field is meant to give Google context on this field. + */ +@property(nonatomic, copy, nullable) NSString *passengerNames; + +/** + * The number of passengers. + * + * Likely values: + * @arg @c kGTLRWalletobjects_TransitObject_PassengerType_MultiplePassengers + * Legacy alias for `MULTIPLE_PASSENGERS`. Deprecated. (Value: + * "multiplePassengers") + * @arg @c kGTLRWalletobjects_TransitObject_PassengerType_PassengerTypeUnspecified + * Value "PASSENGER_TYPE_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_TransitObject_PassengerType_SinglePassenger + * Legacy alias for `SINGLE_PASSENGER`. Deprecated. (Value: + * "singlePassenger") + */ +@property(nonatomic, copy, nullable) NSString *passengerType; + +/** Purchase details for this ticket. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_PurchaseDetails *purchaseDetails; + +/** The rotating barcode type and value. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_RotatingBarcode *rotatingBarcode; + +/** + * The value that will be transmitted to a Smart Tap certified terminal over + * NFC for this object. The class level fields `enableSmartTap` and + * `redemptionIssuers` must also be set up correctly in order for the pass to + * support Smart Tap. Only ASCII characters are supported. + */ +@property(nonatomic, copy, nullable) NSString *smartTapRedemptionValue; + +/** + * Required. The state of the object. This field is used to determine how an + * object is displayed in the app. For example, an `inactive` object is moved + * to the "Expired passes" section. + * + * Likely values: + * @arg @c kGTLRWalletobjects_TransitObject_State_Active Legacy alias for + * `ACTIVE`. Deprecated. (Value: "active") + * @arg @c kGTLRWalletobjects_TransitObject_State_Completed Legacy alias for + * `COMPLETED`. Deprecated. (Value: "completed") + * @arg @c kGTLRWalletobjects_TransitObject_State_Expired Legacy alias for + * `EXPIRED`. Deprecated. (Value: "expired") + * @arg @c kGTLRWalletobjects_TransitObject_State_Inactive Legacy alias for + * `INACTIVE`. Deprecated. (Value: "inactive") + * @arg @c kGTLRWalletobjects_TransitObject_State_StateUnspecified Value + * "STATE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Text module data. If text module data is also defined on the class, both + * will be displayed. The maximum number of these fields displayed is 10 from + * the object and 10 from the class. + */ +@property(nonatomic, strong, nullable) NSArray *textModulesData; + +/** + * A single ticket leg contains departure and arrival information along with + * boarding and seating information. If more than one leg is to be specified + * then use the `ticketLegs` field instead. Both `ticketLeg` and `ticketLegs` + * may not be set. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TicketLeg *ticketLeg; + +/** + * Each ticket may contain one or more legs. Each leg contains departure and + * arrival information along with boarding and seating information. If only one + * leg is to be specified then use the `ticketLeg` field instead. Both + * `ticketLeg` and `ticketLegs` may not be set. + */ +@property(nonatomic, strong, nullable) NSArray *ticketLegs; + +/** + * The number of the ticket. This is a unique identifier for the ticket in the + * transit operator's system. + */ +@property(nonatomic, copy, nullable) NSString *ticketNumber; + +/** + * Information about what kind of restrictions there are on using this ticket. + * For example, which days of the week it must be used, or which routes are + * allowed to be taken. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TicketRestrictions *ticketRestrictions; + +/** + * The status of the ticket. For states which affect display, use the `state` + * field instead. + * + * Likely values: + * @arg @c kGTLRWalletobjects_TransitObject_TicketStatus_Exchanged Legacy + * alias for `EXCHANGED`. Deprecated. (Value: "exchanged") + * @arg @c kGTLRWalletobjects_TransitObject_TicketStatus_Refunded Legacy + * alias for `REFUNDED`. Deprecated. (Value: "refunded") + * @arg @c kGTLRWalletobjects_TransitObject_TicketStatus_TicketStatusUnspecified + * Value "TICKET_STATUS_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_TransitObject_TicketStatus_Used Legacy alias + * for `USED`. Deprecated. (Value: "used") + */ +@property(nonatomic, copy, nullable) NSString *ticketStatus; + +/** + * This id is used to group tickets together if the user has saved multiple + * tickets for the same trip. + */ +@property(nonatomic, copy, nullable) NSString *tripId; + +/** + * Required. The type of trip this transit object represents. Used to determine + * the pass title and/or which symbol to use between the origin and + * destination. + * + * Likely values: + * @arg @c kGTLRWalletobjects_TransitObject_TripType_OneWay Legacy alias for + * `ONE_WAY`. Deprecated. (Value: "oneWay") + * @arg @c kGTLRWalletobjects_TransitObject_TripType_RoundTrip Legacy alias + * for `ROUND_TRIP`. Deprecated. (Value: "roundTrip") + * @arg @c kGTLRWalletobjects_TransitObject_TripType_TripTypeUnspecified + * Value "TRIP_TYPE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *tripType; + +/** + * The time period this object will be `active` and object can be used. An + * object's state will be changed to `expired` when this time period has + * passed. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TimeInterval *validTimeInterval; + +/** + * Deprecated + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version GTLR_DEPRECATED; + +@end + + +/** + * GTLRWalletobjects_TransitObjectAddMessageResponse + */ +@interface GTLRWalletobjects_TransitObjectAddMessageResponse : GTLRObject + +/** The updated TransitObject resource. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_TransitObject *resource; + +@end + + +/** + * GTLRWalletobjects_TransitObjectListResponse + */ +@interface GTLRWalletobjects_TransitObjectListResponse : GTLRObject + +/** Pagination of the response. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Pagination *pagination; + +/** Resources corresponding to the list request. */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * Request to upload rotating barcode values. + */ +@interface GTLRWalletobjects_TransitObjectUploadRotatingBarcodeValuesRequest : GTLRObject + +/** A reference to the rotating barcode values payload that was uploaded. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Media *blob; + +/** Extra information about the uploaded media. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_MediaRequestInfo *mediaRequestInfo; + +@end + + +/** + * Response for uploading rotating barcode values. + */ +@interface GTLRWalletobjects_TransitObjectUploadRotatingBarcodeValuesResponse : GTLRObject +@end + + +/** + * GTLRWalletobjects_TranslatedString + */ +@interface GTLRWalletobjects_TranslatedString : GTLRObject + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#translatedString"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * Represents the BCP 47 language tag. Example values are "en-US", "en-GB", + * "de", or "de-AT". + */ +@property(nonatomic, copy, nullable) NSString *language; + +/** The UTF-8 encoded translated string. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + +/** + * Indicates that the issuer would like Google Wallet to send an upcoming card + * validity notification 1 day before card becomes valid/usable. + */ +@interface GTLRWalletobjects_UpcomingNotification : GTLRObject + +/** + * Indicates if the object needs to have upcoming notification enabled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableNotification; + +@end + + +/** + * Request for sending user private Text or URI by the Issuer. + */ +@interface GTLRWalletobjects_UploadPrivateDataRequest : GTLRObject + +/** + * The ID of the issuer sending the data. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *issuerId; + +/** Private text data of the user. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_PrivateText *text; + +/** Private URIs of the user. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_PrivateUri *uri; + +@end + + +/** + * Response for uploading user private data (text or URIs) + */ +@interface GTLRWalletobjects_UploadPrivateDataResponse : GTLRObject + +/** + * A 64-bit content id for the private data that was uploaded by the Issuer. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *privateContentId; + +@end + + +/** + * Request to upload user's private images by Issuers to be used in passes. + */ +@interface GTLRWalletobjects_UploadPrivateImageRequest : GTLRObject + +/** A reference to the image payload that was uploaded by Scotty. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Media *blob; + +/** Extra information about the uploaded media. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_MediaRequestInfo *mediaRequestInfo; + +@end + + +/** + * Response for uploading the private image + */ +@interface GTLRWalletobjects_UploadPrivateImageResponse : GTLRObject + +/** + * A 64-bit content id for the image that was uploaded by the Issuer. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *privateContentId; + +@end + + +/** + * GTLRWalletobjects_Uri + */ +@interface GTLRWalletobjects_Uri : GTLRObject + +/** + * The URI's title appearing in the app as text. Recommended maximum is 20 + * characters to ensure full string is displayed on smaller screens. Note that + * in some contexts this text is not used, such as when `description` is part + * of an image. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * The ID associated with a uri. This field is here to enable ease of + * management of uris. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * `"walletobjects#uri"`. + */ +@property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; + +/** + * Translated strings for the description. Recommended maximum is 20 characters + * to ensure full string is displayed on smaller screens. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *localizedDescription; + +/** + * The location of a web page, image, or other resource. URIs in the + * `LinksModuleData` module can have different prefixes indicating the type of + * URI (a link to a web page, a link to a map, a telephone number, or an email + * address). URIs must have a scheme. + */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsQuery.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsQuery.h new file mode 100644 index 000000000..f635be0a9 --- /dev/null +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsQuery.h @@ -0,0 +1,3461 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Wallet API (walletobjects/v1) +// Description: +// API for issuers to save and manage Google Wallet Objects. +// Documentation: +// https://developers.google.com/pay/passes + +#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 "GTLRWalletobjectsObjects.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 Walletobjects query classes. + */ +@interface GTLRWalletobjectsQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Adds a message to the event ticket class referenced by the given class ID. + * + * Method: walletobjects.eventticketclass.addmessage + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_EventticketclassAddmessage : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_EventTicketClassAddMessageResponse. + * + * Adds a message to the event ticket class referenced by the given class ID. + * + * @param object The @c GTLRWalletobjects_AddMessageRequest to include in the + * query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_EventticketclassAddmessage + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the event ticket class with the given class ID. + * + * Method: walletobjects.eventticketclass.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_EventticketclassGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_EventTicketClass. + * + * Returns the event ticket class with the given class ID. + * + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_EventticketclassGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts an event ticket class with the given ID and properties. + * + * Method: walletobjects.eventticketclass.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_EventticketclassInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_EventTicketClass. + * + * Inserts an event ticket class with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_EventTicketClass to include in the + * query. + * + * @return GTLRWalletobjectsQuery_EventticketclassInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_EventTicketClass *)object; + +@end + +/** + * Returns a list of all event ticket classes for a given issuer ID. + * + * Method: walletobjects.eventticketclass.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_EventticketclassList : GTLRWalletobjectsQuery + +/** The ID of the issuer authorized to list classes. */ +@property(nonatomic, assign) long long issuerId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` classes are available in a list. For example, if you have + * a list of 200 classes and you call list with `maxResults` set to 20, list + * will return the first 20 classes and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 classes. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_EventTicketClassListResponse. + * + * Returns a list of all event ticket classes for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_EventticketclassList + */ ++ (instancetype)query; + +@end + +/** + * Updates the event ticket class referenced by the given class ID. This method + * supports patch semantics. + * + * Method: walletobjects.eventticketclass.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_EventticketclassPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_EventTicketClass. + * + * Updates the event ticket class referenced by the given class ID. This method + * supports patch semantics. + * + * @param object The @c GTLRWalletobjects_EventTicketClass to include in the + * query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_EventticketclassPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_EventTicketClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the event ticket class referenced by the given class ID. + * + * Method: walletobjects.eventticketclass.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_EventticketclassUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_EventTicketClass. + * + * Updates the event ticket class referenced by the given class ID. + * + * @param object The @c GTLRWalletobjects_EventTicketClass to include in the + * query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_EventticketclassUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_EventTicketClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Adds a message to the event ticket object referenced by the given object ID. + * + * Method: walletobjects.eventticketobject.addmessage + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_EventticketobjectAddmessage : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_EventTicketObjectAddMessageResponse. + * + * Adds a message to the event ticket object referenced by the given object ID. + * + * @param object The @c GTLRWalletobjects_AddMessageRequest to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_EventticketobjectAddmessage + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the event ticket object with the given object ID. + * + * Method: walletobjects.eventticketobject.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_EventticketobjectGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_EventTicketObject. + * + * Returns the event ticket object with the given object ID. + * + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_EventticketobjectGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts an event ticket object with the given ID and properties. + * + * Method: walletobjects.eventticketobject.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_EventticketobjectInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_EventTicketObject. + * + * Inserts an event ticket object with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_EventTicketObject to include in the + * query. + * + * @return GTLRWalletobjectsQuery_EventticketobjectInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_EventTicketObject *)object; + +@end + +/** + * Returns a list of all event ticket objects for a given issuer ID. + * + * Method: walletobjects.eventticketobject.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_EventticketobjectList : GTLRWalletobjectsQuery + +/** The ID of the class whose objects will be listed. */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` objects are available in a list. For example, if you have + * a list of 200 objects and you call list with `maxResults` set to 20, list + * will return the first 20 objects and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 objects. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_EventTicketObjectListResponse. + * + * Returns a list of all event ticket objects for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_EventticketobjectList + */ ++ (instancetype)query; + +@end + +/** + * Modifies linked offer objects for the event ticket object with the given ID. + * + * Method: walletobjects.eventticketobject.modifylinkedofferobjects + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_EventticketobjectModifylinkedofferobjects : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_EventTicketObject. + * + * Modifies linked offer objects for the event ticket object with the given ID. + * + * @param object The @c GTLRWalletobjects_ModifyLinkedOfferObjectsRequest to + * include in the query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_EventticketobjectModifylinkedofferobjects + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_ModifyLinkedOfferObjectsRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the event ticket object referenced by the given object ID. This + * method supports patch semantics. + * + * Method: walletobjects.eventticketobject.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_EventticketobjectPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_EventTicketObject. + * + * Updates the event ticket object referenced by the given object ID. This + * method supports patch semantics. + * + * @param object The @c GTLRWalletobjects_EventTicketObject to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_EventticketobjectPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_EventTicketObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the event ticket object referenced by the given object ID. + * + * Method: walletobjects.eventticketobject.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_EventticketobjectUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_EventTicketObject. + * + * Updates the event ticket object referenced by the given object ID. + * + * @param object The @c GTLRWalletobjects_EventTicketObject to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_EventticketobjectUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_EventTicketObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Adds a message to the flight class referenced by the given class ID. + * + * Method: walletobjects.flightclass.addmessage + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_FlightclassAddmessage : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_FlightClassAddMessageResponse. + * + * Adds a message to the flight class referenced by the given class ID. + * + * @param object The @c GTLRWalletobjects_AddMessageRequest to include in the + * query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_FlightclassAddmessage + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the flight class with the given class ID. + * + * Method: walletobjects.flightclass.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_FlightclassGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_FlightClass. + * + * Returns the flight class with the given class ID. + * + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_FlightclassGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts an flight class with the given ID and properties. + * + * Method: walletobjects.flightclass.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_FlightclassInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_FlightClass. + * + * Inserts an flight class with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_FlightClass to include in the query. + * + * @return GTLRWalletobjectsQuery_FlightclassInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_FlightClass *)object; + +@end + +/** + * Returns a list of all flight classes for a given issuer ID. + * + * Method: walletobjects.flightclass.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_FlightclassList : GTLRWalletobjectsQuery + +/** The ID of the issuer authorized to list classes. */ +@property(nonatomic, assign) long long issuerId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` classes are available in a list. For example, if you have + * a list of 200 classes and you call list with `maxResults` set to 20, list + * will return the first 20 classes and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 classes. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_FlightClassListResponse. + * + * Returns a list of all flight classes for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_FlightclassList + */ ++ (instancetype)query; + +@end + +/** + * Updates the flight class referenced by the given class ID. This method + * supports patch semantics. + * + * Method: walletobjects.flightclass.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_FlightclassPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_FlightClass. + * + * Updates the flight class referenced by the given class ID. This method + * supports patch semantics. + * + * @param object The @c GTLRWalletobjects_FlightClass to include in the query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_FlightclassPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_FlightClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the flight class referenced by the given class ID. + * + * Method: walletobjects.flightclass.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_FlightclassUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_FlightClass. + * + * Updates the flight class referenced by the given class ID. + * + * @param object The @c GTLRWalletobjects_FlightClass to include in the query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_FlightclassUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_FlightClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Adds a message to the flight object referenced by the given object ID. + * + * Method: walletobjects.flightobject.addmessage + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_FlightobjectAddmessage : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_FlightObjectAddMessageResponse. + * + * Adds a message to the flight object referenced by the given object ID. + * + * @param object The @c GTLRWalletobjects_AddMessageRequest to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_FlightobjectAddmessage + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the flight object with the given object ID. + * + * Method: walletobjects.flightobject.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_FlightobjectGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_FlightObject. + * + * Returns the flight object with the given object ID. + * + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_FlightobjectGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts an flight object with the given ID and properties. + * + * Method: walletobjects.flightobject.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_FlightobjectInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_FlightObject. + * + * Inserts an flight object with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_FlightObject to include in the query. + * + * @return GTLRWalletobjectsQuery_FlightobjectInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_FlightObject *)object; + +@end + +/** + * Returns a list of all flight objects for a given issuer ID. + * + * Method: walletobjects.flightobject.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_FlightobjectList : GTLRWalletobjectsQuery + +/** The ID of the class whose objects will be listed. */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` objects are available in a list. For example, if you have + * a list of 200 objects and you call list with `maxResults` set to 20, list + * will return the first 20 objects and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 objects. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_FlightObjectListResponse. + * + * Returns a list of all flight objects for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_FlightobjectList + */ ++ (instancetype)query; + +@end + +/** + * Updates the flight object referenced by the given object ID. This method + * supports patch semantics. + * + * Method: walletobjects.flightobject.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_FlightobjectPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_FlightObject. + * + * Updates the flight object referenced by the given object ID. This method + * supports patch semantics. + * + * @param object The @c GTLRWalletobjects_FlightObject to include in the query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_FlightobjectPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_FlightObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the flight object referenced by the given object ID. + * + * Method: walletobjects.flightobject.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_FlightobjectUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_FlightObject. + * + * Updates the flight object referenced by the given object ID. + * + * @param object The @c GTLRWalletobjects_FlightObject to include in the query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_FlightobjectUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_FlightObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the generic class with the given class ID. + * + * Method: walletobjects.genericclass.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GenericclassGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value needs to follow the format `issuerID.identifier` + * where `issuerID` is issued by Google and `identifier` is chosen by you. The + * unique identifier can only include alphanumeric characters, `.`, `_`, or + * `-`. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GenericClass. + * + * Returns the generic class with the given class ID. + * + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value needs to follow the format + * `issuerID.identifier` where `issuerID` is issued by Google and + * `identifier` is chosen by you. The unique identifier can only include + * alphanumeric characters, `.`, `_`, or `-`. + * + * @return GTLRWalletobjectsQuery_GenericclassGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts a generic class with the given ID and properties. + * + * Method: walletobjects.genericclass.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GenericclassInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_GenericClass. + * + * Inserts a generic class with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_GenericClass to include in the query. + * + * @return GTLRWalletobjectsQuery_GenericclassInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_GenericClass *)object; + +@end + +/** + * Returns a list of all generic classes for a given issuer ID. + * + * Method: walletobjects.genericclass.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GenericclassList : GTLRWalletobjectsQuery + +/** The ID of the issuer authorized to list classes. */ +@property(nonatomic, assign) long long issuerId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` classes are available in a list. For example, if you have + * a list of 200 classes and you call list with `maxResults` set to 20, list + * will return the first 20 classes and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 classes. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_GenericClassListResponse. + * + * Returns a list of all generic classes for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_GenericclassList + */ ++ (instancetype)query; + +@end + +/** + * Updates the generic class referenced by the given class ID. This method + * supports patch semantics. + * + * Method: walletobjects.genericclass.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GenericclassPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value needs to follow the format `issuerID.identifier` + * where `issuerID` is issued by Google and `identifier` is chosen by you. The + * unique identifier can only include alphanumeric characters, `.`, `_`, or + * `-`. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GenericClass. + * + * Updates the generic class referenced by the given class ID. This method + * supports patch semantics. + * + * @param object The @c GTLRWalletobjects_GenericClass to include in the query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value needs to follow the format + * `issuerID.identifier` where `issuerID` is issued by Google and + * `identifier` is chosen by you. The unique identifier can only include + * alphanumeric characters, `.`, `_`, or `-`. + * + * @return GTLRWalletobjectsQuery_GenericclassPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_GenericClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the Generic class referenced by the given class ID. + * + * Method: walletobjects.genericclass.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GenericclassUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value needs to follow the format `issuerID.identifier` + * where `issuerID` is issued by Google and `identifier` is chosen by you. The + * unique identifier can only include alphanumeric characters, `.`, `_`, or + * `-`. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GenericClass. + * + * Updates the Generic class referenced by the given class ID. + * + * @param object The @c GTLRWalletobjects_GenericClass to include in the query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value needs to follow the format + * `issuerID.identifier` where `issuerID` is issued by Google and + * `identifier` is chosen by you. The unique identifier can only include + * alphanumeric characters, `.`, `_`, or `-`. + * + * @return GTLRWalletobjectsQuery_GenericclassUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_GenericClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the generic object with the given object ID. + * + * Method: walletobjects.genericobject.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GenericobjectGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value needs to follow the format + * `issuerID.identifier` where `issuerID` is issued by Google and `identifier` + * is chosen by you. The unique identifier can only include alphanumeric + * characters, `.`, `_`, or `-`. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GenericObject. + * + * Returns the generic object with the given object ID. + * + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value needs to follow the + * format `issuerID.identifier` where `issuerID` is issued by Google and + * `identifier` is chosen by you. The unique identifier can only include + * alphanumeric characters, `.`, `_`, or `-`. + * + * @return GTLRWalletobjectsQuery_GenericobjectGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts a generic object with the given ID and properties. + * + * Method: walletobjects.genericobject.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GenericobjectInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_GenericObject. + * + * Inserts a generic object with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_GenericObject to include in the + * query. + * + * @return GTLRWalletobjectsQuery_GenericobjectInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_GenericObject *)object; + +@end + +/** + * Returns a list of all generic objects for a given issuer ID. + * + * Method: walletobjects.genericobject.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GenericobjectList : GTLRWalletobjectsQuery + +/** The ID of the class whose objects will be listed. */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` objects are available in a list. For example, if you have + * a list of 200 objects and you call list with `maxResults` set to 20, list + * will return the first 20 objects and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 objects. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_GenericObjectListResponse. + * + * Returns a list of all generic objects for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_GenericobjectList + */ ++ (instancetype)query; + +@end + +/** + * Updates the generic object referenced by the given object ID. This method + * supports patch semantics. + * + * Method: walletobjects.genericobject.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GenericobjectPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value needs to follow the format + * `issuerID.identifier` where `issuerID` is issued by Google and `identifier` + * is chosen by you. The unique identifier can only include alphanumeric + * characters, `.`, `_`, or `-`. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GenericObject. + * + * Updates the generic object referenced by the given object ID. This method + * supports patch semantics. + * + * @param object The @c GTLRWalletobjects_GenericObject to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value needs to follow the + * format `issuerID.identifier` where `issuerID` is issued by Google and + * `identifier` is chosen by you. The unique identifier can only include + * alphanumeric characters, `.`, `_`, or `-`. + * + * @return GTLRWalletobjectsQuery_GenericobjectPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_GenericObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the generic object referenced by the given object ID. + * + * Method: walletobjects.genericobject.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GenericobjectUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value needs to follow the format + * `issuerID.identifier` where `issuerID` is issued by Google and `identifier` + * is chosen by you. The unique identifier can only include alphanumeric + * characters, `.`, `_`, or `-`. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GenericObject. + * + * Updates the generic object referenced by the given object ID. + * + * @param object The @c GTLRWalletobjects_GenericObject to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value needs to follow the + * format `issuerID.identifier` where `issuerID` is issued by Google and + * `identifier` is chosen by you. The unique identifier can only include + * alphanumeric characters, `.`, `_`, or `-`. + * + * @return GTLRWalletobjectsQuery_GenericobjectUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_GenericObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Adds a message to the gift card class referenced by the given class ID. + * + * Method: walletobjects.giftcardclass.addmessage + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GiftcardclassAddmessage : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GiftCardClassAddMessageResponse. + * + * Adds a message to the gift card class referenced by the given class ID. + * + * @param object The @c GTLRWalletobjects_AddMessageRequest to include in the + * query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_GiftcardclassAddmessage + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the gift card class with the given class ID. + * + * Method: walletobjects.giftcardclass.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GiftcardclassGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GiftCardClass. + * + * Returns the gift card class with the given class ID. + * + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_GiftcardclassGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts an gift card class with the given ID and properties. + * + * Method: walletobjects.giftcardclass.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GiftcardclassInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_GiftCardClass. + * + * Inserts an gift card class with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_GiftCardClass to include in the + * query. + * + * @return GTLRWalletobjectsQuery_GiftcardclassInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_GiftCardClass *)object; + +@end + +/** + * Returns a list of all gift card classes for a given issuer ID. + * + * Method: walletobjects.giftcardclass.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GiftcardclassList : GTLRWalletobjectsQuery + +/** The ID of the issuer authorized to list classes. */ +@property(nonatomic, assign) long long issuerId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` classes are available in a list. For example, if you have + * a list of 200 classes and you call list with `maxResults` set to 20, list + * will return the first 20 classes and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 classes. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_GiftCardClassListResponse. + * + * Returns a list of all gift card classes for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_GiftcardclassList + */ ++ (instancetype)query; + +@end + +/** + * Updates the gift card class referenced by the given class ID. This method + * supports patch semantics. + * + * Method: walletobjects.giftcardclass.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GiftcardclassPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GiftCardClass. + * + * Updates the gift card class referenced by the given class ID. This method + * supports patch semantics. + * + * @param object The @c GTLRWalletobjects_GiftCardClass to include in the + * query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_GiftcardclassPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_GiftCardClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the gift card class referenced by the given class ID. + * + * Method: walletobjects.giftcardclass.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GiftcardclassUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GiftCardClass. + * + * Updates the gift card class referenced by the given class ID. + * + * @param object The @c GTLRWalletobjects_GiftCardClass to include in the + * query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_GiftcardclassUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_GiftCardClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Adds a message to the gift card object referenced by the given object ID. + * + * Method: walletobjects.giftcardobject.addmessage + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GiftcardobjectAddmessage : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GiftCardObjectAddMessageResponse. + * + * Adds a message to the gift card object referenced by the given object ID. + * + * @param object The @c GTLRWalletobjects_AddMessageRequest to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_GiftcardobjectAddmessage + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the gift card object with the given object ID. + * + * Method: walletobjects.giftcardobject.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GiftcardobjectGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GiftCardObject. + * + * Returns the gift card object with the given object ID. + * + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_GiftcardobjectGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts an gift card object with the given ID and properties. + * + * Method: walletobjects.giftcardobject.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GiftcardobjectInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_GiftCardObject. + * + * Inserts an gift card object with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_GiftCardObject to include in the + * query. + * + * @return GTLRWalletobjectsQuery_GiftcardobjectInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_GiftCardObject *)object; + +@end + +/** + * Returns a list of all gift card objects for a given issuer ID. + * + * Method: walletobjects.giftcardobject.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GiftcardobjectList : GTLRWalletobjectsQuery + +/** The ID of the class whose objects will be listed. */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` objects are available in a list. For example, if you have + * a list of 200 objects and you call list with `maxResults` set to 20, list + * will return the first 20 objects and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 objects. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_GiftCardObjectListResponse. + * + * Returns a list of all gift card objects for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_GiftcardobjectList + */ ++ (instancetype)query; + +@end + +/** + * Updates the gift card object referenced by the given object ID. This method + * supports patch semantics. + * + * Method: walletobjects.giftcardobject.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GiftcardobjectPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GiftCardObject. + * + * Updates the gift card object referenced by the given object ID. This method + * supports patch semantics. + * + * @param object The @c GTLRWalletobjects_GiftCardObject to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_GiftcardobjectPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_GiftCardObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the gift card object referenced by the given object ID. + * + * Method: walletobjects.giftcardobject.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_GiftcardobjectUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_GiftCardObject. + * + * Updates the gift card object referenced by the given object ID. + * + * @param object The @c GTLRWalletobjects_GiftCardObject to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_GiftcardobjectUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_GiftCardObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the issuer with the given issuer ID. + * + * Method: walletobjects.issuer.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_IssuerGet : GTLRWalletobjectsQuery + +/** The unique identifier for an issuer. */ +@property(nonatomic, assign) long long resourceId; + +/** + * Fetches a @c GTLRWalletobjects_Issuer. + * + * Returns the issuer with the given issuer ID. + * + * @param resourceId The unique identifier for an issuer. + * + * @return GTLRWalletobjectsQuery_IssuerGet + */ ++ (instancetype)queryWithResourceId:(long long)resourceId; + +@end + +/** + * Inserts an issuer with the given ID and properties. + * + * Method: walletobjects.issuer.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_IssuerInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_Issuer. + * + * Inserts an issuer with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_Issuer to include in the query. + * + * @return GTLRWalletobjectsQuery_IssuerInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_Issuer *)object; + +@end + +/** + * Returns a list of all issuers shared to the caller. + * + * Method: walletobjects.issuer.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_IssuerList : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_IssuerListResponse. + * + * Returns a list of all issuers shared to the caller. + * + * @return GTLRWalletobjectsQuery_IssuerList + */ ++ (instancetype)query; + +@end + +/** + * Updates the issuer referenced by the given issuer ID. This method supports + * patch semantics. + * + * Method: walletobjects.issuer.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_IssuerPatch : GTLRWalletobjectsQuery + +/** The unique identifier for an issuer. */ +@property(nonatomic, assign) long long resourceId; + +/** + * Fetches a @c GTLRWalletobjects_Issuer. + * + * Updates the issuer referenced by the given issuer ID. This method supports + * patch semantics. + * + * @param object The @c GTLRWalletobjects_Issuer to include in the query. + * @param resourceId The unique identifier for an issuer. + * + * @return GTLRWalletobjectsQuery_IssuerPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_Issuer *)object + resourceId:(long long)resourceId; + +@end + +/** + * Updates the issuer referenced by the given issuer ID. + * + * Method: walletobjects.issuer.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_IssuerUpdate : GTLRWalletobjectsQuery + +/** The unique identifier for an issuer. */ +@property(nonatomic, assign) long long resourceId; + +/** + * Fetches a @c GTLRWalletobjects_Issuer. + * + * Updates the issuer referenced by the given issuer ID. + * + * @param object The @c GTLRWalletobjects_Issuer to include in the query. + * @param resourceId The unique identifier for an issuer. + * + * @return GTLRWalletobjectsQuery_IssuerUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_Issuer *)object + resourceId:(long long)resourceId; + +@end + +/** + * Inserts the resources in the JWT. + * + * Method: walletobjects.jwt.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_JwtInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_JwtInsertResponse. + * + * Inserts the resources in the JWT. + * + * @param object The @c GTLRWalletobjects_JwtResource to include in the query. + * + * @return GTLRWalletobjectsQuery_JwtInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_JwtResource *)object; + +@end + +/** + * Adds a message to the loyalty class referenced by the given class ID. + * + * Method: walletobjects.loyaltyclass.addmessage + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_LoyaltyclassAddmessage : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_LoyaltyClassAddMessageResponse. + * + * Adds a message to the loyalty class referenced by the given class ID. + * + * @param object The @c GTLRWalletobjects_AddMessageRequest to include in the + * query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_LoyaltyclassAddmessage + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the loyalty class with the given class ID. + * + * Method: walletobjects.loyaltyclass.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_LoyaltyclassGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_LoyaltyClass. + * + * Returns the loyalty class with the given class ID. + * + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_LoyaltyclassGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts an loyalty class with the given ID and properties. + * + * Method: walletobjects.loyaltyclass.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_LoyaltyclassInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_LoyaltyClass. + * + * Inserts an loyalty class with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_LoyaltyClass to include in the query. + * + * @return GTLRWalletobjectsQuery_LoyaltyclassInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_LoyaltyClass *)object; + +@end + +/** + * Returns a list of all loyalty classes for a given issuer ID. + * + * Method: walletobjects.loyaltyclass.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_LoyaltyclassList : GTLRWalletobjectsQuery + +/** The ID of the issuer authorized to list classes. */ +@property(nonatomic, assign) long long issuerId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` classes are available in a list. For example, if you have + * a list of 200 classes and you call list with `maxResults` set to 20, list + * will return the first 20 classes and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 classes. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_LoyaltyClassListResponse. + * + * Returns a list of all loyalty classes for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_LoyaltyclassList + */ ++ (instancetype)query; + +@end + +/** + * Updates the loyalty class referenced by the given class ID. This method + * supports patch semantics. + * + * Method: walletobjects.loyaltyclass.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_LoyaltyclassPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_LoyaltyClass. + * + * Updates the loyalty class referenced by the given class ID. This method + * supports patch semantics. + * + * @param object The @c GTLRWalletobjects_LoyaltyClass to include in the query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_LoyaltyclassPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_LoyaltyClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the loyalty class referenced by the given class ID. + * + * Method: walletobjects.loyaltyclass.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_LoyaltyclassUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_LoyaltyClass. + * + * Updates the loyalty class referenced by the given class ID. + * + * @param object The @c GTLRWalletobjects_LoyaltyClass to include in the query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_LoyaltyclassUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_LoyaltyClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Adds a message to the loyalty object referenced by the given object ID. + * + * Method: walletobjects.loyaltyobject.addmessage + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_LoyaltyobjectAddmessage : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_LoyaltyObjectAddMessageResponse. + * + * Adds a message to the loyalty object referenced by the given object ID. + * + * @param object The @c GTLRWalletobjects_AddMessageRequest to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_LoyaltyobjectAddmessage + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the loyalty object with the given object ID. + * + * Method: walletobjects.loyaltyobject.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_LoyaltyobjectGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_LoyaltyObject. + * + * Returns the loyalty object with the given object ID. + * + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_LoyaltyobjectGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts an loyalty object with the given ID and properties. + * + * Method: walletobjects.loyaltyobject.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_LoyaltyobjectInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_LoyaltyObject. + * + * Inserts an loyalty object with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_LoyaltyObject to include in the + * query. + * + * @return GTLRWalletobjectsQuery_LoyaltyobjectInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_LoyaltyObject *)object; + +@end + +/** + * Returns a list of all loyalty objects for a given issuer ID. + * + * Method: walletobjects.loyaltyobject.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_LoyaltyobjectList : GTLRWalletobjectsQuery + +/** The ID of the class whose objects will be listed. */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` objects are available in a list. For example, if you have + * a list of 200 objects and you call list with `maxResults` set to 20, list + * will return the first 20 objects and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 objects. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_LoyaltyObjectListResponse. + * + * Returns a list of all loyalty objects for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_LoyaltyobjectList + */ ++ (instancetype)query; + +@end + +/** + * Modifies linked offer objects for the loyalty object with the given ID. + * + * Method: walletobjects.loyaltyobject.modifylinkedofferobjects + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_LoyaltyobjectModifylinkedofferobjects : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_LoyaltyObject. + * + * Modifies linked offer objects for the loyalty object with the given ID. + * + * @param object The @c GTLRWalletobjects_ModifyLinkedOfferObjectsRequest to + * include in the query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_LoyaltyobjectModifylinkedofferobjects + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_ModifyLinkedOfferObjectsRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the loyalty object referenced by the given object ID. This method + * supports patch semantics. + * + * Method: walletobjects.loyaltyobject.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_LoyaltyobjectPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_LoyaltyObject. + * + * Updates the loyalty object referenced by the given object ID. This method + * supports patch semantics. + * + * @param object The @c GTLRWalletobjects_LoyaltyObject to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_LoyaltyobjectPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_LoyaltyObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the loyalty object referenced by the given object ID. + * + * Method: walletobjects.loyaltyobject.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_LoyaltyobjectUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_LoyaltyObject. + * + * Updates the loyalty object referenced by the given object ID. + * + * @param object The @c GTLRWalletobjects_LoyaltyObject to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_LoyaltyobjectUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_LoyaltyObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Downloads rotating barcode values for the transit object referenced by the + * given object ID. + * + * Method: walletobjects.media.download + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_MediaDownload : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_Media. + * + * Downloads rotating barcode values for the transit object referenced by the + * given object ID. + * + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_MediaDownload + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +/** + * Fetches the requested resource data as a @c GTLRDataObject. + * + * Downloads rotating barcode values for the transit object referenced by the + * given object ID. + * + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_MediaDownload + */ ++ (instancetype)queryForMediaWithResourceId:(NSString *)resourceId; + +@end + +/** + * Uploads rotating barcode values for the transit object referenced by the + * given object ID. Note the max upload size is specified in + * google3/production/config/cdd/apps-upload/customers/payments-consumer-passes/config.gcl + * and enforced by Scotty. + * + * Method: walletobjects.media.upload + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_MediaUpload : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c + * GTLRWalletobjects_TransitObjectUploadRotatingBarcodeValuesResponse. + * + * Uploads rotating barcode values for the transit object referenced by the + * given object ID. Note the max upload size is specified in + * google3/production/config/cdd/apps-upload/customers/payments-consumer-passes/config.gcl + * and enforced by Scotty. + * + * @param object The @c + * GTLRWalletobjects_TransitObjectUploadRotatingBarcodeValuesRequest to + * include in the query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * @param uploadParameters The media to include in this query. Accepted MIME + * type: * / * + * + * @return GTLRWalletobjectsQuery_MediaUpload + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitObjectUploadRotatingBarcodeValuesRequest *)object + resourceId:(NSString *)resourceId + uploadParameters:(nullable GTLRUploadParameters *)uploadParameters; + +@end + +/** + * Adds a message to the offer class referenced by the given class ID. + * + * Method: walletobjects.offerclass.addmessage + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_OfferclassAddmessage : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_OfferClassAddMessageResponse. + * + * Adds a message to the offer class referenced by the given class ID. + * + * @param object The @c GTLRWalletobjects_AddMessageRequest to include in the + * query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_OfferclassAddmessage + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the offer class with the given class ID. + * + * Method: walletobjects.offerclass.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_OfferclassGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_OfferClass. + * + * Returns the offer class with the given class ID. + * + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_OfferclassGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts an offer class with the given ID and properties. + * + * Method: walletobjects.offerclass.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_OfferclassInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_OfferClass. + * + * Inserts an offer class with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_OfferClass to include in the query. + * + * @return GTLRWalletobjectsQuery_OfferclassInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_OfferClass *)object; + +@end + +/** + * Returns a list of all offer classes for a given issuer ID. + * + * Method: walletobjects.offerclass.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_OfferclassList : GTLRWalletobjectsQuery + +/** The ID of the issuer authorized to list classes. */ +@property(nonatomic, assign) long long issuerId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` classes are available in a list. For example, if you have + * a list of 200 classes and you call list with `maxResults` set to 20, list + * will return the first 20 classes and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 classes. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_OfferClassListResponse. + * + * Returns a list of all offer classes for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_OfferclassList + */ ++ (instancetype)query; + +@end + +/** + * Updates the offer class referenced by the given class ID. This method + * supports patch semantics. + * + * Method: walletobjects.offerclass.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_OfferclassPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_OfferClass. + * + * Updates the offer class referenced by the given class ID. This method + * supports patch semantics. + * + * @param object The @c GTLRWalletobjects_OfferClass to include in the query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_OfferclassPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_OfferClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the offer class referenced by the given class ID. + * + * Method: walletobjects.offerclass.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_OfferclassUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_OfferClass. + * + * Updates the offer class referenced by the given class ID. + * + * @param object The @c GTLRWalletobjects_OfferClass to include in the query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_OfferclassUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_OfferClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Adds a message to the offer object referenced by the given object ID. + * + * Method: walletobjects.offerobject.addmessage + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_OfferobjectAddmessage : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_OfferObjectAddMessageResponse. + * + * Adds a message to the offer object referenced by the given object ID. + * + * @param object The @c GTLRWalletobjects_AddMessageRequest to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_OfferobjectAddmessage + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the offer object with the given object ID. + * + * Method: walletobjects.offerobject.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_OfferobjectGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_OfferObject. + * + * Returns the offer object with the given object ID. + * + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_OfferobjectGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts an offer object with the given ID and properties. + * + * Method: walletobjects.offerobject.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_OfferobjectInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_OfferObject. + * + * Inserts an offer object with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_OfferObject to include in the query. + * + * @return GTLRWalletobjectsQuery_OfferobjectInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_OfferObject *)object; + +@end + +/** + * Returns a list of all offer objects for a given issuer ID. + * + * Method: walletobjects.offerobject.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_OfferobjectList : GTLRWalletobjectsQuery + +/** The ID of the class whose objects will be listed. */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` objects are available in a list. For example, if you have + * a list of 200 objects and you call list with `maxResults` set to 20, list + * will return the first 20 objects and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 objects. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_OfferObjectListResponse. + * + * Returns a list of all offer objects for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_OfferobjectList + */ ++ (instancetype)query; + +@end + +/** + * Updates the offer object referenced by the given object ID. This method + * supports patch semantics. + * + * Method: walletobjects.offerobject.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_OfferobjectPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_OfferObject. + * + * Updates the offer object referenced by the given object ID. This method + * supports patch semantics. + * + * @param object The @c GTLRWalletobjects_OfferObject to include in the query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_OfferobjectPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_OfferObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the offer object referenced by the given object ID. + * + * Method: walletobjects.offerobject.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_OfferobjectUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_OfferObject. + * + * Updates the offer object referenced by the given object ID. + * + * @param object The @c GTLRWalletobjects_OfferObject to include in the query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_OfferobjectUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_OfferObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the permissions for the given issuer id. + * + * Method: walletobjects.permissions.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_PermissionsGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for an issuer. This ID must be unique across all + * issuers. + */ +@property(nonatomic, assign) long long resourceId; + +/** + * Fetches a @c GTLRWalletobjects_Permissions. + * + * Returns the permissions for the given issuer id. + * + * @param resourceId The unique identifier for an issuer. This ID must be + * unique across all issuers. + * + * @return GTLRWalletobjectsQuery_PermissionsGet + */ ++ (instancetype)queryWithResourceId:(long long)resourceId; + +@end + +/** + * Updates the permissions for the given issuer. + * + * Method: walletobjects.permissions.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_PermissionsUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for an issuer. This ID must be unique across all + * issuers. + */ +@property(nonatomic, assign) long long resourceId; + +/** + * Fetches a @c GTLRWalletobjects_Permissions. + * + * Updates the permissions for the given issuer. + * + * @param object The @c GTLRWalletobjects_Permissions to include in the query. + * @param resourceId The unique identifier for an issuer. This ID must be + * unique across all issuers. + * + * @return GTLRWalletobjectsQuery_PermissionsUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_Permissions *)object + resourceId:(long long)resourceId; + +@end + +/** + * Inserts the smart tap. + * + * Method: walletobjects.smarttap.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_SmarttapInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_SmartTap. + * + * Inserts the smart tap. + * + * @param object The @c GTLRWalletobjects_SmartTap to include in the query. + * + * @return GTLRWalletobjectsQuery_SmarttapInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_SmartTap *)object; + +@end + +/** + * Adds a message to the transit class referenced by the given class ID. + * + * Method: walletobjects.transitclass.addmessage + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_TransitclassAddmessage : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_TransitClassAddMessageResponse. + * + * Adds a message to the transit class referenced by the given class ID. + * + * @param object The @c GTLRWalletobjects_AddMessageRequest to include in the + * query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_TransitclassAddmessage + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the transit class with the given class ID. + * + * Method: walletobjects.transitclass.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_TransitclassGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_TransitClass. + * + * Returns the transit class with the given class ID. + * + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_TransitclassGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts a transit class with the given ID and properties. + * + * Method: walletobjects.transitclass.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_TransitclassInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_TransitClass. + * + * Inserts a transit class with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_TransitClass to include in the query. + * + * @return GTLRWalletobjectsQuery_TransitclassInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitClass *)object; + +@end + +/** + * Returns a list of all transit classes for a given issuer ID. + * + * Method: walletobjects.transitclass.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_TransitclassList : GTLRWalletobjectsQuery + +/** The ID of the issuer authorized to list classes. */ +@property(nonatomic, assign) long long issuerId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` classes are available in a list. For example, if you have + * a list of 200 classes and you call list with `maxResults` set to 20, list + * will return the first 20 classes and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 classes. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_TransitClassListResponse. + * + * Returns a list of all transit classes for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_TransitclassList + */ ++ (instancetype)query; + +@end + +/** + * Updates the transit class referenced by the given class ID. This method + * supports patch semantics. + * + * Method: walletobjects.transitclass.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_TransitclassPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_TransitClass. + * + * Updates the transit class referenced by the given class ID. This method + * supports patch semantics. + * + * @param object The @c GTLRWalletobjects_TransitClass to include in the query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_TransitclassPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the transit class referenced by the given class ID. + * + * Method: walletobjects.transitclass.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_TransitclassUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for a class. This ID must be unique across all classes + * from an issuer. This value should follow the format issuer ID. identifier + * where the former is issued by Google and latter is chosen by you. Your + * unique identifier should only include alphanumeric characters, '.', '_', or + * '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_TransitClass. + * + * Updates the transit class referenced by the given class ID. + * + * @param object The @c GTLRWalletobjects_TransitClass to include in the query. + * @param resourceId The unique identifier for a class. This ID must be unique + * across all classes from an issuer. This value should follow the format + * issuer ID. identifier where the former is issued by Google and latter is + * chosen by you. Your unique identifier should only include alphanumeric + * characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_TransitclassUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitClass *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Adds a message to the transit object referenced by the given object ID. + * + * Method: walletobjects.transitobject.addmessage + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_TransitobjectAddmessage : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_TransitObjectAddMessageResponse. + * + * Adds a message to the transit object referenced by the given object ID. + * + * @param object The @c GTLRWalletobjects_AddMessageRequest to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_TransitobjectAddmessage + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_AddMessageRequest *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Returns the transit object with the given object ID. + * + * Method: walletobjects.transitobject.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_TransitobjectGet : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_TransitObject. + * + * Returns the transit object with the given object ID. + * + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_TransitobjectGet + */ ++ (instancetype)queryWithResourceId:(NSString *)resourceId; + +@end + +/** + * Inserts an transit object with the given ID and properties. + * + * Method: walletobjects.transitobject.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_TransitobjectInsert : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_TransitObject. + * + * Inserts an transit object with the given ID and properties. + * + * @param object The @c GTLRWalletobjects_TransitObject to include in the + * query. + * + * @return GTLRWalletobjectsQuery_TransitobjectInsert + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitObject *)object; + +@end + +/** + * Returns a list of all transit objects for a given issuer ID. + * + * Method: walletobjects.transitobject.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_TransitobjectList : GTLRWalletobjectsQuery + +/** The ID of the class whose objects will be listed. */ +@property(nonatomic, copy, nullable) NSString *classId; + +/** + * Identifies the max number of results returned by a list. All results are + * returned if `maxResults` isn't defined. + */ +@property(nonatomic, assign) NSInteger maxResults; + +/** + * Used to get the next set of results if `maxResults` is specified, but more + * than `maxResults` objects are available in a list. For example, if you have + * a list of 200 objects and you call list with `maxResults` set to 20, list + * will return the first 20 objects and a token. Call list again with + * `maxResults` set to 20 and the token to get the next 20 objects. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRWalletobjects_TransitObjectListResponse. + * + * Returns a list of all transit objects for a given issuer ID. + * + * @return GTLRWalletobjectsQuery_TransitobjectList + */ ++ (instancetype)query; + +@end + +/** + * Updates the transit object referenced by the given object ID. This method + * supports patch semantics. + * + * Method: walletobjects.transitobject.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_TransitobjectPatch : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_TransitObject. + * + * Updates the transit object referenced by the given object ID. This method + * supports patch semantics. + * + * @param object The @c GTLRWalletobjects_TransitObject to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_TransitobjectPatch + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Updates the transit object referenced by the given object ID. + * + * Method: walletobjects.transitobject.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_TransitobjectUpdate : GTLRWalletobjectsQuery + +/** + * The unique identifier for an object. This ID must be unique across all + * objects from an issuer. This value should follow the format issuer ID. + * identifier where the former is issued by Google and latter is chosen by you. + * Your unique identifier should only include alphanumeric characters, '.', + * '_', or '-'. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRWalletobjects_TransitObject. + * + * Updates the transit object referenced by the given object ID. + * + * @param object The @c GTLRWalletobjects_TransitObject to include in the + * query. + * @param resourceId The unique identifier for an object. This ID must be + * unique across all objects from an issuer. This value should follow the + * format issuer ID. identifier where the former is issued by Google and + * latter is chosen by you. Your unique identifier should only include + * alphanumeric characters, '.', '_', or '-'. + * + * @return GTLRWalletobjectsQuery_TransitobjectUpdate + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_TransitObject *)object + resourceId:(NSString *)resourceId; + +@end + +/** + * Provide Google with information about awaiting private pass update. This + * will allow Google to provide the update notification to the device that + * currently holds this pass. + * + * Method: walletobjects.walletobjects.v1.privateContent.setPassUpdateNotice + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_WalletobjectsV1PrivateContentSetPassUpdateNotice : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_SetPassUpdateNoticeResponse. + * + * Provide Google with information about awaiting private pass update. This + * will allow Google to provide the update notification to the device that + * currently holds this pass. + * + * @param object The @c GTLRWalletobjects_SetPassUpdateNoticeRequest to include + * in the query. + * + * @return GTLRWalletobjectsQuery_WalletobjectsV1PrivateContentSetPassUpdateNotice + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_SetPassUpdateNoticeRequest *)object; + +@end + +/** + * Upload private data (text or URI) and returns an Id to be used in its place. + * + * Method: walletobjects.walletobjects.v1.privateContent.uploadPrivateData + * + * Authorization scope(s): + * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer + */ +@interface GTLRWalletobjectsQuery_WalletobjectsV1PrivateContentUploadPrivateData : GTLRWalletobjectsQuery + +/** + * Fetches a @c GTLRWalletobjects_UploadPrivateDataResponse. + * + * Upload private data (text or URI) and returns an Id to be used in its place. + * + * @param object The @c GTLRWalletobjects_UploadPrivateDataRequest to include + * in the query. + * + * @return GTLRWalletobjectsQuery_WalletobjectsV1PrivateContentUploadPrivateData + */ ++ (instancetype)queryWithObject:(GTLRWalletobjects_UploadPrivateDataRequest *)object; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsService.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsService.h new file mode 100644 index 000000000..9d0fb790a --- /dev/null +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsService.h @@ -0,0 +1,73 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Wallet API (walletobjects/v1) +// Description: +// API for issuers to save and manage Google Wallet Objects. +// Documentation: +// https://developers.google.com/pay/passes + +#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: Private Service: + * https://www.googleapis.com/auth/wallet_object.issuer + * + * Value "https://www.googleapis.com/auth/wallet_object.issuer" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeWalletobjectsWalletObjectIssuer; + +// ---------------------------------------------------------------------------- +// GTLRWalletobjectsService +// + +/** + * Service for executing Google Wallet API queries. + * + * API for issuers to save and manage Google Wallet Objects. + */ +@interface GTLRWalletobjectsService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRWalletobjectsQuery.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/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h index 7aeafa598..9cc36764f 100644 --- a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h +++ b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h @@ -150,7 +150,8 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutionsViewFull; @end /** - * Creates a new execution using the latest revision of the given workflow. + * Creates a new execution using the latest revision of the given workflow. For + * more information, see Execute a workflow. * * Method: workflowexecutions.projects.locations.workflows.executions.create * @@ -169,7 +170,8 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutionsViewFull; /** * Fetches a @c GTLRWorkflowExecutions_Execution. * - * Creates a new execution using the latest revision of the given workflow. + * Creates a new execution using the latest revision of the given workflow. For + * more information, see Execute a workflow. * * @param object The @c GTLRWorkflowExecutions_Execution to include in the * query. diff --git a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m index f6a2ee828..586ec0d7d 100644 --- a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m +++ b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m @@ -32,6 +32,11 @@ NSString * const kGTLRWorkloadManager_ResourceStatus_State_Deleting = @"DELETING"; NSString * const kGTLRWorkloadManager_ResourceStatus_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRWorkloadManager_SapDiscoveryComponent.topologyType +NSString * const kGTLRWorkloadManager_SapDiscoveryComponent_TopologyType_TopologyScaleOut = @"TOPOLOGY_SCALE_OUT"; +NSString * const kGTLRWorkloadManager_SapDiscoveryComponent_TopologyType_TopologyScaleUp = @"TOPOLOGY_SCALE_UP"; +NSString * const kGTLRWorkloadManager_SapDiscoveryComponent_TopologyType_TopologyTypeUnspecified = @"TOPOLOGY_TYPE_UNSPECIFIED"; + // GTLRWorkloadManager_SapDiscoveryComponentApplicationProperties.applicationType NSString * const kGTLRWorkloadManager_SapDiscoveryComponentApplicationProperties_ApplicationType_ApplicationTypeUnspecified = @"APPLICATION_TYPE_UNSPECIFIED"; NSString * const kGTLRWorkloadManager_SapDiscoveryComponentApplicationProperties_ApplicationType_Netweaver = @"NETWEAVER"; @@ -544,7 +549,8 @@ @implementation GTLRWorkloadManager_RunEvaluationRequest // @implementation GTLRWorkloadManager_SapDiscovery -@dynamic applicationLayer, databaseLayer, metadata, systemId, updateTime; +@dynamic applicationLayer, databaseLayer, metadata, projectNumber, systemId, + updateTime; @end @@ -554,10 +560,12 @@ @implementation GTLRWorkloadManager_SapDiscovery // @implementation GTLRWorkloadManager_SapDiscoveryComponent -@dynamic applicationProperties, databaseProperties, hostProject, resources, sid; +@dynamic applicationProperties, databaseProperties, haHosts, hostProject, + resources, sid, topologyType; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"haHosts" : [NSString class], @"resources" : [GTLRWorkloadManager_SapDiscoveryResource class] }; return map; @@ -572,7 +580,7 @@ @implementation GTLRWorkloadManager_SapDiscoveryComponent // @implementation GTLRWorkloadManager_SapDiscoveryComponentApplicationProperties -@dynamic applicationType, ascsUri, nfsUri; +@dynamic abap, applicationType, ascsUri, kernelVersion, nfsUri; @end @@ -582,7 +590,7 @@ @implementation GTLRWorkloadManager_SapDiscoveryComponentApplicationProperties // @implementation GTLRWorkloadManager_SapDiscoveryComponentDatabaseProperties -@dynamic databaseType, primaryInstanceUri, sharedNfsUri; +@dynamic databaseType, databaseVersion, primaryInstanceUri, sharedNfsUri; @end @@ -602,7 +610,8 @@ @implementation GTLRWorkloadManager_SapDiscoveryMetadata // @implementation GTLRWorkloadManager_SapDiscoveryResource -@dynamic relatedResources, resourceKind, resourceType, resourceUri, updateTime; +@dynamic instanceProperties, relatedResources, resourceKind, resourceType, + resourceUri, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -614,13 +623,35 @@ @implementation GTLRWorkloadManager_SapDiscoveryResource @end +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_SapDiscoveryResourceInstanceProperties +// + +@implementation GTLRWorkloadManager_SapDiscoveryResourceInstanceProperties +@dynamic clusterInstances, virtualHostname; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"clusterInstances" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRWorkloadManager_SapValidation // @implementation GTLRWorkloadManager_SapValidation -@dynamic validationDetails; +@dynamic projectId, validationDetails, zoneProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"zoneProperty" : @"zone" }; +} + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -638,7 +669,7 @@ @implementation GTLRWorkloadManager_SapValidation // @implementation GTLRWorkloadManager_SapValidationValidationDetail -@dynamic details, sapValidationType; +@dynamic details, isPresent, sapValidationType; @end diff --git a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h index d4e556a23..868dfc4c8 100644 --- a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h +++ b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h @@ -40,6 +40,7 @@ @class GTLRWorkloadManager_SapDiscoveryComponentDatabaseProperties; @class GTLRWorkloadManager_SapDiscoveryMetadata; @class GTLRWorkloadManager_SapDiscoveryResource; +@class GTLRWorkloadManager_SapDiscoveryResourceInstanceProperties; @class GTLRWorkloadManager_SapValidation; @class GTLRWorkloadManager_SapValidationValidationDetail; @class GTLRWorkloadManager_SapValidationValidationDetail_Details; @@ -142,6 +143,28 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ResourceStatus_State_Del */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ResourceStatus_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_SapDiscoveryComponent.topologyType + +/** + * A scale-out multi-node system. + * + * Value: "TOPOLOGY_SCALE_OUT" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SapDiscoveryComponent_TopologyType_TopologyScaleOut; +/** + * A scale-up single node system. + * + * Value: "TOPOLOGY_SCALE_UP" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SapDiscoveryComponent_TopologyType_TopologyScaleUp; +/** + * Unspecified topology. + * + * Value: "TOPOLOGY_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SapDiscoveryComponent_TopologyType_TopologyTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRWorkloadManager_SapDiscoveryComponentApplicationProperties.applicationType @@ -1168,6 +1191,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid /** Optional. The metadata for SAP system discovery data. */ @property(nonatomic, strong, nullable) GTLRWorkloadManager_SapDiscoveryMetadata *metadata; +/** Optional. The GCP project number that this SapSystem belongs to. */ +@property(nonatomic, copy, nullable) NSString *projectNumber; + /** * Output only. A combination of database SID, database instance URI and tenant * DB name to make a unique identifier per-system. @@ -1191,6 +1217,12 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid /** Optional. The component is a SAP database. */ @property(nonatomic, strong, nullable) GTLRWorkloadManager_SapDiscoveryComponentDatabaseProperties *databaseProperties; +/** + * Optional. A list of host URIs that are part of the HA configuration if + * present. An empty list indicates the component is not configured for HA. + */ +@property(nonatomic, strong, nullable) NSArray *haHosts; + /** Required. Pantheon Project in which the resources reside. */ @property(nonatomic, copy, nullable) NSString *hostProject; @@ -1203,6 +1235,19 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid */ @property(nonatomic, copy, nullable) NSString *sid; +/** + * Optional. The detected topology of the component. + * + * Likely values: + * @arg @c kGTLRWorkloadManager_SapDiscoveryComponent_TopologyType_TopologyScaleOut + * A scale-out multi-node system. (Value: "TOPOLOGY_SCALE_OUT") + * @arg @c kGTLRWorkloadManager_SapDiscoveryComponent_TopologyType_TopologyScaleUp + * A scale-up single node system. (Value: "TOPOLOGY_SCALE_UP") + * @arg @c kGTLRWorkloadManager_SapDiscoveryComponent_TopologyType_TopologyTypeUnspecified + * Unspecified topology. (Value: "TOPOLOGY_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *topologyType; + @end @@ -1211,6 +1256,14 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid */ @interface GTLRWorkloadManager_SapDiscoveryComponentApplicationProperties : GTLRObject +/** + * Optional. Indicates whether this is a Java or ABAP Netweaver instance. true + * means it is ABAP, false means it is Java. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *abap; + /** * Required. Type of the application. Netweaver, etc. * @@ -1225,6 +1278,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid /** Optional. Resource URI of the recognized ASCS host of the application. */ @property(nonatomic, copy, nullable) NSString *ascsUri; +/** Optional. Kernel version for Netweaver running in the system. */ +@property(nonatomic, copy, nullable) NSString *kernelVersion; + /** * Optional. Resource URI of the recognized shared NFS of the application. May * be empty if the application server has only a single node. @@ -1254,6 +1310,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid */ @property(nonatomic, copy, nullable) NSString *databaseType; +/** Optional. The version of the database software running in the system. */ +@property(nonatomic, copy, nullable) NSString *databaseVersion; + /** Required. URI of the recognized primary instance of the database. */ @property(nonatomic, copy, nullable) NSString *primaryInstanceUri; @@ -1294,6 +1353,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid */ @interface GTLRWorkloadManager_SapDiscoveryResource : GTLRObject +/** Optional. A set of properties only applying to instance type resources. */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_SapDiscoveryResourceInstanceProperties *instanceProperties; + /** Optional. A list of resource URIs related to this resource. */ @property(nonatomic, strong, nullable) NSArray *relatedResources; @@ -1359,15 +1421,44 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid @end +/** + * A set of properties only present for an instance type resource + */ +@interface GTLRWorkloadManager_SapDiscoveryResourceInstanceProperties : GTLRObject + +/** + * Optional. A list of instance URIs that are part of a cluster with this one. + */ +@property(nonatomic, strong, nullable) NSArray *clusterInstances; + +/** Optional. A virtual hostname of the instance if it has one. */ +@property(nonatomic, copy, nullable) NSString *virtualHostname; + +@end + + /** * A presentation of SAP workload insight. The schema of SAP workloads * validation related data. */ @interface GTLRWorkloadManager_SapValidation : GTLRObject +/** + * Required. The project_id of the cloud project that the Insight data comes + * from. + */ +@property(nonatomic, copy, nullable) NSString *projectId; + /** Optional. A list of SAP validation metrics data. */ @property(nonatomic, strong, nullable) NSArray *validationDetails; +/** + * Optional. The zone of the instance that the Insight data comes from. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + @end @@ -1379,6 +1470,13 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid /** Optional. The pairs of metrics data: field name & field value. */ @property(nonatomic, strong, nullable) GTLRWorkloadManager_SapValidationValidationDetail_Details *details; +/** + * Optional. Was there a SAP system detected for this validation type. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isPresent; + /** * Optional. The SAP system that the validation data is from. * diff --git a/Tools/GenerateCheckedInServices-message_filter.json b/Tools/GenerateCheckedInServices-message_filter.json index a42968b06..ea9598a9b 100644 --- a/Tools/GenerateCheckedInServices-message_filter.json +++ b/Tools/GenerateCheckedInServices-message_filter.json @@ -30,6 +30,7 @@ "Method 'displayvideo.media.upload' supports media upload, but doesn't seem to support resumable. It will be up to the developer to use the right upload method.", "Method 'firebaseappdistribution.media.upload' supports media upload, but doesn't seem to support resumable. It will be up to the developer to use the right upload method.", "Method 'groupsmigration.archive.insert' supports media upload, but doesn't seem to support resumable. It will be up to the developer to use the right upload method.", + "Method 'walletobjects.media.upload' supports media upload, but doesn't seem to support resumable. It will be up to the developer to use the right upload method.", "Won't add the kind 'bigquery#dataset' to the kind registry: it is used on multiple schema: Dataset, DatasetList.datasets.item", "Won't add the kind 'bigquery#job' to the kind registry: it is used on multiple schema: Job, JobList.jobs.item", "Won't add the kind 'bigquery#table' to the kind registry: it is used on multiple schema: Table, TableList.tables.item",