From 72daca5082fb3cb8ebce27caa9c7cff16e5cf67e Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Sat, 3 Feb 2024 16:33:53 -0500 Subject: [PATCH] Generate current service sources. --- GoogleAPIClientForREST.podspec | 10 + Package.swift | 20 + .../GTLRAIPlatformNotebooksObjects.h | 6 +- .../GTLRAPIGatewayObjects.h | 6 +- .../GTLRAccessContextManagerObjects.h | 16 +- .../Aiplatform/GTLRAiplatformObjects.m | 167 +- .../Aiplatform/GTLRAiplatformQuery.m | 56 +- .../GTLRAiplatformObjects.h | 349 +- .../GTLRAiplatformQuery.h | 76 +- .../AlertCenter/GTLRAlertCenterObjects.m | 11 + .../GTLRAlertCenterObjects.h | 29 + .../GTLRAnalyticsDataObjects.h | 6 +- .../GTLRAnalyticsHubObjects.h | 6 +- .../GTLRAndroidManagementObjects.m | 66 +- .../GTLRAndroidManagementQuery.m | 65 + .../GTLRAndroidManagementObjects.h | 241 +- .../GTLRAndroidManagementQuery.h | 116 + .../GTLRAndroidPublisherObjects.m | 19 + .../GTLRAndroidPublisherQuery.m | 27 + .../GTLRAndroidPublisherObjects.h | 24 + .../GTLRAndroidPublisherQuery.h | 29 + .../GTLRApigeeObjects.h | 8 +- .../GTLRAppHubObjects.h | 6 +- .../GTLRArtifactRegistryObjects.m | 6 +- .../GTLRArtifactRegistryObjects.h | 13 +- .../GTLRBackupdrObjects.h | 6 +- .../GTLRBigQueryConnectionServiceObjects.m | 62 +- .../GTLRBigQueryConnectionServiceQuery.m | 2 +- .../GTLRBigQueryConnectionServiceService.m | 2 +- .../GTLRBigQueryConnectionService.h | 2 +- .../GTLRBigQueryConnectionServiceObjects.h | 109 +- .../GTLRBigQueryConnectionServiceQuery.h | 2 +- .../GTLRBigQueryConnectionServiceService.h | 2 +- .../GTLRBigQueryDataPolicyServiceObjects.h | 6 +- .../GTLRBigQueryDataTransferObjects.m | 18 + .../GTLRBigQueryDataTransferQuery.m | 27 + .../GTLRBigQueryDataTransferObjects.h | 15 + .../GTLRBigQueryDataTransferQuery.h | 37 + .../Bigquery/GTLRBigqueryObjects.m | 680 ++- .../Bigquery/GTLRBigqueryQuery.m | 95 +- .../Bigquery/GTLRBigqueryService.m | 13 +- .../GTLRBigqueryObjects.h | 4846 +++++++++++++---- .../GTLRBigqueryQuery.h | 472 +- .../BigtableAdmin/GTLRBigtableAdminObjects.m | 2 +- .../GTLRBigtableAdminObjects.h | 17 +- .../GTLRBinaryAuthorizationObjects.h | 6 +- .../GTLRBlockchainNodeEngineObjects.m | 4 +- .../GTLRBlockchainNodeEngineObjects.h | 21 + .../CloudAsset/GTLRCloudAssetObjects.m | 16 +- .../GTLRCloudAssetObjects.h | 93 +- .../GTLRCloudAssetQuery.h | 94 +- .../GTLRCloudBatchObjects.h | 35 +- .../CloudBuild/GTLRCloudBuildObjects.m | 72 +- .../GTLRCloudBuildObjects.h | 222 +- .../CloudComposer/GTLRCloudComposerObjects.m | 93 +- .../CloudComposer/GTLRCloudComposerQuery.m | 19 + .../GTLRCloudComposerObjects.h | 330 ++ .../GTLRCloudComposerQuery.h | 57 + .../GTLRCloudDataplexObjects.h | 6 +- .../CloudDeploy/GTLRCloudDeployQuery.m | 50 + .../GTLRCloudDeployQuery.h | 89 + .../GTLRCloudDomainsObjects.h | 6 +- .../GTLRCloudFunctionsObjects.h | 6 +- .../GTLRCloudHealthcareObjects.m | 54 + .../GTLRCloudHealthcareQuery.m | 27 + .../GTLRCloudHealthcareObjects.h | 170 +- .../GTLRCloudHealthcareQuery.h | 579 +- .../GTLRCloudIAPObjects.h | 6 +- .../GTLRCloudMachineLearningEngineObjects.h | 6 +- .../GTLRCloudProfilerQuery.h | 64 +- .../CloudRedis/GTLRCloudRedisQuery.m | 2 +- .../GTLRCloudRedisObjects.h | 8 +- .../GTLRCloudResourceManagerObjects.h | 6 +- .../CloudRetail/GTLRCloudRetailObjects.m | 21 +- .../GTLRCloudRetailObjects.h | 37 +- .../CloudRun/GTLRCloudRunObjects.m | 8 +- .../GTLRCloudRunObjects.h | 13 +- .../GTLRCloudSchedulerObjects.h | 12 +- .../GTLRCloudSecurityTokenObjects.h | 33 +- .../GTLRCloudSourceRepositoriesObjects.h | 6 +- .../GTLRCloudWorkstationsObjects.h | 6 +- .../GTLRCloudbillingObjects.h | 6 +- .../Compute/GTLRComputeObjects.m | 6 +- .../GTLRComputeObjects.h | 49 +- .../GoogleAPIClientForREST/GTLRComputeQuery.h | 164 + .../Container/GTLRContainerObjects.m | 36 +- .../GTLRContainerObjects.h | 99 + .../GTLRContainerQuery.h | 12 +- .../GTLRDataCatalogObjects.h | 6 +- .../GTLRDataPortabilityObjects.m | 106 + .../GTLRDataPortabilityQuery.m | 110 + .../GTLRDataPortabilityService.m | 55 + .../GTLRDataPortability.h | 16 + .../GTLRDataPortabilityObjects.h | 169 + .../GTLRDataPortabilityQuery.h | 234 + .../GTLRDataPortabilityService.h | 188 + .../GTLRDatabaseMigrationServiceObjects.h | 6 +- .../Dataflow/GTLRDataflowObjects.m | 7 +- .../GTLRDataflowObjects.h | 28 + .../Dataform/GTLRDataformQuery.m | 2 +- .../GTLRDataformObjects.h | 23 +- .../GTLRDataformQuery.h | 3 + .../GTLRDataprocObjects.h | 35 +- .../GTLRDataprocMetastoreObjects.h | 6 +- .../GTLRDatastreamObjects.h | 6 +- .../GTLRDialogflowObjects.h | 4 + .../GTLRDiscoveryEngineObjects.m | 62 +- .../GTLRDiscoveryEngineObjects.h | 109 +- .../GoogleAPIClientForREST/GTLRDnsObjects.h | 6 +- .../Document/GTLRDocumentObjects.m | 9 +- .../GTLRDocumentObjects.h | 54 +- .../GTLRDoubleclicksearchObjects.h | 5 +- .../Drive/GTLRDriveObjects.m | 60 + .../GeneratedServices/Drive/GTLRDriveQuery.m | 36 + .../Drive/GTLRDriveService.m | 3 + .../GoogleAPIClientForREST/GTLRDriveObjects.h | 198 + .../GoogleAPIClientForREST/GTLRDriveQuery.h | 75 + .../GoogleAPIClientForREST/GTLRDriveService.h | 6 + .../GTLREventarcObjects.h | 6 +- .../GTLRGKEHubObjects.h | 6 +- .../GKEOnPrem/GTLRGKEOnPremObjects.m | 16 +- .../GTLRGKEOnPremObjects.h | 49 +- .../HangoutsChat/GTLRHangoutsChatObjects.m | 1 + .../GTLRHangoutsChatObjects.h | 9 + .../GTLRHangoutsChatService.h | 4 +- .../GTLRLookerObjects.h | 6 +- .../GTLRNetworkManagementObjects.m | 30 +- .../GTLRNetworkManagementObjects.h | 166 +- .../GTLRNetworkSecurityObjects.m | 2 +- .../GTLRNetworkSecurityObjects.h | 9 +- .../GTLRNetworkServicesObjects.h | 12 +- .../GTLROSConfigObjects.h | 8 +- .../GTLRPaymentsResellerSubscriptionObjects.m | 8 +- .../GTLRPaymentsResellerSubscriptionObjects.h | 60 +- .../GTLRPlaydeveloperreportingObjects.h | 9 +- .../GTLRPolicySimulatorObjects.h | 82 +- .../GTLRPolicyTroubleshooterObjects.h | 6 +- .../Pubsub/GTLRPubsubObjects.m | 38 +- .../GTLRPubsubObjects.h | 187 +- .../GoogleAPIClientForREST/GTLRPubsubQuery.h | 24 +- .../Recommender/GTLRRecommenderObjects.m | 5 +- .../GTLRRecommenderObjects.h | 3 + .../Reports/GTLRReportsQuery.m | 1 + .../GTLRReportsObjects.h | 6 +- .../GoogleAPIClientForREST/GTLRReportsQuery.h | 13 + .../SQLAdmin/GTLRSQLAdminObjects.m | 3 +- .../GTLRSQLAdminObjects.h | 34 +- .../SecretManager/GTLRSecretManagerQuery.m | 357 ++ .../GTLRSecretManagerObjects.h | 18 +- .../GTLRSecretManagerQuery.h | 679 ++- .../GTLRSecurityCommandCenterObjects.m | 27 +- .../GTLRSecurityCommandCenterQuery.m | 4 +- .../GTLRSecurityCommandCenterObjects.h | 134 +- .../GTLRSecurityCommandCenterQuery.h | 22 + .../GTLRServiceDirectoryObjects.h | 6 +- .../GTLRServiceManagementObjects.h | 6 +- .../GTLRShoppingContentObjects.m | 34 +- .../GTLRShoppingContentQuery.m | 91 - .../GTLRShoppingContentObjects.h | 78 +- .../GTLRShoppingContentQuery.h | 141 - .../Spanner/GTLRSpannerObjects.m | 7 +- .../GTLRSpannerObjects.h | 31 +- .../GTLRStorageTransferObjects.m | 2 +- .../GTLRStorageTransferObjects.h | 11 + .../GeneratedServices/TPU/GTLRTPUObjects.m | 2 +- .../GoogleAPIClientForREST/GTLRTPUObjects.h | 7 + .../Transcoder/GTLRTranscoderObjects.m | 76 +- .../GTLRTranscoderObjects.h | 77 + .../GTLRTranslateObjects.h | 4 +- .../GTLRTranslateQuery.h | 8 +- .../GTLRVMMigrationServiceObjects.h | 2 +- .../GTLRVMwareEngineObjects.h | 6 +- .../GTLRVersionHistoryObjects.m | 2 + .../GTLRVersionHistoryObjects.h | 16 + .../GTLRWalletobjectsObjects.h | 2 +- .../GTLRWorkflowExecutionsObjects.m | 6 +- .../GTLRWorkflowExecutionsObjects.h | 24 +- .../GTLRWorkflowExecutionsQuery.h | 14 +- .../GTLRWorkloadManagerObjects.m | 11 +- .../GTLRWorkloadManagerObjects.h | 6 + .../GTLRWorkspaceEventsObjects.m | 13 + .../GTLRWorkspaceEventsQuery.m | 18 + .../GTLRWorkspaceEventsService.m | 27 + .../GTLRWorkspaceEvents.h | 14 + .../GTLRWorkspaceEventsObjects.h | 28 + .../GTLRWorkspaceEventsQuery.h | 37 + .../GTLRWorkspaceEventsService.h | 60 + .../YouTube/GTLRYouTubeQuery.m | 5 +- .../GoogleAPIClientForREST/GTLRYouTubeQuery.h | 3 + 189 files changed, 12456 insertions(+), 2532 deletions(-) create mode 100644 Sources/GeneratedServices/DataPortability/GTLRDataPortabilityObjects.m create mode 100644 Sources/GeneratedServices/DataPortability/GTLRDataPortabilityQuery.m create mode 100644 Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m create mode 100644 Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortability.h create mode 100644 Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityObjects.h create mode 100644 Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h create mode 100644 Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h create mode 100644 Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsObjects.m create mode 100644 Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsQuery.m create mode 100644 Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsService.m create mode 100644 Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEvents.h create mode 100644 Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsObjects.h create mode 100644 Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsQuery.h create mode 100644 Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsService.h diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index eb73ef188..876aad157 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -621,6 +621,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/Datapipelines/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/Datapipelines/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'DataPortability' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/DataPortability/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'Dataproc' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/Dataproc/**/*.{h,m}' @@ -1406,6 +1411,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/WorkloadManager/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'WorkspaceEvents' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/WorkspaceEvents/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'YouTube' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/YouTube/**/*.{h,m}' diff --git a/Package.swift b/Package.swift index c25f7a7df..3a215536b 100644 --- a/Package.swift +++ b/Package.swift @@ -469,6 +469,10 @@ let package = Package( name: "GoogleAPIClientForREST_Datapipelines", targets: ["GoogleAPIClientForREST_Datapipelines"] ), + .library( + name: "GoogleAPIClientForREST_DataPortability", + targets: ["GoogleAPIClientForREST_DataPortability"] + ), .library( name: "GoogleAPIClientForREST_Dataproc", targets: ["GoogleAPIClientForREST_Dataproc"] @@ -1097,6 +1101,10 @@ let package = Package( name: "GoogleAPIClientForREST_WorkloadManager", targets: ["GoogleAPIClientForREST_WorkloadManager"] ), + .library( + name: "GoogleAPIClientForREST_WorkspaceEvents", + targets: ["GoogleAPIClientForREST_WorkspaceEvents"] + ), .library( name: "GoogleAPIClientForREST_YouTube", targets: ["GoogleAPIClientForREST_YouTube"] @@ -1821,6 +1829,12 @@ let package = Package( path: "Sources/GeneratedServices/Datapipelines", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_DataPortability", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/DataPortability", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_Dataproc", dependencies: ["GoogleAPIClientForRESTCore"], @@ -2763,6 +2777,12 @@ let package = Package( path: "Sources/GeneratedServices/WorkloadManager", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_WorkspaceEvents", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/WorkspaceEvents", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_YouTube", dependencies: ["GoogleAPIClientForRESTCore"], diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h index 84f8780d2..756dcc6dc 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h +++ b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h @@ -594,7 +594,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayObjects.h b/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayObjects.h index 89c3d647f..256d2dd9d 100644 --- a/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayObjects.h +++ b/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayObjects.h @@ -576,7 +576,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIGateway_Gateway_State_Updating; /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h b/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h index bc49ed493..85c9a4340 100644 --- a/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h +++ b/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h @@ -798,7 +798,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -983,9 +987,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su @interface GTLRAccessContextManager_EgressFrom : GTLRObject /** - * A list of identities that are allowed access through this [EgressPolicy]. - * Should be in the format of email address. The email address should represent - * individual user or service account only. + * A list of identities that are allowed access through this [EgressPolicy], in + * the format of `user:{email_id}` or `serviceAccount:{email_id}`. */ @property(nonatomic, strong, nullable) NSArray *identities; @@ -1291,9 +1294,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su @interface GTLRAccessContextManager_IngressFrom : GTLRObject /** - * A list of identities that are allowed access through this ingress policy. - * Should be in the format of email address. The email address should represent - * individual user or service account only. + * A list of identities that are allowed access through this ingress policy, in + * the format of `user:{email_id}` or `serviceAccount:{email_id}`. */ @property(nonatomic, strong, nullable) NSArray *identities; diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m index 6519d0ba7..27f8d366a 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m @@ -449,6 +449,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NasTrial_State_Succeeded = @"SUCCEEDED"; // GTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError.errorType +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_DuplicateNamespace = @"DUPLICATE_NAMESPACE"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_EmbeddingSizeMismatch = @"EMBEDDING_SIZE_MISMATCH"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_EmptyLine = @"EMPTY_LINE"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_ErrorTypeUnspecified = @"ERROR_TYPE_UNSPECIFIED"; @@ -456,7 +457,11 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidCsvSyntax = @"INVALID_CSV_SYNTAX"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidEmbeddingId = @"INVALID_EMBEDDING_ID"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidJsonSyntax = @"INVALID_JSON_SYNTAX"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidNumericValue = @"INVALID_NUMERIC_VALUE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_MultipleValues = @"MULTIPLE_VALUES"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_NamespaceMissing = @"NAMESPACE_MISSING"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_OpInDatapoint = @"OP_IN_DATAPOINT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_ParsingError = @"PARSING_ERROR"; // GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity.consumeReservationType NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationAffinityTypeUnspecified = @"RESERVATION_AFFINITY_TYPE_UNSPECIFIED"; @@ -2436,8 +2441,8 @@ @implementation GTLRAiplatform_CloudAiLargeModelsVisionVideo // @implementation GTLRAiplatform_CloudAiNlLlmProtoServiceCandidate -@dynamic citationMetadata, content, finishMessage, finishReason, index, - safetyRatings; +@dynamic citationMetadata, content, finishMessage, finishReason, + groundingMetadata, index, safetyRatings; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2495,6 +2500,16 @@ @implementation GTLRAiplatform_CloudAiNlLlmProtoServiceContent @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServiceFact +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServiceFact +@dynamic query, summary, title, url; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionCall @@ -2549,12 +2564,13 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAiplatform_CloudAiNlLlmProtoServiceGenerateMultiModalResponse -@dynamic candidates, debugMetadata, promptFeedback, reportingMetrics, +@dynamic candidates, debugMetadata, facts, promptFeedback, reportingMetrics, usageMetadata; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"candidates" : [GTLRAiplatform_CloudAiNlLlmProtoServiceCandidate class] + @"candidates" : [GTLRAiplatform_CloudAiNlLlmProtoServiceCandidate class], + @"facts" : [GTLRAiplatform_CloudAiNlLlmProtoServiceFact class] }; return map; } @@ -2617,7 +2633,17 @@ @implementation GTLRAiplatform_CloudAiNlLlmProtoServicePartFileData // @implementation GTLRAiplatform_CloudAiNlLlmProtoServicePartVideoMetadata -@dynamic endOffset, startOffset; +@dynamic endOffset, modelLevelMetaData, startOffset; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata +// + +@implementation GTLRAiplatform_CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata +@dynamic fps, numFrames; @end @@ -3996,7 +4022,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateNotebookRuntimeTempl // @implementation GTLRAiplatform_GoogleCloudAiplatformV1CreatePipelineJobRequest -@dynamic parent, pipelineJob, pipelineJobId; +@dynamic parent, pipelineJob, pipelineJobId, preflightValidations; @end @@ -6595,7 +6621,15 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAiplatform_GoogleCloudAiplatformV1IndexPrivateEndpoints -@dynamic matchGrpcAddress, serviceAttachment; +@dynamic matchGrpcAddress, pscAutomatedEndpoints, serviceAttachment; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"pscAutomatedEndpoints" : [GTLRAiplatform_GoogleCloudAiplatformV1PscAutomatedEndpoints class] + }; + return map; +} + @end @@ -8970,8 +9004,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobDetail // @implementation GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfig -@dynamic failurePolicy, gcsOutputDirectory, inputArtifacts, parameters, - parameterValues; +@dynamic defaultRuntime, failurePolicy, gcsOutputDirectory, inputArtifacts, + parameters, parameterValues; @end @@ -9017,6 +9051,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime +@dynamic persistentResourceRuntimeDetail; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact @@ -9027,6 +9071,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigIn @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail +@dynamic persistentResourceName; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1PipelineTaskDetail @@ -9302,6 +9356,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ProbeExecAction @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1PscAutomatedEndpoints +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1PscAutomatedEndpoints +@dynamic matchAddress, network, projectId; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1PublisherModel @@ -12375,6 +12439,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1StreamingReadFeatureValues @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1StreamRawPredictRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1StreamRawPredictRequest +@dynamic httpBody; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1StringArray @@ -13910,12 +13984,13 @@ @implementation GTLRAiplatform_IntelligenceCloudAutomlXpsReportingMetrics // @implementation GTLRAiplatform_LanguageLabsAidaTrustRecitationProtoDocAttribution -@dynamic amarnaId, arxivId, author, bibkey, bookTitle, bookVolumeId, category, - conversationId, dataset, filepath, geminiId, gnewsArticleTitle, - goodallExampleId, isOptOut, isPrompt, lamdaExampleId, license, - meenaConversationId, naturalLanguageCode, noAttribution, - podcastUtteranceId, publicationDate, qualityScoreExperimentOnly, repo, - url, volumeId, wikipediaArticleTitle; +@dynamic amarnaId, arxivId, author, bibkey, biorxivId, bookTitle, bookVolumeId, + category, conversationId, dataset, filepath, geminiId, + gnewsArticleTitle, goodallExampleId, isOptOut, isPrompt, + lamdaExampleId, license, meenaConversationId, naturalLanguageCode, + noAttribution, podcastUtteranceId, publicationDate, + qualityScoreExperimentOnly, repo, url, volumeId, wikipediaArticleTitle, + youtubeVideoId; @end @@ -13975,12 +14050,12 @@ @implementation GTLRAiplatform_LanguageLabsAidaTrustRecitationProtoStreamRecitat // @implementation GTLRAiplatform_LearningGenaiRecitationDocAttribution -@dynamic amarnaId, arxivId, author, bibkey, bookTitle, bookVolumeId, +@dynamic amarnaId, arxivId, author, bibkey, biorxivId, bookTitle, bookVolumeId, conversationId, dataset, filepath, geminiId, gnewsArticleTitle, goodallExampleId, isOptOut, isPrompt, lamdaExampleId, license, meenaConversationId, naturalLanguageCode, noAttribution, podcastUtteranceId, publicationDate, qualityScoreExperimentOnly, repo, - url, volumeId, wikipediaArticleTitle; + url, volumeId, wikipediaArticleTitle, youtubeVideoId; @end @@ -14112,6 +14187,35 @@ @implementation GTLRAiplatform_LearningGenaiRootFilterMetadataFilterDebugInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_LearningGenaiRootGroundingMetadata +// + +@implementation GTLRAiplatform_LearningGenaiRootGroundingMetadata +@dynamic citations, groundingCancelled, searchQueries; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"citations" : [GTLRAiplatform_LearningGenaiRootGroundingMetadataCitation class], + @"searchQueries" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_LearningGenaiRootGroundingMetadataCitation +// + +@implementation GTLRAiplatform_LearningGenaiRootGroundingMetadataCitation +@dynamic endIndex, factIndex, score, startIndex; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_LearningGenaiRootHarm @@ -14208,6 +14312,16 @@ @implementation GTLRAiplatform_LearningGenaiRootInternalMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_LearningGenaiRootLanguageFilterResult +// + +@implementation GTLRAiplatform_LearningGenaiRootLanguageFilterResult +@dynamic allowed, detectedLanguage, detectedLanguageProbability; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_LearningGenaiRootMetricOutput @@ -14492,16 +14606,6 @@ @implementation GTLRAiplatform_LearningGenaiRootToxicitySignal @end -// ---------------------------------------------------------------------------- -// -// GTLRAiplatform_LearningServingLlmLanguageFilterResult -// - -@implementation GTLRAiplatform_LearningServingLlmLanguageFilterResult -@dynamic allowed, detectedLanguage, detectedLanguageProbability; -@end - - // ---------------------------------------------------------------------------- // // GTLRAiplatform_LearningServingLlmMessageMetadata @@ -14509,10 +14613,11 @@ @implementation GTLRAiplatform_LearningServingLlmLanguageFilterResult @implementation GTLRAiplatform_LearningServingLlmMessageMetadata @dynamic classifierSummary, currentStreamTextLength, deleted, filterMeta, - finalMessageScore, finishReason, isFallback, langidResult, language, - lmPrefix, originalText, perStreamDecodedTokenCount, raiOutputs, - recitationResult, returnTokenCount, scores, streamTerminated, - totalDecodedTokenCount, translatedUserPrompts, vertexRaiResult; + finalMessageScore, finishReason, groundingMetadata, isFallback, + langidResult, language, lmPrefix, originalText, + perStreamDecodedTokenCount, raiOutputs, recitationResult, + returnTokenCount, scores, streamTerminated, totalDecodedTokenCount, + translatedUserPrompts, vertexRaiResult; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m index e0291f14b..a8fe0f50f 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m @@ -2129,6 +2129,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1GenerateC @end +@implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsStreamRawPredict + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1StreamRawPredictRequest *)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}:streamRawPredict"; + GTLRAiplatformQuery_ProjectsLocationsEndpointsStreamRawPredict *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleApiHttpBody class]; + query.loggingName = @"aiplatform.projects.locations.endpoints.streamRawPredict"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsUndeployModel @dynamic endpoint; @@ -7552,7 +7579,7 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1CancelPip @implementation GTLRAiplatformQuery_ProjectsLocationsPipelineJobsCreate -@dynamic parent, pipelineJobId; +@dynamic parent, pipelineJobId, preflightValidations; + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1PipelineJob *)object parent:(NSString *)parent { @@ -7891,6 +7918,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1GenerateC @end +@implementation GTLRAiplatformQuery_ProjectsLocationsPublishersModelsStreamRawPredict + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1StreamRawPredictRequest *)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}:streamRawPredict"; + GTLRAiplatformQuery_ProjectsLocationsPublishersModelsStreamRawPredict *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleApiHttpBody class]; + query.loggingName = @"aiplatform.projects.locations.publishers.models.streamRawPredict"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsSchedulesCreate @dynamic parent; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h index 503ef2e17..a331edabd 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h @@ -29,6 +29,7 @@ @class GTLRAiplatform_CloudAiNlLlmProtoServiceCitation; @class GTLRAiplatform_CloudAiNlLlmProtoServiceCitationMetadata; @class GTLRAiplatform_CloudAiNlLlmProtoServiceContent; +@class GTLRAiplatform_CloudAiNlLlmProtoServiceFact; @class GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionCall; @class GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionCall_Args; @class GTLRAiplatform_CloudAiNlLlmProtoServiceFunctionResponse; @@ -39,6 +40,7 @@ @class GTLRAiplatform_CloudAiNlLlmProtoServicePartBlob; @class GTLRAiplatform_CloudAiNlLlmProtoServicePartFileData; @class GTLRAiplatform_CloudAiNlLlmProtoServicePartVideoMetadata; +@class GTLRAiplatform_CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata; @class GTLRAiplatform_CloudAiNlLlmProtoServicePromptFeedback; @class GTLRAiplatform_CloudAiNlLlmProtoServiceRaiResult; @class GTLRAiplatform_CloudAiNlLlmProtoServiceRaiSignal; @@ -325,7 +327,9 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfig_InputArtifacts; @class GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfig_Parameters; @class GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfig_ParameterValues; +@class GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime; @class GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact; +@class GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail; @class GTLRAiplatform_GoogleCloudAiplatformV1PipelineTaskDetail; @class GTLRAiplatform_GoogleCloudAiplatformV1PipelineTaskDetail_Inputs; @class GTLRAiplatform_GoogleCloudAiplatformV1PipelineTaskDetail_Outputs; @@ -344,6 +348,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1PrivateServiceConnectConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1Probe; @class GTLRAiplatform_GoogleCloudAiplatformV1ProbeExecAction; +@class GTLRAiplatform_GoogleCloudAiplatformV1PscAutomatedEndpoints; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToAction; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToActionDeploy; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines; @@ -558,12 +563,15 @@ @class GTLRAiplatform_LearningGenaiRootDataProviderOutput; @class GTLRAiplatform_LearningGenaiRootFilterMetadata; @class GTLRAiplatform_LearningGenaiRootFilterMetadataFilterDebugInfo; +@class GTLRAiplatform_LearningGenaiRootGroundingMetadata; +@class GTLRAiplatform_LearningGenaiRootGroundingMetadataCitation; @class GTLRAiplatform_LearningGenaiRootHarm; @class GTLRAiplatform_LearningGenaiRootHarmGrailImageHarmType; @class GTLRAiplatform_LearningGenaiRootHarmGrailTextHarmType; @class GTLRAiplatform_LearningGenaiRootHarmSafetyCatCategories; @class GTLRAiplatform_LearningGenaiRootHarmSpiiFilter; @class GTLRAiplatform_LearningGenaiRootInternalMetadata; +@class GTLRAiplatform_LearningGenaiRootLanguageFilterResult; @class GTLRAiplatform_LearningGenaiRootMetricOutput; @class GTLRAiplatform_LearningGenaiRootRAIOutput; @class GTLRAiplatform_LearningGenaiRootRegexTakedownResult; @@ -588,7 +596,6 @@ @class GTLRAiplatform_LearningGenaiRootTokensAndLogProbPerDecodingStepTopCandidates; @class GTLRAiplatform_LearningGenaiRootToxicityResult; @class GTLRAiplatform_LearningGenaiRootToxicitySignal; -@class GTLRAiplatform_LearningServingLlmLanguageFilterResult; @class GTLRAiplatform_LearningServingLlmMessageMetadata; @class GTLRAiplatform_NlpSaftLangIdLocalesResult; @class GTLRAiplatform_NlpSaftLangIdLocalesResultLocale; @@ -2633,6 +2640,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NasTri // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError.errorType +/** + * There are multiple restricts with the same `namespace` value. + * + * Value: "DUPLICATE_NAMESPACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_DuplicateNamespace; /** * The size of the embedding vectors does not match with the specified * dimension. @@ -2676,12 +2689,37 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Neares * Value: "INVALID_JSON_SYNTAX" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidJsonSyntax; +/** + * Numeric restrict has invalid numeric value specified. + * + * Value: "INVALID_NUMERIC_VALUE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidNumericValue; +/** + * Numeric restrict has multiple values specified. + * + * Value: "MULTIPLE_VALUES" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_MultipleValues; /** * The `namespace` field is missing. * * Value: "NAMESPACE_MISSING" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_NamespaceMissing; +/** + * Numeric restrict has operator specified in datapoint. + * + * Value: "OP_IN_DATAPOINT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_OpInDatapoint; +/** + * Generic catch-all error. Only used for validation failure where the root + * cause cannot be easily retrieved programmatically. + * + * Value: "PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_ParsingError; // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity.consumeReservationType @@ -9158,6 +9196,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_NlpSaftLangIdResult_ModelVers */ @property(nonatomic, copy, nullable) NSString *finishReason; +/** + * Grounding metadata. Combine with the facts list from response to generate + * grounding citations for this choice. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_LearningGenaiRootGroundingMetadata *groundingMetadata; + /** * Index of the candidate. * @@ -9230,6 +9274,29 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_NlpSaftLangIdResult_ModelVers @end +/** + * A condense version of WorldFact + * (assistant/boq/lamda/factuality/proto/factuality.proto) to propagate the + * essential information about the fact used in factuality to the upstream + * caller. + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServiceFact : GTLRObject + +/** Query that is used to retrieve this fact. */ +@property(nonatomic, copy, nullable) NSString *query; + +/** If present, the summary/snippet of the fact. */ +@property(nonatomic, copy, nullable) NSString *summary; + +/** If present, it refers to the title of this fact. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** If present, this URL links to the webpage of the fact. */ +@property(nonatomic, copy, nullable) NSString *url; + +@end + + /** * Function call details. */ @@ -9296,6 +9363,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_NlpSaftLangIdResult_ModelVers */ @property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServiceMessageMetadata *debugMetadata; +/** External facts retrieved for factuality/grounding. */ +@property(nonatomic, strong, nullable) NSArray *facts; + /** * 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 @@ -9404,12 +9474,37 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_NlpSaftLangIdResult_ModelVers /** The end offset of the video. */ @property(nonatomic, strong, nullable) GTLRDuration *endOffset; +/** Internal only model level metadata. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata *modelLevelMetaData; + /** The start offset of the video. */ @property(nonatomic, strong, nullable) GTLRDuration *startOffset; @end +/** + * Internal only fields + */ +@interface GTLRAiplatform_CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata : GTLRObject + +/** + * Frame rate to decode from this video. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fps; + +/** + * Number of frames to decode from this video. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *numFrames; + +@end + + /** * Content filter results for a prompt sent in the request. */ @@ -9470,7 +9565,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_NlpSaftLangIdResult_ModelVers @property(nonatomic, strong, nullable) NSNumber *filtered; /** Language filter result from SAFT LangId. */ -@property(nonatomic, strong, nullable) GTLRAiplatform_LearningServingLlmLanguageFilterResult *languageFilterResult; +@property(nonatomic, strong, nullable) GTLRAiplatform_LearningGenaiRootLanguageFilterResult *languageFilterResult; /** The RAI signals for the text. */ @property(nonatomic, strong, nullable) NSArray *raiSignals; @@ -11975,6 +12070,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_NlpSaftLangIdResult_ModelVers */ @property(nonatomic, copy, nullable) NSString *pipelineJobId; +/** + * Optional. Whether to do component level validations before job creation. + * Currently we only support Google First Party Component/Pipelines. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *preflightValidations; + @end @@ -14416,8 +14519,15 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_NlpSaftLangIdResult_ModelVers * For Models that predict multiple outputs, such as multiclass Models that * predict multiple classes, each element explains one specific item. * Attribution.output_index can be used to identify which output this - * attribution is explaining. If users set ExplanationParameters.top_k, the - * attributions are sorted by instance_output_value in descending order. If + * attribution is explaining. By default, we provide Shapley values for the + * predicted class. However, you can configure the explanation request to + * generate Shapley values for any other classes too. For example, if a model + * predicts a probability of `0.4` for approving a loan application, the + * model's decision is to reject the application since `p(reject) = 0.6 > + * p(approve) = 0.4`, and the default Shapley values would be computed for + * rejection decision and not approval, even though the latter might be the + * positive class. If users set ExplanationParameters.top_k, the attributions + * are sorted by instance_output_value in descending order. If * ExplanationParameters.output_indices is specified, the attributions are * stored by Attribution.output_index in the same order as they appear in the * output_indices. @@ -18053,6 +18163,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_NlpSaftLangIdResult_ModelVers /** Output only. The ip address used to send match gRPC requests. */ @property(nonatomic, copy, nullable) NSString *matchGrpcAddress; +/** + * Output only. PscAutomatedEndpoints is populated if private service connect + * is enabled if PscAutomatedConfig is set. + */ +@property(nonatomic, strong, nullable) NSArray *pscAutomatedEndpoints; + /** * Output only. The name of the service attachment resource. Populated if * private service connect is enabled. @@ -20161,7 +20277,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_NlpSaftLangIdResult_ModelVers /** * Output only. Source of a model. It can either be automl training pipeline, - * custom training pipeline, BigQuery ML, or existing Vertex AI Model. + * custom training pipeline, BigQuery ML, or saved and tuned from Genie or + * Model Garden. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ModelSourceInfo *modelSourceInfo; @@ -22130,6 +22247,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_NlpSaftLangIdResult_ModelVers * The error type of this record. * * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_DuplicateNamespace + * There are multiple restricts with the same `namespace` value. (Value: + * "DUPLICATE_NAMESPACE") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_EmbeddingSizeMismatch * The size of the embedding vectors does not match with the specified * dimension. (Value: "EMBEDDING_SIZE_MISMATCH") @@ -22145,8 +22265,21 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_NlpSaftLangIdResult_ModelVers * The embedding id is not valid. (Value: "INVALID_EMBEDDING_ID") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidJsonSyntax * Invalid json format. (Value: "INVALID_JSON_SYNTAX") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidNumericValue + * Numeric restrict has invalid numeric value specified. (Value: + * "INVALID_NUMERIC_VALUE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_MultipleValues + * Numeric restrict has multiple values specified. (Value: + * "MULTIPLE_VALUES") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_NamespaceMissing * The `namespace` field is missing. (Value: "NAMESPACE_MISSING") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_OpInDatapoint + * Numeric restrict has operator specified in datapoint. (Value: + * "OP_IN_DATAPOINT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_ParsingError + * Generic catch-all error. Only used for validation failure where the + * root cause cannot be easily retrieved programmatically. (Value: + * "PARSING_ERROR") */ @property(nonatomic, copy, nullable) NSString *errorType; @@ -22919,6 +23052,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_NlpSaftLangIdResult_ModelVers */ @interface GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfig : GTLRObject +/** + * Optional. The default runtime for the PipelineJob. If not provided, Vertex + * Custom Job is used as the runtime. For Vertex Custom Job, please refer to + * https://cloud.google.com/vertex-ai/docs/training/overview + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime *defaultRuntime; + /** * Represents the failure policy of a pipeline. Currently, the default of a * pipeline is that the pipeline will continue to run until no more tasks can @@ -23029,6 +23169,17 @@ GTLR_DEPRECATED @end +/** + * The default runtime for the PipelineJob. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime : GTLRObject + +/** Persistent resource based runtime detail. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail *persistentResourceRuntimeDetail; + +@end + + /** * The type of an input artifact. */ @@ -23046,6 +23197,21 @@ GTLR_DEPRECATED @end +/** + * Persistent resource based runtime detail. For more information, refer to + * https://cloud.google.com/vertex-ai/docs/training/persistent-resource-overview + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail : GTLRObject + +/** + * Persistent resource name. Format: + * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}` + */ +@property(nonatomic, copy, nullable) NSString *persistentResourceName; + +@end + + /** * The runtime detail of a task execution. */ @@ -23636,6 +23802,24 @@ GTLR_DEPRECATED @end +/** + * PscAutomatedEndpoints defines the output of the forwarding rule + * automatically created by each PscAutomationConfig. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1PscAutomatedEndpoints : GTLRObject + +/** Ip Address created by the automated forwarding rule. */ +@property(nonatomic, copy, nullable) NSString *matchAddress; + +/** Corresponding network in pscAutomationConfigs. */ +@property(nonatomic, copy, nullable) NSString *network; + +/** Corresponding project_id in pscAutomationConfigs */ +@property(nonatomic, copy, nullable) NSString *projectId; + +@end + + /** * A Model Garden Publisher Model. */ @@ -30557,6 +30741,17 @@ GTLR_DEPRECATED @end +/** + * Request message for PredictionService.StreamRawPredict. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1StreamRawPredictRequest : GTLRObject + +/** The prediction input. Supports HTTP headers and arbitrary data payload. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleApiHttpBody *httpBody; + +@end + + /** * A list of string values. */ @@ -33228,7 +33423,11 @@ GTLR_DEPRECATED /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -33816,7 +34015,7 @@ GTLR_DEPRECATED * fields are most applicable for that document's datasource. For example, a * Wikipedia article's attribution is in the form of its article title, a * website is in the form of a URL, and a Github repo is in the form of a repo - * name. Next id:28 + * name. Next id: 30 */ @interface GTLRAiplatform_LanguageLabsAidaTrustRecitationProtoDocAttribution : GTLRObject @@ -33824,6 +34023,13 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *arxivId; @property(nonatomic, copy, nullable) NSString *author; @property(nonatomic, copy, nullable) NSString *bibkey; + +/** + * ID of the paper in bioarxiv like ddoi.org/{biorxiv_id} eg: + * https://doi.org/10.1101/343517 + */ +@property(nonatomic, copy, nullable) NSString *biorxivId; + @property(nonatomic, copy, nullable) NSString *bookTitle; /** @@ -34626,6 +34832,9 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *wikipediaArticleTitle; +/** The unique video id from Youtube. Example: AkoGsW52Ir0 */ +@property(nonatomic, copy, nullable) NSString *youtubeVideoId; + @end @@ -35477,7 +35686,7 @@ GTLR_DEPRECATED * fields are most applicable for that document's datasource. For example, a * Wikipedia article's attribution is in the form of its article title, a * website is in the form of a URL, and a Github repo is in the form of a repo - * name. Next id: 28 + * name. Next id: 30 */ @interface GTLRAiplatform_LearningGenaiRecitationDocAttribution : GTLRObject @@ -35485,6 +35694,13 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *arxivId; @property(nonatomic, copy, nullable) NSString *author; @property(nonatomic, copy, nullable) NSString *bibkey; + +/** + * ID of the paper in bioarxiv like ddoi.org/{biorxiv_id} eg: + * https://doi.org/10.1101/343517 + */ +@property(nonatomic, copy, nullable) NSString *biorxivId; + @property(nonatomic, copy, nullable) NSString *bookTitle; /** @@ -36269,6 +36485,8 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *wikipediaArticleTitle; +@property(nonatomic, copy, nullable) NSString *youtubeVideoId; + @end @@ -37304,7 +37522,7 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) GTLRAiplatform_LearningGenaiRootClassifierOutput *classifierOutput; @property(nonatomic, copy, nullable) NSString *defaultMetadata; -@property(nonatomic, strong, nullable) GTLRAiplatform_LearningServingLlmLanguageFilterResult *languageFilterResult; +@property(nonatomic, strong, nullable) GTLRAiplatform_LearningGenaiRootLanguageFilterResult *languageFilterResult; /** Safety filter output information for LLM Root RAI harm check. */ @property(nonatomic, strong, nullable) GTLRAiplatform_LearningGenaiRootRAIOutput *raiOutput; @@ -37318,6 +37536,65 @@ GTLR_DEPRECATED @end +/** + * GTLRAiplatform_LearningGenaiRootGroundingMetadata + */ +@interface GTLRAiplatform_LearningGenaiRootGroundingMetadata : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *citations; + +/** + * True if grounding is cancelled, for example, no facts being retrieved. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *groundingCancelled; + +@property(nonatomic, strong, nullable) NSArray *searchQueries; + +@end + + +/** + * GTLRAiplatform_LearningGenaiRootGroundingMetadataCitation + */ +@interface GTLRAiplatform_LearningGenaiRootGroundingMetadataCitation : GTLRObject + +/** + * Index in the prediction output where the citation ends (exclusive). Must be + * > start_index and < len(output). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *endIndex; + +/** + * Index of the fact supporting this claim. Should be within the range of the + * `world_facts` in the GenerateResponse. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *factIndex; + +/** + * Confidence score of this entailment. Value is [0,1] with 1 is the most + * confidence. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +/** + * Index in the prediction output where the citation starts (inclusive). Must + * be >= 0 and < end_index. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *startIndex; + +@end + + /** * GTLRAiplatform_LearningGenaiRootHarm */ @@ -37492,6 +37769,32 @@ GTLR_DEPRECATED @end +/** + * GTLRAiplatform_LearningGenaiRootLanguageFilterResult + */ +@interface GTLRAiplatform_LearningGenaiRootLanguageFilterResult : GTLRObject + +/** + * False when query or response should be filtered out due to unsupported + * language. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowed; + +/** Language of the query or response. */ +@property(nonatomic, copy, nullable) NSString *detectedLanguage; + +/** + * Probability of the language predicted as returned by LangID. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *detectedLanguageProbability; + +@end + + /** * GTLRAiplatform_LearningGenaiRootMetricOutput */ @@ -38033,32 +38336,6 @@ GTLR_DEPRECATED @end -/** - * GTLRAiplatform_LearningServingLlmLanguageFilterResult - */ -@interface GTLRAiplatform_LearningServingLlmLanguageFilterResult : GTLRObject - -/** - * False when query or response should be filtered out due to unsupported - * language. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *allowed; - -/** Language of the query or response. */ -@property(nonatomic, copy, nullable) NSString *detectedLanguage; - -/** - * Probability of the language predicted as returned by LangID. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *detectedLanguageProbability; - -@end - - /** * LINT.IfChange This metadata contains additional information required for * debugging. @@ -38114,6 +38391,8 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *finishReason; +@property(nonatomic, strong, nullable) GTLRAiplatform_LearningGenaiRootGroundingMetadata *groundingMetadata; + /** * Applies to Response message only. Indicates whether the message is a * fallback and the response would have otherwise been empty. diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h index a0b622375..b85d7ca68 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h @@ -4062,6 +4062,39 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * GTLRAiplatformQuery_ProjectsLocationsEndpointsStreamRawPredict + * + * Method: aiplatform.projects.locations.endpoints.streamRawPredict + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEndpointsStreamRawPredict : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint requested to serve the prediction. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleApiHttpBody. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1StreamRawPredictRequest 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_ProjectsLocationsEndpointsStreamRawPredict + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1StreamRawPredictRequest *)object + endpoint:(NSString *)endpoint; + +@end + /** * Undeploys a Model from an Endpoint, removing a DeployedModel from it, and * freeing all resources it's using. @@ -4908,7 +4941,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif /** * Required. The resource name of the Location to create FeatureOnlineStores. - * Format: `projects/{project}/locations/{location}'` + * Format: `projects/{project}/locations/{location}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -4921,7 +4954,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore to include in the * query. * @param parent Required. The resource name of the Location to create - * FeatureOnlineStores. Format: `projects/{project}/locations/{location}'` + * FeatureOnlineStores. Format: `projects/{project}/locations/{location}` * * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresCreate */ @@ -14583,6 +14616,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif */ @property(nonatomic, copy, nullable) NSString *pipelineJobId; +/** + * Optional. Whether to do component level validations before job creation. + * Currently we only support Google First Party Component/Pipelines. + */ +@property(nonatomic, assign) BOOL preflightValidations; + /** * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1PipelineJob. * @@ -15158,6 +15197,39 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * GTLRAiplatformQuery_ProjectsLocationsPublishersModelsStreamRawPredict + * + * Method: aiplatform.projects.locations.publishers.models.streamRawPredict + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsPublishersModelsStreamRawPredict : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint requested to serve the prediction. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleApiHttpBody. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1StreamRawPredictRequest 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_ProjectsLocationsPublishersModelsStreamRawPredict + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1StreamRawPredictRequest *)object + endpoint:(NSString *)endpoint; + +@end + /** * Creates a Schedule. * diff --git a/Sources/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.m b/Sources/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.m index 2697ab4d4..8ec3b1c38 100644 --- a/Sources/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.m +++ b/Sources/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.m @@ -539,6 +539,17 @@ @implementation GTLRAlertCenter_DeviceCompromisedSecurityDetail @end +// ---------------------------------------------------------------------------- +// +// GTLRAlertCenter_DeviceManagementRule +// + +@implementation GTLRAlertCenter_DeviceManagementRule +@dynamic deviceId, deviceModel, deviceType, email, iosVendorId, resourceId, + serialNumber; +@end + + // ---------------------------------------------------------------------------- // // GTLRAlertCenter_DlpRuleViolation diff --git a/Sources/GeneratedServices/AlertCenter/Public/GoogleAPIClientForREST/GTLRAlertCenterObjects.h b/Sources/GeneratedServices/AlertCenter/Public/GoogleAPIClientForREST/GTLRAlertCenterObjects.h index c8ec02820..3afdad377 100644 --- a/Sources/GeneratedServices/AlertCenter/Public/GoogleAPIClientForREST/GTLRAlertCenterObjects.h +++ b/Sources/GeneratedServices/AlertCenter/Public/GoogleAPIClientForREST/GTLRAlertCenterObjects.h @@ -1351,6 +1351,35 @@ FOUNDATION_EXTERN NSString * const kGTLRAlertCenter_VoiceMisconfiguration_Entity @end +/** + * Alerts from Device Management Rules configured by Admin. + */ +@interface GTLRAlertCenter_DeviceManagementRule : GTLRObject + +/** Required. The device ID. */ +@property(nonatomic, copy, nullable) NSString *deviceId; + +/** The model of the device. */ +@property(nonatomic, copy, nullable) NSString *deviceModel; + +/** The type of the device. */ +@property(nonatomic, copy, nullable) NSString *deviceType; + +/** The email of the user this alert was created for. */ +@property(nonatomic, copy, nullable) NSString *email; + +/** Required for iOS, empty for others. */ +@property(nonatomic, copy, nullable) NSString *iosVendorId; + +/** The device resource ID. */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** The serial number of the device. */ +@property(nonatomic, copy, nullable) NSString *serialNumber; + +@end + + /** * Alerts that get triggered on violations of Data Loss Prevention (DLP) rules. */ diff --git a/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h b/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h index f974ffbc3..45258dc6c 100644 --- a/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h +++ b/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h @@ -1253,7 +1253,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par @property(nonatomic, copy, nullable) NSString *category; /** - * True if the dimension is a custom dimension for this property. + * True if the dimension is custom to this property. This includes user, event, + * & item scoped custom dimensions; to learn more about custom dimensions, see + * https://support.google.com/analytics/answer/14240153. This also include + * custom channel groups; to learn more about custom channel groups, see + * https://support.google.com/analytics/answer/13051316. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h index 36d67b2c7..a1c58ff1a 100644 --- a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h +++ b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h @@ -329,7 +329,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m index fda1b2ab4..ebc47b8a3 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m @@ -196,6 +196,7 @@ NSString * const kGTLRAndroidManagement_Device_AppliedState_DeviceStateUnspecified = @"DEVICE_STATE_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_Device_AppliedState_Disabled = @"DISABLED"; NSString * const kGTLRAndroidManagement_Device_AppliedState_Lost = @"LOST"; +NSString * const kGTLRAndroidManagement_Device_AppliedState_PreparingForMigration = @"PREPARING_FOR_MIGRATION"; NSString * const kGTLRAndroidManagement_Device_AppliedState_Provisioning = @"PROVISIONING"; // GTLRAndroidManagement_Device.managementMode @@ -214,6 +215,7 @@ NSString * const kGTLRAndroidManagement_Device_State_DeviceStateUnspecified = @"DEVICE_STATE_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_Device_State_Disabled = @"DISABLED"; NSString * const kGTLRAndroidManagement_Device_State_Lost = @"LOST"; +NSString * const kGTLRAndroidManagement_Device_State_PreparingForMigration = @"PREPARING_FOR_MIGRATION"; NSString * const kGTLRAndroidManagement_Device_State_Provisioning = @"PROVISIONING"; // GTLRAndroidManagement_DeviceConnectivityManagement.configureWifi @@ -346,6 +348,12 @@ NSString * const kGTLRAndroidManagement_MemoryEvent_EventType_MemoryEventTypeUnspecified = @"MEMORY_EVENT_TYPE_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_MemoryEvent_EventType_RamMeasured = @"RAM_MEASURED"; +// GTLRAndroidManagement_MigrationToken.managementMode +NSString * const kGTLRAndroidManagement_MigrationToken_ManagementMode_FullyManaged = @"FULLY_MANAGED"; +NSString * const kGTLRAndroidManagement_MigrationToken_ManagementMode_ManagementModeUnspecified = @"MANAGEMENT_MODE_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_MigrationToken_ManagementMode_WorkProfileCompanyOwned = @"WORK_PROFILE_COMPANY_OWNED"; +NSString * const kGTLRAndroidManagement_MigrationToken_ManagementMode_WorkProfilePersonallyOwned = @"WORK_PROFILE_PERSONALLY_OWNED"; + // GTLRAndroidManagement_NonComplianceDetail.installationFailureReason NSString * const kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_InProgress = @"IN_PROGRESS"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_InstallationFailureReasonUnknown = @"INSTALLATION_FAILURE_REASON_UNKNOWN"; @@ -379,6 +387,7 @@ NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_OncWifiApiLevel = @"ONC_WIFI_API_LEVEL"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_OncWifiInvalidEnterpriseConfig = @"ONC_WIFI_INVALID_ENTERPRISE_CONFIG"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_OncWifiInvalidValue = @"ONC_WIFI_INVALID_VALUE"; +NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_OncWifiUserShouldRemoveNetwork = @"ONC_WIFI_USER_SHOULD_REMOVE_NETWORK"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PasswordPoliciesPasswordExpired = @"PASSWORD_POLICIES_PASSWORD_EXPIRED"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PasswordPoliciesPasswordNotSufficient = @"PASSWORD_POLICIES_PASSWORD_NOT_SUFFICIENT"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PasswordPoliciesUserCredentialsConfirmationRequired = @"PASSWORD_POLICIES_USER_CREDENTIALS_CONFIRMATION_REQUIRED"; @@ -1172,13 +1181,13 @@ @implementation GTLRAndroidManagement_Device @dynamic apiLevel, applicationReports, appliedPasswordPolicies, appliedPolicyName, appliedPolicyVersion, appliedState, commonCriteriaModeInfo, deviceSettings, disabledReason, displays, - enrollmentTime, enrollmentTokenData, enrollmentTokenName, hardwareInfo, - hardwareStatusSamples, lastPolicyComplianceReportTime, - lastPolicySyncTime, lastStatusReportTime, managementMode, memoryEvents, - memoryInfo, name, networkInfo, nonComplianceDetails, ownership, - policyCompliant, policyName, powerManagementEvents, - previousDeviceNames, securityPosture, softwareInfo, state, - systemProperties, user, userName; + dpcMigrationInfo, enrollmentTime, enrollmentTokenData, + enrollmentTokenName, hardwareInfo, hardwareStatusSamples, + lastPolicyComplianceReportTime, lastPolicySyncTime, + lastStatusReportTime, managementMode, memoryEvents, memoryInfo, name, + networkInfo, nonComplianceDetails, ownership, policyCompliant, + policyName, powerManagementEvents, previousDeviceNames, + securityPosture, softwareInfo, state, systemProperties, user, userName; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1271,6 +1280,16 @@ @implementation GTLRAndroidManagement_DnsEvent @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_DpcMigrationInfo +// + +@implementation GTLRAndroidManagement_DpcMigrationInfo +@dynamic additionalData, previousDpc; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_Empty @@ -1607,6 +1626,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_ListMigrationTokensResponse +// + +@implementation GTLRAndroidManagement_ListMigrationTokensResponse +@dynamic migrationTokens, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"migrationTokens" : [GTLRAndroidManagement_MigrationToken class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"migrationTokens"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_ListOperationsResponse @@ -1827,6 +1868,17 @@ @implementation GTLRAndroidManagement_MemoryInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_MigrationToken +// + +@implementation GTLRAndroidManagement_MigrationToken +@dynamic additionalData, createTime, device, deviceId, expireTime, + managementMode, name, policy, ttl, userId, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_NetworkInfo diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m index c12a0f695..f90156669 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m @@ -409,6 +409,71 @@ + (instancetype)query { @end +@implementation GTLRAndroidManagementQuery_EnterprisesMigrationTokensCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRAndroidManagement_MigrationToken *)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}/migrationTokens"; + GTLRAndroidManagementQuery_EnterprisesMigrationTokensCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAndroidManagement_MigrationToken class]; + query.loggingName = @"androidmanagement.enterprises.migrationTokens.create"; + return query; +} + +@end + +@implementation GTLRAndroidManagementQuery_EnterprisesMigrationTokensGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAndroidManagementQuery_EnterprisesMigrationTokensGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAndroidManagement_MigrationToken class]; + query.loggingName = @"androidmanagement.enterprises.migrationTokens.get"; + return query; +} + +@end + +@implementation GTLRAndroidManagementQuery_EnterprisesMigrationTokensList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/migrationTokens"; + GTLRAndroidManagementQuery_EnterprisesMigrationTokensList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAndroidManagement_ListMigrationTokensResponse class]; + query.loggingName = @"androidmanagement.enterprises.migrationTokens.list"; + return query; +} + +@end + @implementation GTLRAndroidManagementQuery_EnterprisesPatch @dynamic name, updateMask; diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h index d835a61fd..4108ccc88 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h @@ -53,6 +53,7 @@ @class GTLRAndroidManagement_DeviceSettings; @class GTLRAndroidManagement_Display; @class GTLRAndroidManagement_DnsEvent; +@class GTLRAndroidManagement_DpcMigrationInfo; @class GTLRAndroidManagement_EnrollmentCompleteEvent; @class GTLRAndroidManagement_EnrollmentToken; @class GTLRAndroidManagement_Enterprise; @@ -87,6 +88,7 @@ @class GTLRAndroidManagement_MediaUnmountEvent; @class GTLRAndroidManagement_MemoryEvent; @class GTLRAndroidManagement_MemoryInfo; +@class GTLRAndroidManagement_MigrationToken; @class GTLRAndroidManagement_NetworkInfo; @class GTLRAndroidManagement_NonComplianceDetail; @class GTLRAndroidManagement_NonComplianceDetailCondition; @@ -1128,6 +1130,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Device_AppliedState_Di * Value: "LOST" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Device_AppliedState_Lost; +/** + * The device is preparing for migrating to Android Management API. No further + * action is needed for the migration to continue. + * + * Value: "PREPARING_FOR_MIGRATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Device_AppliedState_PreparingForMigration; /** * The device is being provisioned. Newly enrolled devices are in this state * until they have a policy applied. @@ -1219,6 +1228,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Device_State_Disabled; * Value: "LOST" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Device_State_Lost; +/** + * The device is preparing for migrating to Android Management API. No further + * action is needed for the migration to continue. + * + * Value: "PREPARING_FOR_MIGRATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Device_State_PreparingForMigration; /** * The device is being provisioned. Newly enrolled devices are in this state * until they have a policy applied. @@ -1904,6 +1920,37 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_MemoryEvent_EventType_ */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_MemoryEvent_EventType_RamMeasured; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_MigrationToken.managementMode + +/** + * A fully-managed device. Supported only on devices running Android 9 and + * above. + * + * Value: "FULLY_MANAGED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_MigrationToken_ManagementMode_FullyManaged; +/** + * This value must not be used. + * + * Value: "MANAGEMENT_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_MigrationToken_ManagementMode_ManagementModeUnspecified; +/** + * A work profile on a company-owned device. Supported only on devices running + * Android 11 and above. + * + * Value: "WORK_PROFILE_COMPANY_OWNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_MigrationToken_ManagementMode_WorkProfileCompanyOwned; +/** + * A work profile on a personally owned device. Supported only on devices + * running Android 9 and above. + * + * Value: "WORK_PROFILE_PERSONALLY_OWNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_MigrationToken_ManagementMode_WorkProfilePersonallyOwned; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_NonComplianceDetail.installationFailureReason @@ -2106,6 +2153,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_Sp * Value: "ONC_WIFI_INVALID_VALUE" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_OncWifiInvalidValue; +/** + * User needs to remove the configured Wi-Fi network manually. This is + * applicable only on work profiles on personally-owned devices. + * nonComplianceReason is set to USER_ACTION. + * + * Value: "ONC_WIFI_USER_SHOULD_REMOVE_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_OncWifiUserShouldRemoveNetwork; /** * The device or profile password has expired. passwordPoliciesContext is set. * nonComplianceReason is set to USER_ACTION. @@ -3023,16 +3078,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_StayOnPluggedMo // GTLRAndroidManagement_PostureDetail.securityRisk /** - * SafetyNet detects that the device is running a compromised OS + * Play Integrity API detects that the device is running a compromised OS * (basicIntegrity check fails). * * Value: "COMPROMISED_OS" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PostureDetail_SecurityRisk_CompromisedOs; /** - * SafetyNet detects that the device does not have a strong guarantee of system - * integrity, such as a hardware-backed keystore - * (https://developer.android.com/training/articles/security-key-attestation). + * Play Integrity API detects that the device does not have a strong guarantee + * of system integrity, if the MEETS_STRONG_INTEGRITY label doesn't show in the + * device integrity field + * (https://developer.android.com/google/play/integrity/verdicts#device-integrity-field). * * Value: "HARDWARE_BACKED_EVALUATION_FAILED" */ @@ -3044,8 +3100,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PostureDetail_Security */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PostureDetail_SecurityRisk_SecurityRiskUnspecified; /** - * SafetyNet detects that the device is running an unknown OS (basicIntegrity - * check succeeds but ctsProfileMatch fails). + * Play Integrity API detects that the device is running an unknown OS + * (basicIntegrity check succeeds but ctsProfileMatch fails). * * Value: "UNKNOWN_OS" */ @@ -5319,6 +5375,10 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_Device_AppliedState_Lost The device is * lost. This state is only possible on organization-owned devices. * (Value: "LOST") + * @arg @c kGTLRAndroidManagement_Device_AppliedState_PreparingForMigration + * The device is preparing for migrating to Android Management API. No + * further action is needed for the migration to continue. (Value: + * "PREPARING_FOR_MIGRATION") * @arg @c kGTLRAndroidManagement_Device_AppliedState_Provisioning The device * is being provisioned. Newly enrolled devices are in this state until * they have a policy applied. (Value: "PROVISIONING") @@ -5353,6 +5413,12 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSArray *displays; +/** + * Output only. Information related to whether this device was migrated from + * being managed by another Device Policy Controller (DPC). + */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_DpcMigrationInfo *dpcMigrationInfo; + /** The time of device enrollment. */ @property(nonatomic, strong, nullable) GTLRDateTime *enrollmentTime; @@ -5504,6 +5570,10 @@ GTLR_DEPRECATED * disabled. (Value: "DISABLED") * @arg @c kGTLRAndroidManagement_Device_State_Lost The device is lost. This * state is only possible on organization-owned devices. (Value: "LOST") + * @arg @c kGTLRAndroidManagement_Device_State_PreparingForMigration The + * device is preparing for migrating to Android Management API. No + * further action is needed for the migration to continue. (Value: + * "PREPARING_FOR_MIGRATION") * @arg @c kGTLRAndroidManagement_Device_State_Provisioning The device is * being provisioned. Newly enrolled devices are in this state until they * have a policy applied. (Value: "PROVISIONING") @@ -5943,6 +6013,27 @@ GTLR_DEPRECATED @end +/** + * Information related to whether this device was migrated from being managed + * by another Device Policy Controller (DPC). + */ +@interface GTLRAndroidManagement_DpcMigrationInfo : GTLRObject + +/** + * Output only. If this device was migrated from another DPC, the + * additionalData field of the migration token is populated here. + */ +@property(nonatomic, copy, nullable) NSString *additionalData; + +/** + * Output only. If this device was migrated from another DPC, this is its + * package name. Not populated otherwise. + */ +@property(nonatomic, copy, nullable) NSString *previousDpc; + +@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 @@ -6786,6 +6877,33 @@ GTLR_DEPRECATED @end +/** + * Response to a request to list migration tokens for a given enterprise. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "migrationTokens" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRAndroidManagement_ListMigrationTokensResponse : GTLRCollectionObject + +/** + * The migration tokens from the specified enterprise. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *migrationTokens; + +/** + * A token, which can be sent as page_token to retrieve the next page. If this + * field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * The response message for Operations.ListOperations. * @@ -7146,6 +7264,99 @@ GTLR_DEPRECATED @end +/** + * A token to initiate the migration of a device from being managed by a + * third-party DPC to being managed by Android Management API. A migration + * token is valid only for a single device. + */ +@interface GTLRAndroidManagement_MigrationToken : GTLRObject + +/** + * Immutable. Optional EMM-specified additional data. Once the device is + * migrated this will be populated in the migrationAdditionalData field of the + * Device resource. This must be at most 1024 characters. + */ +@property(nonatomic, copy, nullable) NSString *additionalData; + +/** Output only. Time when this migration token was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. Once this migration token is used to migrate a device, the name + * of the resulting Device resource will be populated here, in the form + * enterprises/{enterprise}/devices/{device}. + */ +@property(nonatomic, copy, nullable) NSString *device; + +/** + * Required. Immutable. The id of the device, as in the Play EMM API. This + * corresponds to the deviceId parameter in Play EMM API's Devices.get + * (https://developers.google.com/android/work/play/emm-api/v1/devices/get#parameters) + * call. + */ +@property(nonatomic, copy, nullable) NSString *deviceId; + +/** + * Immutable. The time when this migration token expires. This can be at most + * seven days from the time of creation. The migration token is deleted seven + * days after it expires. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *expireTime; + +/** + * Required. Immutable. The management mode of the device or profile being + * migrated. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_MigrationToken_ManagementMode_FullyManaged + * A fully-managed device. Supported only on devices running Android 9 + * and above. (Value: "FULLY_MANAGED") + * @arg @c kGTLRAndroidManagement_MigrationToken_ManagementMode_ManagementModeUnspecified + * This value must not be used. (Value: "MANAGEMENT_MODE_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_MigrationToken_ManagementMode_WorkProfileCompanyOwned + * A work profile on a company-owned device. Supported only on devices + * running Android 11 and above. (Value: "WORK_PROFILE_COMPANY_OWNED") + * @arg @c kGTLRAndroidManagement_MigrationToken_ManagementMode_WorkProfilePersonallyOwned + * A work profile on a personally owned device. Supported only on devices + * running Android 9 and above. (Value: "WORK_PROFILE_PERSONALLY_OWNED") + */ +@property(nonatomic, copy, nullable) NSString *managementMode; + +/** + * Output only. The name of the migration token, which is generated by the + * server during creation, in the form + * enterprises/{enterprise}/migrationTokens/{migration_token}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Immutable. The name of the policy initially applied to the + * enrolled device, in the form enterprises/{enterprise}/policies/{policy}. + */ +@property(nonatomic, copy, nullable) NSString *policy; + +/** + * Input only. The time that this migration token is valid for. This is + * input-only, and for returning a migration token the server will populate the + * expireTime field. This can be at most seven days. The default is seven days. + */ +@property(nonatomic, strong, nullable) GTLRDuration *ttl; + +/** + * Required. Immutable. The user id of the Managed Google Play account on the + * device, as in the Play EMM API. This corresponds to the userId parameter in + * Play EMM API's Devices.get + * (https://developers.google.com/android/work/play/emm-api/v1/devices/get#parameters) + * call. + */ +@property(nonatomic, copy, nullable) NSString *userId; + +/** Output only. The value of the migration token. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + /** * Device network info. */ @@ -7327,6 +7538,11 @@ GTLR_DEPRECATED * specifies which field value is incorrect. oncWifiContext is set. * nonComplianceReason is set to INVALID_VALUE. (Value: * "ONC_WIFI_INVALID_VALUE") + * @arg @c kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_OncWifiUserShouldRemoveNetwork + * User needs to remove the configured Wi-Fi network manually. This is + * applicable only on work profiles on personally-owned devices. + * nonComplianceReason is set to USER_ACTION. (Value: + * "ONC_WIFI_USER_SHOULD_REMOVE_NETWORK") * @arg @c kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PasswordPoliciesPasswordExpired * The device or profile password has expired. passwordPoliciesContext is * set. nonComplianceReason is set to USER_ACTION. (Value: @@ -8871,17 +9087,18 @@ GTLR_DEPRECATED * * Likely values: * @arg @c kGTLRAndroidManagement_PostureDetail_SecurityRisk_CompromisedOs - * SafetyNet detects that the device is running a compromised OS + * Play Integrity API detects that the device is running a compromised OS * (basicIntegrity check fails). (Value: "COMPROMISED_OS") * @arg @c kGTLRAndroidManagement_PostureDetail_SecurityRisk_HardwareBackedEvaluationFailed - * SafetyNet detects that the device does not have a strong guarantee of - * system integrity, such as a hardware-backed keystore - * (https://developer.android.com/training/articles/security-key-attestation). + * Play Integrity API detects that the device does not have a strong + * guarantee of system integrity, if the MEETS_STRONG_INTEGRITY label + * doesn't show in the device integrity field + * (https://developer.android.com/google/play/integrity/verdicts#device-integrity-field). * (Value: "HARDWARE_BACKED_EVALUATION_FAILED") * @arg @c kGTLRAndroidManagement_PostureDetail_SecurityRisk_SecurityRiskUnspecified * Unspecified. (Value: "SECURITY_RISK_UNSPECIFIED") - * @arg @c kGTLRAndroidManagement_PostureDetail_SecurityRisk_UnknownOs - * SafetyNet detects that the device is running an unknown OS + * @arg @c kGTLRAndroidManagement_PostureDetail_SecurityRisk_UnknownOs Play + * Integrity API detects that the device is running an unknown OS * (basicIntegrity check succeeds but ctsProfileMatch fails). (Value: * "UNKNOWN_OS") */ diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h index 67a647f68..a1094ec6b 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h @@ -793,6 +793,122 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExtern @end +/** + * Creates a migration token, to migrate an existing device from being managed + * by the EMM's Device Policy Controller (DPC) to being managed by the Android + * Management API. + * + * Method: androidmanagement.enterprises.migrationTokens.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidManagement + */ +@interface GTLRAndroidManagementQuery_EnterprisesMigrationTokensCreate : GTLRAndroidManagementQuery + +/** + * Required. The enterprise in which this migration token will be created. + * Format: enterprises/{enterprise} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAndroidManagement_MigrationToken. + * + * Creates a migration token, to migrate an existing device from being managed + * by the EMM's Device Policy Controller (DPC) to being managed by the Android + * Management API. + * + * @param object The @c GTLRAndroidManagement_MigrationToken to include in the + * query. + * @param parent Required. The enterprise in which this migration token will be + * created. Format: enterprises/{enterprise} + * + * @return GTLRAndroidManagementQuery_EnterprisesMigrationTokensCreate + */ ++ (instancetype)queryWithObject:(GTLRAndroidManagement_MigrationToken *)object + parent:(NSString *)parent; + +@end + +/** + * Gets a migration token. + * + * Method: androidmanagement.enterprises.migrationTokens.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidManagement + */ +@interface GTLRAndroidManagementQuery_EnterprisesMigrationTokensGet : GTLRAndroidManagementQuery + +/** + * Required. The name of the migration token to retrieve. Format: + * enterprises/{enterprise}/migrationTokens/{migration_token} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAndroidManagement_MigrationToken. + * + * Gets a migration token. + * + * @param name Required. The name of the migration token to retrieve. Format: + * enterprises/{enterprise}/migrationTokens/{migration_token} + * + * @return GTLRAndroidManagementQuery_EnterprisesMigrationTokensGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists migration tokens. + * + * Method: androidmanagement.enterprises.migrationTokens.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidManagement + */ +@interface GTLRAndroidManagementQuery_EnterprisesMigrationTokensList : GTLRAndroidManagementQuery + +/** + * The maximum number of migration tokens to return. Fewer migration tokens may + * be returned. If unspecified, at most 100 migration tokens will be returned. + * The maximum value is 100; values above 100 will be coerced to 100. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous ListMigrationTokens call. Provide + * this to retrieve the subsequent page.When paginating, all other parameters + * provided to ListMigrationTokens must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The enterprise which the migration tokens belong to. Format: + * enterprises/{enterprise} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAndroidManagement_ListMigrationTokensResponse. + * + * Lists migration tokens. + * + * @param parent Required. The enterprise which the migration tokens belong to. + * Format: enterprises/{enterprise} + * + * @return GTLRAndroidManagementQuery_EnterprisesMigrationTokensList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Updates an enterprise. See also: SigninDetail * diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m index 6b18057fb..ac57310d1 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m @@ -2520,6 +2520,25 @@ @implementation GTLRAndroidPublisher_RevokeSubscriptionPurchaseResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_SafetyLabelsUpdateRequest +// + +@implementation GTLRAndroidPublisher_SafetyLabelsUpdateRequest +@dynamic safetyLabels; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_SafetyLabelsUpdateResponse +// + +@implementation GTLRAndroidPublisher_SafetyLabelsUpdateResponse +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_ScreenDensity diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m index 9451736e5..c582783d1 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m @@ -51,6 +51,33 @@ @implementation GTLRAndroidPublisherQuery @end +@implementation GTLRAndroidPublisherQuery_ApplicationsDataSafety + +@dynamic packageName; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_SafetyLabelsUpdateRequest *)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}/dataSafety"; + GTLRAndroidPublisherQuery_ApplicationsDataSafety *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.expectedObjectClass = [GTLRAndroidPublisher_SafetyLabelsUpdateResponse class]; + query.loggingName = @"androidpublisher.applications.dataSafety"; + return query; +} + +@end + @implementation GTLRAndroidPublisherQuery_ApplicationsDeviceTierConfigsCreate @dynamic allowUnknownDevices, packageName; diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h index 158ba8c79..ebac486cb 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h @@ -5412,6 +5412,30 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe @end +/** + * Request to update Safety Labels of an app. + */ +@interface GTLRAndroidPublisher_SafetyLabelsUpdateRequest : GTLRObject + +/** + * Required. Contents of the CSV file containing Data Safety responses. For the + * format of this file, see the Help Center documentation at + * https://support.google.com/googleplay/android-developer/answer/10787469?hl=en#zippy=%2Cunderstand-the-csv-format + * To download an up to date template, follow the steps at + * https://support.google.com/googleplay/android-developer/answer/10787469?hl=en#zippy=%2Cexport-to-a-csv-file + */ +@property(nonatomic, copy, nullable) NSString *safetyLabels; + +@end + + +/** + * Response for SafetyLabelsUpdate rpc. + */ +@interface GTLRAndroidPublisher_SafetyLabelsUpdateResponse : GTLRObject +@end + + /** * Represents a screen density. */ diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h index 3b1e11175..1befa907b 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h @@ -170,6 +170,35 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherLatencyToleranceProductU @end +/** + * Writes the Safety Labels declaration of an app. + * + * Method: androidpublisher.applications.dataSafety + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_ApplicationsDataSafety : GTLRAndroidPublisherQuery + +/** Required. Package name of the app. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Fetches a @c GTLRAndroidPublisher_SafetyLabelsUpdateResponse. + * + * Writes the Safety Labels declaration of an app. + * + * @param object The @c GTLRAndroidPublisher_SafetyLabelsUpdateRequest to + * include in the query. + * @param packageName Required. Package name of the app. + * + * @return GTLRAndroidPublisherQuery_ApplicationsDataSafety + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_SafetyLabelsUpdateRequest *)object + packageName:(NSString *)packageName; + +@end + /** * Creates a new device tier config for an app. * diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h index 053f1c622..aa0d7c24c 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h @@ -9137,7 +9137,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType * Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor, * Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced * Anomaly Detection, Advanced API Scraper, Search Engine Crawlers, Public - * Cloud, Public Cloud AWS, Public Cloud Azure, and Public Cloud GCP. + * Clouds, Public Cloud AWS, Public Cloud Azure, and Public Cloud Google. */ @property(nonatomic, strong, nullable) NSArray *botReasons; @@ -10718,7 +10718,11 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubObjects.h b/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubObjects.h index 8d01ac387..37f4d0d69 100644 --- a/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubObjects.h +++ b/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubObjects.h @@ -232,7 +232,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAppHub_ReconciliationOperationMetadata_E /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m index a598bd20b..db54ea335 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m +++ b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m @@ -1020,9 +1020,9 @@ @implementation GTLRArtifactRegistry_RemoteRepositoryConfig @implementation GTLRArtifactRegistry_Repository @dynamic cleanupPolicies, cleanupPolicyDryRun, createTime, descriptionProperty, - dockerConfig, format, kmsKeyName, labels, mavenConfig, mode, name, - remoteRepositoryConfig, satisfiesPzs, sizeBytes, updateTime, - virtualRepositoryConfig; + disallowUnspecifiedMode, dockerConfig, format, kmsKeyName, labels, + mavenConfig, mode, name, remoteRepositoryConfig, satisfiesPzs, + sizeBytes, updateTime, virtualRepositoryConfig; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h index 3ce92a5d5..a4393e57d 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h +++ b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h @@ -664,7 +664,11 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -2139,6 +2143,13 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** + * disallowUnspecifiedMode + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disallowUnspecifiedMode; + /** * Docker repository config contains repository level configuration for the * repositories of docker type. diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h index 02a8380af..c541f1feb 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h @@ -300,7 +300,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_NetworkConfig_PeeringMode_Priva /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/BigQueryConnectionService/GTLRBigQueryConnectionServiceObjects.m b/Sources/GeneratedServices/BigQueryConnectionService/GTLRBigQueryConnectionServiceObjects.m index 7004a508b..fea2d3767 100644 --- a/Sources/GeneratedServices/BigQueryConnectionService/GTLRBigQueryConnectionServiceObjects.m +++ b/Sources/GeneratedServices/BigQueryConnectionService/GTLRBigQueryConnectionServiceObjects.m @@ -6,7 +6,7 @@ // Description: // Allows users to manage BigQuery connections to external data sources. // Documentation: -// https://cloud.google.com/bigquery/ +// https://cloud.google.com/bigquery/docs/connections-api-intro #import @@ -24,6 +24,10 @@ NSString * const kGTLRBigQueryConnectionService_CloudSqlProperties_Type_Mysql = @"MYSQL"; NSString * const kGTLRBigQueryConnectionService_CloudSqlProperties_Type_Postgres = @"POSTGRES"; +// GTLRBigQueryConnectionService_ConnectorConfigurationSecret.secretType +NSString * const kGTLRBigQueryConnectionService_ConnectorConfigurationSecret_SecretType_Plaintext = @"PLAINTEXT"; +NSString * const kGTLRBigQueryConnectionService_ConnectorConfigurationSecret_SecretType_SecretTypeUnspecified = @"SECRET_TYPE_UNSPECIFIED"; + // ---------------------------------------------------------------------------- // // GTLRBigQueryConnectionService_AuditConfig @@ -156,9 +160,9 @@ @implementation GTLRBigQueryConnectionService_CloudSqlProperties // @implementation GTLRBigQueryConnectionService_Connection -@dynamic aws, azure, cloudResource, cloudSpanner, cloudSql, creationTime, - descriptionProperty, friendlyName, hasCredential, kmsKeyName, - lastModifiedTime, name, salesforceDataCloud, spark; +@dynamic aws, azure, cloudResource, cloudSpanner, cloudSql, configuration, + creationTime, descriptionProperty, friendlyName, hasCredential, + kmsKeyName, lastModifiedTime, name, salesforceDataCloud, spark; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -167,6 +171,56 @@ @implementation GTLRBigQueryConnectionService_Connection @end +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryConnectionService_ConnectorConfiguration +// + +@implementation GTLRBigQueryConnectionService_ConnectorConfiguration +@dynamic authentication, connectorId, endpoint; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryConnectionService_ConnectorConfigurationAuthentication +// + +@implementation GTLRBigQueryConnectionService_ConnectorConfigurationAuthentication +@dynamic usernamePassword; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryConnectionService_ConnectorConfigurationEndpoint +// + +@implementation GTLRBigQueryConnectionService_ConnectorConfigurationEndpoint +@dynamic hostPort; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryConnectionService_ConnectorConfigurationSecret +// + +@implementation GTLRBigQueryConnectionService_ConnectorConfigurationSecret +@dynamic plaintext, secretType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryConnectionService_ConnectorConfigurationUsernamePassword +// + +@implementation GTLRBigQueryConnectionService_ConnectorConfigurationUsernamePassword +@dynamic password, username; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigQueryConnectionService_Empty diff --git a/Sources/GeneratedServices/BigQueryConnectionService/GTLRBigQueryConnectionServiceQuery.m b/Sources/GeneratedServices/BigQueryConnectionService/GTLRBigQueryConnectionServiceQuery.m index e08ba55cc..0045ca4d6 100644 --- a/Sources/GeneratedServices/BigQueryConnectionService/GTLRBigQueryConnectionServiceQuery.m +++ b/Sources/GeneratedServices/BigQueryConnectionService/GTLRBigQueryConnectionServiceQuery.m @@ -6,7 +6,7 @@ // Description: // Allows users to manage BigQuery connections to external data sources. // Documentation: -// https://cloud.google.com/bigquery/ +// https://cloud.google.com/bigquery/docs/connections-api-intro #import diff --git a/Sources/GeneratedServices/BigQueryConnectionService/GTLRBigQueryConnectionServiceService.m b/Sources/GeneratedServices/BigQueryConnectionService/GTLRBigQueryConnectionServiceService.m index 319322ecd..0aaf9bc6e 100644 --- a/Sources/GeneratedServices/BigQueryConnectionService/GTLRBigQueryConnectionServiceService.m +++ b/Sources/GeneratedServices/BigQueryConnectionService/GTLRBigQueryConnectionServiceService.m @@ -6,7 +6,7 @@ // Description: // Allows users to manage BigQuery connections to external data sources. // Documentation: -// https://cloud.google.com/bigquery/ +// https://cloud.google.com/bigquery/docs/connections-api-intro #import diff --git a/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionService.h b/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionService.h index d10362360..a75d3046e 100644 --- a/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionService.h +++ b/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionService.h @@ -6,7 +6,7 @@ // Description: // Allows users to manage BigQuery connections to external data sources. // Documentation: -// https://cloud.google.com/bigquery/ +// https://cloud.google.com/bigquery/docs/connections-api-intro #import "GTLRBigQueryConnectionServiceObjects.h" #import "GTLRBigQueryConnectionServiceQuery.h" diff --git a/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionServiceObjects.h b/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionServiceObjects.h index 3e4daca33..1172927d4 100644 --- a/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionServiceObjects.h +++ b/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionServiceObjects.h @@ -6,7 +6,7 @@ // Description: // Allows users to manage BigQuery connections to external data sources. // Documentation: -// https://cloud.google.com/bigquery/ +// https://cloud.google.com/bigquery/docs/connections-api-intro #import @@ -25,6 +25,11 @@ @class GTLRBigQueryConnectionService_CloudSqlCredential; @class GTLRBigQueryConnectionService_CloudSqlProperties; @class GTLRBigQueryConnectionService_Connection; +@class GTLRBigQueryConnectionService_ConnectorConfiguration; +@class GTLRBigQueryConnectionService_ConnectorConfigurationAuthentication; +@class GTLRBigQueryConnectionService_ConnectorConfigurationEndpoint; +@class GTLRBigQueryConnectionService_ConnectorConfigurationSecret; +@class GTLRBigQueryConnectionService_ConnectorConfigurationUsernamePassword; @class GTLRBigQueryConnectionService_Expr; @class GTLRBigQueryConnectionService_GetPolicyOptions; @class GTLRBigQueryConnectionService_MetastoreServiceConfig; @@ -93,6 +98,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryConnectionService_CloudSqlProper */ FOUNDATION_EXTERN NSString * const kGTLRBigQueryConnectionService_CloudSqlProperties_Type_Postgres; +// ---------------------------------------------------------------------------- +// GTLRBigQueryConnectionService_ConnectorConfigurationSecret.secretType + +/** Value: "PLAINTEXT" */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryConnectionService_ConnectorConfigurationSecret_SecretType_Plaintext; +/** Value: "SECRET_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryConnectionService_ConnectorConfigurationSecret_SecretType_SecretTypeUnspecified; + /** * Specifies the audit configuration for a service. The configuration * determines which permission types are logged, and what identities, if any, @@ -308,7 +321,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryConnectionService_CloudSqlProper /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -466,6 +483,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryConnectionService_CloudSqlProper /** Cloud SQL properties. */ @property(nonatomic, strong, nullable) GTLRBigQueryConnectionService_CloudSqlProperties *cloudSql; +/** Optional. Connector configuration. */ +@property(nonatomic, strong, nullable) GTLRBigQueryConnectionService_ConnectorConfiguration *configuration; + /** * Output only. The creation timestamp of the connection. * @@ -522,6 +542,91 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryConnectionService_CloudSqlProper @end +/** + * Represents concrete parameter values for Connector Configuration. + */ +@interface GTLRBigQueryConnectionService_ConnectorConfiguration : GTLRObject + +/** Client authentication. */ +@property(nonatomic, strong, nullable) GTLRBigQueryConnectionService_ConnectorConfigurationAuthentication *authentication; + +/** + * Required. Immutable. The ID of the Connector these parameters are configured + * for. + */ +@property(nonatomic, copy, nullable) NSString *connectorId; + +/** + * Specifies how to reach the remote system this connection is pointing to. + */ +@property(nonatomic, strong, nullable) GTLRBigQueryConnectionService_ConnectorConfigurationEndpoint *endpoint; + +@end + + +/** + * Client authentication. + */ +@interface GTLRBigQueryConnectionService_ConnectorConfigurationAuthentication : GTLRObject + +/** Username/password authentication. */ +@property(nonatomic, strong, nullable) GTLRBigQueryConnectionService_ConnectorConfigurationUsernamePassword *usernamePassword; + +@end + + +/** + * Remote endpoint specification. + */ +@interface GTLRBigQueryConnectionService_ConnectorConfigurationEndpoint : GTLRObject + +/** + * Host and port in a format of `hostname:port` as defined in + * https://www.ietf.org/rfc/rfc3986.html#section-3.2.2 and + * https://www.ietf.org/rfc/rfc3986.html#section-3.2.3. + */ +@property(nonatomic, copy, nullable) NSString *hostPort; + +@end + + +/** + * Secret value parameter. + */ +@interface GTLRBigQueryConnectionService_ConnectorConfigurationSecret : GTLRObject + +/** Input only. Secret as plaintext. */ +@property(nonatomic, copy, nullable) NSString *plaintext; + +/** + * Output only. Indicates type of secret. Can be used to check type of stored + * secret value even if it's `INPUT_ONLY`. + * + * Likely values: + * @arg @c kGTLRBigQueryConnectionService_ConnectorConfigurationSecret_SecretType_Plaintext + * Value "PLAINTEXT" + * @arg @c kGTLRBigQueryConnectionService_ConnectorConfigurationSecret_SecretType_SecretTypeUnspecified + * Value "SECRET_TYPE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *secretType; + +@end + + +/** + * Username and Password authentication. + */ +@interface GTLRBigQueryConnectionService_ConnectorConfigurationUsernamePassword : GTLRObject + +/** Required. Password. */ +@property(nonatomic, strong, nullable) GTLRBigQueryConnectionService_ConnectorConfigurationSecret *password; + +/** Required. Username. */ +@property(nonatomic, copy, nullable) NSString *username; + +@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 diff --git a/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionServiceQuery.h b/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionServiceQuery.h index 4ab19e2c2..00ab1c8f0 100644 --- a/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionServiceQuery.h +++ b/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionServiceQuery.h @@ -6,7 +6,7 @@ // Description: // Allows users to manage BigQuery connections to external data sources. // Documentation: -// https://cloud.google.com/bigquery/ +// https://cloud.google.com/bigquery/docs/connections-api-intro #import diff --git a/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionServiceService.h b/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionServiceService.h index 68ddfd502..7ffd35c92 100644 --- a/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionServiceService.h +++ b/Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/GTLRBigQueryConnectionServiceService.h @@ -6,7 +6,7 @@ // Description: // Allows users to manage BigQuery connections to external data sources. // Documentation: -// https://cloud.google.com/bigquery/ +// https://cloud.google.com/bigquery/docs/connections-api-intro #import diff --git a/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceObjects.h b/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceObjects.h index 744de39dd..3c18aa193 100644 --- a/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceObjects.h +++ b/Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/GTLRBigQueryDataPolicyServiceObjects.h @@ -297,7 +297,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataPolicyService_DataPolicy_Dat /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m b/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m index 5d3075384..3e6b11ff7 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m +++ b/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m @@ -500,6 +500,24 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryDataTransfer_UnenrollDataSourcesRequest +// + +@implementation GTLRBigQueryDataTransfer_UnenrollDataSourcesRequest +@dynamic dataSourceIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dataSourceIds" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigQueryDataTransfer_UserInfo diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferQuery.m b/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferQuery.m index 57ee92490..8cbdc472a 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferQuery.m +++ b/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferQuery.m @@ -529,6 +529,33 @@ + (instancetype)queryWithObject:(GTLRBigQueryDataTransfer_StartManualTransferRun @end +@implementation GTLRBigQueryDataTransferQuery_ProjectsLocationsUnenrollDataSources + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRBigQueryDataTransfer_UnenrollDataSourcesRequest *)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}:unenrollDataSources"; + GTLRBigQueryDataTransferQuery_ProjectsLocationsUnenrollDataSources *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRBigQueryDataTransfer_Empty class]; + query.loggingName = @"bigquerydatatransfer.projects.locations.unenrollDataSources"; + return query; +} + +@end + @implementation GTLRBigQueryDataTransferQuery_ProjectsTransferConfigsCreate @dynamic authorizationCode, parent, serviceAccountName, versionInfo; diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h index 157e2cfc8..fd2f0ce41 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h +++ b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h @@ -1296,6 +1296,21 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransfer_TransferRun_State_T @end +/** + * A request to unenroll a set of data sources so they are no longer visible in + * the BigQuery UI's `Transfer` tab. + */ +@interface GTLRBigQueryDataTransfer_UnenrollDataSourcesRequest : GTLRObject + +/** + * Data sources that are unenrolled. It is required to provide at least one + * data source id. + */ +@property(nonatomic, strong, nullable) NSArray *dataSourceIds; + +@end + + /** * Information about a user. */ diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h index 6d8011f4b..5bf7d5152 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h +++ b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h @@ -1125,6 +1125,43 @@ GTLR_DEPRECATED @end +/** + * Unenroll data sources in a user project. This allows users to remove + * transfer configurations for these data sources. They will no longer appear + * in the ListDataSources RPC and will also no longer appear in the [BigQuery + * UI](https://console.cloud.google.com/bigquery). + * + * Method: bigquerydatatransfer.projects.locations.unenrollDataSources + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform + */ +@interface GTLRBigQueryDataTransferQuery_ProjectsLocationsUnenrollDataSources : GTLRBigQueryDataTransferQuery + +/** The name of the project resource in the form: `projects/{project_id}` */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBigQueryDataTransfer_Empty. + * + * Unenroll data sources in a user project. This allows users to remove + * transfer configurations for these data sources. They will no longer appear + * in the ListDataSources RPC and will also no longer appear in the [BigQuery + * UI](https://console.cloud.google.com/bigquery). + * + * @param object The @c GTLRBigQueryDataTransfer_UnenrollDataSourcesRequest to + * include in the query. + * @param name The name of the project resource in the form: + * `projects/{project_id}` + * + * @return GTLRBigQueryDataTransferQuery_ProjectsLocationsUnenrollDataSources + */ ++ (instancetype)queryWithObject:(GTLRBigQueryDataTransfer_UnenrollDataSourcesRequest *)object + name:(NSString *)name; + +@end + /** * Creates a new data transfer configuration. * diff --git a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m index 255066fb9..1b38d39ba 100644 --- a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m +++ b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m @@ -66,11 +66,80 @@ NSString * const kGTLRBigquery_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; NSString * const kGTLRBigquery_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; +// GTLRBigquery_BiEngineReason.code +NSString * const kGTLRBigquery_BiEngineReason_Code_CodeUnspecified = @"CODE_UNSPECIFIED"; +NSString * const kGTLRBigquery_BiEngineReason_Code_InputTooLarge = @"INPUT_TOO_LARGE"; +NSString * const kGTLRBigquery_BiEngineReason_Code_InsufficientReservation = @"INSUFFICIENT_RESERVATION"; +NSString * const kGTLRBigquery_BiEngineReason_Code_NoReservation = @"NO_RESERVATION"; +NSString * const kGTLRBigquery_BiEngineReason_Code_OtherReason = @"OTHER_REASON"; +NSString * const kGTLRBigquery_BiEngineReason_Code_TableExcluded = @"TABLE_EXCLUDED"; +NSString * const kGTLRBigquery_BiEngineReason_Code_UnsupportedSqlText = @"UNSUPPORTED_SQL_TEXT"; + +// GTLRBigquery_BiEngineStatistics.accelerationMode +NSString * const kGTLRBigquery_BiEngineStatistics_AccelerationMode_BiEngineAccelerationModeUnspecified = @"BI_ENGINE_ACCELERATION_MODE_UNSPECIFIED"; +NSString * const kGTLRBigquery_BiEngineStatistics_AccelerationMode_BiEngineDisabled = @"BI_ENGINE_DISABLED"; +NSString * const kGTLRBigquery_BiEngineStatistics_AccelerationMode_FullInput = @"FULL_INPUT"; +NSString * const kGTLRBigquery_BiEngineStatistics_AccelerationMode_FullQuery = @"FULL_QUERY"; +NSString * const kGTLRBigquery_BiEngineStatistics_AccelerationMode_PartialInput = @"PARTIAL_INPUT"; + +// GTLRBigquery_BiEngineStatistics.biEngineMode +NSString * const kGTLRBigquery_BiEngineStatistics_BiEngineMode_AccelerationModeUnspecified = @"ACCELERATION_MODE_UNSPECIFIED"; +NSString * const kGTLRBigquery_BiEngineStatistics_BiEngineMode_Disabled = @"DISABLED"; +NSString * const kGTLRBigquery_BiEngineStatistics_BiEngineMode_Full = @"FULL"; +NSString * const kGTLRBigquery_BiEngineStatistics_BiEngineMode_Partial = @"PARTIAL"; + +// GTLRBigquery_BigLakeConfiguration.fileFormat +NSString * const kGTLRBigquery_BigLakeConfiguration_FileFormat_FileFormatUnspecified = @"FILE_FORMAT_UNSPECIFIED"; +NSString * const kGTLRBigquery_BigLakeConfiguration_FileFormat_Parquet = @"PARQUET"; + +// GTLRBigquery_BigLakeConfiguration.tableFormat +NSString * const kGTLRBigquery_BigLakeConfiguration_TableFormat_Iceberg = @"ICEBERG"; +NSString * const kGTLRBigquery_BigLakeConfiguration_TableFormat_TableFormatUnspecified = @"TABLE_FORMAT_UNSPECIFIED"; + +// GTLRBigquery_Dataset.defaultRoundingMode +NSString * const kGTLRBigquery_Dataset_DefaultRoundingMode_RoundHalfAwayFromZero = @"ROUND_HALF_AWAY_FROM_ZERO"; +NSString * const kGTLRBigquery_Dataset_DefaultRoundingMode_RoundHalfEven = @"ROUND_HALF_EVEN"; +NSString * const kGTLRBigquery_Dataset_DefaultRoundingMode_RoundingModeUnspecified = @"ROUNDING_MODE_UNSPECIFIED"; + +// GTLRBigquery_Dataset.storageBillingModel +NSString * const kGTLRBigquery_Dataset_StorageBillingModel_Logical = @"LOGICAL"; +NSString * const kGTLRBigquery_Dataset_StorageBillingModel_Physical = @"PHYSICAL"; +NSString * const kGTLRBigquery_Dataset_StorageBillingModel_StorageBillingModelUnspecified = @"STORAGE_BILLING_MODEL_UNSPECIFIED"; + // GTLRBigquery_DatasetAccessEntry.targetTypes NSString * const kGTLRBigquery_DatasetAccessEntry_TargetTypes_Routines = @"ROUTINES"; NSString * const kGTLRBigquery_DatasetAccessEntry_TargetTypes_TargetTypeUnspecified = @"TARGET_TYPE_UNSPECIFIED"; NSString * const kGTLRBigquery_DatasetAccessEntry_TargetTypes_Views = @"VIEWS"; +// GTLRBigquery_ExplainQueryStage.computeMode +NSString * const kGTLRBigquery_ExplainQueryStage_ComputeMode_BiEngine = @"BI_ENGINE"; +NSString * const kGTLRBigquery_ExplainQueryStage_ComputeMode_Bigquery = @"BIGQUERY"; +NSString * const kGTLRBigquery_ExplainQueryStage_ComputeMode_ComputeModeUnspecified = @"COMPUTE_MODE_UNSPECIFIED"; + +// GTLRBigquery_ExternalDataConfiguration.decimalTargetTypes +NSString * const kGTLRBigquery_ExternalDataConfiguration_DecimalTargetTypes_Bignumeric = @"BIGNUMERIC"; +NSString * const kGTLRBigquery_ExternalDataConfiguration_DecimalTargetTypes_DecimalTargetTypeUnspecified = @"DECIMAL_TARGET_TYPE_UNSPECIFIED"; +NSString * const kGTLRBigquery_ExternalDataConfiguration_DecimalTargetTypes_Numeric = @"NUMERIC"; +NSString * const kGTLRBigquery_ExternalDataConfiguration_DecimalTargetTypes_String = @"STRING"; + +// GTLRBigquery_ExternalDataConfiguration.fileSetSpecType +NSString * const kGTLRBigquery_ExternalDataConfiguration_FileSetSpecType_FileSetSpecTypeFileSystemMatch = @"FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH"; +NSString * const kGTLRBigquery_ExternalDataConfiguration_FileSetSpecType_FileSetSpecTypeNewLineDelimitedManifest = @"FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST"; + +// GTLRBigquery_ExternalDataConfiguration.jsonExtension +NSString * const kGTLRBigquery_ExternalDataConfiguration_JsonExtension_Geojson = @"GEOJSON"; +NSString * const kGTLRBigquery_ExternalDataConfiguration_JsonExtension_JsonExtensionUnspecified = @"JSON_EXTENSION_UNSPECIFIED"; + +// GTLRBigquery_ExternalDataConfiguration.metadataCacheMode +NSString * const kGTLRBigquery_ExternalDataConfiguration_MetadataCacheMode_Automatic = @"AUTOMATIC"; +NSString * const kGTLRBigquery_ExternalDataConfiguration_MetadataCacheMode_Manual = @"MANUAL"; +NSString * const kGTLRBigquery_ExternalDataConfiguration_MetadataCacheMode_MetadataCacheModeUnspecified = @"METADATA_CACHE_MODE_UNSPECIFIED"; + +// GTLRBigquery_ExternalDataConfiguration.objectMetadata +NSString * const kGTLRBigquery_ExternalDataConfiguration_ObjectMetadata_Directory = @"DIRECTORY"; +NSString * const kGTLRBigquery_ExternalDataConfiguration_ObjectMetadata_ObjectMetadataUnspecified = @"OBJECT_METADATA_UNSPECIFIED"; +NSString * const kGTLRBigquery_ExternalDataConfiguration_ObjectMetadata_Simple = @"SIMPLE"; + // GTLRBigquery_HparamTuningTrial.status NSString * const kGTLRBigquery_HparamTuningTrial_Status_Failed = @"FAILED"; NSString * const kGTLRBigquery_HparamTuningTrial_Status_Infeasible = @"INFEASIBLE"; @@ -80,6 +149,49 @@ NSString * const kGTLRBigquery_HparamTuningTrial_Status_Succeeded = @"SUCCEEDED"; NSString * const kGTLRBigquery_HparamTuningTrial_Status_TrialStatusUnspecified = @"TRIAL_STATUS_UNSPECIFIED"; +// GTLRBigquery_IndexUnusedReason.code +NSString * const kGTLRBigquery_IndexUnusedReason_Code_BaseTableTooLarge = @"BASE_TABLE_TOO_LARGE"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_BaseTableTooSmall = @"BASE_TABLE_TOO_SMALL"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_BaseTableTruncated = @"BASE_TABLE_TRUNCATED"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_CodeUnspecified = @"CODE_UNSPECIFIED"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_EstimatedPerformanceGainTooLow = @"ESTIMATED_PERFORMANCE_GAIN_TOO_LOW"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_IndexConfigModified = @"INDEX_CONFIG_MODIFIED"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_IndexConfigNotAvailable = @"INDEX_CONFIG_NOT_AVAILABLE"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_IndexSuppressedByFunctionOption = @"INDEX_SUPPRESSED_BY_FUNCTION_OPTION"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_InternalError = @"INTERNAL_ERROR"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_MismatchedTextAnalyzer = @"MISMATCHED_TEXT_ANALYZER"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_NoPruningPower = @"NO_PRUNING_POWER"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_NotSupportedInStandardEdition = @"NOT_SUPPORTED_IN_STANDARD_EDITION"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_OptimizedWithMaterializedView = @"OPTIMIZED_WITH_MATERIALIZED_VIEW"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_OtherReason = @"OTHER_REASON"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_PendingIndexCreation = @"PENDING_INDEX_CREATION"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_QueryCacheHit = @"QUERY_CACHE_HIT"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_SecuredByDataMasking = @"SECURED_BY_DATA_MASKING"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_TimeTravelQuery = @"TIME_TRAVEL_QUERY"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_UnindexedSearchFields = @"UNINDEXED_SEARCH_FIELDS"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_UnsupportedSearchPattern = @"UNSUPPORTED_SEARCH_PATTERN"; + +// GTLRBigquery_JobConfigurationLoad.decimalTargetTypes +NSString * const kGTLRBigquery_JobConfigurationLoad_DecimalTargetTypes_Bignumeric = @"BIGNUMERIC"; +NSString * const kGTLRBigquery_JobConfigurationLoad_DecimalTargetTypes_DecimalTargetTypeUnspecified = @"DECIMAL_TARGET_TYPE_UNSPECIFIED"; +NSString * const kGTLRBigquery_JobConfigurationLoad_DecimalTargetTypes_Numeric = @"NUMERIC"; +NSString * const kGTLRBigquery_JobConfigurationLoad_DecimalTargetTypes_String = @"STRING"; + +// GTLRBigquery_JobConfigurationLoad.fileSetSpecType +NSString * const kGTLRBigquery_JobConfigurationLoad_FileSetSpecType_FileSetSpecTypeFileSystemMatch = @"FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH"; +NSString * const kGTLRBigquery_JobConfigurationLoad_FileSetSpecType_FileSetSpecTypeNewLineDelimitedManifest = @"FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST"; + +// GTLRBigquery_JobConfigurationLoad.jsonExtension +NSString * const kGTLRBigquery_JobConfigurationLoad_JsonExtension_Geojson = @"GEOJSON"; +NSString * const kGTLRBigquery_JobConfigurationLoad_JsonExtension_JsonExtensionUnspecified = @"JSON_EXTENSION_UNSPECIFIED"; + +// GTLRBigquery_JobConfigurationTableCopy.operationType +NSString * const kGTLRBigquery_JobConfigurationTableCopy_OperationType_Clone = @"CLONE"; +NSString * const kGTLRBigquery_JobConfigurationTableCopy_OperationType_Copy = @"COPY"; +NSString * const kGTLRBigquery_JobConfigurationTableCopy_OperationType_OperationTypeUnspecified = @"OPERATION_TYPE_UNSPECIFIED"; +NSString * const kGTLRBigquery_JobConfigurationTableCopy_OperationType_Restore = @"RESTORE"; +NSString * const kGTLRBigquery_JobConfigurationTableCopy_OperationType_Snapshot = @"SNAPSHOT"; + // GTLRBigquery_JobCreationReason.code NSString * const kGTLRBigquery_JobCreationReason_Code_CodeUnspecified = @"CODE_UNSPECIFIED"; NSString * const kGTLRBigquery_JobCreationReason_Code_LargeResults = @"LARGE_RESULTS"; @@ -87,6 +199,51 @@ NSString * const kGTLRBigquery_JobCreationReason_Code_Other = @"OTHER"; NSString * const kGTLRBigquery_JobCreationReason_Code_Requested = @"REQUESTED"; +// GTLRBigquery_MaterializedView.rejectedReason +NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTableDataChange = @"BASE_TABLE_DATA_CHANGE"; +NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTableExpiredPartition = @"BASE_TABLE_EXPIRED_PARTITION"; +NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTableFineGrainedSecurityPolicy = @"BASE_TABLE_FINE_GRAINED_SECURITY_POLICY"; +NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTableIncompatibleMetadataChange = @"BASE_TABLE_INCOMPATIBLE_METADATA_CHANGE"; +NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTablePartitionExpirationChange = @"BASE_TABLE_PARTITION_EXPIRATION_CHANGE"; +NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTableTooStale = @"BASE_TABLE_TOO_STALE"; +NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTableTruncated = @"BASE_TABLE_TRUNCATED"; +NSString * const kGTLRBigquery_MaterializedView_RejectedReason_Cost = @"COST"; +NSString * const kGTLRBigquery_MaterializedView_RejectedReason_NoData = @"NO_DATA"; +NSString * const kGTLRBigquery_MaterializedView_RejectedReason_OutOfTimeTravelWindow = @"OUT_OF_TIME_TRAVEL_WINDOW"; +NSString * const kGTLRBigquery_MaterializedView_RejectedReason_RejectedReasonUnspecified = @"REJECTED_REASON_UNSPECIFIED"; +NSString * const kGTLRBigquery_MaterializedView_RejectedReason_TimeZone = @"TIME_ZONE"; + +// GTLRBigquery_MlStatistics.modelType +NSString * const kGTLRBigquery_MlStatistics_ModelType_Arima = @"ARIMA"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_ArimaPlus = @"ARIMA_PLUS"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_ArimaPlusXreg = @"ARIMA_PLUS_XREG"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_Autoencoder = @"AUTOENCODER"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_AutomlClassifier = @"AUTOML_CLASSIFIER"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_AutomlRegressor = @"AUTOML_REGRESSOR"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_BoostedTreeClassifier = @"BOOSTED_TREE_CLASSIFIER"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_BoostedTreeRegressor = @"BOOSTED_TREE_REGRESSOR"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_DnnClassifier = @"DNN_CLASSIFIER"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_DnnLinearCombinedClassifier = @"DNN_LINEAR_COMBINED_CLASSIFIER"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_DnnLinearCombinedRegressor = @"DNN_LINEAR_COMBINED_REGRESSOR"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_DnnRegressor = @"DNN_REGRESSOR"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_Kmeans = @"KMEANS"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_LinearRegression = @"LINEAR_REGRESSION"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_LogisticRegression = @"LOGISTIC_REGRESSION"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_MatrixFactorization = @"MATRIX_FACTORIZATION"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_ModelTypeUnspecified = @"MODEL_TYPE_UNSPECIFIED"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_Onnx = @"ONNX"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_Pca = @"PCA"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_RandomForestClassifier = @"RANDOM_FOREST_CLASSIFIER"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_RandomForestRegressor = @"RANDOM_FOREST_REGRESSOR"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_Tensorflow = @"TENSORFLOW"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_TensorflowLite = @"TENSORFLOW_LITE"; +NSString * const kGTLRBigquery_MlStatistics_ModelType_Xgboost = @"XGBOOST"; + +// GTLRBigquery_MlStatistics.trainingType +NSString * const kGTLRBigquery_MlStatistics_TrainingType_HparamTuning = @"HPARAM_TUNING"; +NSString * const kGTLRBigquery_MlStatistics_TrainingType_SingleTraining = @"SINGLE_TRAINING"; +NSString * const kGTLRBigquery_MlStatistics_TrainingType_TrainingTypeUnspecified = @"TRAINING_TYPE_UNSPECIFIED"; + // GTLRBigquery_Model.modelType NSString * const kGTLRBigquery_Model_ModelType_Arima = @"ARIMA"; NSString * const kGTLRBigquery_Model_ModelType_ArimaPlus = @"ARIMA_PLUS"; @@ -113,6 +270,11 @@ NSString * const kGTLRBigquery_Model_ModelType_TensorflowLite = @"TENSORFLOW_LITE"; NSString * const kGTLRBigquery_Model_ModelType_Xgboost = @"XGBOOST"; +// GTLRBigquery_QueryRequest.jobCreationMode +NSString * const kGTLRBigquery_QueryRequest_JobCreationMode_JobCreationModeUnspecified = @"JOB_CREATION_MODE_UNSPECIFIED"; +NSString * const kGTLRBigquery_QueryRequest_JobCreationMode_JobCreationOptional = @"JOB_CREATION_OPTIONAL"; +NSString * const kGTLRBigquery_QueryRequest_JobCreationMode_JobCreationRequired = @"JOB_CREATION_REQUIRED"; + // 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"; @@ -149,6 +311,22 @@ NSString * const kGTLRBigquery_Routine_SecurityMode_Invoker = @"INVOKER"; NSString * const kGTLRBigquery_Routine_SecurityMode_SecurityModeUnspecified = @"SECURITY_MODE_UNSPECIFIED"; +// GTLRBigquery_ScriptOptions.keyResultStatement +NSString * const kGTLRBigquery_ScriptOptions_KeyResultStatement_FirstSelect = @"FIRST_SELECT"; +NSString * const kGTLRBigquery_ScriptOptions_KeyResultStatement_KeyResultStatementKindUnspecified = @"KEY_RESULT_STATEMENT_KIND_UNSPECIFIED"; +NSString * const kGTLRBigquery_ScriptOptions_KeyResultStatement_Last = @"LAST"; + +// GTLRBigquery_ScriptStatistics.evaluationKind +NSString * const kGTLRBigquery_ScriptStatistics_EvaluationKind_EvaluationKindUnspecified = @"EVALUATION_KIND_UNSPECIFIED"; +NSString * const kGTLRBigquery_ScriptStatistics_EvaluationKind_Expression = @"EXPRESSION"; +NSString * const kGTLRBigquery_ScriptStatistics_EvaluationKind_Statement = @"STATEMENT"; + +// GTLRBigquery_SearchStatistics.indexUsageMode +NSString * const kGTLRBigquery_SearchStatistics_IndexUsageMode_FullyUsed = @"FULLY_USED"; +NSString * const kGTLRBigquery_SearchStatistics_IndexUsageMode_IndexUsageModeUnspecified = @"INDEX_USAGE_MODE_UNSPECIFIED"; +NSString * const kGTLRBigquery_SearchStatistics_IndexUsageMode_PartiallyUsed = @"PARTIALLY_USED"; +NSString * const kGTLRBigquery_SearchStatistics_IndexUsageMode_Unused = @"UNUSED"; + // GTLRBigquery_StandardSqlDataType.typeKind NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Array = @"ARRAY"; NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Bignumeric = @"BIGNUMERIC"; @@ -169,6 +347,29 @@ NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Timestamp = @"TIMESTAMP"; NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_TypeKindUnspecified = @"TYPE_KIND_UNSPECIFIED"; +// GTLRBigquery_Table.defaultRoundingMode +NSString * const kGTLRBigquery_Table_DefaultRoundingMode_RoundHalfAwayFromZero = @"ROUND_HALF_AWAY_FROM_ZERO"; +NSString * const kGTLRBigquery_Table_DefaultRoundingMode_RoundHalfEven = @"ROUND_HALF_EVEN"; +NSString * const kGTLRBigquery_Table_DefaultRoundingMode_RoundingModeUnspecified = @"ROUNDING_MODE_UNSPECIFIED"; + +// GTLRBigquery_TableFieldSchema.roundingMode +NSString * const kGTLRBigquery_TableFieldSchema_RoundingMode_RoundHalfAwayFromZero = @"ROUND_HALF_AWAY_FROM_ZERO"; +NSString * const kGTLRBigquery_TableFieldSchema_RoundingMode_RoundHalfEven = @"ROUND_HALF_EVEN"; +NSString * const kGTLRBigquery_TableFieldSchema_RoundingMode_RoundingModeUnspecified = @"ROUNDING_MODE_UNSPECIFIED"; + +// GTLRBigquery_TableMetadataCacheUsage.unusedReason +NSString * const kGTLRBigquery_TableMetadataCacheUsage_UnusedReason_ExceededMaxStaleness = @"EXCEEDED_MAX_STALENESS"; +NSString * const kGTLRBigquery_TableMetadataCacheUsage_UnusedReason_MetadataCachingNotEnabled = @"METADATA_CACHING_NOT_ENABLED"; +NSString * const kGTLRBigquery_TableMetadataCacheUsage_UnusedReason_OtherReason = @"OTHER_REASON"; +NSString * const kGTLRBigquery_TableMetadataCacheUsage_UnusedReason_UnusedReasonUnspecified = @"UNUSED_REASON_UNSPECIFIED"; + +// GTLRBigquery_TableReplicationInfo.replicationStatus +NSString * const kGTLRBigquery_TableReplicationInfo_ReplicationStatus_Active = @"ACTIVE"; +NSString * const kGTLRBigquery_TableReplicationInfo_ReplicationStatus_PermissionDenied = @"PERMISSION_DENIED"; +NSString * const kGTLRBigquery_TableReplicationInfo_ReplicationStatus_ReplicationStatusUnspecified = @"REPLICATION_STATUS_UNSPECIFIED"; +NSString * const kGTLRBigquery_TableReplicationInfo_ReplicationStatus_SourceDeleted = @"SOURCE_DELETED"; +NSString * const kGTLRBigquery_TableReplicationInfo_ReplicationStatus_UnsupportedConfiguration = @"UNSUPPORTED_CONFIGURATION"; + // GTLRBigquery_TrainingOptions.boosterType NSString * const kGTLRBigquery_TrainingOptions_BoosterType_BoosterTypeUnspecified = @"BOOSTER_TYPE_UNSPECIFIED"; NSString * const kGTLRBigquery_TrainingOptions_BoosterType_Dart = @"DART"; @@ -709,7 +910,8 @@ @implementation GTLRBigquery_BigtableColumnFamily // @implementation GTLRBigquery_BigtableOptions -@dynamic columnFamilies, ignoreUnspecifiedColumnFamilies, readRowkeyAsString; +@dynamic columnFamilies, ignoreUnspecifiedColumnFamilies, + outputColumnFamiliesAsJson, readRowkeyAsString; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -950,6 +1152,16 @@ @implementation GTLRBigquery_CsvOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_DataFormatOptions +// + +@implementation GTLRBigquery_DataFormatOptions +@dynamic useInt64Timestamp; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_DataMaskingStatistics @@ -970,8 +1182,9 @@ @implementation GTLRBigquery_Dataset defaultEncryptionConfiguration, defaultPartitionExpirationMs, defaultRoundingMode, defaultTableExpirationMs, descriptionProperty, ETag, externalDatasetReference, friendlyName, identifier, - isCaseInsensitive, kind, labels, lastModifiedTime, location, - maxTimeTravelHours, satisfiesPzs, selfLink, storageBillingModel, tags; + isCaseInsensitive, kind, labels, lastModifiedTime, linkedDatasetSource, + location, maxTimeTravelHours, satisfiesPzs, selfLink, + storageBillingModel, tags, type; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1052,7 +1265,7 @@ @implementation GTLRBigquery_DatasetAccessEntry // @implementation GTLRBigquery_DatasetList -@dynamic datasets, ETag, kind, nextPageToken; +@dynamic datasets, ETag, kind, nextPageToken, unreachable; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -1060,7 +1273,8 @@ @implementation GTLRBigquery_DatasetList + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"datasets" : [GTLRBigquery_DatasetList_Datasets_Item class] + @"datasets" : [GTLRBigquery_DatasetList_Datasets_Item class], + @"unreachable" : [NSString class] }; return map; } @@ -1084,6 +1298,12 @@ @implementation GTLRBigquery_DatasetList_Datasets_Item 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 @@ -1256,12 +1476,13 @@ @implementation GTLRBigquery_EvaluationMetrics // @implementation GTLRBigquery_ExplainQueryStage -@dynamic completedParallelInputs, computeMsAvg, computeMsMax, computeRatioAvg, - computeRatioMax, endMs, identifier, inputStages, name, parallelInputs, - readMsAvg, readMsMax, readRatioAvg, readRatioMax, recordsRead, - recordsWritten, shuffleOutputBytes, shuffleOutputBytesSpilled, slotMs, - startMs, status, steps, waitMsAvg, waitMsMax, waitRatioAvg, - waitRatioMax, writeMsAvg, writeMsMax, writeRatioAvg, writeRatioMax; +@dynamic completedParallelInputs, computeMode, computeMsAvg, computeMsMax, + computeRatioAvg, computeRatioMax, endMs, identifier, inputStages, name, + parallelInputs, readMsAvg, readMsMax, readRatioAvg, readRatioMax, + recordsRead, recordsWritten, shuffleOutputBytes, + shuffleOutputBytesSpilled, slotMs, startMs, status, steps, waitMsAvg, + waitMsMax, waitRatioAvg, waitRatioMax, writeMsAvg, writeMsMax, + writeRatioAvg, writeRatioMax; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -1312,6 +1533,16 @@ @implementation GTLRBigquery_Explanation @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_ExportDataStatistics +// + +@implementation GTLRBigquery_ExportDataStatistics +@dynamic fileCount, rowCount; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_Expr @@ -1335,9 +1566,10 @@ @implementation GTLRBigquery_Expr @implementation GTLRBigquery_ExternalDataConfiguration @dynamic autodetect, avroOptions, bigtableOptions, compression, connectionId, csvOptions, decimalTargetTypes, fileSetSpecType, googleSheetsOptions, - hivePartitioningOptions, ignoreUnknownValues, jsonOptions, - maxBadRecords, metadataCacheMode, objectMetadata, parquetOptions, - referenceFileSchemaUri, schema, sourceFormat, sourceUris; + hivePartitioningOptions, ignoreUnknownValues, jsonExtension, + jsonOptions, maxBadRecords, metadataCacheMode, objectMetadata, + parquetOptions, referenceFileSchemaUri, schema, sourceFormat, + sourceUris; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1360,6 +1592,17 @@ @implementation GTLRBigquery_ExternalDatasetReference @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_ExternalServiceCost +// + +@implementation GTLRBigquery_ExternalServiceCost +@dynamic bytesBilled, bytesProcessed, externalService, reservedSlotCount, + slotMs; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_FeatureValue @@ -1453,6 +1696,16 @@ @implementation GTLRBigquery_GoogleSheetsOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_HighCardinalityJoin +// + +@implementation GTLRBigquery_HighCardinalityJoin +@dynamic leftRows, outputRows, rightRows, stepIndex; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_HivePartitioningOptions @@ -1507,6 +1760,16 @@ @implementation GTLRBigquery_IndexUnusedReason @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_InputDataChange +// + +@implementation GTLRBigquery_InputDataChange +@dynamic recordsReadDiffPercentage; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_IntArray @@ -1587,7 +1850,17 @@ @implementation GTLRBigquery_IntRange // @implementation GTLRBigquery_IterationResult -@dynamic durationMs, evalLoss, index, learnRate, trainingLoss; +@dynamic arimaResult, clusterInfos, durationMs, evalLoss, index, learnRate, + principalComponentInfos, trainingLoss; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"clusterInfos" : [GTLRBigquery_ClusterInfo class], + @"principalComponentInfos" : [GTLRBigquery_PrincipalComponentInfo class] + }; + return map; +} + @end @@ -1598,12 +1871,13 @@ @implementation GTLRBigquery_IterationResult @implementation GTLRBigquery_Job @dynamic configuration, ETag, identifier, jobCreationReason, jobReference, kind, - selfLink, statistics, status, userEmail; + principalSubject, selfLink, statistics, status, userEmail; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @"ETag" : @"etag", @"identifier" : @"id", + @"principalSubject" : @"principal_subject", @"userEmail" : @"user_email" }; return map; @@ -1659,8 +1933,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRBigquery_JobConfigurationExtract @dynamic compression, destinationFormat, destinationUri, destinationUris, - fieldDelimiter, printHeader, sourceModel, sourceTable, - useAvroLogicalTypes; + fieldDelimiter, modelExtractOptions, printHeader, sourceModel, + sourceTable, useAvroLogicalTypes; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1714,8 +1988,9 @@ @implementation GTLRBigquery_JobConfigurationQuery destinationEncryptionConfiguration, destinationTable, flattenResults, maximumBillingTier, maximumBytesBilled, parameterMode, preserveNulls, priority, query, queryParameters, rangePartitioning, - schemaUpdateOptions, tableDefinitions, timePartitioning, useLegacySql, - useQueryCache, userDefinedFunctionResources, writeDisposition; + schemaUpdateOptions, scriptOptions, systemVariables, tableDefinitions, + timePartitioning, useLegacySql, useQueryCache, + userDefinedFunctionResources, writeDisposition; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1780,7 +2055,7 @@ @implementation GTLRBigquery_JobCreationReason // @implementation GTLRBigquery_JobList -@dynamic ETag, jobs, kind, nextPageToken; +@dynamic ETag, jobs, kind, nextPageToken, unreachable; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -1788,7 +2063,8 @@ @implementation GTLRBigquery_JobList + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"jobs" : [GTLRBigquery_JobList_Jobs_Item class] + @"jobs" : [GTLRBigquery_JobList_Jobs_Item class], + @"unreachable" : [NSString class] }; return map; } @@ -1806,17 +2082,24 @@ + (NSString *)collectionItemsKey { // @implementation GTLRBigquery_JobList_Jobs_Item -@dynamic configuration, errorResult, identifier, jobReference, kind, state, - statistics, status, userEmail; +@dynamic configuration, errorResult, identifier, jobReference, kind, + principalSubject, state, statistics, status, userEmail; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @"identifier" : @"id", + @"principalSubject" : @"principal_subject", @"userEmail" : @"user_email" }; 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 @@ -1837,8 +2120,8 @@ @implementation GTLRBigquery_JobReference @implementation GTLRBigquery_JobStatistics @dynamic completionRatio, copyProperty, creationTime, dataMaskingStatistics, - endTime, extract, load, numChildJobs, parentJobId, query, - quotaDeferments, reservationId, reservationUsage, + endTime, extract, finalExecutionDurationMs, load, numChildJobs, + parentJobId, query, quotaDeferments, reservationId, reservationUsage, rowLevelSecurityStatistics, scriptStatistics, sessionInfo, startTime, totalBytesProcessed, totalSlotMs, transactionInfo; @@ -1877,20 +2160,24 @@ @implementation GTLRBigquery_JobStatistics_ReservationUsage_Item // @implementation GTLRBigquery_JobStatistics2 -@dynamic biEngineStatistics, billingTier, cacheHit, - ddlAffectedRowAccessPolicyCount, ddlDestinationTable, - ddlOperationPerformed, ddlTargetDataset, ddlTargetRoutine, - ddlTargetRowAccessPolicy, ddlTargetTable, dmlStats, - estimatedBytesProcessed, mlStatistics, modelTraining, +@dynamic biEngineStatistics, billingTier, cacheHit, dclTargetDataset, + dclTargetTable, dclTargetView, ddlAffectedRowAccessPolicyCount, + ddlDestinationTable, ddlOperationPerformed, ddlTargetDataset, + ddlTargetRoutine, ddlTargetRowAccessPolicy, ddlTargetTable, dmlStats, + estimatedBytesProcessed, exportDataStatistics, externalServiceCosts, + loadQueryStatistics, materializedViewStatistics, + metadataCacheStatistics, mlStatistics, modelTraining, modelTrainingCurrentIteration, modelTrainingExpectedTotalIteration, - numDmlAffectedRows, queryPlan, referencedRoutines, referencedTables, - reservationUsage, schema, searchStatistics, sparkStatistics, - statementType, timeline, totalBytesBilled, totalBytesProcessed, - totalBytesProcessedAccuracy, totalPartitionsProcessed, totalSlotMs, - transferredBytes, undeclaredQueryParameters; + numDmlAffectedRows, performanceInsights, queryInfo, queryPlan, + referencedRoutines, referencedTables, reservationUsage, schema, + searchStatistics, sparkStatistics, statementType, timeline, + totalBytesBilled, totalBytesProcessed, totalBytesProcessedAccuracy, + totalPartitionsProcessed, totalSlotMs, transferredBytes, + undeclaredQueryParameters, vectorSearchStatistics; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"externalServiceCosts" : [GTLRBigquery_ExternalServiceCost class], @"queryPlan" : [GTLRBigquery_ExplainQueryStage class], @"referencedRoutines" : [GTLRBigquery_RoutineReference class], @"referencedTables" : [GTLRBigquery_TableReference class], @@ -1920,7 +2207,16 @@ @implementation GTLRBigquery_JobStatistics2_ReservationUsage_Item // @implementation GTLRBigquery_JobStatistics3 -@dynamic badRecords, inputFileBytes, inputFiles, outputBytes, outputRows; +@dynamic badRecords, inputFileBytes, inputFiles, outputBytes, outputRows, + timeline; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"timeline" : [GTLRBigquery_QueryTimelineSample class] + }; + return map; +} + @end @@ -1930,11 +2226,12 @@ @implementation GTLRBigquery_JobStatistics3 // @implementation GTLRBigquery_JobStatistics4 -@dynamic destinationUriFileCounts, inputBytes; +@dynamic destinationUriFileCounts, inputBytes, timeline; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"destinationUriFileCounts" : [NSNumber class] + @"destinationUriFileCounts" : [NSNumber class], + @"timeline" : [GTLRBigquery_QueryTimelineSample class] }; return map; } @@ -1994,6 +2291,16 @@ @implementation GTLRBigquery_JsonOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_LinkedDatasetSource +// + +@implementation GTLRBigquery_LinkedDatasetSource +@dynamic sourceDataset; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_ListModelsResponse @@ -2060,6 +2367,17 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_LoadQueryStatistics +// + +@implementation GTLRBigquery_LoadQueryStatistics +@dynamic badRecords, bytesTransferred, inputFileBytes, inputFiles, outputBytes, + outputRows; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_LocationMetadata @@ -2070,6 +2388,16 @@ @implementation GTLRBigquery_LocationMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_MaterializedView +// + +@implementation GTLRBigquery_MaterializedView +@dynamic chosen, estimatedBytesSaved, rejectedReason, tableReference; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_MaterializedViewDefinition @@ -2081,16 +2409,63 @@ @implementation GTLRBigquery_MaterializedViewDefinition @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_MaterializedViewStatistics +// + +@implementation GTLRBigquery_MaterializedViewStatistics +@dynamic materializedView; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"materializedView" : [GTLRBigquery_MaterializedView class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_MaterializedViewStatus +// + +@implementation GTLRBigquery_MaterializedViewStatus +@dynamic lastRefreshStatus, refreshWatermark; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_MetadataCacheStatistics +// + +@implementation GTLRBigquery_MetadataCacheStatistics +@dynamic tableMetadataCacheUsage; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"tableMetadataCacheUsage" : [GTLRBigquery_TableMetadataCacheUsage class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_MlStatistics // @implementation GTLRBigquery_MlStatistics -@dynamic iterationResults, maxIterations; +@dynamic hparamTrials, iterationResults, maxIterations, modelType, trainingType; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"hparamTrials" : [GTLRBigquery_HparamTuningTrial class], @"iterationResults" : [GTLRBigquery_IterationResult class] }; return map; @@ -2184,6 +2559,16 @@ @implementation GTLRBigquery_ModelDefinition_ModelOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_ModelExtractOptions +// + +@implementation GTLRBigquery_ModelExtractOptions +@dynamic trialId; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_ModelReference @@ -2232,6 +2617,26 @@ @implementation GTLRBigquery_ParquetOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_PerformanceInsights +// + +@implementation GTLRBigquery_PerformanceInsights +@dynamic avgPreviousExecutionMs, stagePerformanceChangeInsights, + stagePerformanceStandaloneInsights; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"stagePerformanceChangeInsights" : [GTLRBigquery_StagePerformanceChangeInsight class], + @"stagePerformanceStandaloneInsights" : [GTLRBigquery_StagePerformanceStandaloneInsight class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_Policy @@ -2314,6 +2719,12 @@ @implementation GTLRBigquery_ProjectList_Projects_Item 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 @@ -2327,6 +2738,30 @@ @implementation GTLRBigquery_ProjectReference @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_QueryInfo +// + +@implementation GTLRBigquery_QueryInfo +@dynamic optimizationDetails; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_QueryInfo_OptimizationDetails +// + +@implementation GTLRBigquery_QueryInfo_OptimizationDetails + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_QueryParameter @@ -2388,16 +2823,6 @@ @implementation GTLRBigquery_QueryParameterValue @end -// ---------------------------------------------------------------------------- -// -// GTLRBigquery_QueryParameterValue_RangeValue -// - -@implementation GTLRBigquery_QueryParameterValue_RangeValue -@dynamic end, start; -@end - - // ---------------------------------------------------------------------------- // // GTLRBigquery_QueryParameterValue_StructValues @@ -2419,9 +2844,9 @@ + (Class)classForAdditionalProperties { @implementation GTLRBigquery_QueryRequest @dynamic connectionProperties, continuous, createSession, defaultDataset, - dryRun, jobCreationMode, kind, labels, location, maximumBytesBilled, - maxResults, parameterMode, preserveNulls, query, queryParameters, - requestId, timeoutMs, useLegacySql, useQueryCache; + dryRun, formatOptions, jobCreationMode, kind, labels, location, + maximumBytesBilled, maxResults, parameterMode, preserveNulls, query, + queryParameters, requestId, timeoutMs, useLegacySql, useQueryCache; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2662,6 +3087,16 @@ @implementation GTLRBigquery_RowLevelSecurityStatistics @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_ScriptOptions +// + +@implementation GTLRBigquery_ScriptOptions +@dynamic keyResultStatement, statementByteBudget, statementTimeoutMs; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_ScriptStackFrame @@ -2790,7 +3225,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRBigquery_SparkStatistics -@dynamic endpoints, loggingInfo, sparkJobId, sparkJobLocation; +@dynamic endpoints, gcsStagingBucket, kmsKeyName, loggingInfo, sparkJobId, + sparkJobLocation; @end @@ -2808,6 +3244,36 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_StagePerformanceChangeInsight +// + +@implementation GTLRBigquery_StagePerformanceChangeInsight +@dynamic inputDataChange, stageId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_StagePerformanceStandaloneInsight +// + +@implementation GTLRBigquery_StagePerformanceStandaloneInsight +@dynamic biEngineReasons, highCardinalityJoins, insufficientShuffleQuota, + slotContention, stageId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"biEngineReasons" : [GTLRBigquery_BiEngineReason class], + @"highCardinalityJoins" : [GTLRBigquery_HighCardinalityJoin class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_StandardSqlDataType @@ -2892,6 +3358,44 @@ @implementation GTLRBigquery_StringHparamSearchSpace @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_SystemVariables +// + +@implementation GTLRBigquery_SystemVariables +@dynamic types, values; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_SystemVariables_Types +// + +@implementation GTLRBigquery_SystemVariables_Types + ++ (Class)classForAdditionalProperties { + return [GTLRBigquery_StandardSqlDataType class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_SystemVariables_Values +// + +@implementation GTLRBigquery_SystemVariables_Values + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_Table @@ -2902,14 +3406,15 @@ @implementation GTLRBigquery_Table defaultCollation, defaultRoundingMode, descriptionProperty, encryptionConfiguration, ETag, expirationTime, externalDataConfiguration, friendlyName, identifier, kind, labels, - lastModifiedTime, location, materializedView, maxStaleness, model, - numActiveLogicalBytes, numActivePhysicalBytes, numBytes, - numLongTermBytes, numLongTermLogicalBytes, numLongTermPhysicalBytes, - numPartitions, numPhysicalBytes, numRows, numTimeTravelPhysicalBytes, - numTotalLogicalBytes, numTotalPhysicalBytes, rangePartitioning, + lastModifiedTime, location, materializedView, materializedViewStatus, + maxStaleness, model, numActiveLogicalBytes, numActivePhysicalBytes, + numBytes, numLongTermBytes, numLongTermLogicalBytes, + numLongTermPhysicalBytes, numPartitions, numPhysicalBytes, numRows, + numTimeTravelPhysicalBytes, numTotalLogicalBytes, + numTotalPhysicalBytes, rangePartitioning, replicas, requirePartitionFilter, resourceTags, schema, selfLink, snapshotDefinition, streamingBuffer, tableConstraints, tableReference, - timePartitioning, type, view; + tableReplicationInfo, timePartitioning, type, view; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -2920,6 +3425,13 @@ @implementation GTLRBigquery_Table return map; } ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"replicas" : [GTLRBigquery_TableReference class] + }; + return map; +} + @end @@ -3041,7 +3553,8 @@ @implementation GTLRBigquery_TableConstraints_ForeignKeys_Item_ReferencedTable // @implementation GTLRBigquery_TableDataInsertAllRequest -@dynamic ignoreUnknownValues, kind, rows, skipInvalidRows, templateSuffix; +@dynamic ignoreUnknownValues, kind, rows, skipInvalidRows, templateSuffix, + traceId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3224,13 +3737,19 @@ + (NSString *)collectionItemsKey { @implementation GTLRBigquery_TableList_Tables_Item @dynamic clustering, creationTime, expirationTime, friendlyName, identifier, - kind, labels, rangePartitioning, tableReference, timePartitioning, - type, view; + kind, labels, rangePartitioning, requirePartitionFilter, + tableReference, timePartitioning, type, view; + (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 @@ -3254,7 +3773,17 @@ + (Class)classForAdditionalProperties { // @implementation GTLRBigquery_TableList_Tables_Item_View -@dynamic useLegacySql; +@dynamic privacyPolicy, useLegacySql; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_TableMetadataCacheUsage +// + +@implementation GTLRBigquery_TableMetadataCacheUsage +@dynamic explanation, tableReference, tableType, unusedReason; @end @@ -3268,6 +3797,17 @@ @implementation GTLRBigquery_TableReference @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_TableReplicationInfo +// + +@implementation GTLRBigquery_TableReplicationInfo +@dynamic replicatedSourceLastRefreshTime, replicationError, + replicationIntervalMs, replicationStatus, sourceTable; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_TableRow @@ -3451,6 +3991,16 @@ @implementation GTLRBigquery_TransformColumn @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_UndeleteDatasetRequest +// + +@implementation GTLRBigquery_UndeleteDatasetRequest +@dynamic deletionTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_UserDefinedFunctionResource @@ -3485,7 +4035,7 @@ @implementation GTLRBigquery_VectorSearchStatistics // @implementation GTLRBigquery_ViewDefinition -@dynamic query, useExplicitColumnNames, useLegacySql, +@dynamic privacyPolicy, query, useExplicitColumnNames, useLegacySql, userDefinedFunctionResources; + (NSDictionary *)arrayPropertyToClassMap { diff --git a/Sources/GeneratedServices/Bigquery/GTLRBigqueryQuery.m b/Sources/GeneratedServices/Bigquery/GTLRBigqueryQuery.m index 5035a9ebf..e32d22439 100644 --- a/Sources/GeneratedServices/Bigquery/GTLRBigqueryQuery.m +++ b/Sources/GeneratedServices/Bigquery/GTLRBigqueryQuery.m @@ -13,6 +13,12 @@ // ---------------------------------------------------------------------------- // Constants +// datasetView +NSString * const kGTLRBigqueryDatasetViewAcl = @"ACL"; +NSString * const kGTLRBigqueryDatasetViewDatasetViewUnspecified = @"DATASET_VIEW_UNSPECIFIED"; +NSString * const kGTLRBigqueryDatasetViewFull = @"FULL"; +NSString * const kGTLRBigqueryDatasetViewMetadata = @"METADATA"; + // projection NSString * const kGTLRBigqueryProjectionFull = @"full"; NSString * const kGTLRBigqueryProjectionMinimal = @"minimal"; @@ -47,7 +53,7 @@ + (instancetype)queryWithProjectId:(NSString *)projectId NSArray *pathParams = @[ @"datasetId", @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets/{datasetId}"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets/{+datasetId}"; GTLRBigqueryQuery_DatasetsDelete *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"DELETE" @@ -69,7 +75,7 @@ + (instancetype)queryWithProjectId:(NSString *)projectId NSArray *pathParams = @[ @"datasetId", @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets/{datasetId}"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets/{+datasetId}"; GTLRBigqueryQuery_DatasetsGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -96,7 +102,7 @@ + (instancetype)queryWithObject:(GTLRBigquery_Dataset *)object return nil; } NSArray *pathParams = @[ @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets"; GTLRBigqueryQuery_DatasetsInsert *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" @@ -116,7 +122,7 @@ @implementation GTLRBigqueryQuery_DatasetsList + (instancetype)queryWithProjectId:(NSString *)projectId { NSArray *pathParams = @[ @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets"; GTLRBigqueryQuery_DatasetsList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -145,7 +151,7 @@ + (instancetype)queryWithObject:(GTLRBigquery_Dataset *)object NSArray *pathParams = @[ @"datasetId", @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets/{datasetId}"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets/{+datasetId}"; GTLRBigqueryQuery_DatasetsPatch *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"PATCH" @@ -160,6 +166,37 @@ + (instancetype)queryWithObject:(GTLRBigquery_Dataset *)object @end +@implementation GTLRBigqueryQuery_DatasetsUndelete + +@dynamic datasetId, projectId; + ++ (instancetype)queryWithObject:(GTLRBigquery_UndeleteDatasetRequest *)object + projectId:(NSString *)projectId + datasetId:(NSString *)datasetId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"datasetId", @"projectId" + ]; + NSString *pathURITemplate = @"projects/{+projectId}/datasets/{+datasetId}:undelete"; + GTLRBigqueryQuery_DatasetsUndelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.projectId = projectId; + query.datasetId = datasetId; + query.expectedObjectClass = [GTLRBigquery_Dataset class]; + query.loggingName = @"bigquery.datasets.undelete"; + return query; +} + +@end + @implementation GTLRBigqueryQuery_DatasetsUpdate @dynamic datasetId, projectId; @@ -176,7 +213,7 @@ + (instancetype)queryWithObject:(GTLRBigquery_Dataset *)object NSArray *pathParams = @[ @"datasetId", @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets/{datasetId}"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets/{+datasetId}"; GTLRBigqueryQuery_DatasetsUpdate *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"PUT" @@ -200,7 +237,7 @@ + (instancetype)queryWithProjectId:(NSString *)projectId NSArray *pathParams = @[ @"jobId", @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/jobs/{jobId}/cancel"; + NSString *pathURITemplate = @"projects/{+projectId}/jobs/{+jobId}/cancel"; GTLRBigqueryQuery_JobsCancel *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" @@ -245,7 +282,7 @@ + (instancetype)queryWithProjectId:(NSString *)projectId NSArray *pathParams = @[ @"jobId", @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/jobs/{jobId}"; + NSString *pathURITemplate = @"projects/{+projectId}/jobs/{+jobId}"; GTLRBigqueryQuery_JobsGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -261,15 +298,19 @@ + (instancetype)queryWithProjectId:(NSString *)projectId @implementation GTLRBigqueryQuery_JobsGetQueryResults -@dynamic jobId, location, maxResults, pageToken, projectId, startIndex, - timeoutMs; +@dynamic formatOptionsUseInt64Timestamp, jobId, location, maxResults, pageToken, + projectId, startIndex, timeoutMs; + ++ (NSDictionary *)parameterNameMap { + return @{ @"formatOptionsUseInt64Timestamp" : @"formatOptions.useInt64Timestamp" }; +} + (instancetype)queryWithProjectId:(NSString *)projectId jobId:(NSString *)jobId { NSArray *pathParams = @[ @"jobId", @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/queries/{jobId}"; + NSString *pathURITemplate = @"projects/{+projectId}/queries/{+jobId}"; GTLRBigqueryQuery_JobsGetQueryResults *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -297,7 +338,7 @@ + (instancetype)queryWithObject:(GTLRBigquery_Job *)object return nil; } NSArray *pathParams = @[ @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/jobs"; + NSString *pathURITemplate = @"projects/{+projectId}/jobs"; GTLRBigqueryQuery_JobsInsert *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" @@ -326,7 +367,7 @@ @implementation GTLRBigqueryQuery_JobsList + (instancetype)queryWithProjectId:(NSString *)projectId { NSArray *pathParams = @[ @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/jobs"; + NSString *pathURITemplate = @"projects/{+projectId}/jobs"; GTLRBigqueryQuery_JobsList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -352,7 +393,7 @@ + (instancetype)queryWithObject:(GTLRBigquery_QueryRequest *)object return nil; } NSArray *pathParams = @[ @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/queries"; + NSString *pathURITemplate = @"projects/{+projectId}/queries"; GTLRBigqueryQuery_JobsQuery *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" @@ -477,7 +518,7 @@ @implementation GTLRBigqueryQuery_ProjectsGetServiceAccount + (instancetype)queryWithProjectId:(NSString *)projectId { NSArray *pathParams = @[ @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/serviceAccount"; + NSString *pathURITemplate = @"projects/{+projectId}/serviceAccount"; GTLRBigqueryQuery_ProjectsGetServiceAccount *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -739,7 +780,7 @@ + (instancetype)queryWithObject:(GTLRBigquery_TableDataInsertAllRequest *)object NSArray *pathParams = @[ @"datasetId", @"projectId", @"tableId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/insertAll"; GTLRBigqueryQuery_TabledataInsertAll *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" @@ -757,8 +798,12 @@ + (instancetype)queryWithObject:(GTLRBigquery_TableDataInsertAllRequest *)object @implementation GTLRBigqueryQuery_TabledataList -@dynamic datasetId, maxResults, pageToken, projectId, selectedFields, - startIndex, tableId; +@dynamic datasetId, formatOptionsUseInt64Timestamp, maxResults, pageToken, + projectId, selectedFields, startIndex, tableId; + ++ (NSDictionary *)parameterNameMap { + return @{ @"formatOptionsUseInt64Timestamp" : @"formatOptions.useInt64Timestamp" }; +} + (instancetype)queryWithProjectId:(NSString *)projectId datasetId:(NSString *)datasetId @@ -766,7 +811,7 @@ + (instancetype)queryWithProjectId:(NSString *)projectId NSArray *pathParams = @[ @"datasetId", @"projectId", @"tableId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/data"; GTLRBigqueryQuery_TabledataList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -791,7 +836,7 @@ + (instancetype)queryWithProjectId:(NSString *)projectId NSArray *pathParams = @[ @"datasetId", @"projectId", @"tableId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets/{datasetId}/tables/{tableId}"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}"; GTLRBigqueryQuery_TablesDelete *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"DELETE" @@ -815,7 +860,7 @@ + (instancetype)queryWithProjectId:(NSString *)projectId NSArray *pathParams = @[ @"datasetId", @"projectId", @"tableId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets/{datasetId}/tables/{tableId}"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}"; GTLRBigqueryQuery_TablesGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -873,7 +918,7 @@ + (instancetype)queryWithObject:(GTLRBigquery_Table *)object NSArray *pathParams = @[ @"datasetId", @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets/{datasetId}/tables"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets/{+datasetId}/tables"; GTLRBigqueryQuery_TablesInsert *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" @@ -897,7 +942,7 @@ + (instancetype)queryWithProjectId:(NSString *)projectId NSArray *pathParams = @[ @"datasetId", @"projectId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets/{datasetId}/tables"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets/{+datasetId}/tables"; GTLRBigqueryQuery_TablesList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -932,7 +977,7 @@ + (instancetype)queryWithObject:(GTLRBigquery_Table *)object NSArray *pathParams = @[ @"datasetId", @"projectId", @"tableId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets/{datasetId}/tables/{tableId}"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}"; GTLRBigqueryQuery_TablesPatch *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"PATCH" @@ -1023,7 +1068,7 @@ + (instancetype)queryWithObject:(GTLRBigquery_Table *)object NSArray *pathParams = @[ @"datasetId", @"projectId", @"tableId" ]; - NSString *pathURITemplate = @"projects/{projectId}/datasets/{datasetId}/tables/{tableId}"; + NSString *pathURITemplate = @"projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}"; GTLRBigqueryQuery_TablesUpdate *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"PUT" diff --git a/Sources/GeneratedServices/Bigquery/GTLRBigqueryService.m b/Sources/GeneratedServices/Bigquery/GTLRBigqueryService.m index 13eec41fa..4503f7a96 100644 --- a/Sources/GeneratedServices/Bigquery/GTLRBigqueryService.m +++ b/Sources/GeneratedServices/Bigquery/GTLRBigqueryService.m @@ -43,24 +43,17 @@ - (instancetype)init { + (NSDictionary *)kindStringToClassMap { return @{ - // Skipping "bigquery#dataset", was used on multiple classes: - // GTLRBigquery_Dataset - // GTLRBigquery_DatasetList_Datasets_Item + @"bigquery#dataset" : [GTLRBigquery_Dataset class], @"bigquery#datasetList" : [GTLRBigquery_DatasetList class], @"bigquery#getQueryResultsResponse" : [GTLRBigquery_GetQueryResultsResponse class], @"bigquery#getServiceAccountResponse" : [GTLRBigquery_GetServiceAccountResponse class], - // Skipping "bigquery#job", was used on multiple classes: - // GTLRBigquery_Job - // GTLRBigquery_JobList_Jobs_Item + @"bigquery#job" : [GTLRBigquery_Job class], @"bigquery#jobCancelResponse" : [GTLRBigquery_JobCancelResponse class], @"bigquery#jobList" : [GTLRBigquery_JobList class], - @"bigquery#project" : [GTLRBigquery_ProjectList_Projects_Item class], @"bigquery#projectList" : [GTLRBigquery_ProjectList class], @"bigquery#queryRequest" : [GTLRBigquery_QueryRequest class], @"bigquery#queryResponse" : [GTLRBigquery_QueryResponse class], - // Skipping "bigquery#table", was used on multiple classes: - // GTLRBigquery_Table - // GTLRBigquery_TableList_Tables_Item + @"bigquery#table" : [GTLRBigquery_Table class], @"bigquery#tableDataInsertAllRequest" : [GTLRBigquery_TableDataInsertAllRequest class], @"bigquery#tableDataInsertAllResponse" : [GTLRBigquery_TableDataInsertAllResponse class], @"bigquery#tableDataList" : [GTLRBigquery_TableDataList class], diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h index e9b87efda..cbde385b4 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h @@ -22,6 +22,7 @@ @class GTLRBigquery_ArimaForecastingMetrics; @class GTLRBigquery_ArimaModelInfo; @class GTLRBigquery_ArimaOrder; +@class GTLRBigquery_ArimaResult; @class GTLRBigquery_ArimaSingleModelForecastingMetrics; @class GTLRBigquery_AuditConfig; @class GTLRBigquery_AuditLogConfig; @@ -42,11 +43,13 @@ @class GTLRBigquery_CategoryCount; @class GTLRBigquery_CloneDefinition; @class GTLRBigquery_Cluster; +@class GTLRBigquery_ClusterInfo; @class GTLRBigquery_Clustering; @class GTLRBigquery_ClusteringMetrics; @class GTLRBigquery_ConfusionMatrix; @class GTLRBigquery_ConnectionProperty; @class GTLRBigquery_CsvOptions; +@class GTLRBigquery_DataFormatOptions; @class GTLRBigquery_DataMaskingStatistics; @class GTLRBigquery_Dataset_Access_Item; @class GTLRBigquery_Dataset_Labels; @@ -70,17 +73,21 @@ @class GTLRBigquery_ExplainQueryStage; @class GTLRBigquery_ExplainQueryStep; @class GTLRBigquery_Explanation; +@class GTLRBigquery_ExportDataStatistics; @class GTLRBigquery_Expr; @class GTLRBigquery_ExternalDataConfiguration; @class GTLRBigquery_ExternalDatasetReference; +@class GTLRBigquery_ExternalServiceCost; @class GTLRBigquery_FeatureValue; @class GTLRBigquery_GetPolicyOptions; @class GTLRBigquery_GlobalExplanation; @class GTLRBigquery_GoogleSheetsOptions; +@class GTLRBigquery_HighCardinalityJoin; @class GTLRBigquery_HivePartitioningOptions; @class GTLRBigquery_HparamSearchSpaces; @class GTLRBigquery_HparamTuningTrial; @class GTLRBigquery_IndexUnusedReason; +@class GTLRBigquery_InputDataChange; @class GTLRBigquery_IntArray; @class GTLRBigquery_IntArrayHparamSearchSpace; @class GTLRBigquery_IntCandidates; @@ -95,6 +102,7 @@ @class GTLRBigquery_JobConfigurationQuery; @class GTLRBigquery_JobConfigurationQuery_TableDefinitions; @class GTLRBigquery_JobConfigurationTableCopy; +@class GTLRBigquery_JobCreationReason; @class GTLRBigquery_JobList_Jobs_Item; @class GTLRBigquery_JobReference; @class GTLRBigquery_JobStatistics; @@ -107,29 +115,41 @@ @class GTLRBigquery_JobStatus; @class GTLRBigquery_JsonObject; @class GTLRBigquery_JsonOptions; +@class GTLRBigquery_LinkedDatasetSource; +@class GTLRBigquery_LoadQueryStatistics; +@class GTLRBigquery_MaterializedView; @class GTLRBigquery_MaterializedViewDefinition; +@class GTLRBigquery_MaterializedViewStatistics; +@class GTLRBigquery_MaterializedViewStatus; +@class GTLRBigquery_MetadataCacheStatistics; @class GTLRBigquery_MlStatistics; @class GTLRBigquery_Model; @class GTLRBigquery_Model_Labels; @class GTLRBigquery_ModelDefinition; @class GTLRBigquery_ModelDefinition_ModelOptions; +@class GTLRBigquery_ModelExtractOptions; @class GTLRBigquery_ModelReference; @class GTLRBigquery_ModelTraining; @class GTLRBigquery_MultiClassClassificationMetrics; @class GTLRBigquery_ParquetOptions; +@class GTLRBigquery_PerformanceInsights; @class GTLRBigquery_Policy; +@class GTLRBigquery_PrincipalComponentInfo; +@class GTLRBigquery_PrivacyPolicy; @class GTLRBigquery_ProjectList_Projects_Item; @class GTLRBigquery_ProjectReference; +@class GTLRBigquery_QueryInfo; +@class GTLRBigquery_QueryInfo_OptimizationDetails; @class GTLRBigquery_QueryParameter; @class GTLRBigquery_QueryParameterType; @class GTLRBigquery_QueryParameterType_StructTypes_Item; @class GTLRBigquery_QueryParameterValue; -@class GTLRBigquery_QueryParameterValue_RangeValue; @class GTLRBigquery_QueryParameterValue_StructValues; @class GTLRBigquery_QueryRequest_Labels; @class GTLRBigquery_QueryTimelineSample; @class GTLRBigquery_RangePartitioning; @class GTLRBigquery_RangePartitioning_Range; +@class GTLRBigquery_RangeValue; @class GTLRBigquery_RankingMetrics; @class GTLRBigquery_RegressionMetrics; @class GTLRBigquery_RemoteFunctionOptions; @@ -141,6 +161,7 @@ @class GTLRBigquery_RowAccessPolicy; @class GTLRBigquery_RowAccessPolicyReference; @class GTLRBigquery_RowLevelSecurityStatistics; +@class GTLRBigquery_ScriptOptions; @class GTLRBigquery_ScriptStackFrame; @class GTLRBigquery_ScriptStatistics; @class GTLRBigquery_SearchStatistics; @@ -151,12 +172,17 @@ @class GTLRBigquery_SparkOptions_Properties; @class GTLRBigquery_SparkStatistics; @class GTLRBigquery_SparkStatistics_Endpoints; +@class GTLRBigquery_StagePerformanceChangeInsight; +@class GTLRBigquery_StagePerformanceStandaloneInsight; @class GTLRBigquery_StandardSqlDataType; @class GTLRBigquery_StandardSqlField; @class GTLRBigquery_StandardSqlStructType; @class GTLRBigquery_StandardSqlTableType; @class GTLRBigquery_Streamingbuffer; @class GTLRBigquery_StringHparamSearchSpace; +@class GTLRBigquery_SystemVariables; +@class GTLRBigquery_SystemVariables_Types; +@class GTLRBigquery_SystemVariables_Values; @class GTLRBigquery_Table_Labels; @class GTLRBigquery_Table_ResourceTags; @class GTLRBigquery_TableCell; @@ -174,7 +200,9 @@ @class GTLRBigquery_TableList_Tables_Item; @class GTLRBigquery_TableList_Tables_Item_Labels; @class GTLRBigquery_TableList_Tables_Item_View; +@class GTLRBigquery_TableMetadataCacheUsage; @class GTLRBigquery_TableReference; +@class GTLRBigquery_TableReplicationInfo; @class GTLRBigquery_TableRow; @class GTLRBigquery_TableSchema; @class GTLRBigquery_TimePartitioning; @@ -184,6 +212,7 @@ @class GTLRBigquery_TransactionInfo; @class GTLRBigquery_TransformColumn; @class GTLRBigquery_UserDefinedFunctionResource; +@class GTLRBigquery_VectorSearchStatistics; @class GTLRBigquery_ViewDefinition; // Generated comments include content from the discovery document; avoid them @@ -460,111 +489,931 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_AuditLogConfig_LogType_DataWrit */ FOUNDATION_EXTERN NSString * const kGTLRBigquery_AuditLogConfig_LogType_LogTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRBigquery_BiEngineReason.code + +/** + * BiEngineReason not specified. + * + * Value: "CODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineReason_Code_CodeUnspecified; +/** + * Input too large for acceleration by BI Engine. + * + * Value: "INPUT_TOO_LARGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineReason_Code_InputTooLarge; +/** + * Not enough memory available for BI Engine acceleration. + * + * Value: "INSUFFICIENT_RESERVATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineReason_Code_InsufficientReservation; +/** + * No reservation available for BI Engine acceleration. + * + * Value: "NO_RESERVATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineReason_Code_NoReservation; +/** + * Catch-all code for all other cases for partial or disabled acceleration. + * + * Value: "OTHER_REASON" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineReason_Code_OtherReason; +/** + * One or more tables were not eligible for BI Engine acceleration. + * + * Value: "TABLE_EXCLUDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineReason_Code_TableExcluded; +/** + * This particular SQL text is not supported for acceleration by BI Engine. + * + * Value: "UNSUPPORTED_SQL_TEXT" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineReason_Code_UnsupportedSqlText; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_BiEngineStatistics.accelerationMode + +/** + * BiEngineMode type not specified. + * + * Value: "BI_ENGINE_ACCELERATION_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineStatistics_AccelerationMode_BiEngineAccelerationModeUnspecified; +/** + * BI Engine acceleration was attempted but disabled. bi_engine_reasons + * specifies a more detailed reason. + * + * Value: "BI_ENGINE_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineStatistics_AccelerationMode_BiEngineDisabled; +/** + * All of the query inputs were accelerated using BI Engine. + * + * Value: "FULL_INPUT" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineStatistics_AccelerationMode_FullInput; +/** + * All of the query was accelerated using BI Engine. + * + * Value: "FULL_QUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineStatistics_AccelerationMode_FullQuery; +/** + * Some inputs were accelerated using BI Engine. See bi_engine_reasons for why + * parts of the query were not accelerated. + * + * Value: "PARTIAL_INPUT" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineStatistics_AccelerationMode_PartialInput; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_BiEngineStatistics.biEngineMode + +/** + * BiEngineMode type not specified. + * + * Value: "ACCELERATION_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineStatistics_BiEngineMode_AccelerationModeUnspecified; +/** + * BI Engine disabled the acceleration. bi_engine_reasons specifies a more + * detailed reason. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineStatistics_BiEngineMode_Disabled; +/** + * All of the query was accelerated using BI Engine. + * + * Value: "FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineStatistics_BiEngineMode_Full; +/** + * Part of the query was accelerated using BI Engine. See bi_engine_reasons for + * why parts of the query were not accelerated. + * + * Value: "PARTIAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BiEngineStatistics_BiEngineMode_Partial; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_BigLakeConfiguration.fileFormat + +/** + * Default Value. + * + * Value: "FILE_FORMAT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BigLakeConfiguration_FileFormat_FileFormatUnspecified; +/** + * Apache Parquet format. + * + * Value: "PARQUET" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BigLakeConfiguration_FileFormat_Parquet; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_BigLakeConfiguration.tableFormat + +/** + * Apache Iceberg format. + * + * Value: "ICEBERG" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BigLakeConfiguration_TableFormat_Iceberg; +/** + * Default Value. + * + * Value: "TABLE_FORMAT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_BigLakeConfiguration_TableFormat_TableFormatUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_Dataset.defaultRoundingMode + +/** + * ROUND_HALF_AWAY_FROM_ZERO rounds half values away from zero when applying + * precision and scale upon writing of NUMERIC and BIGNUMERIC values. For + * Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5, 1.6, 1.7, 1.8, 1.9 => 2 + * + * Value: "ROUND_HALF_AWAY_FROM_ZERO" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_Dataset_DefaultRoundingMode_RoundHalfAwayFromZero; +/** + * ROUND_HALF_EVEN rounds half values to the nearest even value when applying + * precision and scale upon writing of NUMERIC and BIGNUMERIC values. For + * Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5 => 2 1.6, 1.7, 1.8, 1.9 => 2 2.5 => 2 + * + * Value: "ROUND_HALF_EVEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_Dataset_DefaultRoundingMode_RoundHalfEven; +/** + * Unspecified will default to using ROUND_HALF_AWAY_FROM_ZERO. + * + * Value: "ROUNDING_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_Dataset_DefaultRoundingMode_RoundingModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_Dataset.storageBillingModel + +/** + * Billing for logical bytes. + * + * Value: "LOGICAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_Dataset_StorageBillingModel_Logical; +/** + * Billing for physical bytes. + * + * Value: "PHYSICAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_Dataset_StorageBillingModel_Physical; +/** + * Value not set. + * + * Value: "STORAGE_BILLING_MODEL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_Dataset_StorageBillingModel_StorageBillingModelUnspecified; + // ---------------------------------------------------------------------------- // GTLRBigquery_DatasetAccessEntry.targetTypes /** - * This entry applies to routines in the dataset. + * This entry applies to routines in the dataset. + * + * Value: "ROUTINES" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_DatasetAccessEntry_TargetTypes_Routines; +/** + * Do not use. You must set a target type explicitly. + * + * Value: "TARGET_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_DatasetAccessEntry_TargetTypes_TargetTypeUnspecified; +/** + * This entry applies to views in the dataset. + * + * Value: "VIEWS" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_DatasetAccessEntry_TargetTypes_Views; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_ExplainQueryStage.computeMode + +/** + * This stage was processed using BI Engine compute. + * + * Value: "BI_ENGINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExplainQueryStage_ComputeMode_BiEngine; +/** + * This stage was processed using BigQuery slots. + * + * Value: "BIGQUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExplainQueryStage_ComputeMode_Bigquery; +/** + * ComputeMode type not specified. + * + * Value: "COMPUTE_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExplainQueryStage_ComputeMode_ComputeModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_ExternalDataConfiguration.decimalTargetTypes + +/** + * Decimal values could be converted to BIGNUMERIC type. + * + * Value: "BIGNUMERIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_DecimalTargetTypes_Bignumeric; +/** + * Invalid type. + * + * Value: "DECIMAL_TARGET_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_DecimalTargetTypes_DecimalTargetTypeUnspecified; +/** + * Decimal values could be converted to NUMERIC type. + * + * Value: "NUMERIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_DecimalTargetTypes_Numeric; +/** + * Decimal values could be converted to STRING type. + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_DecimalTargetTypes_String; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_ExternalDataConfiguration.fileSetSpecType + +/** + * This option expands source URIs by listing files from the object store. It + * is the default behavior if FileSetSpecType is not set. + * + * Value: "FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_FileSetSpecType_FileSetSpecTypeFileSystemMatch; +/** + * This option indicates that the provided URIs are newline-delimited manifest + * files, with one URI per line. Wildcard URIs are not supported. + * + * Value: "FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_FileSetSpecType_FileSetSpecTypeNewLineDelimitedManifest; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_ExternalDataConfiguration.jsonExtension + +/** + * Use GeoJSON variant of JSON. See https://tools.ietf.org/html/rfc7946. + * + * Value: "GEOJSON" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_JsonExtension_Geojson; +/** + * The default if provided value is not one included in the enum, or the value + * is not specified. The source formate is parsed without any modification. + * + * Value: "JSON_EXTENSION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_JsonExtension_JsonExtensionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_ExternalDataConfiguration.metadataCacheMode + +/** + * Set this mode to trigger automatic background refresh of metadata cache from + * the external source. Queries will use the latest available cache version + * within the table's maxStaleness interval. + * + * Value: "AUTOMATIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_MetadataCacheMode_Automatic; +/** + * Set this mode to enable triggering manual refresh of the metadata cache from + * external source. Queries will use the latest manually triggered cache + * version within the table's maxStaleness interval. + * + * Value: "MANUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_MetadataCacheMode_Manual; +/** + * Unspecified metadata cache mode. + * + * Value: "METADATA_CACHE_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_MetadataCacheMode_MetadataCacheModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_ExternalDataConfiguration.objectMetadata + +/** + * A synonym for `SIMPLE`. + * + * Value: "DIRECTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_ObjectMetadata_Directory; +/** + * Unspecified by default. + * + * Value: "OBJECT_METADATA_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_ObjectMetadata_ObjectMetadataUnspecified; +/** + * Directory listing of objects. + * + * Value: "SIMPLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ExternalDataConfiguration_ObjectMetadata_Simple; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_HparamTuningTrial.status + +/** + * The trial failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_Failed; +/** + * The trial is infeasible due to the invalid params. + * + * Value: "INFEASIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_Infeasible; +/** + * Scheduled but not started. + * + * Value: "NOT_STARTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_NotStarted; +/** + * Running state. + * + * Value: "RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_Running; +/** + * Trial stopped early because it's not promising. + * + * Value: "STOPPED_EARLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_StoppedEarly; +/** + * The trial succeeded. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_Succeeded; +/** + * Default value. + * + * Value: "TRIAL_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_TrialStatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_IndexUnusedReason.code + +/** + * Indicates that the total size of indexed base tables in your organization + * exceeds your region's limit and the index is not used in the query. To index + * larger base tables, you can use your own reservation for index-management + * jobs. + * + * Value: "BASE_TABLE_TOO_LARGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_BaseTableTooLarge; +/** + * Indicates the base table is too small (below a certain threshold). The index + * does not provide noticeable search performance gains when the base table is + * too small. + * + * Value: "BASE_TABLE_TOO_SMALL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_BaseTableTooSmall; +/** + * Indicates the base table has been truncated (rows have been removed from + * table with TRUNCATE TABLE statement) since the last time the search index + * was refreshed. + * + * Value: "BASE_TABLE_TRUNCATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_BaseTableTruncated; +/** + * Code not specified. + * + * Value: "CODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_CodeUnspecified; +/** + * Indicates that the esitmated performance gain from using the search index is + * too low for the given search query. + * + * Value: "ESTIMATED_PERFORMANCE_GAIN_TOO_LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_EstimatedPerformanceGainTooLow; +/** + * Indicates the search index configuration has been changed since the last + * time the search index was refreshed. + * + * Value: "INDEX_CONFIG_MODIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_IndexConfigModified; +/** + * Indicates the search index configuration has not been created. + * + * Value: "INDEX_CONFIG_NOT_AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_IndexConfigNotAvailable; +/** + * Indicates that an option in the search function that cannot make use of the + * index has been selected. + * + * Value: "INDEX_SUPPRESSED_BY_FUNCTION_OPTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_IndexSuppressedByFunctionOption; +/** + * Indicates an internal error that causes the search index to be unused. + * + * Value: "INTERNAL_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_InternalError; +/** + * Indicates that the search index and the search function call do not have the + * same text analyzer. + * + * Value: "MISMATCHED_TEXT_ANALYZER" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_MismatchedTextAnalyzer; +/** + * Indicates the usage of search index will not contribute to any pruning + * improvement for the search function, e.g. when the search predicate is in a + * disjunction with other non-search predicates. + * + * Value: "NO_PRUNING_POWER" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_NoPruningPower; +/** + * Indicates that search indexes can not be used for search query with STANDARD + * edition. + * + * Value: "NOT_SUPPORTED_IN_STANDARD_EDITION" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_NotSupportedInStandardEdition; +/** + * Indicates the query has been optimized by using a materialized view. + * + * Value: "OPTIMIZED_WITH_MATERIALIZED_VIEW" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_OptimizedWithMaterializedView; +/** + * Indicates that the reason search indexes cannot be used in the query is not + * covered by any of the other IndexUnusedReason options. + * + * Value: "OTHER_REASON" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_OtherReason; +/** + * Indicates the search index creation has not been completed. + * + * Value: "PENDING_INDEX_CREATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_PendingIndexCreation; +/** + * Indicates that the query was cached, and thus the search index was not used. + * + * Value: "QUERY_CACHE_HIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_QueryCacheHit; +/** + * Indicates the query has been secured by data masking, and thus search + * indexes are not applicable. + * + * Value: "SECURED_BY_DATA_MASKING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_SecuredByDataMasking; +/** + * Indicates the search query accesses data at a timestamp before the last time + * the search index was refreshed. + * + * Value: "TIME_TRAVEL_QUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_TimeTravelQuery; +/** + * Indicates the search index does not cover all fields in the search function. + * + * Value: "UNINDEXED_SEARCH_FIELDS" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_UnindexedSearchFields; +/** + * Indicates the search index does not support the given search query pattern. + * + * Value: "UNSUPPORTED_SEARCH_PATTERN" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_UnsupportedSearchPattern; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_JobConfigurationLoad.decimalTargetTypes + +/** + * Decimal values could be converted to BIGNUMERIC type. + * + * Value: "BIGNUMERIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobConfigurationLoad_DecimalTargetTypes_Bignumeric; +/** + * Invalid type. + * + * Value: "DECIMAL_TARGET_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobConfigurationLoad_DecimalTargetTypes_DecimalTargetTypeUnspecified; +/** + * Decimal values could be converted to NUMERIC type. + * + * Value: "NUMERIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobConfigurationLoad_DecimalTargetTypes_Numeric; +/** + * Decimal values could be converted to STRING type. + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobConfigurationLoad_DecimalTargetTypes_String; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_JobConfigurationLoad.fileSetSpecType + +/** + * This option expands source URIs by listing files from the object store. It + * is the default behavior if FileSetSpecType is not set. + * + * Value: "FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobConfigurationLoad_FileSetSpecType_FileSetSpecTypeFileSystemMatch; +/** + * This option indicates that the provided URIs are newline-delimited manifest + * files, with one URI per line. Wildcard URIs are not supported. + * + * Value: "FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobConfigurationLoad_FileSetSpecType_FileSetSpecTypeNewLineDelimitedManifest; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_JobConfigurationLoad.jsonExtension + +/** + * Use GeoJSON variant of JSON. See https://tools.ietf.org/html/rfc7946. + * + * Value: "GEOJSON" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobConfigurationLoad_JsonExtension_Geojson; +/** + * The default if provided value is not one included in the enum, or the value + * is not specified. The source formate is parsed without any modification. + * + * Value: "JSON_EXTENSION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobConfigurationLoad_JsonExtension_JsonExtensionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_JobConfigurationTableCopy.operationType + +/** + * The source and destination table have the same table type, but only bill for + * unique data. + * + * Value: "CLONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobConfigurationTableCopy_OperationType_Clone; +/** + * The source and destination table have the same table type. + * + * Value: "COPY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobConfigurationTableCopy_OperationType_Copy; +/** + * Unspecified operation type. + * + * Value: "OPERATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobConfigurationTableCopy_OperationType_OperationTypeUnspecified; +/** + * The source table type is SNAPSHOT and the destination table type is TABLE. + * + * Value: "RESTORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobConfigurationTableCopy_OperationType_Restore; +/** + * The source table type is TABLE and the destination table type is SNAPSHOT. + * + * Value: "SNAPSHOT" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobConfigurationTableCopy_OperationType_Snapshot; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_JobCreationReason.code + +/** + * Reason is not specified. + * + * Value: "CODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobCreationReason_Code_CodeUnspecified; +/** + * The results from the query cannot fit in the response. + * + * Value: "LARGE_RESULTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobCreationReason_Code_LargeResults; +/** + * The query request ran beyond a system defined timeout specified by the + * [timeoutMs field in the + * QueryRequest](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest). + * As a result it was considered a long running operation for which a job was + * created. + * + * Value: "LONG_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobCreationReason_Code_LongRunning; +/** + * BigQuery has determined that the query needs to be executed as a Job. + * + * Value: "OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobCreationReason_Code_Other; +/** + * Job creation was requested. + * + * Value: "REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobCreationReason_Code_Requested; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_MaterializedView.rejectedReason + +/** + * View is invalidated because of a data change in one or more base tables. It + * could be any recent change if the + * [`max_staleness`](https://cloud.google.com/bigquery/docs/materialized-views-create#max_staleness) + * option is not set for the view, or otherwise any change outside of the + * staleness window. + * + * Value: "BASE_TABLE_DATA_CHANGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTableDataChange; +/** + * View is invalidated because a base table's partition has expired. + * + * Value: "BASE_TABLE_EXPIRED_PARTITION" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTableExpiredPartition; +/** + * View is inaccessible to the user because of a fine-grained security policy + * on one of its base tables. + * + * Value: "BASE_TABLE_FINE_GRAINED_SECURITY_POLICY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTableFineGrainedSecurityPolicy; +/** + * View is invalidated because a base table has an incompatible metadata + * change. + * + * Value: "BASE_TABLE_INCOMPATIBLE_METADATA_CHANGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTableIncompatibleMetadataChange; +/** + * View is invalidated because a base table's partition expiration has changed. + * + * Value: "BASE_TABLE_PARTITION_EXPIRATION_CHANGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTablePartitionExpirationChange; +/** + * One of the view's base tables is too stale. For example, the cached metadata + * of a biglake table needs to be updated. + * + * Value: "BASE_TABLE_TOO_STALE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTableTooStale; +/** + * View has no cached data because a base table is truncated. + * + * Value: "BASE_TABLE_TRUNCATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MaterializedView_RejectedReason_BaseTableTruncated; +/** + * The estimated cost of the view is more expensive than another view or the + * base table. Note: The estimate cost might not match the billed cost. + * + * Value: "COST" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MaterializedView_RejectedReason_Cost; +/** + * View has no cached data because it has not refreshed yet. + * + * Value: "NO_DATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MaterializedView_RejectedReason_NoData; +/** + * View is outside the time travel window. + * + * Value: "OUT_OF_TIME_TRAVEL_WINDOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MaterializedView_RejectedReason_OutOfTimeTravelWindow; +/** + * Default unspecified value. + * + * Value: "REJECTED_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MaterializedView_RejectedReason_RejectedReasonUnspecified; +/** + * View is invalidated because it was refreshed with a time zone other than + * that of the current job. + * + * Value: "TIME_ZONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MaterializedView_RejectedReason_TimeZone; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_MlStatistics.modelType + +/** + * ARIMA model. + * + * Value: "ARIMA" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_Arima; +/** + * New name for the ARIMA model. + * + * Value: "ARIMA_PLUS" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_ArimaPlus; +/** + * ARIMA with external regressors. + * + * Value: "ARIMA_PLUS_XREG" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_ArimaPlusXreg; +/** + * Autoencoder model. + * + * Value: "AUTOENCODER" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_Autoencoder; +/** + * AutoML Tables classification model. + * + * Value: "AUTOML_CLASSIFIER" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_AutomlClassifier; +/** + * AutoML Tables regression model. + * + * Value: "AUTOML_REGRESSOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_AutomlRegressor; +/** + * Boosted tree classifier model. * - * Value: "ROUTINES" + * Value: "BOOSTED_TREE_CLASSIFIER" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_DatasetAccessEntry_TargetTypes_Routines; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_BoostedTreeClassifier; /** - * Do not use. You must set a target type explicitly. + * Boosted tree regressor model. * - * Value: "TARGET_TYPE_UNSPECIFIED" + * Value: "BOOSTED_TREE_REGRESSOR" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_DatasetAccessEntry_TargetTypes_TargetTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_BoostedTreeRegressor; /** - * This entry applies to views in the dataset. + * DNN classifier model. * - * Value: "VIEWS" + * Value: "DNN_CLASSIFIER" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_DatasetAccessEntry_TargetTypes_Views; - -// ---------------------------------------------------------------------------- -// GTLRBigquery_HparamTuningTrial.status - +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_DnnClassifier; /** - * The trial failed. + * Wide-and-deep classifier model. * - * Value: "FAILED" + * Value: "DNN_LINEAR_COMBINED_CLASSIFIER" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_Failed; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_DnnLinearCombinedClassifier; /** - * The trial is infeasible due to the invalid params. + * Wide-and-deep regressor model. * - * Value: "INFEASIBLE" + * Value: "DNN_LINEAR_COMBINED_REGRESSOR" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_Infeasible; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_DnnLinearCombinedRegressor; /** - * Scheduled but not started. + * DNN regressor model. * - * Value: "NOT_STARTED" + * Value: "DNN_REGRESSOR" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_NotStarted; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_DnnRegressor; /** - * Running state. + * K-means clustering model. * - * Value: "RUNNING" + * Value: "KMEANS" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_Running; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_Kmeans; /** - * Trial stopped early because it's not promising. + * Linear regression model. * - * Value: "STOPPED_EARLY" + * Value: "LINEAR_REGRESSION" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_StoppedEarly; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_LinearRegression; /** - * The trial succeeded. + * Logistic regression based classification model. * - * Value: "SUCCEEDED" + * Value: "LOGISTIC_REGRESSION" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_Succeeded; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_LogisticRegression; +/** + * Matrix factorization model. + * + * Value: "MATRIX_FACTORIZATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_MatrixFactorization; /** * Default value. * - * Value: "TRIAL_STATUS_UNSPECIFIED" + * Value: "MODEL_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_HparamTuningTrial_Status_TrialStatusUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRBigquery_JobCreationReason.code - +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_ModelTypeUnspecified; /** - * Reason is not specified. + * An imported ONNX model. * - * Value: "CODE_UNSPECIFIED" + * Value: "ONNX" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobCreationReason_Code_CodeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_Onnx; /** - * The results from the query cannot fit in the response. + * Prinpical Component Analysis model. * - * Value: "LARGE_RESULTS" + * Value: "PCA" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobCreationReason_Code_LargeResults; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_Pca; /** - * The query request ran beyond a system defined timeout specified by the - * [timeoutMs field in the - * QueryRequest](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest). - * As a result it was considered a long running operation for which a job was - * created. + * Random forest classifier model. * - * Value: "LONG_RUNNING" + * Value: "RANDOM_FOREST_CLASSIFIER" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobCreationReason_Code_LongRunning; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_RandomForestClassifier; /** - * BigQuery has determined that the query needs to be executed as a Job. + * Random forest regressor model. * - * Value: "OTHER" + * Value: "RANDOM_FOREST_REGRESSOR" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobCreationReason_Code_Other; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_RandomForestRegressor; /** - * Job creation was requested. + * An imported TensorFlow model. * - * Value: "REQUESTED" + * Value: "TENSORFLOW" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_JobCreationReason_Code_Requested; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_Tensorflow; +/** + * An imported TensorFlow Lite model. + * + * Value: "TENSORFLOW_LITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_TensorflowLite; +/** + * An imported XGBoost model. + * + * Value: "XGBOOST" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_ModelType_Xgboost; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_MlStatistics.trainingType + +/** + * [Hyperparameter tuning + * training](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview). + * + * Value: "HPARAM_TUNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_TrainingType_HparamTuning; +/** + * Single training with fixed parameter space. + * + * Value: "SINGLE_TRAINING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_TrainingType_SingleTraining; +/** + * Unspecified training type. + * + * Value: "TRAINING_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_MlStatistics_TrainingType_TrainingTypeUnspecified; // ---------------------------------------------------------------------------- // GTLRBigquery_Model.modelType @@ -714,6 +1563,32 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_Model_ModelType_TensorflowLite; */ FOUNDATION_EXTERN NSString * const kGTLRBigquery_Model_ModelType_Xgboost; +// ---------------------------------------------------------------------------- +// GTLRBigquery_QueryRequest.jobCreationMode + +/** + * If unspecified JOB_CREATION_REQUIRED is the default. + * + * Value: "JOB_CREATION_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_QueryRequest_JobCreationMode_JobCreationModeUnspecified; +/** + * Job creation is optional. Returning immediate results is prioritized. + * BigQuery will automatically determine if a Job needs to be created. The + * conditions under which BigQuery can decide to not create a Job are subject + * to change. If Job creation is required, JOB_CREATION_REQUIRED mode should be + * used, which is the default. + * + * Value: "JOB_CREATION_OPTIONAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_QueryRequest_JobCreationMode_JobCreationOptional; +/** + * Default. Job creation is always required. + * + * Value: "JOB_CREATION_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_QueryRequest_JobCreationMode_JobCreationRequired; + // ---------------------------------------------------------------------------- // GTLRBigquery_RemoteModelInfo.remoteServiceType @@ -889,6 +1764,82 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_Routine_SecurityMode_Invoker; */ FOUNDATION_EXTERN NSString * const kGTLRBigquery_Routine_SecurityMode_SecurityModeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRBigquery_ScriptOptions.keyResultStatement + +/** + * The first SELECT statement determines the key result. + * + * Value: "FIRST_SELECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ScriptOptions_KeyResultStatement_FirstSelect; +/** + * Default value. + * + * Value: "KEY_RESULT_STATEMENT_KIND_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ScriptOptions_KeyResultStatement_KeyResultStatementKindUnspecified; +/** + * The last result determines the key result. + * + * Value: "LAST" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ScriptOptions_KeyResultStatement_Last; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_ScriptStatistics.evaluationKind + +/** + * Default value. + * + * Value: "EVALUATION_KIND_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ScriptStatistics_EvaluationKind_EvaluationKindUnspecified; +/** + * The statement evaluates an expression that appears in the script. + * + * Value: "EXPRESSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ScriptStatistics_EvaluationKind_Expression; +/** + * The statement appears directly in the script. + * + * Value: "STATEMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ScriptStatistics_EvaluationKind_Statement; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_SearchStatistics.indexUsageMode + +/** + * The entire search query used search indexes. + * + * Value: "FULLY_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_SearchStatistics_IndexUsageMode_FullyUsed; +/** + * Index usage mode not specified. + * + * Value: "INDEX_USAGE_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_SearchStatistics_IndexUsageMode_IndexUsageModeUnspecified; +/** + * Part of the search query used search indexes. See [`indexUnusedReasons`] + * (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for why other parts + * of the query did not use search indexes. + * + * Value: "PARTIALLY_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_SearchStatistics_IndexUsageMode_PartiallyUsed; +/** + * No search indexes were used in the search query. See [`indexUnusedReasons`] + * (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for detailed + * reasons. + * + * Value: "UNUSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_SearchStatistics_IndexUsageMode_Unused; + // ---------------------------------------------------------------------------- // GTLRBigquery_StandardSqlDataType.typeKind @@ -949,60 +1900,176 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_In /** * Encoded as fully qualified 3 part: 0-5 15 2:30:45.6 * - * Value: "INTERVAL" + * Value: "INTERVAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Interval; +/** + * Encoded as a string. + * + * Value: "JSON" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Json; +/** + * Encoded as a decimal string. + * + * Value: "NUMERIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Numeric; +/** + * Encoded as a pair with types matching range_element_type. Pairs must begin + * with "[", end with ")", and be separated by ", ". + * + * Value: "RANGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Range; +/** + * Encoded as a string value. + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_String; +/** + * Encoded as a list with fields of type Type.struct_type[i]. List is used + * because a JSON object cannot have duplicate field names. + * + * Value: "STRUCT" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Struct; +/** + * Encoded as RFC 3339 partial-time format string: 23:20:50.52 + * + * Value: "TIME" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Time; +/** + * Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string: + * 1985-04-12T23:20:50.52Z + * + * Value: "TIMESTAMP" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Timestamp; +/** + * Invalid type. + * + * Value: "TYPE_KIND_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_TypeKindUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_Table.defaultRoundingMode + +/** + * ROUND_HALF_AWAY_FROM_ZERO rounds half values away from zero when applying + * precision and scale upon writing of NUMERIC and BIGNUMERIC values. For + * Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5, 1.6, 1.7, 1.8, 1.9 => 2 + * + * Value: "ROUND_HALF_AWAY_FROM_ZERO" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_Table_DefaultRoundingMode_RoundHalfAwayFromZero; +/** + * ROUND_HALF_EVEN rounds half values to the nearest even value when applying + * precision and scale upon writing of NUMERIC and BIGNUMERIC values. For + * Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5 => 2 1.6, 1.7, 1.8, 1.9 => 2 2.5 => 2 + * + * Value: "ROUND_HALF_EVEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_Table_DefaultRoundingMode_RoundHalfEven; +/** + * Unspecified will default to using ROUND_HALF_AWAY_FROM_ZERO. + * + * Value: "ROUNDING_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_Table_DefaultRoundingMode_RoundingModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_TableFieldSchema.roundingMode + +/** + * ROUND_HALF_AWAY_FROM_ZERO rounds half values away from zero when applying + * precision and scale upon writing of NUMERIC and BIGNUMERIC values. For + * Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5, 1.6, 1.7, 1.8, 1.9 => 2 + * + * Value: "ROUND_HALF_AWAY_FROM_ZERO" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_TableFieldSchema_RoundingMode_RoundHalfAwayFromZero; +/** + * ROUND_HALF_EVEN rounds half values to the nearest even value when applying + * precision and scale upon writing of NUMERIC and BIGNUMERIC values. For + * Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5 => 2 1.6, 1.7, 1.8, 1.9 => 2 2.5 => 2 + * + * Value: "ROUND_HALF_EVEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_TableFieldSchema_RoundingMode_RoundHalfEven; +/** + * Unspecified will default to using ROUND_HALF_AWAY_FROM_ZERO. + * + * Value: "ROUNDING_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_TableFieldSchema_RoundingMode_RoundingModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_TableMetadataCacheUsage.unusedReason + +/** + * Metadata cache was outside the table's maxStaleness. + * + * Value: "EXCEEDED_MAX_STALENESS" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Interval; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_TableMetadataCacheUsage_UnusedReason_ExceededMaxStaleness; /** - * Encoded as a string. + * Metadata caching feature is not enabled. [Update BigLake tables] + * (/bigquery/docs/create-cloud-storage-table-biglake#update-biglake-tables) to + * enable the metadata caching. * - * Value: "JSON" + * Value: "METADATA_CACHING_NOT_ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Json; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_TableMetadataCacheUsage_UnusedReason_MetadataCachingNotEnabled; /** - * Encoded as a decimal string. + * Other unknown reason. * - * Value: "NUMERIC" + * Value: "OTHER_REASON" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Numeric; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_TableMetadataCacheUsage_UnusedReason_OtherReason; /** - * Encoded as a pair with types matching range_element_type. Pairs must begin - * with "[", end with ")", and be separated by ", ". + * Unused reasons not specified. * - * Value: "RANGE" + * Value: "UNUSED_REASON_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Range; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_TableMetadataCacheUsage_UnusedReason_UnusedReasonUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBigquery_TableReplicationInfo.replicationStatus + /** - * Encoded as a string value. + * Replication is Active with no errors. * - * Value: "STRING" + * Value: "ACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_String; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_TableReplicationInfo_ReplicationStatus_Active; /** - * Encoded as a list with fields of type Type.struct_type[i]. List is used - * because a JSON object cannot have duplicate field names. + * Source revoked replication permissions. * - * Value: "STRUCT" + * Value: "PERMISSION_DENIED" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Struct; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_TableReplicationInfo_ReplicationStatus_PermissionDenied; /** - * Encoded as RFC 3339 partial-time format string: 23:20:50.52 + * Default value. * - * Value: "TIME" + * Value: "REPLICATION_STATUS_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Time; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_TableReplicationInfo_ReplicationStatus_ReplicationStatusUnspecified; /** - * Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string: - * 1985-04-12T23:20:50.52Z + * Source object is deleted. * - * Value: "TIMESTAMP" + * Value: "SOURCE_DELETED" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_Timestamp; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_TableReplicationInfo_ReplicationStatus_SourceDeleted; /** - * Invalid type. + * Source configuration doesn’t allow replication. * - * Value: "TYPE_KIND_UNSPECIFIED" + * Value: "UNSUPPORTED_CONFIGURATION" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_StandardSqlDataType_TypeKind_TypeKindUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_TableReplicationInfo_ReplicationStatus_UnsupportedConfiguration; // ---------------------------------------------------------------------------- // GTLRBigquery_TrainingOptions.boosterType @@ -2915,12 +3982,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_AvroOptions + * Options for external data sources. */ @interface GTLRBigquery_AvroOptions : GTLRObject /** - * [Optional] If sourceFormat is set to "AVRO", indicates whether to interpret + * Optional. If sourceFormat is set to "AVRO", indicates whether to interpret * logical types as the corresponding BigQuery data type (for example, * TIMESTAMP), instead of using the raw type (for example, INTEGER). * @@ -2932,18 +3999,38 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_BiEngineReason + * Reason why BI Engine didn't accelerate the query (or sub-query). */ @interface GTLRBigquery_BiEngineReason : GTLRObject /** - * [Output-only] High-level BI Engine reason for partial or disabled - * acceleration. + * Output only. High-level BI Engine reason for partial or disabled + * acceleration + * + * Likely values: + * @arg @c kGTLRBigquery_BiEngineReason_Code_CodeUnspecified BiEngineReason + * not specified. (Value: "CODE_UNSPECIFIED") + * @arg @c kGTLRBigquery_BiEngineReason_Code_InputTooLarge Input too large + * for acceleration by BI Engine. (Value: "INPUT_TOO_LARGE") + * @arg @c kGTLRBigquery_BiEngineReason_Code_InsufficientReservation Not + * enough memory available for BI Engine acceleration. (Value: + * "INSUFFICIENT_RESERVATION") + * @arg @c kGTLRBigquery_BiEngineReason_Code_NoReservation No reservation + * available for BI Engine acceleration. (Value: "NO_RESERVATION") + * @arg @c kGTLRBigquery_BiEngineReason_Code_OtherReason Catch-all code for + * all other cases for partial or disabled acceleration. (Value: + * "OTHER_REASON") + * @arg @c kGTLRBigquery_BiEngineReason_Code_TableExcluded One or more tables + * were not eligible for BI Engine acceleration. (Value: + * "TABLE_EXCLUDED") + * @arg @c kGTLRBigquery_BiEngineReason_Code_UnsupportedSqlText This + * particular SQL text is not supported for acceleration by BI Engine. + * (Value: "UNSUPPORTED_SQL_TEXT") */ @property(nonatomic, copy, nullable) NSString *code; /** - * [Output-only] Free form human-readable reason for partial or disabled + * Output only. Free form human-readable reason for partial or disabled * acceleration. */ @property(nonatomic, copy, nullable) NSString *message; @@ -2952,19 +4039,50 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_BiEngineStatistics + * Statistics for a BI Engine specific query. Populated as part of + * JobStatistics2 */ @interface GTLRBigquery_BiEngineStatistics : GTLRObject /** - * [Output-only] Specifies which mode of BI Engine acceleration was performed + * Output only. Specifies which mode of BI Engine acceleration was performed * (if any). + * + * Likely values: + * @arg @c kGTLRBigquery_BiEngineStatistics_AccelerationMode_BiEngineAccelerationModeUnspecified + * BiEngineMode type not specified. (Value: + * "BI_ENGINE_ACCELERATION_MODE_UNSPECIFIED") + * @arg @c kGTLRBigquery_BiEngineStatistics_AccelerationMode_BiEngineDisabled + * BI Engine acceleration was attempted but disabled. bi_engine_reasons + * specifies a more detailed reason. (Value: "BI_ENGINE_DISABLED") + * @arg @c kGTLRBigquery_BiEngineStatistics_AccelerationMode_FullInput All of + * the query inputs were accelerated using BI Engine. (Value: + * "FULL_INPUT") + * @arg @c kGTLRBigquery_BiEngineStatistics_AccelerationMode_FullQuery All of + * the query was accelerated using BI Engine. (Value: "FULL_QUERY") + * @arg @c kGTLRBigquery_BiEngineStatistics_AccelerationMode_PartialInput + * Some inputs were accelerated using BI Engine. See bi_engine_reasons + * for why parts of the query were not accelerated. (Value: + * "PARTIAL_INPUT") */ @property(nonatomic, copy, nullable) NSString *accelerationMode; /** - * [Output-only] Specifies which mode of BI Engine acceleration was performed + * Output only. Specifies which mode of BI Engine acceleration was performed * (if any). + * + * Likely values: + * @arg @c kGTLRBigquery_BiEngineStatistics_BiEngineMode_AccelerationModeUnspecified + * BiEngineMode type not specified. (Value: + * "ACCELERATION_MODE_UNSPECIFIED") + * @arg @c kGTLRBigquery_BiEngineStatistics_BiEngineMode_Disabled BI Engine + * disabled the acceleration. bi_engine_reasons specifies a more detailed + * reason. (Value: "DISABLED") + * @arg @c kGTLRBigquery_BiEngineStatistics_BiEngineMode_Full All of the + * query was accelerated using BI Engine. (Value: "FULL") + * @arg @c kGTLRBigquery_BiEngineStatistics_BiEngineMode_Partial Part of the + * query was accelerated using BI Engine. See bi_engine_reasons for why + * parts of the query were not accelerated. (Value: "PARTIAL") */ @property(nonatomic, copy, nullable) NSString *biEngineMode; @@ -2979,33 +4097,44 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_BigLakeConfiguration + * Configuration for BigLake managed tables. */ @interface GTLRBigquery_BigLakeConfiguration : GTLRObject /** - * [Required] Required and immutable. Credential reference for accessing - * external storage system. Normalized as project_id.location_id.connection_id. + * Required. The connection specifying the credentials to be used to read and + * write to external storage, such as Cloud Storage. The connection_id can have + * the form ".." or + * "projects//locations//connections/". */ @property(nonatomic, copy, nullable) NSString *connectionId; /** - * [Required] Required and immutable. Open source file format that the table - * data is stored in. Currently only PARQUET is supported. + * Required. The file format the table data is stored in. + * + * Likely values: + * @arg @c kGTLRBigquery_BigLakeConfiguration_FileFormat_FileFormatUnspecified + * Default Value. (Value: "FILE_FORMAT_UNSPECIFIED") + * @arg @c kGTLRBigquery_BigLakeConfiguration_FileFormat_Parquet Apache + * Parquet format. (Value: "PARQUET") */ @property(nonatomic, copy, nullable) NSString *fileFormat; /** - * [Required] Required and immutable. Fully qualified location prefix of the - * external folder where data is stored. Normalized to standard format: - * "gs:////". Starts with "gs://" rather than "/bigstore/". Ends with "/". Does - * not contain "*". See also BigLakeStorageMetadata on how it is used. + * Required. The fully qualified location prefix of the external folder where + * table data is stored. The '*' wildcard character is not allowed. The URI + * should be in the format "gs://bucket/path_to_table/" */ @property(nonatomic, copy, nullable) NSString *storageUri; /** - * [Required] Required and immutable. Open source file format that the table - * data is stored in. Currently only PARQUET is supported. + * Required. The table format the metadata only snapshots are stored in. + * + * Likely values: + * @arg @c kGTLRBigquery_BigLakeConfiguration_TableFormat_Iceberg Apache + * Iceberg format. (Value: "ICEBERG") + * @arg @c kGTLRBigquery_BigLakeConfiguration_TableFormat_TableFormatUnspecified + * Default Value. (Value: "TABLE_FORMAT_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *tableFormat; @@ -3013,29 +4142,29 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_BigtableColumn + * Information related to a Bigtable column. */ @interface GTLRBigquery_BigtableColumn : GTLRObject /** - * [Optional] The encoding of the values when the type is not STRING. - * Acceptable encoding values are: TEXT - indicates values are alphanumeric - * text strings. BINARY - indicates values are encoded using HBase - * Bytes.toBytes family of functions. 'encoding' can also be set at the column - * family level. However, the setting at this level takes precedence if - * 'encoding' is set at both levels. + * Optional. The encoding of the values when the type is not STRING. Acceptable + * encoding values are: TEXT - indicates values are alphanumeric text strings. + * BINARY - indicates values are encoded using HBase Bytes.toBytes family of + * functions. 'encoding' can also be set at the column family level. However, + * the setting at this level takes precedence if 'encoding' is set at both + * levels. */ @property(nonatomic, copy, nullable) NSString *encoding; /** - * [Optional] If the qualifier is not a valid BigQuery field identifier i.e. - * does not match [a-zA-Z][a-zA-Z0-9_]*, a valid identifier must be provided as - * the column field name and is used as field name in queries. + * Optional. If the qualifier is not a valid BigQuery field identifier i.e. + * does not match a-zA-Z*, a valid identifier must be provided as the column + * field name and is used as field name in queries. */ @property(nonatomic, copy, nullable) NSString *fieldName; /** - * [Optional] If this is set, only the latest version of value in this column + * Optional. If this is set, only the latest version of value in this column * are exposed. 'onlyReadLatest' can also be set at the column family level. * However, the setting at this level takes precedence if 'onlyReadLatest' is * set at both levels. @@ -3050,23 +4179,25 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * UTF-8 string, it can be specified in the qualifier_string field. Otherwise, * a base-64 encoded value must be set to qualifier_encoded. The column field * name is the same as the column qualifier. However, if the qualifier is not a - * valid BigQuery field identifier i.e. does not match [a-zA-Z][a-zA-Z0-9_]*, a - * valid identifier must be provided as field_name. + * valid BigQuery field identifier i.e. does not match a-zA-Z*, a valid + * identifier must be provided as field_name. * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). */ @property(nonatomic, copy, nullable) NSString *qualifierEncoded; +/** Qualifier string. */ @property(nonatomic, copy, nullable) NSString *qualifierString; /** - * [Optional] The type to convert the value in cells of this column. The values + * Optional. The type to convert the value in cells of this column. The values * are expected to be encoded using HBase Bytes.toBytes function when using the - * BINARY encoding value. Following BigQuery types are allowed (case-sensitive) - * - BYTES STRING INTEGER FLOAT BOOLEAN Default type is BYTES. 'type' can also - * be set at the column family level. However, the setting at this level takes - * precedence if 'type' is set at both levels. + * BINARY encoding value. Following BigQuery types are allowed + * (case-sensitive): * BYTES * STRING * INTEGER * FLOAT * BOOLEAN * JSON + * Default type is BYTES. 'type' can also be set at the column family level. + * However, the setting at this level takes precedence if 'type' is set at both + * levels. */ @property(nonatomic, copy, nullable) NSString *type; @@ -3074,12 +4205,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_BigtableColumnFamily + * Information related to a Bigtable column family. */ @interface GTLRBigquery_BigtableColumnFamily : GTLRObject /** - * [Optional] Lists of columns that should be exposed as individual fields as + * Optional. Lists of columns that should be exposed as individual fields as * opposed to a list of (column name, value) pairs. All columns whose qualifier * matches a qualifier in this list can be accessed as .. Other columns can be * accessed as a list through .Column field. @@ -3087,12 +4218,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSArray *columns; /** - * [Optional] The encoding of the values when the type is not STRING. - * Acceptable encoding values are: TEXT - indicates values are alphanumeric - * text strings. BINARY - indicates values are encoded using HBase - * Bytes.toBytes family of functions. This can be overridden for a specific - * column by listing that column in 'columns' and specifying an encoding for - * it. + * Optional. The encoding of the values when the type is not STRING. Acceptable + * encoding values are: TEXT - indicates values are alphanumeric text strings. + * BINARY - indicates values are encoded using HBase Bytes.toBytes family of + * functions. This can be overridden for a specific column by listing that + * column in 'columns' and specifying an encoding for it. */ @property(nonatomic, copy, nullable) NSString *encoding; @@ -3100,7 +4230,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *familyId; /** - * [Optional] If this is set only the latest version of value are exposed for + * Optional. If this is set only the latest version of value are exposed for * all columns in this column family. This can be overridden for a specific * column by listing that column in 'columns' and specifying a different * setting for that column. @@ -3110,12 +4240,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *onlyReadLatest; /** - * [Optional] The type to convert the value in cells of this column family. The + * Optional. The type to convert the value in cells of this column family. The * values are expected to be encoded using HBase Bytes.toBytes function when * using the BINARY encoding value. Following BigQuery types are allowed - * (case-sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Default type is BYTES. - * This can be overridden for a specific column by listing that column in - * 'columns' and specifying a type for it. + * (case-sensitive): * BYTES * STRING * INTEGER * FLOAT * BOOLEAN * JSON + * Default type is BYTES. This can be overridden for a specific column by + * listing that column in 'columns' and specifying a type for it. */ @property(nonatomic, copy, nullable) NSString *type; @@ -3123,12 +4253,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_BigtableOptions + * Options specific to Google Cloud Bigtable data sources. */ @interface GTLRBigquery_BigtableOptions : GTLRObject /** - * [Optional] List of column families to expose in the table schema along with + * Optional. List of column families to expose in the table schema along with * their types. This list restricts the column families that can be referenced * in queries and specifies their value types. You can use this list to do type * conversions - see the 'type' field for more details. If you leave this list @@ -3139,7 +4269,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSArray *columnFamilies; /** - * [Optional] If field is true, then the column families that are not specified + * Optional. If field is true, then the column families that are not specified * in columnFamilies list are not exposed in the table schema. Otherwise, they * are read with BYTES type values. The default value is false. * @@ -3148,8 +4278,17 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *ignoreUnspecifiedColumnFamilies; /** - * [Optional] If field is true, then the rowkey column families will be read - * and converted to string. Otherwise they are read with BYTES type values and + * Optional. If field is true, then each column family will be read as a single + * JSON column. Otherwise they are read as a repeated cell structure containing + * timestamp/value tuples. The default value is false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *outputColumnFamiliesAsJson; + +/** + * Optional. If field is true, then the rowkey column families will be read and + * converted to string. Otherwise they are read with BYTES type values and * users need to manually cast them with CAST if necessary. The default value * is false. * @@ -3327,7 +4466,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -3340,42 +4483,35 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @interface GTLRBigquery_BqmlIterationResult : GTLRObject /** - * [Output-only, Beta] Time taken to run the training iteration in - * milliseconds. + * Deprecated. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *durationMs; /** - * [Output-only, Beta] Eval loss computed on the eval data at the end of the - * iteration. The eval loss is used for early stopping to avoid overfitting. No - * eval loss if eval_split_method option is specified as no_split or auto_split - * with input data size less than 500 rows. + * Deprecated. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *evalLoss; /** - * [Output-only, Beta] Index of the ML training iteration, starting from zero - * for each training run. + * Deprecated. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *index; /** - * [Output-only, Beta] Learning rate used for this iteration, it varies for - * different training iterations if learn_rate_strategy option is not constant. + * Deprecated. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *learnRate; /** - * [Output-only, Beta] Training loss computed on the training data at the end - * of the iteration. The training loss function is defined by model type. + * Deprecated. * * Uses NSNumber of doubleValue. */ @@ -3389,40 +4525,23 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @interface GTLRBigquery_BqmlTrainingRun : GTLRObject -/** [Output-only, Beta] List of each iteration results. */ +/** Deprecated. */ @property(nonatomic, strong, nullable) NSArray *iterationResults; -/** - * [Output-only, Beta] Training run start time in milliseconds since the epoch. - */ +/** Deprecated. */ @property(nonatomic, strong, nullable) GTLRDateTime *startTime; -/** - * [Output-only, Beta] Different state applicable for a training run. IN - * PROGRESS: Training run is in progress. FAILED: Training run ended due to a - * non-retryable failure. SUCCEEDED: Training run successfully completed. - * CANCELLED: Training run cancelled by the user. - */ +/** Deprecated. */ @property(nonatomic, copy, nullable) NSString *state; -/** - * [Output-only, Beta] Training options used by this training run. These - * options are mutable for subsequent training runs. Default values are - * explicitly stored for options not specified in the input query of the first - * training run. For subsequent training runs, any option not explicitly - * specified in the input query will be copied from the previous training run. - */ +/** Deprecated. */ @property(nonatomic, strong, nullable) GTLRBigquery_BqmlTrainingRun_TrainingOptions *trainingOptions; @end /** - * [Output-only, Beta] Training options used by this training run. These - * options are mutable for subsequent training runs. Default values are - * explicitly stored for options not specified in the input query of the first - * training run. For subsequent training runs, any option not explicitly - * specified in the input query will be copied from the previous training run. + * Deprecated. */ @interface GTLRBigquery_BqmlTrainingRun_TrainingOptions : GTLRObject @@ -3522,15 +4641,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_CloneDefinition + * Information about base table and clone time of a table clone. */ @interface GTLRBigquery_CloneDefinition : GTLRObject -/** [Required] Reference describing the ID of the table that was cloned. */ +/** Required. Reference describing the ID of the table that was cloned. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableReference *baseTableReference; /** - * [Required] The time at which the base table was cloned. This value is + * Required. The time at which the base table was cloned. This value is * reported in the JSON response using RFC3339 format. */ @property(nonatomic, strong, nullable) GTLRDateTime *cloneTime; @@ -3594,16 +4713,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_Clustering + * Configures table clustering. */ @interface GTLRBigquery_Clustering : GTLRObject /** - * [Repeated] One or more fields on which data should be clustered. Only - * top-level, non-repeated, simple-type fields are supported. When you cluster - * a table using multiple columns, the order of columns you specify is - * important. The order of the specified columns determines the sort order of - * the data. + * One or more fields on which data should be clustered. Only top-level, + * non-repeated, simple-type fields are supported. The ordering of the + * clustering fields should be prioritized from most to least important for + * filtering purposes. Additional information on limitations can be found here: + * https://cloud.google.com/bigquery/docs/creating-clustered-tables#limitations */ @property(nonatomic, strong, nullable) NSArray *fields; @@ -3655,37 +4774,53 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_ConnectionProperty + * A connection-level property to customize query behavior. Under JDBC, these + * correspond directly to connection properties passed to the DriverManager. + * Under ODBC, these correspond to properties in the connection string. + * Currently supported connection properties: * **dataset_project_id**: + * represents the default project for datasets that are used in the query. + * Setting the system variable `\@\@dataset_project_id` achieves the same + * behavior. For more information about system variables, see: + * https://cloud.google.com/bigquery/docs/reference/system-variables * + * **time_zone**: represents the default timezone used to run the query. * + * **session_id**: associates the query with a given session. * + * **query_label**: associates the query with a given job label. If set, all + * subsequent queries in a script or session will have this label. For the + * format in which a you can specify a query label, see labels in the + * JobConfiguration resource type: + * https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfiguration + * Additional properties are allowed, but ignored. Specifying multiple + * connection properties with the same key returns an error. */ @interface GTLRBigquery_ConnectionProperty : GTLRObject -/** [Required] Name of the connection property to set. */ +/** The key of the property to set. */ @property(nonatomic, copy, nullable) NSString *key; -/** [Required] Value of the connection property. */ +/** The value of the property to set. */ @property(nonatomic, copy, nullable) NSString *value; @end /** - * GTLRBigquery_CsvOptions + * Information related to a CSV data source. */ @interface GTLRBigquery_CsvOptions : GTLRObject /** - * [Optional] Indicates if BigQuery should accept rows that are missing - * trailing optional columns. If true, BigQuery treats missing trailing columns - * as null values. If false, records with missing trailing columns are treated - * as bad records, and if there are too many bad records, an invalid error is - * returned in the job result. The default value is false. + * Optional. Indicates if BigQuery should accept rows that are missing trailing + * optional columns. If true, BigQuery treats missing trailing columns as null + * values. If false, records with missing trailing columns are treated as bad + * records, and if there are too many bad records, an invalid error is returned + * in the job result. The default value is false. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *allowJaggedRows; /** - * [Optional] Indicates if BigQuery should allow quoted data sections that + * Optional. Indicates if BigQuery should allow quoted data sections that * contain newline characters in a CSV file. The default value is false. * * Uses NSNumber of boolValue. @@ -3693,50 +4828,55 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *allowQuotedNewlines; /** - * [Optional] The character encoding of the data. The supported values are - * UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data - * after the raw, binary data has been split using the values of the quote and - * fieldDelimiter properties. + * Optional. The character encoding of the data. The supported values are + * UTF-8, ISO-8859-1, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default + * value is UTF-8. BigQuery decodes the data after the raw, binary data has + * been split using the values of the quote and fieldDelimiter properties. */ @property(nonatomic, copy, nullable) NSString *encoding; /** - * [Optional] The separator for fields in a CSV file. BigQuery converts the - * string to ISO-8859-1 encoding, and then uses the first byte of the encoded - * string to split the data in its raw, binary state. BigQuery also supports - * the escape sequence "\\t" to specify a tab separator. The default value is a - * comma (','). + * Optional. The separator character for fields in a CSV file. The separator is + * interpreted as a single byte. For files encoded in ISO-8859-1, any single + * character can be used as a separator. For files encoded in UTF-8, characters + * represented in decimal range 1-127 (U+0001-U+007F) can be used without any + * modification. UTF-8 characters encoded with multiple bytes (i.e. U+0080 and + * above) will have only the first byte used for separating fields. The + * remaining bytes will be treated as a part of the field. BigQuery also + * supports the escape sequence "\\t" (U+0009) to specify a tab separator. The + * default value is comma (",", U+002C). */ @property(nonatomic, copy, nullable) NSString *fieldDelimiter; /** - * [Optional] An custom string that will represent a NULL value in CSV import + * [Optional] A custom string that will represent a NULL value in CSV import * data. */ @property(nonatomic, copy, nullable) NSString *nullMarker; /** - * [Optional] Preserves the embedded ASCII control characters (the first 32 - * characters in the ASCII-table, from '\\x00' to '\\x1F') when loading from - * CSV. Only applicable to CSV, ignored for other formats. + * Optional. Indicates if the embedded ASCII control characters (the first 32 + * characters in the ASCII-table, from '\\x00' to '\\x1F') are preserved. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *preserveAsciiControlCharacters; /** - * [Optional] The value that is used to quote data sections in a CSV file. + * Optional. The value that is used to quote data sections in a CSV file. * BigQuery converts the string to ISO-8859-1 encoding, and then uses the first * byte of the encoded string to split the data in its raw, binary state. The - * default value is a double-quote ('"'). If your data does not contain quoted + * default value is a double-quote ("). If your data does not contain quoted * sections, set the property value to an empty string. If your data contains * quoted newline characters, you must also set the allowQuotedNewlines - * property to true. + * property to true. To include the specific quote character within a quoted + * value, precede it with an additional matching quote character. For example, + * if you want to escape the default character ' " ', use ' "" '. */ @property(nonatomic, copy, nullable) NSString *quote; /** - * [Optional] The number of rows at the top of a CSV file that BigQuery will + * Optional. The number of rows at the top of a CSV file that BigQuery will * skip when reading the data. The default value is 0. This property is useful * if you have header rows in the file that should be skipped. When autodetect * is on, the behavior is the following: * skipLeadingRows unspecified - @@ -3756,16 +4896,27 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_DataMaskingStatistics + * Options for data format adjustments. + */ +@interface GTLRBigquery_DataFormatOptions : GTLRObject + +/** + * Optional. Output timestamp as usec int64. Default is false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *useInt64Timestamp; + +@end + + +/** + * Statistics for data-masking. */ @interface GTLRBigquery_DataMaskingStatistics : GTLRObject /** - * [Output-only] [Preview] Whether any accessed data was protected by data - * masking. The actual evaluation is done by accessStats.masked_field_count > - * 0. Since this is only used for the discovery_doc generation purpose, as long - * as the type (boolean) matches, client library can leverage this. The actual - * evaluation of the variable is done else-where. + * Whether any accessed data was protected by the data masking. * * Uses NSNumber of boolValue. */ @@ -3780,7 +4931,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @interface GTLRBigquery_Dataset : GTLRObject /** - * [Optional] An array of objects that define dataset access for one or more + * Optional. An array of objects that define dataset access for one or more * entities. You can set this property when inserting or updating a dataset in * order to control who is allowed to access the data. If unspecified at * dataset creation time, BigQuery adds default dataset access for the @@ -3792,45 +4943,81 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSArray *access; /** - * [Output-only] The time when this dataset was created, in milliseconds since + * Output only. The time when this dataset was created, in milliseconds since * the epoch. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *creationTime; -/** [Required] A reference that identifies the dataset. */ +/** Required. A reference that identifies the dataset. */ @property(nonatomic, strong, nullable) GTLRBigquery_DatasetReference *datasetReference; -/** [Output-only] The default collation of the dataset. */ +/** + * Optional. Defines the default collation specification of future tables + * created in the dataset. If a table is created in this dataset without + * table-level default collation, then the table inherits the dataset default + * collation, which is applied to the string fields that do not have explicit + * collation specified. A change to this field affects only tables created + * afterwards, and does not alter the existing tables. The following values are + * supported: * 'und:ci': undetermined locale, case insensitive. * '': empty + * string. Default to case-sensitive behavior. + */ @property(nonatomic, copy, nullable) NSString *defaultCollation; +/** + * The default encryption key for all tables in the dataset. Once this property + * is set, all newly-created partitioned tables in the dataset will have + * encryption key set to this value, unless table creation request (or query) + * overrides the key. + */ @property(nonatomic, strong, nullable) GTLRBigquery_EncryptionConfiguration *defaultEncryptionConfiguration; /** - * [Optional] The default partition expiration for all partitioned tables in - * the dataset, in milliseconds. Once this property is set, all newly-created - * partitioned tables in the dataset will have an expirationMs property in the - * timePartitioning settings set to this value, and changing the value will - * only affect new tables, not existing ones. The storage in a partition will - * have an expiration time of its partition time plus this value. Setting this - * property overrides the use of defaultTableExpirationMs for partitioned - * tables: only one of defaultTableExpirationMs and - * defaultPartitionExpirationMs will be used for any new partitioned table. If - * you provide an explicit timePartitioning.expirationMs when creating or - * updating a partitioned table, that value takes precedence over the default - * partition expiration time indicated by this property. + * This default partition expiration, expressed in milliseconds. When new + * time-partitioned tables are created in a dataset where this property is set, + * the table will inherit this value, propagated as the + * `TimePartitioning.expirationMs` property on the new table. If you set + * `TimePartitioning.expirationMs` explicitly when creating a table, the + * `defaultPartitionExpirationMs` of the containing dataset is ignored. When + * creating a partitioned table, if `defaultPartitionExpirationMs` is set, the + * `defaultTableExpirationMs` value is ignored and the table will not be + * inherit a table expiration deadline. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *defaultPartitionExpirationMs; -/** [Output-only] The default rounding mode of the dataset. */ +/** + * Optional. Defines the default rounding mode specification of new tables + * created within this dataset. During table creation, if this field is + * specified, the table within this dataset will inherit the default rounding + * mode of the dataset. Setting the default rounding mode on a table overrides + * this option. Existing tables in the dataset are unaffected. If columns are + * defined during that table creation, they will immediately inherit the + * table's default rounding mode, unless otherwise specified. + * + * Likely values: + * @arg @c kGTLRBigquery_Dataset_DefaultRoundingMode_RoundHalfAwayFromZero + * ROUND_HALF_AWAY_FROM_ZERO rounds half values away from zero when + * applying precision and scale upon writing of NUMERIC and BIGNUMERIC + * values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5, 1.6, 1.7, 1.8, 1.9 + * => 2 (Value: "ROUND_HALF_AWAY_FROM_ZERO") + * @arg @c kGTLRBigquery_Dataset_DefaultRoundingMode_RoundHalfEven + * ROUND_HALF_EVEN rounds half values to the nearest even value when + * applying precision and scale upon writing of NUMERIC and BIGNUMERIC + * values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5 => 2 1.6, 1.7, 1.8, + * 1.9 => 2 2.5 => 2 (Value: "ROUND_HALF_EVEN") + * @arg @c kGTLRBigquery_Dataset_DefaultRoundingMode_RoundingModeUnspecified + * Unspecified will default to using ROUND_HALF_AWAY_FROM_ZERO. (Value: + * "ROUNDING_MODE_UNSPECIFIED") + */ @property(nonatomic, copy, nullable) NSString *defaultRoundingMode; /** - * [Optional] The default lifetime of all tables in the dataset, in - * milliseconds. The minimum value is 3600000 milliseconds (one hour). Once + * Optional. The default lifetime of all tables in the dataset, in + * milliseconds. The minimum lifetime value is 3600000 milliseconds (one hour). + * To clear an existing default expiration with a PATCH request, set to 0. Once * this property is set, all newly-created tables in the dataset will have an * expirationTime property set to the creation time plus the value in this * property, and changing the value will only affect new tables, not existing @@ -3845,26 +5032,26 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *defaultTableExpirationMs; /** - * [Optional] A user-friendly description of the dataset. + * Optional. A user-friendly description of the dataset. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; -/** [Output-only] A hash of the resource. */ +/** Output only. A hash of the resource. */ @property(nonatomic, copy, nullable) NSString *ETag; /** - * [Optional] Information about the external metadata storage where the dataset + * Optional. Information about the external metadata storage where the dataset * is defined. Filled out when the dataset type is EXTERNAL. */ @property(nonatomic, strong, nullable) GTLRBigquery_ExternalDatasetReference *externalDatasetReference; -/** [Optional] A descriptive name for the dataset. */ +/** Optional. A descriptive name for the dataset. */ @property(nonatomic, copy, nullable) NSString *friendlyName; /** - * [Output-only] The fully-qualified unique name of the dataset in the format + * Output only. The fully-qualified unique name of the dataset in the format * projectId:datasetId. The dataset name without the project name is given in * the datasetId field. When creating a new dataset, leave this field blank, * and instead specify the datasetId field. @@ -3874,13 +5061,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *identifier; /** - * [Optional] Indicates if table names are case insensitive in the dataset. + * Optional. TRUE if the dataset and its table names are case-insensitive, + * otherwise FALSE. By default, this is FALSE, which means the dataset and its + * table names are case-sensitive. This field does not affect routine + * references. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *isCaseInsensitive; -/** [Output-only] The resource type. */ +/** Output only. The resource type. */ @property(nonatomic, copy, nullable) NSString *kind; /** @@ -3891,57 +5081,79 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) GTLRBigquery_Dataset_Labels *labels; /** - * [Output-only] The date when this dataset or any of its tables was last - * modified, in milliseconds since the epoch. + * Output only. The date when this dataset was last modified, in milliseconds + * since the epoch. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *lastModifiedTime; /** - * The geographic location where the dataset should reside. The default value - * is US. See details at https://cloud.google.com/bigquery/docs/locations. + * Optional. The source dataset reference when the dataset is of type LINKED. + * For all other dataset types it is not set. This field cannot be updated once + * it is set. Any attempt to update this field using Update and Patch API + * Operations will be ignored. + */ +@property(nonatomic, strong, nullable) GTLRBigquery_LinkedDatasetSource *linkedDatasetSource; + +/** + * The geographic location where the dataset should reside. See + * https://cloud.google.com/bigquery/docs/locations for supported locations. */ @property(nonatomic, copy, nullable) NSString *location; /** - * [Optional] Number of hours for the max time travel for all tables in the - * dataset. + * Optional. Defines the time travel window in hours. The value can be from 48 + * to 168 hours (2 to 7 days). The default value is 168 hours if this is not + * set. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *maxTimeTravelHours; /** - * [Output-only] Reserved for future use. + * Output only. Reserved for future use. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; /** - * [Output-only] A URL that can be used to access the resource again. You can + * Output only. A URL that can be used to access the resource again. You can * use this URL in Get or Update requests to the resource. */ @property(nonatomic, copy, nullable) NSString *selfLink; /** - * [Optional] Storage billing model to be used for all tables in the dataset. - * Can be set to PHYSICAL. Default is LOGICAL. + * Optional. Updates storage_billing_model for the dataset. + * + * Likely values: + * @arg @c kGTLRBigquery_Dataset_StorageBillingModel_Logical Billing for + * logical bytes. (Value: "LOGICAL") + * @arg @c kGTLRBigquery_Dataset_StorageBillingModel_Physical Billing for + * physical bytes. (Value: "PHYSICAL") + * @arg @c kGTLRBigquery_Dataset_StorageBillingModel_StorageBillingModelUnspecified + * Value not set. (Value: "STORAGE_BILLING_MODEL_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *storageBillingModel; +/** Output only. Tags for the Dataset. */ +@property(nonatomic, strong, nullable) NSArray *tags; + /** - * [Optional]The tags associated with this dataset. Tag keys are globally - * unique. + * Output only. Same as `type` in `ListFormatDataset`. The type of the dataset, + * one of: * DEFAULT - only accessible by owner and authorized accounts, * + * PUBLIC - accessible by everyone, * LINKED - linked dataset, * EXTERNAL - + * dataset with definition in external metadata catalog. -- *BIGLAKE_METASTORE + * - dataset that references a database created in BigLakeMetastore service. -- */ -@property(nonatomic, strong, nullable) NSArray *tags; +@property(nonatomic, copy, nullable) NSString *type; @end /** - * GTLRBigquery_Dataset_Access_Item + * An object that defines dataset access for an entity. */ @interface GTLRBigquery_Dataset_Access_Item : GTLRObject @@ -3974,13 +5186,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *iamMember; /** - * [Required] An IAM role ID that should be granted to the user, group, or - * domain specified in this access entry. The following legacy mappings will be - * applied: OWNER roles/bigquery.dataOwner WRITER roles/bigquery.dataEditor - * READER roles/bigquery.dataViewer This field will accept any of the above - * formats, but will return only the legacy format. For example, if you set - * this field to "roles/bigquery.dataOwner", it will be returned back as - * "OWNER". + * An IAM role ID that should be granted to the user, group, or domain + * specified in this access entry. The following legacy mappings will be + * applied: OWNER <=> roles/bigquery.dataOwner WRITER <=> + * roles/bigquery.dataEditor READER <=> roles/bigquery.dataViewer This field + * will accept any of the above formats, but will return only the legacy + * format. For example, if you set this field to "roles/bigquery.dataOwner", it + * will be returned back as "OWNER". */ @property(nonatomic, copy, nullable) NSString *role; @@ -4011,10 +5223,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * [Pick one] A view from a different dataset to grant access to. Queries - * executed against that view will have read access to tables in this dataset. - * The role field is not required when this field is set. If that view is - * updated by any user, access to the view needs to be granted again via an - * update operation. + * executed against that view will have read access to views/tables/routines in + * this dataset. The role field is not required when this field is set. If that + * view is updated by any user, access to the view needs to be granted again + * via an update operation. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableReference *view; @@ -4036,37 +5248,46 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_Dataset_Tags_Item + * A global tag managed by Resource Manager. + * https://cloud.google.com/iam/docs/tags-access-control#definitions */ @interface GTLRBigquery_Dataset_Tags_Item : GTLRObject /** - * [Required] The namespaced friendly name of the tag key, e.g. + * Required. The namespaced friendly name of the tag key, e.g. * "12345/environment" where 12345 is org id. */ @property(nonatomic, copy, nullable) NSString *tagKey; -/** [Required] Friendly short name of the tag value, e.g. "production". */ +/** Required. The friendly short name of the tag value, e.g. "production". */ @property(nonatomic, copy, nullable) NSString *tagValue; @end /** - * GTLRBigquery_DatasetAccessEntry + * Grants all resources of particular types in a particular dataset read access + * to the current dataset. Similar to how individually authorized views work, + * updates to any resource granted through its dataset (including creation of + * new resources) requires read permission to referenced resources, plus write + * permission to the authorizing dataset. */ @interface GTLRBigquery_DatasetAccessEntry : GTLRObject -/** [Required] The dataset this entry applies to. */ +/** The dataset this entry applies to */ @property(nonatomic, strong, nullable) GTLRBigquery_DatasetReference *dataset; +/** + * Which resources in the dataset this entry applies to. Currently, only views + * are supported, but additional target types may be added in the future. + */ @property(nonatomic, strong, nullable) NSArray *targetTypes; @end /** - * GTLRBigquery_DatasetList + * Response format for a page of results when listing datasets. * * @note This class supports NSFastEnumeration and indexed subscripting over * its "datasets" property. If returned as the result of a query, it @@ -4087,14 +5308,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSArray *datasets; /** - * A hash value of the results page. You can use this property to determine if - * the page has changed since the last request. + * Output only. A hash value of the results page. You can use this property to + * determine if the page has changed since the last request. */ @property(nonatomic, copy, nullable) NSString *ETag; /** - * The list type. This property always returns the value - * "bigquery#datasetList". + * Output only. The resource type. This property always returns the value + * "bigquery#datasetList" */ @property(nonatomic, copy, nullable) NSString *kind; @@ -4104,11 +5325,19 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, copy, nullable) NSString *nextPageToken; +/** + * A list of skipped locations that were unreachable. For more information + * about BigQuery locations, see: + * https://cloud.google.com/bigquery/docs/locations. Example: "europe-west5" + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + @end /** - * GTLRBigquery_DatasetList_Datasets_Item + * A dataset resource with only a subset of fields, to be returned in a list of + * datasets. */ @interface GTLRBigquery_DatasetList_Datasets_Item : GTLRObject @@ -4118,7 +5347,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) GTLRBigquery_DatasetReference *datasetReference; -/** A descriptive name for the dataset, if one exists. */ +/** + * An alternate name for the dataset. The friendly name is purely decorative in + * nature. + */ @property(nonatomic, copy, nullable) NSString *friendlyName; /** @@ -4129,8 +5361,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *identifier; /** - * The resource type. This property always returns the value - * "bigquery#dataset". + * The resource type. This property always returns the value "bigquery#dataset" */ @property(nonatomic, copy, nullable) NSString *kind; @@ -4140,7 +5371,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) GTLRBigquery_DatasetList_Datasets_Item_Labels *labels; -/** The geographic location where the data resides. */ +/** The geographic location where the dataset resides. */ @property(nonatomic, copy, nullable) NSString *location; @end @@ -4165,13 +5396,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @interface GTLRBigquery_DatasetReference : GTLRObject /** - * [Required] A unique ID for this dataset, without the project name. The ID + * Required. A unique ID for this dataset, without the project name. The ID * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The * maximum length is 1,024 characters. */ @property(nonatomic, copy, nullable) NSString *datasetId; -/** [Optional] The ID of the project containing this dataset. */ +/** Optional. The ID of the project containing this dataset. */ @property(nonatomic, copy, nullable) NSString *projectId; @end @@ -4196,12 +5427,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_DestinationTableProperties + * Properties for the destination table. */ @interface GTLRBigquery_DestinationTableProperties : GTLRObject /** - * [Optional] The description for the destination table. This will only be used + * Optional. The description for the destination table. This will only be used * if the destination table is newly created. If the table already exists and a * value different than the current description is provided, the job will fail. * @@ -4209,19 +5440,17 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; -/** [Internal] This field is for Google internal use only. */ +/** Internal use only. */ @property(nonatomic, strong, nullable) GTLRDateTime *expirationTime; /** - * [Optional] The friendly name for the destination table. This will only be - * used if the destination table is newly created. If the table already exists - * and a value different than the current friendly name is provided, the job - * will fail. + * Optional. Friendly name for the destination table. If the table already + * exists, it should be same as the existing friendly name. */ @property(nonatomic, copy, nullable) NSString *friendlyName; /** - * [Optional] The labels associated with this table. You can use these to + * Optional. The labels associated with this table. You can use these to * organize and group your tables. This will only be used if the destination * table is newly created. If the table already exists and labels are different * than the current labels are provided, the job will fail. @@ -4232,7 +5461,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * [Optional] The labels associated with this table. You can use these to + * Optional. The labels associated with this table. You can use these to * organize and group your tables. This will only be used if the destination * table is newly created. If the table already exists and labels are different * than the current labels are provided, the job will fail. @@ -4262,27 +5491,29 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_DmlStatistics + * Detailed statistics for DML statements */ @interface GTLRBigquery_DmlStatistics : GTLRObject /** - * Number of deleted Rows. populated by DML DELETE, MERGE and TRUNCATE - * statements. + * Output only. Number of deleted Rows. populated by DML DELETE, MERGE and + * TRUNCATE statements. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *deletedRowCount; /** - * Number of inserted Rows. Populated by DML INSERT and MERGE statements. + * Output only. Number of inserted Rows. Populated by DML INSERT and MERGE + * statements * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *insertedRowCount; /** - * Number of updated Rows. Populated by DML UPDATE and MERGE statements. + * Output only. Number of updated Rows. Populated by DML UPDATE and MERGE + * statements. * * Uses NSNumber of longLongValue. */ @@ -4379,7 +5610,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_ErrorProto + * Error details. */ @interface GTLRBigquery_ErrorProto : GTLRObject @@ -4439,7 +5670,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_ExplainQueryStage + * A single stage of query execution. */ @interface GTLRBigquery_ExplainQueryStage : GTLRObject @@ -4450,6 +5681,19 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) NSNumber *completedParallelInputs; +/** + * Output only. Compute mode for this stage. + * + * Likely values: + * @arg @c kGTLRBigquery_ExplainQueryStage_ComputeMode_BiEngine This stage + * was processed using BI Engine compute. (Value: "BI_ENGINE") + * @arg @c kGTLRBigquery_ExplainQueryStage_ComputeMode_Bigquery This stage + * was processed using BigQuery slots. (Value: "BIGQUERY") + * @arg @c kGTLRBigquery_ExplainQueryStage_ComputeMode_ComputeModeUnspecified + * ComputeMode type not specified. (Value: "COMPUTE_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *computeMode; + /** * Milliseconds the average shard spent on CPU-bound tasks. * @@ -4479,14 +5723,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *computeRatioMax; /** - * Stage end time represented as milliseconds since epoch. + * Stage end time represented as milliseconds since the epoch. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *endMs; /** - * Unique ID for stage within plan. + * Unique ID for the stage within the plan. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). * @@ -4501,11 +5745,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) NSArray *inputStages; -/** Human-readable name for stage. */ +/** Human-readable name for the stage. */ @property(nonatomic, copy, nullable) NSString *name; /** - * Number of parallel input segments to be processed. + * Number of parallel input segments to be processed * * Uses NSNumber of longLongValue. */ @@ -4575,13 +5819,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *slotMs; /** - * Stage start time represented as milliseconds since epoch. + * Stage start time represented as milliseconds since the epoch. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *startMs; -/** Current status for the stage. */ +/** Current status for this stage. */ @property(nonatomic, copy, nullable) NSString *status; /** @@ -4650,14 +5894,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_ExplainQueryStep + * An operation within a stage. */ @interface GTLRBigquery_ExplainQueryStep : GTLRObject /** Machine-readable operation type. */ @property(nonatomic, copy, nullable) NSString *kind; -/** Human-readable stage descriptions. */ +/** Human-readable description of the step(s). */ @property(nonatomic, strong, nullable) NSArray *substeps; @end @@ -4685,6 +5929,30 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @end +/** + * Statistics for the EXPORT DATA statement as part of Query Job. EXTRACT JOB + * statistics are populated in JobStatistics4. + */ +@interface GTLRBigquery_ExportDataStatistics : GTLRObject + +/** + * Number of destination files generated in case of EXPORT DATA statement only. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fileCount; + +/** + * [Alpha] Number of destination rows generated in case of EXPORT DATA + * statement only. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *rowCount; + +@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 @@ -4747,63 +6015,84 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) NSNumber *autodetect; -/** Additional properties to set if sourceFormat is set to Avro. */ +/** Optional. Additional properties to set if sourceFormat is set to AVRO. */ @property(nonatomic, strong, nullable) GTLRBigquery_AvroOptions *avroOptions; -/** [Optional] Additional options if sourceFormat is set to BIGTABLE. */ +/** Optional. Additional options if sourceFormat is set to BIGTABLE. */ @property(nonatomic, strong, nullable) GTLRBigquery_BigtableOptions *bigtableOptions; /** - * [Optional] The compression type of the data source. Possible values include + * Optional. The compression type of the data source. Possible values include * GZIP and NONE. The default value is NONE. This setting is ignored for Google - * Cloud Bigtable, Google Cloud Datastore backups and Avro formats. + * Cloud Bigtable, Google Cloud Datastore backups, Avro, ORC and Parquet + * formats. An empty string is an invalid value. */ @property(nonatomic, copy, nullable) NSString *compression; -/** [Optional, Trusted Tester] Connection for external data source. */ +/** + * Optional. The connection specifying the credentials to be used to read + * external storage, such as Azure Blob, Cloud Storage, or S3. The + * connection_id can have the form + * ".." or + * "projects//locations//connections/". + */ @property(nonatomic, copy, nullable) NSString *connectionId; -/** Additional properties to set if sourceFormat is set to CSV. */ +/** Optional. Additional properties to set if sourceFormat is set to CSV. */ @property(nonatomic, strong, nullable) GTLRBigquery_CsvOptions *csvOptions; /** - * [Optional] Defines the list of possible SQL data types to which the source - * decimal values are converted. This list and the precision and the scale - * parameters of the decimal field determine the target type. In the order of - * NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified - * list and if it supports the precision and the scale. STRING supports all - * precision and scale values. If none of the listed types supports the - * precision and the scale, the type supporting the widest range in the - * specified list is picked, and if a value exceeds the supported range when - * reading the data, an error will be thrown. Example: Suppose the value of - * this field is ["NUMERIC", "BIGNUMERIC"]. If (precision,scale) is: (38,9) -> - * NUMERIC; (39,9) -> BIGNUMERIC (NUMERIC cannot hold 30 integer digits); - * (38,10) -> BIGNUMERIC (NUMERIC cannot hold 10 fractional digits); (76,38) -> - * BIGNUMERIC; (77,38) -> BIGNUMERIC (error if value exeeds supported range). - * This field cannot contain duplicate types. The order of the types in this - * field is ignored. For example, ["BIGNUMERIC", "NUMERIC"] is the same as - * ["NUMERIC", "BIGNUMERIC"] and NUMERIC always takes precedence over - * BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for ORC and ["NUMERIC"] for - * the other file formats. + * Defines the list of possible SQL data types to which the source decimal + * values are converted. This list and the precision and the scale parameters + * of the decimal field determine the target type. In the order of NUMERIC, + * BIGNUMERIC, and STRING, a type is picked if it is in the specified list and + * if it supports the precision and the scale. STRING supports all precision + * and scale values. If none of the listed types supports the precision and the + * scale, the type supporting the widest range in the specified list is picked, + * and if a value exceeds the supported range when reading the data, an error + * will be thrown. Example: Suppose the value of this field is ["NUMERIC", + * "BIGNUMERIC"]. If (precision,scale) is: * (38,9) -> NUMERIC; * (39,9) -> + * BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC + * (NUMERIC cannot hold 10 fractional digits); * (76,38) -> BIGNUMERIC; * + * (77,38) -> BIGNUMERIC (error if value exeeds supported range). This field + * cannot contain duplicate types. The order of the types in this field is + * ignored. For example, ["BIGNUMERIC", "NUMERIC"] is the same as ["NUMERIC", + * "BIGNUMERIC"] and NUMERIC always takes precedence over BIGNUMERIC. Defaults + * to ["NUMERIC", "STRING"] for ORC and ["NUMERIC"] for the other file formats. */ @property(nonatomic, strong, nullable) NSArray *decimalTargetTypes; /** - * [Optional] Specifies how source URIs are interpreted for constructing the + * Optional. Specifies how source URIs are interpreted for constructing the * file set to load. By default source URIs are expanded against the underlying * storage. Other options include specifying manifest files. Only applicable to * object storage systems. + * + * Likely values: + * @arg @c kGTLRBigquery_ExternalDataConfiguration_FileSetSpecType_FileSetSpecTypeFileSystemMatch + * This option expands source URIs by listing files from the object + * store. It is the default behavior if FileSetSpecType is not set. + * (Value: "FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH") + * @arg @c kGTLRBigquery_ExternalDataConfiguration_FileSetSpecType_FileSetSpecTypeNewLineDelimitedManifest + * This option indicates that the provided URIs are newline-delimited + * manifest files, with one URI per line. Wildcard URIs are not + * supported. (Value: "FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST") */ @property(nonatomic, copy, nullable) NSString *fileSetSpecType; -/** [Optional] Additional options if sourceFormat is set to GOOGLE_SHEETS. */ +/** Optional. Additional options if sourceFormat is set to GOOGLE_SHEETS. */ @property(nonatomic, strong, nullable) GTLRBigquery_GoogleSheetsOptions *googleSheetsOptions; -/** [Optional] Options to configure hive partitioning support. */ +/** + * Optional. When set, configures hive partitioning support. Not all storage + * formats support hive partitioning -- requesting hive partitioning on an + * unsupported format will lead to an error, as will providing an invalid + * specification. + */ @property(nonatomic, strong, nullable) GTLRBigquery_HivePartitioningOptions *hivePartitioningOptions; /** - * [Optional] Indicates if BigQuery should allow extra values that are not + * Optional. Indicates if BigQuery should allow extra values that are not * represented in the table schema. If true, the extra values are ignored. If * false, records with extra columns are treated as bad records, and if there * are too many bad records, an invalid error is returned in the job result. @@ -4811,57 +6100,97 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values * that don't match any column names Google Cloud Bigtable: This setting is * ignored. Google Cloud Datastore backups: This setting is ignored. Avro: This - * setting is ignored. + * setting is ignored. ORC: This setting is ignored. Parquet: This setting is + * ignored. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *ignoreUnknownValues; /** - * Additional properties to set if `sourceFormat` is set to - * `NEWLINE_DELIMITED_JSON`. + * Optional. Load option to be used together with source_format + * newline-delimited JSON to indicate that a variant of JSON is being loaded. + * To load newline-delimited GeoJSON, specify GEOJSON (and source_format must + * be set to NEWLINE_DELIMITED_JSON). + * + * Likely values: + * @arg @c kGTLRBigquery_ExternalDataConfiguration_JsonExtension_Geojson Use + * GeoJSON variant of JSON. See https://tools.ietf.org/html/rfc7946. + * (Value: "GEOJSON") + * @arg @c kGTLRBigquery_ExternalDataConfiguration_JsonExtension_JsonExtensionUnspecified + * The default if provided value is not one included in the enum, or the + * value is not specified. The source formate is parsed without any + * modification. (Value: "JSON_EXTENSION_UNSPECIFIED") */ +@property(nonatomic, copy, nullable) NSString *jsonExtension; + +/** Optional. Additional properties to set if sourceFormat is set to JSON. */ @property(nonatomic, strong, nullable) GTLRBigquery_JsonOptions *jsonOptions; /** - * [Optional] The maximum number of bad records that BigQuery can ignore when + * Optional. The maximum number of bad records that BigQuery can ignore when * reading data. If the number of bad records exceeds this value, an invalid - * error is returned in the job result. This is only valid for CSV, JSON, and - * Google Sheets. The default value is 0, which requires that all records are - * valid. This setting is ignored for Google Cloud Bigtable, Google Cloud - * Datastore backups and Avro formats. + * error is returned in the job result. The default value is 0, which requires + * that all records are valid. This setting is ignored for Google Cloud + * Bigtable, Google Cloud Datastore backups, Avro, ORC and Parquet formats. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maxBadRecords; /** - * [Optional] Metadata Cache Mode for the table. Set this to enable caching of + * Optional. Metadata Cache Mode for the table. Set this to enable caching of * metadata from external data source. + * + * Likely values: + * @arg @c kGTLRBigquery_ExternalDataConfiguration_MetadataCacheMode_Automatic + * Set this mode to trigger automatic background refresh of metadata + * cache from the external source. Queries will use the latest available + * cache version within the table's maxStaleness interval. (Value: + * "AUTOMATIC") + * @arg @c kGTLRBigquery_ExternalDataConfiguration_MetadataCacheMode_Manual + * Set this mode to enable triggering manual refresh of the metadata + * cache from external source. Queries will use the latest manually + * triggered cache version within the table's maxStaleness interval. + * (Value: "MANUAL") + * @arg @c kGTLRBigquery_ExternalDataConfiguration_MetadataCacheMode_MetadataCacheModeUnspecified + * Unspecified metadata cache mode. (Value: + * "METADATA_CACHE_MODE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *metadataCacheMode; /** - * ObjectMetadata is used to create Object Tables. Object Tables contain a - * listing of objects (with their metadata) found at the source_uris. If - * ObjectMetadata is set, source_format should be omitted. Currently SIMPLE is - * the only supported Object Metadata type. + * Optional. ObjectMetadata is used to create Object Tables. Object Tables + * contain a listing of objects (with their metadata) found at the source_uris. + * If ObjectMetadata is set, source_format should be omitted. Currently SIMPLE + * is the only supported Object Metadata type. + * + * Likely values: + * @arg @c kGTLRBigquery_ExternalDataConfiguration_ObjectMetadata_Directory A + * synonym for `SIMPLE`. (Value: "DIRECTORY") + * @arg @c kGTLRBigquery_ExternalDataConfiguration_ObjectMetadata_ObjectMetadataUnspecified + * Unspecified by default. (Value: "OBJECT_METADATA_UNSPECIFIED") + * @arg @c kGTLRBigquery_ExternalDataConfiguration_ObjectMetadata_Simple + * Directory listing of objects. (Value: "SIMPLE") */ @property(nonatomic, copy, nullable) NSString *objectMetadata; -/** Additional properties to set if sourceFormat is set to Parquet. */ +/** + * Optional. Additional properties to set if sourceFormat is set to PARQUET. + */ @property(nonatomic, strong, nullable) GTLRBigquery_ParquetOptions *parquetOptions; /** - * [Optional] Provide a referencing file with the expected table schema. - * Enabled for the format: AVRO, PARQUET, ORC. + * Optional. When creating an external table, the user can provide a reference + * file with the table schema. This is enabled for the following formats: AVRO, + * PARQUET, ORC. */ @property(nonatomic, copy, nullable) NSString *referenceFileSchemaUri; /** - * [Optional] The schema for the data. Schema is required for CSV and JSON - * formats. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore - * backups, and Avro formats. + * Optional. The schema for the data. Schema is required for CSV and JSON + * formats if autodetect is not on. Schema is disallowed for Google Cloud + * Bigtable, Cloud Datastore backups, Avro, ORC and Parquet formats. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableSchema *schema; @@ -4869,8 +6198,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * [Required] The data format. For CSV files, specify "CSV". For Google sheets, * specify "GOOGLE_SHEETS". For newline-delimited JSON, specify * "NEWLINE_DELIMITED_JSON". For Avro files, specify "AVRO". For Google Cloud - * Datastore backups, specify "DATASTORE_BACKUP". [Beta] For Google Cloud - * Bigtable, specify "BIGTABLE". + * Datastore backups, specify "DATASTORE_BACKUP". For Apache Iceberg tables, + * specify "ICEBERG". For ORC files, specify "ORC". For Parquet files, specify + * "PARQUET". [Beta] For Google Cloud Bigtable, specify "BIGTABLE". */ @property(nonatomic, copy, nullable) NSString *sourceFormat; @@ -4890,23 +6220,73 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_ExternalDatasetReference + * Configures the access a dataset defined in an external metadata storage. */ @interface GTLRBigquery_ExternalDatasetReference : GTLRObject /** - * [Required] The connection id that is used to access the external_source. + * Required. The connection id that is used to access the external_source. * Format: * projects/{project_id}/locations/{location_id}/connections/{connection_id} */ @property(nonatomic, copy, nullable) NSString *connection; -/** [Required] External source that backs this dataset. */ +/** Required. External source that backs this dataset. */ @property(nonatomic, copy, nullable) NSString *externalSource; @end +/** + * The external service cost is a portion of the total cost, these costs are + * not additive with total_bytes_billed. Moreover, this field only track + * external service costs that will show up as BigQuery costs (e.g. training + * BigQuery ML job with google cloud CAIP or Automl Tables services), not other + * costs which may be accrued by running the query (e.g. reading from Bigtable + * or Cloud Storage). The external service costs with different billing sku + * (e.g. CAIP job is charged based on VM usage) are converted to BigQuery + * billed_bytes and slot_ms with equivalent amount of US dollars. Services may + * not directly correlate to these metrics, but these are the equivalents for + * billing purposes. Output only. + */ +@interface GTLRBigquery_ExternalServiceCost : GTLRObject + +/** + * External service cost in terms of bigquery bytes billed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *bytesBilled; + +/** + * External service cost in terms of bigquery bytes processed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *bytesProcessed; + +/** External service name. */ +@property(nonatomic, copy, nullable) NSString *externalService; + +/** + * Non-preemptable reserved slots used for external job. For example, reserved + * slots for Cloua AI Platform job are the VM usages converted to BigQuery slot + * with equivalent mount of price. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reservedSlotCount; + +/** + * External service cost in terms of bigquery slot milliseconds. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *slotMs; + +@end + + /** * Representative value of a single feature within the cluster. */ @@ -4967,7 +6347,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_GetQueryResultsResponse + * Response object of GetQueryResults. */ @interface GTLRBigquery_GetQueryResultsResponse : GTLRObject @@ -4979,10 +6359,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *cacheHit; /** - * [Output-only] The first errors or warnings encountered during the running of + * Output only. The first errors or warnings encountered during the running of * the job. The final message includes the number of errors that caused the * process to stop. Errors here do not necessarily mean that the job has - * completed or was unsuccessful. + * completed or was unsuccessful. For more information about error messages, + * see [Error messages](https://cloud.google.com/bigquery/docs/error-messages). */ @property(nonatomic, strong, nullable) NSArray *errors; @@ -5010,21 +6391,26 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *kind; /** - * [Output-only] The number of rows affected by a DML statement. Present only + * Output only. The number of rows affected by a DML statement. Present only * for DML statements INSERT, UPDATE or DELETE. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *numDmlAffectedRows; -/** A token used for paging results. */ +/** + * A token used for paging results. When this token is non-empty, it indicates + * additional results are available. + */ @property(nonatomic, copy, nullable) NSString *pageToken; /** * An object with as many results as can be contained within the maximum * permitted reply size. To get any additional rows, you can call * GetQueryResults and specify the jobReference returned above. Present only - * when the query completes successfully. + * when the query completes successfully. The REST-based representation of this + * data leverages a series of JSON f,v objects for indicating fields and + * values. */ @property(nonatomic, strong, nullable) NSArray *rows; @@ -5054,7 +6440,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_GetServiceAccountResponse + * Response object of GetServiceAccount */ @interface GTLRBigquery_GetServiceAccountResponse : GTLRObject @@ -5090,29 +6476,29 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_GoogleSheetsOptions + * Options specific to Google Sheets data sources. */ @interface GTLRBigquery_GoogleSheetsOptions : GTLRObject /** - * [Optional] Range of a sheet to query from. Only used when non-empty. Typical + * Optional. Range of a sheet to query from. Only used when non-empty. Typical * format: sheet_name!top_left_cell_id:bottom_right_cell_id For example: * sheet1!A1:B20 */ @property(nonatomic, copy, nullable) NSString *range; /** - * [Optional] The number of rows at the top of a sheet that BigQuery will skip + * Optional. The number of rows at the top of a sheet that BigQuery will skip * when reading the data. The default value is 0. This property is useful if - * you have header rows that should be skipped. When autodetect is on, behavior - * is the following: * skipLeadingRows unspecified - Autodetect tries to detect - * headers in the first row. If they are not detected, the row is read as data. - * Otherwise data is read starting from the second row. * skipLeadingRows is 0 - * - Instructs autodetect that there are no headers and data should be read - * starting from the first row. * skipLeadingRows = N > 0 - Autodetect skips - * N-1 rows and tries to detect headers in row N. If headers are not detected, - * row N is just skipped. Otherwise row N is used to extract column names for - * the detected schema. + * you have header rows that should be skipped. When autodetect is on, the + * behavior is the following: * skipLeadingRows unspecified - Autodetect tries + * to detect headers in the first row. If they are not detected, the row is + * read as data. Otherwise data is read starting from the second row. * + * skipLeadingRows is 0 - Instructs autodetect that there are no headers and + * data should be read starting from the first row. * skipLeadingRows = N > 0 - + * Autodetect skips N-1 rows and tries to detect headers in row N. If headers + * are not detected, row N is just skipped. Otherwise row N is used to extract + * column names for the detected schema. * * Uses NSNumber of longLongValue. */ @@ -5122,13 +6508,49 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_HivePartitioningOptions + * High cardinality join detailed information. + */ +@interface GTLRBigquery_HighCardinalityJoin : GTLRObject + +/** + * Output only. Count of left input rows. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *leftRows; + +/** + * Output only. Count of the output rows. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *outputRows; + +/** + * Output only. Count of right input rows. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *rightRows; + +/** + * Output only. The index of the join operator in the ExplainQueryStep lists. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *stepIndex; + +@end + + +/** + * Options for configuring hive partitioning detect. */ @interface GTLRBigquery_HivePartitioningOptions : GTLRObject /** - * [Output-only] For permanent external tables, this field is populated with - * the hive partition keys in the order they were inferred. The types of the + * Output only. For permanent external tables, this field is populated with the + * hive partition keys in the order they were inferred. The types of the * partition keys can be deduced by checking the table schema (which will * include the partition keys). Not every API will populate this field in the * output. For example, Tables.Get will populate it, but Tables.List will not @@ -5137,38 +6559,42 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSArray *fields; /** - * [Optional] When set, what mode of hive partitioning to use when reading - * data. The following modes are supported. (1) AUTO: automatically infer - * partition key name(s) and type(s). (2) STRINGS: automatically infer - * partition key name(s). All types are interpreted as strings. (3) CUSTOM: - * partition key schema is encoded in the source URI prefix. Not all storage - * formats support hive partitioning. Requesting hive partitioning on an - * unsupported format will lead to an error. Currently supported types include: - * AVRO, CSV, JSON, ORC and Parquet. + * Optional. When set, what mode of hive partitioning to use when reading data. + * The following modes are supported: * AUTO: automatically infer partition key + * name(s) and type(s). * STRINGS: automatically infer partition key name(s). + * All types are strings. * CUSTOM: partition key schema is encoded in the + * source URI prefix. Not all storage formats support hive partitioning. + * Requesting hive partitioning on an unsupported format will lead to an error. + * Currently supported formats are: JSON, CSV, ORC, Avro and Parquet. */ @property(nonatomic, copy, nullable) NSString *mode; /** - * [Optional] If set to true, queries over this table require a partition - * filter that can be used for partition elimination to be specified. Note that - * this field should only be true when creating a permanent external table or + * Optional. If set to true, queries over this table require a partition filter + * that can be used for partition elimination to be specified. Note that this + * field should only be true when creating a permanent external table or * querying a temporary external table. Hive-partitioned loads with - * requirePartitionFilter explicitly set to true will fail. + * require_partition_filter explicitly set to true will fail. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *requirePartitionFilter; /** - * [Optional] When hive partition detection is requested, a common prefix for - * all source uris should be supplied. The prefix must end immediately before - * the partition key encoding begins. For example, consider files following - * this data layout. - * gs://bucket/path_to_table/dt=2019-01-01/country=BR/id=7/file.avro - * gs://bucket/path_to_table/dt=2018-12-31/country=CA/id=3/file.avro When hive + * Optional. When hive partition detection is requested, a common prefix for + * all source uris must be required. The prefix must end immediately before the + * partition key encoding begins. For example, consider files following this + * data layout: + * gs://bucket/path_to_table/dt=2019-06-01/country=USA/id=7/file.avro + * gs://bucket/path_to_table/dt=2019-05-31/country=CA/id=3/file.avro When hive * partitioning is requested with either AUTO or STRINGS detection, the common * prefix can be either of gs://bucket/path_to_table or - * gs://bucket/path_to_table/ (trailing slash does not matter). + * gs://bucket/path_to_table/. CUSTOM detection requires encoding the + * partitioning schema immediately after the common prefix. For CUSTOM, any of + * * gs://bucket/path_to_table/{dt:DATE}/{country:STRING}/{id:INTEGER} * + * gs://bucket/path_to_table/{dt:STRING}/{country:STRING}/{id:INTEGER} * + * gs://bucket/path_to_table/{dt:DATE}/{country:STRING}/{id:STRING} would all + * be valid source URI prefixes. */ @property(nonatomic, copy, nullable) NSString *sourceUriPrefix; @@ -5351,36 +6777,119 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_IndexUnusedReason + * Reason about why no search index was used in the search query (or + * sub-query). */ @interface GTLRBigquery_IndexUnusedReason : GTLRObject /** - * [Output-only] Specifies the base table involved in the reason that no search - * index was used. + * Specifies the base table involved in the reason that no search index was + * used. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableReference *baseTable; /** - * [Output-only] Specifies the high-level reason for the scenario when no - * search index was used. + * Specifies the high-level reason for the scenario when no search index was + * used. + * + * Likely values: + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_BaseTableTooLarge Indicates + * that the total size of indexed base tables in your organization + * exceeds your region's limit and the index is not used in the query. To + * index larger base tables, you can use your own reservation for + * index-management jobs. (Value: "BASE_TABLE_TOO_LARGE") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_BaseTableTooSmall Indicates + * the base table is too small (below a certain threshold). The index + * does not provide noticeable search performance gains when the base + * table is too small. (Value: "BASE_TABLE_TOO_SMALL") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_BaseTableTruncated Indicates + * the base table has been truncated (rows have been removed from table + * with TRUNCATE TABLE statement) since the last time the search index + * was refreshed. (Value: "BASE_TABLE_TRUNCATED") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_CodeUnspecified Code not + * specified. (Value: "CODE_UNSPECIFIED") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_EstimatedPerformanceGainTooLow + * Indicates that the esitmated performance gain from using the search + * index is too low for the given search query. (Value: + * "ESTIMATED_PERFORMANCE_GAIN_TOO_LOW") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_IndexConfigModified Indicates + * the search index configuration has been changed since the last time + * the search index was refreshed. (Value: "INDEX_CONFIG_MODIFIED") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_IndexConfigNotAvailable + * Indicates the search index configuration has not been created. (Value: + * "INDEX_CONFIG_NOT_AVAILABLE") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_IndexSuppressedByFunctionOption + * Indicates that an option in the search function that cannot make use + * of the index has been selected. (Value: + * "INDEX_SUPPRESSED_BY_FUNCTION_OPTION") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_InternalError Indicates an + * internal error that causes the search index to be unused. (Value: + * "INTERNAL_ERROR") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_MismatchedTextAnalyzer + * Indicates that the search index and the search function call do not + * have the same text analyzer. (Value: "MISMATCHED_TEXT_ANALYZER") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_NoPruningPower Indicates the + * usage of search index will not contribute to any pruning improvement + * for the search function, e.g. when the search predicate is in a + * disjunction with other non-search predicates. (Value: + * "NO_PRUNING_POWER") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_NotSupportedInStandardEdition + * Indicates that search indexes can not be used for search query with + * STANDARD edition. (Value: "NOT_SUPPORTED_IN_STANDARD_EDITION") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_OptimizedWithMaterializedView + * Indicates the query has been optimized by using a materialized view. + * (Value: "OPTIMIZED_WITH_MATERIALIZED_VIEW") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_OtherReason Indicates that + * the reason search indexes cannot be used in the query is not covered + * by any of the other IndexUnusedReason options. (Value: "OTHER_REASON") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_PendingIndexCreation + * Indicates the search index creation has not been completed. (Value: + * "PENDING_INDEX_CREATION") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_QueryCacheHit Indicates that + * the query was cached, and thus the search index was not used. (Value: + * "QUERY_CACHE_HIT") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_SecuredByDataMasking + * Indicates the query has been secured by data masking, and thus search + * indexes are not applicable. (Value: "SECURED_BY_DATA_MASKING") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_TimeTravelQuery Indicates the + * search query accesses data at a timestamp before the last time the + * search index was refreshed. (Value: "TIME_TRAVEL_QUERY") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_UnindexedSearchFields + * Indicates the search index does not cover all fields in the search + * function. (Value: "UNINDEXED_SEARCH_FIELDS") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_UnsupportedSearchPattern + * Indicates the search index does not support the given search query + * pattern. (Value: "UNSUPPORTED_SEARCH_PATTERN") */ @property(nonatomic, copy, nullable) NSString *code; -/** - * [Output-only] Specifies the name of the unused search index, if available. - */ +/** Specifies the name of the unused search index, if available. */ @property(nonatomic, copy, nullable) NSString *indexName; /** - * [Output-only] Free form human-readable reason for the scenario when no - * search index was used. + * Free form human-readable reason for the scenario when no search index was + * used. */ @property(nonatomic, copy, nullable) NSString *message; @end +/** + * Details about the input data change insight. + */ +@interface GTLRBigquery_InputDataChange : GTLRObject + +/** + * Output only. Records read difference percentage compared to a previous run. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *recordsReadDiffPercentage; + +@end + + /** * An array of int. */ @@ -5459,10 +6968,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_IterationResult + * Information about a single iteration of the training run. */ @interface GTLRBigquery_IterationResult : GTLRObject +/** Arima result. */ +@property(nonatomic, strong, nullable) GTLRBigquery_ArimaResult *arimaResult; + +/** Information about top clusters for clustering models. */ +@property(nonatomic, strong, nullable) NSArray *clusterInfos; + /** * Time taken to run the iteration in milliseconds. * @@ -5491,6 +7006,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) NSNumber *learnRate; +/** The information of the principal components. */ +@property(nonatomic, strong, nullable) NSArray *principalComponentInfos; + /** * Loss computed on the training data at the end of iteration. * @@ -5506,57 +7024,62 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @interface GTLRBigquery_Job : GTLRObject -/** [Required] Describes the job configuration. */ +/** Required. Describes the job configuration. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobConfiguration *configuration; -/** [Output-only] A hash of this resource. */ +/** Output only. A hash of this resource. */ @property(nonatomic, copy, nullable) NSString *ETag; /** - * [Output-only] Opaque ID field of the job + * Output only. Opaque ID field of the job. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; /** - * [Output-only] If set, it provides the reason why a Job was created. If not + * Output only. If set, it provides the reason why a Job was created. If not * set, it should be treated as the default: REQUESTED. This feature is not yet * available. Jobs will always be created. - * - * Can be any valid JSON type. */ -@property(nonatomic, strong, nullable) id jobCreationReason; +@property(nonatomic, strong, nullable) GTLRBigquery_JobCreationReason *jobCreationReason; -/** [Optional] Reference describing the unique-per-user name of the job. */ +/** Optional. Reference describing the unique-per-user name of the job. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobReference *jobReference; -/** [Output-only] The type of the resource. */ +/** Output only. The type of the resource. */ @property(nonatomic, copy, nullable) NSString *kind; -/** [Output-only] A URL that can be used to access this resource again. */ +/** + * Output only. [Full-projection-only] String representation of identity of + * requesting party. Populated for both first- and third-party identities. Only + * present for APIs that support third-party identities. + */ +@property(nonatomic, copy, nullable) NSString *principalSubject; + +/** Output only. A URL that can be used to access the resource again. */ @property(nonatomic, copy, nullable) NSString *selfLink; /** - * [Output-only] Information about the job, including starting time and ending + * Output only. Information about the job, including starting time and ending * time of the job. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobStatistics *statistics; /** - * [Output-only] The status of this job. Examine this value when polling an + * Output only. The status of this job. Examine this value when polling an * asynchronous job to see if the job is complete. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobStatus *status; -/** [Output-only] Email address of the user who ran the job. */ +/** Output only. Email address of the user who ran the job. */ @property(nonatomic, copy, nullable) NSString *userEmail; @end /** - * GTLRBigquery_JobCancelResponse + * Describes format of a jobs cancellation response. */ @interface GTLRBigquery_JobCancelResponse : GTLRObject @@ -5582,7 +7105,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) GTLRBigquery_JobConfigurationTableCopy *copyProperty NS_RETURNS_NOT_RETAINED; /** - * [Optional] If set, don't actually run this job. A valid query will return a + * Optional. If set, don't actually run this job. A valid query will return a * mostly empty response with some processing statistics, while an invalid * query will return the same error it would if it wasn't a dry run. Behavior * of non-query jobs is undefined. @@ -5595,15 +7118,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) GTLRBigquery_JobConfigurationExtract *extract; /** - * [Optional] Job timeout in milliseconds. If this time limit is exceeded, - * BigQuery may attempt to terminate the job. + * Optional. Job timeout in milliseconds. If this time limit is exceeded, + * BigQuery might attempt to stop the job. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *jobTimeoutMs; /** - * [Output-only] The type of the job. Can be QUERY, LOAD, EXTRACT, COPY or + * Output only. The type of the job. Can be QUERY, LOAD, EXTRACT, COPY or * UNKNOWN. */ @property(nonatomic, copy, nullable) NSString *jobType; @@ -5645,21 +7168,23 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_JobConfigurationExtract + * JobConfigurationExtract configures a job that exports data from a BigQuery + * table into Google Cloud Storage. */ @interface GTLRBigquery_JobConfigurationExtract : GTLRObject /** - * [Optional] The compression type to use for exported files. Possible values - * include GZIP, DEFLATE, SNAPPY, and NONE. The default value is NONE. DEFLATE - * and SNAPPY are only supported for Avro. Not applicable when extracting - * models. + * Optional. The compression type to use for exported files. Possible values + * include DEFLATE, GZIP, NONE, SNAPPY, and ZSTD. The default value is NONE. + * Not all compression formats are support for all file formats. DEFLATE is + * only supported for Avro. ZSTD is only supported for Parquet. Not applicable + * when extracting models. */ @property(nonatomic, copy, nullable) NSString *compression; /** - * [Optional] The exported file format. Possible values include CSV, - * NEWLINE_DELIMITED_JSON, PARQUET or AVRO for tables and ML_TF_SAVED_MODEL or + * Optional. The exported file format. Possible values include CSV, + * NEWLINE_DELIMITED_JSON, PARQUET, or AVRO for tables and ML_TF_SAVED_MODEL or * ML_XGBOOST_BOOSTER for models. The default value for tables is CSV. Tables * with nested or repeated fields cannot be exported as CSV. The default value * for models is ML_TF_SAVED_MODEL. @@ -5680,14 +7205,18 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSArray *destinationUris; /** - * [Optional] Delimiter to use between fields in the exported data. Default is - * ','. Not applicable when extracting models. + * Optional. When extracting data in CSV format, this defines the delimiter to + * use between fields in the exported data. Default is ','. Not applicable when + * extracting models. */ @property(nonatomic, copy, nullable) NSString *fieldDelimiter; +/** Optional. Model extract options only applicable when extracting models. */ +@property(nonatomic, strong, nullable) GTLRBigquery_ModelExtractOptions *modelExtractOptions; + /** - * [Optional] Whether to print out a header row in the results. Default is - * true. Not applicable when extracting models. + * Optional. Whether to print out a header row in the results. Default is true. + * Not applicable when extracting models. * * Uses NSNumber of boolValue. */ @@ -5700,10 +7229,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) GTLRBigquery_TableReference *sourceTable; /** - * [Optional] If destinationFormat is set to "AVRO", this flag indicates - * whether to enable extracting applicable column types (such as TIMESTAMP) to - * their corresponding AVRO logical types (timestamp-micros), instead of only - * using their raw types (avro-long). Not applicable when extracting models. + * Whether to use logical types when extracting to AVRO format. Not applicable + * when extracting models. * * Uses NSNumber of boolValue. */ @@ -5713,12 +7240,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_JobConfigurationLoad + * JobConfigurationLoad contains the configuration properties for loading data + * into a destination table. */ @interface GTLRBigquery_JobConfigurationLoad : GTLRObject /** - * [Optional] Accept rows that are missing trailing optional columns. The + * Optional. Accept rows that are missing trailing optional columns. The * missing values are treated as nulls. If false, records with missing trailing * columns are treated as bad records, and if there are too many bad records, * an invalid error is returned in the job result. The default value is false. @@ -5737,27 +7265,27 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *allowQuotedNewlines; /** - * [Optional] Indicates if we should automatically infer the options and schema + * Optional. Indicates if we should automatically infer the options and schema * for CSV and JSON sources. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *autodetect; -/** - * [Beta] Clustering specification for the destination table. Must be specified - * with time-based partitioning, data in the table will be first partitioned - * and subsequently clustered. - */ +/** Clustering specification for the destination table. */ @property(nonatomic, strong, nullable) GTLRBigquery_Clustering *clustering; -/** Connection properties. */ +/** + * Optional. Connection properties which can modify the load job behavior. + * Currently, only the 'session_id' connection property is supported, and is + * used to resolve _SESSION appearing as the dataset id. + */ @property(nonatomic, strong, nullable) NSArray *connectionProperties; /** - * [Optional] Specifies whether the job is allowed to create new tables. The - * following values are supported: CREATE_IF_NEEDED: If the table does not - * exist, BigQuery creates the table. CREATE_NEVER: The table must already + * Optional. Specifies whether the job is allowed to create new tables. The + * following values are supported: * CREATE_IF_NEEDED: If the table does not + * exist, BigQuery creates the table. * CREATE_NEVER: The table must already * exist. If it does not, a 'notFound' error is returned in the job result. The * default value is CREATE_IF_NEEDED. Creation, truncation and append actions * occur as one atomic update upon job completion. @@ -5765,112 +7293,151 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *createDisposition; /** - * If true, creates a new session, where session id will be a server generated - * random id. If false, runs query with an existing session_id passed in - * ConnectionProperty, otherwise runs the load job in non-session mode. + * Optional. If this property is true, the job creates a new session using a + * randomly generated session_id. To continue using a created session with + * subsequent queries, pass the existing session identifier as a + * `ConnectionProperty` value. The session identifier is returned as part of + * the `SessionInfo` message within the query statistics. The new session's + * location will be set to `Job.JobReference.location` if it is present, + * otherwise it's set to the default location based on existing routing logic. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *createSession; /** - * [Optional] Defines the list of possible SQL data types to which the source - * decimal values are converted. This list and the precision and the scale - * parameters of the decimal field determine the target type. In the order of - * NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified - * list and if it supports the precision and the scale. STRING supports all - * precision and scale values. If none of the listed types supports the - * precision and the scale, the type supporting the widest range in the - * specified list is picked, and if a value exceeds the supported range when - * reading the data, an error will be thrown. Example: Suppose the value of - * this field is ["NUMERIC", "BIGNUMERIC"]. If (precision,scale) is: (38,9) -> - * NUMERIC; (39,9) -> BIGNUMERIC (NUMERIC cannot hold 30 integer digits); - * (38,10) -> BIGNUMERIC (NUMERIC cannot hold 10 fractional digits); (76,38) -> - * BIGNUMERIC; (77,38) -> BIGNUMERIC (error if value exeeds supported range). - * This field cannot contain duplicate types. The order of the types in this - * field is ignored. For example, ["BIGNUMERIC", "NUMERIC"] is the same as - * ["NUMERIC", "BIGNUMERIC"] and NUMERIC always takes precedence over - * BIGNUMERIC. Defaults to ["NUMERIC", "STRING"] for ORC and ["NUMERIC"] for - * the other file formats. + * Defines the list of possible SQL data types to which the source decimal + * values are converted. This list and the precision and the scale parameters + * of the decimal field determine the target type. In the order of NUMERIC, + * BIGNUMERIC, and STRING, a type is picked if it is in the specified list and + * if it supports the precision and the scale. STRING supports all precision + * and scale values. If none of the listed types supports the precision and the + * scale, the type supporting the widest range in the specified list is picked, + * and if a value exceeds the supported range when reading the data, an error + * will be thrown. Example: Suppose the value of this field is ["NUMERIC", + * "BIGNUMERIC"]. If (precision,scale) is: * (38,9) -> NUMERIC; * (39,9) -> + * BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC + * (NUMERIC cannot hold 10 fractional digits); * (76,38) -> BIGNUMERIC; * + * (77,38) -> BIGNUMERIC (error if value exeeds supported range). This field + * cannot contain duplicate types. The order of the types in this field is + * ignored. For example, ["BIGNUMERIC", "NUMERIC"] is the same as ["NUMERIC", + * "BIGNUMERIC"] and NUMERIC always takes precedence over BIGNUMERIC. Defaults + * to ["NUMERIC", "STRING"] for ORC and ["NUMERIC"] for the other file formats. */ @property(nonatomic, strong, nullable) NSArray *decimalTargetTypes; -/** Custom encryption configuration (e.g., Cloud KMS keys). */ +/** Custom encryption configuration (e.g., Cloud KMS keys) */ @property(nonatomic, strong, nullable) GTLRBigquery_EncryptionConfiguration *destinationEncryptionConfiguration; /** [Required] The destination table to load the data into. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableReference *destinationTable; /** - * [Beta] [Optional] Properties with which to create the destination table if - * it is new. + * Optional. [Experimental] Properties with which to create the destination + * table if it is new. */ @property(nonatomic, strong, nullable) GTLRBigquery_DestinationTableProperties *destinationTableProperties; /** - * [Optional] The character encoding of the data. The supported values are - * UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data - * after the raw, binary data has been split using the values of the quote and - * fieldDelimiter properties. + * Optional. The character encoding of the data. The supported values are + * UTF-8, ISO-8859-1, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default + * value is UTF-8. BigQuery decodes the data after the raw, binary data has + * been split using the values of the `quote` and `fieldDelimiter` properties. + * If you don't specify an encoding, or if you specify a UTF-8 encoding when + * the CSV file is not UTF-8 encoded, BigQuery attempts to convert the data to + * UTF-8. Generally, your data loads successfully, but it may not match + * byte-for-byte what you expect. To avoid this, specify the correct encoding + * by using the `--encoding` flag. If BigQuery can't convert a character other + * than the ASCII `0` character, BigQuery converts the character to the + * standard Unicode replacement character: �. */ @property(nonatomic, copy, nullable) NSString *encoding; /** - * [Optional] The separator for fields in a CSV file. The separator can be any - * ISO-8859-1 single-byte character. To use a character in the range 128-255, - * you must encode the character as UTF8. BigQuery converts the string to - * ISO-8859-1 encoding, and then uses the first byte of the encoded string to - * split the data in its raw, binary state. BigQuery also supports the escape - * sequence "\\t" to specify a tab separator. The default value is a comma - * (','). + * Optional. The separator character for fields in a CSV file. The separator is + * interpreted as a single byte. For files encoded in ISO-8859-1, any single + * character can be used as a separator. For files encoded in UTF-8, characters + * represented in decimal range 1-127 (U+0001-U+007F) can be used without any + * modification. UTF-8 characters encoded with multiple bytes (i.e. U+0080 and + * above) will have only the first byte used for separating fields. The + * remaining bytes will be treated as a part of the field. BigQuery also + * supports the escape sequence "\\t" (U+0009) to specify a tab separator. The + * default value is comma (",", U+002C). */ @property(nonatomic, copy, nullable) NSString *fieldDelimiter; /** - * [Optional] Specifies how source URIs are interpreted for constructing the - * file set to load. By default source URIs are expanded against the underlying - * storage. Other options include specifying manifest files. Only applicable to - * object storage systems. + * Optional. Specifies how source URIs are interpreted for constructing the + * file set to load. By default, source URIs are expanded against the + * underlying storage. You can also specify manifest files to control how the + * file set is constructed. This option is only applicable to object storage + * systems. + * + * Likely values: + * @arg @c kGTLRBigquery_JobConfigurationLoad_FileSetSpecType_FileSetSpecTypeFileSystemMatch + * This option expands source URIs by listing files from the object + * store. It is the default behavior if FileSetSpecType is not set. + * (Value: "FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH") + * @arg @c kGTLRBigquery_JobConfigurationLoad_FileSetSpecType_FileSetSpecTypeNewLineDelimitedManifest + * This option indicates that the provided URIs are newline-delimited + * manifest files, with one URI per line. Wildcard URIs are not + * supported. (Value: "FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST") */ @property(nonatomic, copy, nullable) NSString *fileSetSpecType; -/** [Optional] Options to configure hive partitioning support. */ +/** + * Optional. When set, configures hive partitioning support. Not all storage + * formats support hive partitioning -- requesting hive partitioning on an + * unsupported format will lead to an error, as will providing an invalid + * specification. + */ @property(nonatomic, strong, nullable) GTLRBigquery_HivePartitioningOptions *hivePartitioningOptions; /** - * [Optional] Indicates if BigQuery should allow extra values that are not + * Optional. Indicates if BigQuery should allow extra values that are not * represented in the table schema. If true, the extra values are ignored. If * false, records with extra columns are treated as bad records, and if there * are too many bad records, an invalid error is returned in the job result. * The default value is false. The sourceFormat property determines what * BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values - * that don't match any column names + * that don't match any column names in the table schema Avro, Parquet, ORC: + * Fields in the file schema that don't exist in the table schema. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *ignoreUnknownValues; /** - * [Optional] If sourceFormat is set to newline-delimited JSON, indicates - * whether it should be processed as a JSON variant such as GeoJSON. For a - * sourceFormat other than JSON, omit this field. If the sourceFormat is - * newline-delimited JSON: - for newline-delimited GeoJSON: set to GEOJSON. + * Optional. Load option to be used together with source_format + * newline-delimited JSON to indicate that a variant of JSON is being loaded. + * To load newline-delimited GeoJSON, specify GEOJSON (and source_format must + * be set to NEWLINE_DELIMITED_JSON). + * + * Likely values: + * @arg @c kGTLRBigquery_JobConfigurationLoad_JsonExtension_Geojson Use + * GeoJSON variant of JSON. See https://tools.ietf.org/html/rfc7946. + * (Value: "GEOJSON") + * @arg @c kGTLRBigquery_JobConfigurationLoad_JsonExtension_JsonExtensionUnspecified + * The default if provided value is not one included in the enum, or the + * value is not specified. The source formate is parsed without any + * modification. (Value: "JSON_EXTENSION_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *jsonExtension; /** - * [Optional] The maximum number of bad records that BigQuery can ignore when + * Optional. The maximum number of bad records that BigQuery can ignore when * running the job. If the number of bad records exceeds this value, an invalid - * error is returned in the job result. This is only valid for CSV and JSON. - * The default value is 0, which requires that all records are valid. + * error is returned in the job result. The default value is 0, which requires + * that all records are valid. This is only supported for CSV and + * NEWLINE_DELIMITED_JSON file formats. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maxBadRecords; /** - * [Optional] Specifies a string that represents a null value in a CSV file. - * For example, if you specify "\\N", BigQuery interprets "\\N" as a null value + * Optional. Specifies a string that represents a null value in a CSV file. For + * example, if you specify "\\N", BigQuery interprets "\\N" as a null value * when loading a CSV file. The default value is the empty string. If you set * this property to a custom value, BigQuery throws an error if an empty string * is present for all data types except for STRING and BYTE. For STRING and @@ -5878,13 +7445,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, copy, nullable) NSString *nullMarker; -/** [Optional] Options to configure parquet support. */ +/** + * Optional. Additional properties to set if sourceFormat is set to PARQUET. + */ @property(nonatomic, strong, nullable) GTLRBigquery_ParquetOptions *parquetOptions; /** - * [Optional] Preserves the embedded ASCII control characters (the first 32 - * characters in the ASCII-table, from '\\x00' to '\\x1F') when loading from - * CSV. Only applicable to CSV, ignored for other formats. + * Optional. When sourceFormat is set to "CSV", this indicates whether the + * embedded ASCII control characters (the first 32 characters in the + * ASCII-table, from '\\x00' to '\\x1F') are preserved. * * Uses NSNumber of boolValue. */ @@ -5901,32 +7470,35 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSArray *projectionFields; /** - * [Optional] The value that is used to quote data sections in a CSV file. + * Optional. The value that is used to quote data sections in a CSV file. * BigQuery converts the string to ISO-8859-1 encoding, and then uses the first * byte of the encoded string to split the data in its raw, binary state. The * default value is a double-quote ('"'). If your data does not contain quoted * sections, set the property value to an empty string. If your data contains * quoted newline characters, you must also set the allowQuotedNewlines - * property to true. + * property to true. To include the specific quote character within a quoted + * value, precede it with an additional matching quote character. For example, + * if you want to escape the default character ' " ', use ' "" '. \@default " */ @property(nonatomic, copy, nullable) NSString *quote; /** - * [TrustedTester] Range partitioning specification for this table. Only one of + * Range partitioning specification for the destination table. Only one of * timePartitioning and rangePartitioning should be specified. */ @property(nonatomic, strong, nullable) GTLRBigquery_RangePartitioning *rangePartitioning; /** - * User provided referencing file with the expected reader schema, Available - * for the format: AVRO, PARQUET, ORC. + * Optional. The user can provide a reference file with the reader schema. This + * file is only loaded if it is part of source URIs, but is not loaded + * otherwise. It is enabled for the following formats: AVRO, PARQUET, ORC. */ @property(nonatomic, copy, nullable) NSString *referenceFileSchemaUri; /** - * [Optional] The schema for the destination table. The schema can be omitted - * if the destination table already exists, or if you're loading data from - * Google Cloud Datastore. + * Optional. The schema for the destination table. The schema can be omitted if + * the destination table already exists, or if you're loading data from Google + * Cloud Datastore. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableSchema *schema; @@ -5947,24 +7519,32 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE * and the destination table is a partition of a table, specified by partition * decorators. For normal tables, WRITE_TRUNCATE will always overwrite the - * schema. One or more of the following values are specified: - * ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. + * schema. One or more of the following values are specified: * + * ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. * * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original * schema to nullable. */ @property(nonatomic, strong, nullable) NSArray *schemaUpdateOptions; /** - * [Optional] The number of rows at the top of a CSV file that BigQuery will + * Optional. The number of rows at the top of a CSV file that BigQuery will * skip when loading the data. The default value is 0. This property is useful - * if you have header rows in the file that should be skipped. + * if you have header rows in the file that should be skipped. When autodetect + * is on, the behavior is the following: * skipLeadingRows unspecified - + * Autodetect tries to detect headers in the first row. If they are not + * detected, the row is read as data. Otherwise data is read starting from the + * second row. * skipLeadingRows is 0 - Instructs autodetect that there are no + * headers and data should be read starting from the first row. * + * skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect + * headers in row N. If headers are not detected, row N is just skipped. + * Otherwise row N is used to extract column names for the detected schema. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *skipLeadingRows; /** - * [Optional] The format of the data files. For CSV files, specify "CSV". For + * Optional. The format of the data files. For CSV files, specify "CSV". For * datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON, * specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". For parquet, * specify "PARQUET". For orc, specify "ORC". The default value is CSV. @@ -5990,7 +7570,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) GTLRBigquery_TimePartitioning *timePartitioning; /** - * [Optional] If sourceFormat is set to "AVRO", indicates whether to interpret + * Optional. If sourceFormat is set to "AVRO", indicates whether to interpret * logical types as the corresponding BigQuery data type (for example, * TIMESTAMP), instead of using the raw type (for example, INTEGER). * @@ -5999,15 +7579,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *useAvroLogicalTypes; /** - * [Optional] Specifies the action that occurs if the destination table already - * exists. The following values are supported: WRITE_TRUNCATE: If the table - * already exists, BigQuery overwrites the table data. WRITE_APPEND: If the - * table already exists, BigQuery appends the data to the table. WRITE_EMPTY: - * If the table already exists and contains data, a 'duplicate' error is - * returned in the job result. The default value is WRITE_APPEND. Each action - * is atomic and only occurs if BigQuery is able to complete the job - * successfully. Creation, truncation and append actions occur as one atomic - * update upon job completion. + * Optional. Specifies the action that occurs if the destination table already + * exists. The following values are supported: * WRITE_TRUNCATE: If the table + * already exists, BigQuery overwrites the data, removes the constraints and + * uses the schema from the load job. * WRITE_APPEND: If the table already + * exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table + * already exists and contains data, a 'duplicate' error is returned in the job + * result. The default value is WRITE_APPEND. Each action is atomic and only + * occurs if BigQuery is able to complete the job successfully. Creation, + * truncation and append actions occur as one atomic update upon job + * completion. */ @property(nonatomic, copy, nullable) NSString *writeDisposition; @@ -6015,14 +7596,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_JobConfigurationQuery + * JobConfigurationQuery configures a BigQuery query job. */ @interface GTLRBigquery_JobConfigurationQuery : GTLRObject /** - * [Optional] If true and query uses legacy SQL dialect, allows the query to + * Optional. If true and query uses legacy SQL dialect, allows the query to * produce arbitrarily large result tables at a slight cost in performance. - * Requires destinationTable to be set. For standard SQL queries, this flag is + * Requires destinationTable to be set. For GoogleSQL queries, this flag is * ignored and large results are always allowed. However, you must still set * destinationTable when result size exceeds the allowed maximum response size. * @@ -6030,14 +7611,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) NSNumber *allowLargeResults; -/** - * [Beta] Clustering specification for the destination table. Must be specified - * with time-based partitioning, data in the table will be first partitioned - * and subsequently clustered. - */ +/** Clustering specification for the destination table. */ @property(nonatomic, strong, nullable) GTLRBigquery_Clustering *clustering; -/** Connection properties. */ +/** Connection properties which can modify the query behavior. */ @property(nonatomic, strong, nullable) NSArray *connectionProperties; /** @@ -6049,9 +7626,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *continuous; /** - * [Optional] Specifies whether the job is allowed to create new tables. The - * following values are supported: CREATE_IF_NEEDED: If the table does not - * exist, BigQuery creates the table. CREATE_NEVER: The table must already + * Optional. Specifies whether the job is allowed to create new tables. The + * following values are supported: * CREATE_IF_NEEDED: If the table does not + * exist, BigQuery creates the table. * CREATE_NEVER: The table must already * exist. If it does not, a 'notFound' error is returned in the job result. The * default value is CREATE_IF_NEEDED. Creation, truncation and append actions * occur as one atomic update upon job completion. @@ -6059,62 +7636,76 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *createDisposition; /** - * If true, creates a new session, where session id will be a server generated - * random id. If false, runs query with an existing session_id passed in - * ConnectionProperty, otherwise runs query in non-session mode. + * If this property is true, the job creates a new session using a randomly + * generated session_id. To continue using a created session with subsequent + * queries, pass the existing session identifier as a `ConnectionProperty` + * value. The session identifier is returned as part of the `SessionInfo` + * message within the query statistics. The new session's location will be set + * to `Job.JobReference.location` if it is present, otherwise it's set to the + * default location based on existing routing logic. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *createSession; /** - * [Optional] Specifies the default dataset to use for unqualified table names - * in the query. Note that this does not alter behavior of unqualified dataset - * names. + * Optional. Specifies the default dataset to use for unqualified table names + * in the query. This setting does not alter behavior of unqualified dataset + * names. Setting the system variable `\@\@dataset_id` achieves the same + * behavior. See + * https://cloud.google.com/bigquery/docs/reference/system-variables for more + * information on system variables. */ @property(nonatomic, strong, nullable) GTLRBigquery_DatasetReference *defaultDataset; -/** Custom encryption configuration (e.g., Cloud KMS keys). */ +/** Custom encryption configuration (e.g., Cloud KMS keys) */ @property(nonatomic, strong, nullable) GTLRBigquery_EncryptionConfiguration *destinationEncryptionConfiguration; /** - * [Optional] Describes the table where the query results should be stored. If - * not present, a new table will be created to store the results. This property - * must be set for large results that exceed the maximum response size. + * Optional. Describes the table where the query results should be stored. This + * property must be set for large results that exceed the maximum response + * size. For queries that produce anonymous (cached) results, this field will + * be populated by BigQuery. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableReference *destinationTable; /** - * [Optional] If true and query uses legacy SQL dialect, flattens all nested - * and repeated fields in the query results. allowLargeResults must be true if - * this is set to false. For standard SQL queries, this flag is ignored and - * results are never flattened. + * Optional. If true and query uses legacy SQL dialect, flattens all nested and + * repeated fields in the query results. allowLargeResults must be true if this + * is set to false. For GoogleSQL queries, this flag is ignored and results are + * never flattened. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *flattenResults; /** - * [Optional] Limits the billing tier for this job. Queries that have resource - * usage beyond this tier will fail (without incurring a charge). If - * unspecified, this will be set to your project default. + * Optional. [Deprecated] Maximum billing tier allowed for this query. The + * billing tier controls the amount of compute resources allotted to the query, + * and multiplies the on-demand cost of the query accordingly. A query that + * runs within its allotted resources will succeed and indicate its billing + * tier in statistics.query.billingTier, but if the query exceeds its allotted + * resources, it will fail with billingTierLimitExceeded. WARNING: The billed + * byte amount can be multiplied by an amount up to this number! Most users + * should not need to alter this setting, and we recommend that you avoid + * introducing new uses of it. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maximumBillingTier; /** - * [Optional] Limits the bytes billed for this job. Queries that will have - * bytes billed beyond this limit will fail (without incurring a charge). If - * unspecified, this will be set to your project default. + * Limits the bytes billed for this job. Queries that will have bytes billed + * beyond this limit will fail (without incurring a charge). If unspecified, + * this will be set to your project default. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *maximumBytesBilled; /** - * Standard SQL only. Set to POSITIONAL to use positional (?) query parameters - * or to NAMED to use named (\@myparam) query parameters in this query. + * GoogleSQL only. Set to POSITIONAL to use positional (?) query parameters or + * to NAMED to use named (\@myparam) query parameters in this query. */ @property(nonatomic, copy, nullable) NSString *parameterMode; @@ -6126,22 +7717,22 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *preserveNulls; /** - * [Optional] Specifies a priority for the query. Possible values include + * Optional. Specifies a priority for the query. Possible values include * INTERACTIVE and BATCH. The default value is INTERACTIVE. */ @property(nonatomic, copy, nullable) NSString *priority; /** * [Required] SQL query text to execute. The useLegacySql field can be used to - * indicate whether the query uses legacy SQL or standard SQL. + * indicate whether the query uses legacy SQL or GoogleSQL. */ @property(nonatomic, copy, nullable) NSString *query; -/** Query parameters for standard SQL queries. */ +/** Query parameters for GoogleSQL queries. */ @property(nonatomic, strong, nullable) NSArray *queryParameters; /** - * [TrustedTester] Range partitioning specification for this table. Only one of + * Range partitioning specification for the destination table. Only one of * timePartitioning and rangePartitioning should be specified. */ @property(nonatomic, strong, nullable) GTLRBigquery_RangePartitioning *rangePartitioning; @@ -6152,18 +7743,28 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE * and the destination table is a partition of a table, specified by partition * decorators. For normal tables, WRITE_TRUNCATE will always overwrite the - * schema. One or more of the following values are specified: - * ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. + * schema. One or more of the following values are specified: * + * ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. * * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original * schema to nullable. */ @property(nonatomic, strong, nullable) NSArray *schemaUpdateOptions; +/** Options controlling the execution of scripts. */ +@property(nonatomic, strong, nullable) GTLRBigquery_ScriptOptions *scriptOptions; + /** - * [Optional] If querying an external data source outside of BigQuery, - * describes the data format, location and other properties of the data source. - * By defining these properties, the data source can then be queried as if it - * were a standard BigQuery table. + * Output only. System variables for GoogleSQL queries. A system variable is + * output if the variable is settable and its value differs from the system + * default. "\@\@" prefix is not included in the name of the System variables. + */ +@property(nonatomic, strong, nullable) GTLRBigquery_SystemVariables *systemVariables; + +/** + * Optional. You can specify external table definitions, which operate as + * ephemeral tables that can be queried. These definitions are configured using + * a JSON map, where the string key represents the table identifier, and the + * value is the corresponding external data configuration object. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobConfigurationQuery_TableDefinitions *tableDefinitions; @@ -6174,9 +7775,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) GTLRBigquery_TimePartitioning *timePartitioning; /** - * Specifies whether to use BigQuery's legacy SQL dialect for this query. The - * default value is true. If set to false, the query will use BigQuery's - * standard SQL: https://cloud.google.com/bigquery/sql-reference/ When + * Optional. Specifies whether to use BigQuery's legacy SQL dialect for this + * query. The default value is true. If set to false, the query will use + * BigQuery's GoogleSQL: https://cloud.google.com/bigquery/sql-reference/ When * useLegacySql is set to false, the value of flattenResults is ignored; query * will be run as if flattenResults is false. * @@ -6185,10 +7786,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *useLegacySql; /** - * [Optional] Whether to look for the result in the query cache. The query - * cache is a best-effort cache that will be flushed whenever tables in the - * query are modified. Moreover, the query cache is only available when a query - * does not have a destination table specified. The default value is true. + * Optional. Whether to look for the result in the query cache. The query cache + * is a best-effort cache that will be flushed whenever tables in the query are + * modified. Moreover, the query cache is only available when a query does not + * have a destination table specified. The default value is true. * * Uses NSNumber of boolValue. */ @@ -6198,15 +7799,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSArray *userDefinedFunctionResources; /** - * [Optional] Specifies the action that occurs if the destination table already - * exists. The following values are supported: WRITE_TRUNCATE: If the table - * already exists, BigQuery overwrites the table data and uses the schema from - * the query result. WRITE_APPEND: If the table already exists, BigQuery - * appends the data to the table. WRITE_EMPTY: If the table already exists and - * contains data, a 'duplicate' error is returned in the job result. The - * default value is WRITE_EMPTY. Each action is atomic and only occurs if - * BigQuery is able to complete the job successfully. Creation, truncation and - * append actions occur as one atomic update upon job completion. + * Optional. Specifies the action that occurs if the destination table already + * exists. The following values are supported: * WRITE_TRUNCATE: If the table + * already exists, BigQuery overwrites the data, removes the constraints, and + * uses the schema from the query result. * WRITE_APPEND: If the table already + * exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table + * already exists and contains data, a 'duplicate' error is returned in the job + * result. The default value is WRITE_EMPTY. Each action is atomic and only + * occurs if BigQuery is able to complete the job successfully. Creation, + * truncation and append actions occur as one atomic update upon job + * completion. */ @property(nonatomic, copy, nullable) NSString *writeDisposition; @@ -6214,10 +7816,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * [Optional] If querying an external data source outside of BigQuery, - * describes the data format, location and other properties of the data source. - * By defining these properties, the data source can then be queried as if it - * were a standard BigQuery table. + * Optional. You can specify external table definitions, which operate as + * ephemeral tables that can be queried. These definitions are configured using + * a JSON map, where the string key represents the table identifier, and the + * value is the corresponding external data configuration object. * * @note This class is documented as having more properties of * GTLRBigquery_ExternalDataConfiguration. Use @c -additionalJSONKeys and @@ -6229,14 +7831,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_JobConfigurationTableCopy + * JobConfigurationTableCopy configures a job that copies data from one table + * to another. For more information on copying tables, see [Copy a + * table](https://cloud.google.com/bigquery/docs/managing-tables#copy-table). */ @interface GTLRBigquery_JobConfigurationTableCopy : GTLRObject /** - * [Optional] Specifies whether the job is allowed to create new tables. The - * following values are supported: CREATE_IF_NEEDED: If the table does not - * exist, BigQuery creates the table. CREATE_NEVER: The table must already + * Optional. Specifies whether the job is allowed to create new tables. The + * following values are supported: * CREATE_IF_NEEDED: If the table does not + * exist, BigQuery creates the table. * CREATE_NEVER: The table must already * exist. If it does not, a 'notFound' error is returned in the job result. The * default value is CREATE_IF_NEEDED. Creation, truncation and append actions * occur as one atomic update upon job completion. @@ -6247,17 +7851,32 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) GTLRBigquery_EncryptionConfiguration *destinationEncryptionConfiguration; /** - * [Optional] The time when the destination table expires. Expired tables will + * Optional. The time when the destination table expires. Expired tables will * be deleted and their storage reclaimed. - * - * Can be any valid JSON type. */ -@property(nonatomic, strong, nullable) id destinationExpirationTime; +@property(nonatomic, strong, nullable) GTLRDateTime *destinationExpirationTime; -/** [Required] The destination table */ +/** [Required] The destination table. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableReference *destinationTable; -/** [Optional] Supported operation types in table copy job. */ +/** + * Optional. Supported operation types in table copy job. + * + * Likely values: + * @arg @c kGTLRBigquery_JobConfigurationTableCopy_OperationType_Clone The + * source and destination table have the same table type, but only bill + * for unique data. (Value: "CLONE") + * @arg @c kGTLRBigquery_JobConfigurationTableCopy_OperationType_Copy The + * source and destination table have the same table type. (Value: "COPY") + * @arg @c kGTLRBigquery_JobConfigurationTableCopy_OperationType_OperationTypeUnspecified + * Unspecified operation type. (Value: "OPERATION_TYPE_UNSPECIFIED") + * @arg @c kGTLRBigquery_JobConfigurationTableCopy_OperationType_Restore The + * source table type is SNAPSHOT and the destination table type is TABLE. + * (Value: "RESTORE") + * @arg @c kGTLRBigquery_JobConfigurationTableCopy_OperationType_Snapshot The + * source table type is TABLE and the destination table type is SNAPSHOT. + * (Value: "SNAPSHOT") + */ @property(nonatomic, copy, nullable) NSString *operationType; /** [Pick one] Source table to copy. */ @@ -6267,13 +7886,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSArray *sourceTables; /** - * [Optional] Specifies the action that occurs if the destination table already - * exists. The following values are supported: WRITE_TRUNCATE: If the table - * already exists, BigQuery overwrites the table data. WRITE_APPEND: If the - * table already exists, BigQuery appends the data to the table. WRITE_EMPTY: - * If the table already exists and contains data, a 'duplicate' error is - * returned in the job result. The default value is WRITE_EMPTY. Each action is - * atomic and only occurs if BigQuery is able to complete the job successfully. + * Optional. Specifies the action that occurs if the destination table already + * exists. The following values are supported: * WRITE_TRUNCATE: If the table + * already exists, BigQuery overwrites the table data and uses the schema and + * table constraints from the source table. * WRITE_APPEND: If the table + * already exists, BigQuery appends the data to the table. * WRITE_EMPTY: If + * the table already exists and contains data, a 'duplicate' error is returned + * in the job result. The default value is WRITE_EMPTY. Each action is atomic + * and only occurs if BigQuery is able to complete the job successfully. * Creation, truncation and append actions occur as one atomic update upon job * completion. */ @@ -6317,7 +7937,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_JobList + * JobList is the response format for a jobs.list call. * * @note This class supports NSFastEnumeration and indexed subscripting over * its "jobs" property. If returned as the result of a query, it should @@ -6343,15 +7963,23 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** A token to request the next page of results. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; +/** + * A list of skipped locations that were unreachable. For more information + * about BigQuery locations, see: + * https://cloud.google.com/bigquery/docs/locations. Example: "europe-west5" + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + @end /** - * GTLRBigquery_JobList_Jobs_Item + * ListFormatJob is a partial projection of job information returned as part of + * a jobs.list response. */ @interface GTLRBigquery_JobList_Jobs_Item : GTLRObject -/** [Full-projection-only] Specifies the job configuration. */ +/** Required. Describes the job configuration. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobConfiguration *configuration; /** A result object that will be present only if the job has failed. */ @@ -6364,12 +7992,19 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Job reference uniquely identifying the job. */ +/** Unique opaque ID of the job. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobReference *jobReference; /** The resource type. */ @property(nonatomic, copy, nullable) NSString *kind; +/** + * [Full-projection-only] String representation of identity of requesting + * party. Populated for both first- and third-party identities. Only present + * for APIs that support third-party identities. + */ +@property(nonatomic, copy, nullable) NSString *principalSubject; + /** * Running state of the job. When the state is DONE, errorResult can be checked * to determine whether the job succeeded or failed. @@ -6377,12 +8012,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *state; /** - * [Output-only] Information about the job, including starting time and ending + * Output only. Information about the job, including starting time and ending * time of the job. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobStatistics *statistics; -/** [Full-projection-only] Describes the state of the job. */ +/** [Full-projection-only] Describes the status of this job. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobStatus *status; /** [Full-projection-only] Email address of the user who ran the job. */ @@ -6392,36 +8027,37 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_JobReference + * A job reference is a fully qualified identifier for referring to a job. */ @interface GTLRBigquery_JobReference : GTLRObject /** - * [Required] The ID of the job. The ID must contain only letters (a-z, A-Z), + * Required. The ID of the job. The ID must contain only letters (a-z, A-Z), * numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 * characters. */ @property(nonatomic, copy, nullable) NSString *jobId; /** - * The geographic location of the job. See details at - * https://cloud.google.com/bigquery/docs/locations#specifying_your_location. + * Optional. The geographic location of the job. The default value is US. For + * more information about BigQuery locations, see: + * https://cloud.google.com/bigquery/docs/locations */ @property(nonatomic, copy, nullable) NSString *location; -/** [Required] The ID of the project containing this job. */ +/** Required. The ID of the project containing this job. */ @property(nonatomic, copy, nullable) NSString *projectId; @end /** - * GTLRBigquery_JobStatistics + * Statistics for a single job execution. */ @interface GTLRBigquery_JobStatistics : GTLRObject /** - * [TrustedTester] [Output-only] Job progress (0.0 -> 1.0) for LOAD and EXTRACT + * Output only. [TrustedTester] Job progress (0.0 -> 1.0) for LOAD and EXTRACT * jobs. * * Uses NSNumber of doubleValue. @@ -6429,14 +8065,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *completionRatio; /** - * [Output-only] Statistics for a copy job. + * Output only. Statistics for a copy job. * * Remapped to 'copyProperty' to avoid NSObject's 'copy'. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobStatistics5 *copyProperty NS_RETURNS_NOT_RETAINED; /** - * [Output-only] Creation time of this job, in milliseconds since the epoch. + * Output only. Creation time of this job, in milliseconds since the epoch. * This field will be present on all jobs. * * Uses NSNumber of longLongValue. @@ -6444,68 +8080,82 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *creationTime; /** - * [Output-only] Statistics for data masking. Present only for query and - * extract jobs. + * Output only. Statistics for data-masking. Present only for query and extract + * jobs. */ @property(nonatomic, strong, nullable) GTLRBigquery_DataMaskingStatistics *dataMaskingStatistics; /** - * [Output-only] End time of this job, in milliseconds since the epoch. This + * Output only. End time of this job, in milliseconds since the epoch. This * field will be present whenever a job is in the DONE state. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *endTime; -/** [Output-only] Statistics for an extract job. */ +/** Output only. Statistics for an extract job. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobStatistics4 *extract; -/** [Output-only] Statistics for a load job. */ +/** + * Output only. The duration in milliseconds of the execution of the final + * attempt of this job, as BigQuery may internally re-attempt to execute the + * job. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *finalExecutionDurationMs; + +/** Output only. Statistics for a load job. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobStatistics3 *load; /** - * [Output-only] Number of child jobs executed. + * Output only. Number of child jobs executed. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *numChildJobs; -/** [Output-only] If this is a child job, the id of the parent. */ +/** + * Output only. If this is a child job, specifies the job ID of the parent. + */ @property(nonatomic, copy, nullable) NSString *parentJobId; -/** [Output-only] Statistics for a query job. */ +/** Output only. Statistics for a query job. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobStatistics2 *query; -/** [Output-only] Quotas which delayed this job's start time. */ +/** Output only. Quotas which delayed this job's start time. */ @property(nonatomic, strong, nullable) NSArray *quotaDeferments; /** - * [Output-only] Name of the primary reservation assigned to this job. Note - * that this could be different than reservations reported in the reservation - * usage field if parent reservations were used to execute this job. + * Output only. Name of the primary reservation assigned to this job. Note that + * this could be different than reservations reported in the reservation usage + * field if parent reservations were used to execute this job. */ @property(nonatomic, copy, nullable) NSString *reservationId; -/** [Output-only] Job resource usage breakdown by reservation. */ -@property(nonatomic, strong, nullable) NSArray *reservationUsage; +/** + * Output only. Job resource usage breakdown by reservation. This field + * reported misleading information and will no longer be populated. + */ +@property(nonatomic, strong, nullable) NSArray *reservationUsage GTLR_DEPRECATED; /** - * [Output-only] [Preview] Statistics for row-level security. Present only for - * query and extract jobs. + * Output only. Statistics for row-level security. Present only for query and + * extract jobs. */ @property(nonatomic, strong, nullable) GTLRBigquery_RowLevelSecurityStatistics *rowLevelSecurityStatistics; -/** [Output-only] Statistics for a child job of a script. */ -@property(nonatomic, strong, nullable) GTLRBigquery_ScriptStatistics *scriptStatistics; - /** - * [Output-only] [Preview] Information of the session if this job is part of - * one. + * Output only. If this a child job of a script, specifies information about + * the context of this job within the script. */ +@property(nonatomic, strong, nullable) GTLRBigquery_ScriptStatistics *scriptStatistics; + +/** Output only. Information of the session if this job is part of one. */ @property(nonatomic, strong, nullable) GTLRBigquery_SessionInfo *sessionInfo; /** - * [Output-only] Start time of this job, in milliseconds since the epoch. This + * Output only. Start time of this job, in milliseconds since the epoch. This * field will be present when the job transitions from the PENDING state to * either RUNNING or DONE. * @@ -6514,23 +8164,24 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *startTime; /** - * [Output-only] [Deprecated] Use the bytes processed in the query statistics - * instead. + * Output only. Total bytes processed for the job. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *totalBytesProcessed; /** - * [Output-only] Slot-milliseconds for the job. + * Output only. Slot-milliseconds for the job. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *totalSlotMs; /** - * [Output-only] [Alpha] Information of the multi-statement transaction if this - * job is part of one. + * Output only. [Alpha] Information of the multi-statement transaction if this + * job is part of one. This property is only expected on a child job or a job + * that is in a session. A script parent job is not part of the transaction + * started in the script. */ @property(nonatomic, strong, nullable) GTLRBigquery_TransactionInfo *transactionInfo; @@ -6538,18 +8189,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_JobStatistics_ReservationUsage_Item + * Job resource usage breakdown by reservation. */ @interface GTLRBigquery_JobStatistics_ReservationUsage_Item : GTLRObject -/** - * [Output-only] Reservation name or "unreserved" for on-demand resources - * usage. - */ +/** Reservation name or "unreserved" for on-demand resources usage. */ @property(nonatomic, copy, nullable) NSString *name; /** - * [Output-only] Slot-milliseconds the job spent in the given reservation. + * Total slot milliseconds used by the reservation for a particular job. * * Uses NSNumber of longLongValue. */ @@ -6559,192 +8207,295 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_JobStatistics2 + * Statistics for a query job. */ @interface GTLRBigquery_JobStatistics2 : GTLRObject -/** - * BI Engine specific Statistics. [Output only] BI Engine specific Statistics. - */ +/** Output only. BI Engine specific Statistics. */ @property(nonatomic, strong, nullable) GTLRBigquery_BiEngineStatistics *biEngineStatistics; /** - * [Output only] Billing tier for the job. + * Output only. Billing tier for the job. This is a BigQuery-specific concept + * which is not related to the Google Cloud notion of "free tier". The value + * here is a measure of the query's resource consumption relative to the amount + * of data scanned. For on-demand queries, the limit is 100, and all queries + * within this limit are billed at the standard on-demand rates. On-demand + * queries that exceed this limit will fail with a billingTierLimitExceeded + * error. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *billingTier; /** - * [Output only] Whether the query result was fetched from the query cache. + * Output only. Whether the query result was fetched from the query cache. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *cacheHit; +/** Output only. Referenced dataset for DCL statement. */ +@property(nonatomic, strong, nullable) GTLRBigquery_DatasetReference *dclTargetDataset; + +/** Output only. Referenced table for DCL statement. */ +@property(nonatomic, strong, nullable) GTLRBigquery_TableReference *dclTargetTable; + +/** Output only. Referenced view for DCL statement. */ +@property(nonatomic, strong, nullable) GTLRBigquery_TableReference *dclTargetView; + /** - * [Output only] [Preview] The number of row access policies affected by a DDL - * statement. Present only for DROP ALL ROW ACCESS POLICIES queries. + * Output only. The number of row access policies affected by a DDL statement. + * Present only for DROP ALL ROW ACCESS POLICIES queries. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *ddlAffectedRowAccessPolicyCount; /** - * [Output only] The DDL destination table. Present only for ALTER TABLE RENAME - * TO queries. Note that ddl_target_table is used just for its type - * information. + * Output only. The table after rename. Present only for ALTER TABLE RENAME TO + * query. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableReference *ddlDestinationTable; /** - * The DDL operation performed, possibly dependent on the pre-existence of the - * DDL target. Possible values (new values might be added in the future): - * "CREATE": The query created the DDL target. "SKIP": No-op. Example cases: - * the query is CREATE TABLE IF NOT EXISTS while the table already exists, or - * the query is DROP TABLE IF EXISTS while the table does not exist. "REPLACE": - * The query replaced the DDL target. Example case: the query is CREATE OR - * REPLACE TABLE, and the table already exists. "DROP": The query deleted the - * DDL target. + * Output only. The DDL operation performed, possibly dependent on the + * pre-existence of the DDL target. */ @property(nonatomic, copy, nullable) NSString *ddlOperationPerformed; /** - * [Output only] The DDL target dataset. Present only for - * CREATE/ALTER/DROP/UNDROP SCHEMA queries. + * Output only. The DDL target dataset. Present only for CREATE/ALTER/DROP + * SCHEMA(dataset) queries. */ @property(nonatomic, strong, nullable) GTLRBigquery_DatasetReference *ddlTargetDataset; /** - * The DDL target routine. Present only for CREATE/DROP FUNCTION/PROCEDURE - * queries. + * Output only. [Beta] The DDL target routine. Present only for CREATE/DROP + * FUNCTION/PROCEDURE queries. */ @property(nonatomic, strong, nullable) GTLRBigquery_RoutineReference *ddlTargetRoutine; /** - * [Output only] [Preview] The DDL target row access policy. Present only for - * CREATE/DROP ROW ACCESS POLICY queries. + * Output only. The DDL target row access policy. Present only for CREATE/DROP + * ROW ACCESS POLICY queries. */ @property(nonatomic, strong, nullable) GTLRBigquery_RowAccessPolicyReference *ddlTargetRowAccessPolicy; /** - * [Output only] The DDL target table. Present only for CREATE/DROP TABLE/VIEW + * Output only. The DDL target table. Present only for CREATE/DROP TABLE/VIEW * and DROP ALL ROW ACCESS POLICIES queries. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableReference *ddlTargetTable; /** - * [Output only] Detailed statistics for DML statements Present only for DML - * statements INSERT, UPDATE, DELETE or TRUNCATE. + * Output only. Detailed statistics for DML statements INSERT, UPDATE, DELETE, + * MERGE or TRUNCATE. */ @property(nonatomic, strong, nullable) GTLRBigquery_DmlStatistics *dmlStats; /** - * [Output only] The original estimate of bytes processed for the job. + * Output only. The original estimate of bytes processed for the job. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *estimatedBytesProcessed; -/** [Output only] Statistics of a BigQuery ML training job. */ +/** Output only. Stats for EXPORT DATA statement. */ +@property(nonatomic, strong, nullable) GTLRBigquery_ExportDataStatistics *exportDataStatistics; + +/** + * Output only. Job cost breakdown as bigquery internal cost and external + * service costs. + */ +@property(nonatomic, strong, nullable) NSArray *externalServiceCosts; + +/** Output only. Statistics for a LOAD query. */ +@property(nonatomic, strong, nullable) GTLRBigquery_LoadQueryStatistics *loadQueryStatistics; + +/** Output only. Statistics of materialized views of a query job. */ +@property(nonatomic, strong, nullable) GTLRBigquery_MaterializedViewStatistics *materializedViewStatistics; + +/** + * Output only. Statistics of metadata cache usage in a query for BigLake + * tables. + */ +@property(nonatomic, strong, nullable) GTLRBigquery_MetadataCacheStatistics *metadataCacheStatistics; + +/** Output only. Statistics of a BigQuery ML training job. */ @property(nonatomic, strong, nullable) GTLRBigquery_MlStatistics *mlStatistics; -/** [Output only, Beta] Information about create model query job progress. */ +/** Deprecated. */ @property(nonatomic, strong, nullable) GTLRBigquery_ModelTraining *modelTraining; /** - * [Output only, Beta] Deprecated; do not use. + * Deprecated. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *modelTrainingCurrentIteration; /** - * [Output only, Beta] Deprecated; do not use. + * Deprecated. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *modelTrainingExpectedTotalIteration; /** - * [Output only] The number of rows affected by a DML statement. Present only + * Output only. The number of rows affected by a DML statement. Present only * for DML statements INSERT, UPDATE or DELETE. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *numDmlAffectedRows; -/** [Output only] Describes execution plan for the query. */ +/** Output only. Performance insights. */ +@property(nonatomic, strong, nullable) GTLRBigquery_PerformanceInsights *performanceInsights; + +/** Output only. Query optimization information for a QUERY job. */ +@property(nonatomic, strong, nullable) GTLRBigquery_QueryInfo *queryInfo; + +/** Output only. Describes execution plan for the query. */ @property(nonatomic, strong, nullable) NSArray *queryPlan; -/** - * [Output only] Referenced routines (persistent user-defined functions and - * stored procedures) for the job. - */ +/** Output only. Referenced routines for the job. */ @property(nonatomic, strong, nullable) NSArray *referencedRoutines; /** - * [Output only] Referenced tables for the job. Queries that reference more - * than 50 tables will not have a complete list. + * Output only. Referenced tables for the job. Queries that reference more than + * 50 tables will not have a complete list. */ @property(nonatomic, strong, nullable) NSArray *referencedTables; -/** [Output only] Job resource usage breakdown by reservation. */ -@property(nonatomic, strong, nullable) NSArray *reservationUsage; +/** + * Output only. Job resource usage breakdown by reservation. This field + * reported misleading information and will no longer be populated. + */ +@property(nonatomic, strong, nullable) NSArray *reservationUsage GTLR_DEPRECATED; /** - * [Output only] The schema of the results. Present only for successful dry run + * Output only. The schema of the results. Present only for successful dry run * of non-legacy SQL queries. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableSchema *schema; -/** [Output only] Search query specific statistics. */ +/** Output only. Search query specific statistics. */ @property(nonatomic, strong, nullable) GTLRBigquery_SearchStatistics *searchStatistics; -/** [Output only] Statistics of a Spark procedure job. */ +/** Output only. Statistics of a Spark procedure job. */ @property(nonatomic, strong, nullable) GTLRBigquery_SparkStatistics *sparkStatistics; /** - * The type of query statement, if valid. Possible values (new values might be - * added in the future): "SELECT": SELECT query. "INSERT": INSERT query; see - * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. - * "UPDATE": UPDATE query; see - * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. - * "DELETE": DELETE query; see - * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. - * "MERGE": MERGE query; see - * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. - * "ALTER_TABLE": ALTER TABLE query. "ALTER_VIEW": ALTER VIEW query. "ASSERT": - * ASSERT condition AS 'description'. "CREATE_FUNCTION": CREATE FUNCTION query. - * "CREATE_MODEL": CREATE [OR REPLACE] MODEL ... AS SELECT ... . - * "CREATE_PROCEDURE": CREATE PROCEDURE query. "CREATE_TABLE": CREATE [OR - * REPLACE] TABLE without AS SELECT. "CREATE_TABLE_AS_SELECT": CREATE [OR - * REPLACE] TABLE ... AS SELECT ... . "CREATE_VIEW": CREATE [OR REPLACE] VIEW - * ... AS SELECT ... . "DROP_FUNCTION" : DROP FUNCTION query. "DROP_PROCEDURE": - * DROP PROCEDURE query. "DROP_TABLE": DROP TABLE query. "DROP_VIEW": DROP VIEW - * query. + * Output only. The type of query statement, if valid. Possible values: * + * `SELECT`: + * [`SELECT`](/bigquery/docs/reference/standard-sql/query-syntax#select_list) + * statement. * `ASSERT`: + * [`ASSERT`](/bigquery/docs/reference/standard-sql/debugging-statements#assert) + * statement. * `INSERT`: + * [`INSERT`](/bigquery/docs/reference/standard-sql/dml-syntax#insert_statement) + * statement. * `UPDATE`: + * [`UPDATE`](/bigquery/docs/reference/standard-sql/query-syntax#update_statement) + * statement. * `DELETE`: + * [`DELETE`](/bigquery/docs/reference/standard-sql/data-manipulation-language) + * statement. * `MERGE`: + * [`MERGE`](/bigquery/docs/reference/standard-sql/data-manipulation-language) + * statement. * `CREATE_TABLE`: [`CREATE + * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#create_table_statement) + * statement, without `AS SELECT`. * `CREATE_TABLE_AS_SELECT`: [`CREATE TABLE + * AS + * SELECT`](/bigquery/docs/reference/standard-sql/data-definition-language#query_statement) + * statement. * `CREATE_VIEW`: [`CREATE + * VIEW`](/bigquery/docs/reference/standard-sql/data-definition-language#create_view_statement) + * statement. * `CREATE_MODEL`: [`CREATE + * MODEL`](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-create#create_model_statement) + * statement. * `CREATE_MATERIALIZED_VIEW`: [`CREATE MATERIALIZED + * VIEW`](/bigquery/docs/reference/standard-sql/data-definition-language#create_materialized_view_statement) + * statement. * `CREATE_FUNCTION`: [`CREATE + * FUNCTION`](/bigquery/docs/reference/standard-sql/data-definition-language#create_function_statement) + * statement. * `CREATE_TABLE_FUNCTION`: [`CREATE TABLE + * FUNCTION`](/bigquery/docs/reference/standard-sql/data-definition-language#create_table_function_statement) + * statement. * `CREATE_PROCEDURE`: [`CREATE + * PROCEDURE`](/bigquery/docs/reference/standard-sql/data-definition-language#create_procedure) + * statement. * `CREATE_ROW_ACCESS_POLICY`: [`CREATE ROW ACCESS + * POLICY`](/bigquery/docs/reference/standard-sql/data-definition-language#create_row_access_policy_statement) + * statement. * `CREATE_SCHEMA`: [`CREATE + * SCHEMA`](/bigquery/docs/reference/standard-sql/data-definition-language#create_schema_statement) + * statement. * `CREATE_SNAPSHOT_TABLE`: [`CREATE SNAPSHOT + * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#create_snapshot_table_statement) + * statement. * `CREATE_SEARCH_INDEX`: [`CREATE SEARCH + * INDEX`](/bigquery/docs/reference/standard-sql/data-definition-language#create_search_index_statement) + * statement. * `DROP_TABLE`: [`DROP + * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_table_statement) + * statement. * `DROP_EXTERNAL_TABLE`: [`DROP EXTERNAL + * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_external_table_statement) + * statement. * `DROP_VIEW`: [`DROP + * VIEW`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_view_statement) + * statement. * `DROP_MODEL`: [`DROP + * MODEL`](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-drop-model) + * statement. * `DROP_MATERIALIZED_VIEW`: [`DROP MATERIALIZED + * VIEW`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_materialized_view_statement) + * statement. * `DROP_FUNCTION` : [`DROP + * FUNCTION`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_function_statement) + * statement. * `DROP_TABLE_FUNCTION` : [`DROP TABLE + * FUNCTION`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_table_function) + * statement. * `DROP_PROCEDURE`: [`DROP + * PROCEDURE`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_procedure_statement) + * statement. * `DROP_SEARCH_INDEX`: [`DROP SEARCH + * INDEX`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_search_index) + * statement. * `DROP_SCHEMA`: [`DROP + * SCHEMA`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_schema_statement) + * statement. * `DROP_SNAPSHOT_TABLE`: [`DROP SNAPSHOT + * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_snapshot_table_statement) + * statement. * `DROP_ROW_ACCESS_POLICY`: [`DROP [ALL] ROW ACCESS + * POLICY|POLICIES`](/bigquery/docs/reference/standard-sql/data-definition-language#drop_row_access_policy_statement) + * statement. * `ALTER_TABLE`: [`ALTER + * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#alter_table_set_options_statement) + * statement. * `ALTER_VIEW`: [`ALTER + * VIEW`](/bigquery/docs/reference/standard-sql/data-definition-language#alter_view_set_options_statement) + * statement. * `ALTER_MATERIALIZED_VIEW`: [`ALTER MATERIALIZED + * VIEW`](/bigquery/docs/reference/standard-sql/data-definition-language#alter_materialized_view_set_options_statement) + * statement. * `ALTER_SCHEMA`: [`ALTER + * SCHEMA`](/bigquery/docs/reference/standard-sql/data-definition-language#aalter_schema_set_options_statement) + * statement. * `SCRIPT`: + * [`SCRIPT`](/bigquery/docs/reference/standard-sql/procedural-language). * + * `TRUNCATE_TABLE`: [`TRUNCATE + * TABLE`](/bigquery/docs/reference/standard-sql/dml-syntax#truncate_table_statement) + * statement. * `CREATE_EXTERNAL_TABLE`: [`CREATE EXTERNAL + * TABLE`](/bigquery/docs/reference/standard-sql/data-definition-language#create_external_table_statement) + * statement. * `EXPORT_DATA`: [`EXPORT + * DATA`](/bigquery/docs/reference/standard-sql/other-statements#export_data_statement) + * statement. * `EXPORT_MODEL`: [`EXPORT + * MODEL`](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-export-model) + * statement. * `LOAD_DATA`: [`LOAD + * DATA`](/bigquery/docs/reference/standard-sql/other-statements#load_data_statement) + * statement. * `CALL`: + * [`CALL`](/bigquery/docs/reference/standard-sql/procedural-language#call) + * statement. */ @property(nonatomic, copy, nullable) NSString *statementType; -/** [Output only] [Beta] Describes a timeline of job execution. */ +/** Output only. Describes a timeline of job execution. */ @property(nonatomic, strong, nullable) NSArray *timeline; /** - * [Output only] Total bytes billed for the job. + * Output only. If the project is configured to use on-demand pricing, then + * this field contains the total bytes billed for the job. If the project is + * configured to use flat-rate pricing, then you are not billed for bytes and + * this field is informational only. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *totalBytesBilled; /** - * [Output only] Total bytes processed for the job. + * Output only. Total bytes processed for the job. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *totalBytesProcessed; /** - * [Output only] For dry-run jobs, totalBytesProcessed is an estimate and this + * Output only. For dry-run jobs, totalBytesProcessed is an estimate and this * field specifies the accuracy of the estimate. Possible values can be: * UNKNOWN: accuracy of the estimate is unknown. PRECISE: estimate is precise. * LOWER_BOUND: estimate is lower bound of what the query would cost. @@ -6753,7 +8504,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *totalBytesProcessedAccuracy; /** - * [Output only] Total number of partitions processed from all partitioned + * Output only. Total number of partitions processed from all partitioned * tables referenced in the job. * * Uses NSNumber of longLongValue. @@ -6761,14 +8512,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *totalPartitionsProcessed; /** - * [Output only] Slot-milliseconds for the job. + * Output only. Slot-milliseconds for the job. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *totalSlotMs; /** - * [Output-only] Total bytes transferred for cross-cloud queries such as Cross + * Output only. Total bytes transferred for cross-cloud queries such as Cross * Cloud Transfer and CREATE TABLE AS SELECT (CTAS). * * Uses NSNumber of longLongValue. @@ -6776,27 +8527,27 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *transferredBytes; /** - * Standard SQL only: list of undeclared query parameters detected during a dry - * run validation. + * Output only. GoogleSQL only: list of undeclared query parameters detected + * during a dry run validation. */ @property(nonatomic, strong, nullable) NSArray *undeclaredQueryParameters; +/** Output only. Search query specific statistics. */ +@property(nonatomic, strong, nullable) GTLRBigquery_VectorSearchStatistics *vectorSearchStatistics; + @end /** - * GTLRBigquery_JobStatistics2_ReservationUsage_Item + * Job resource usage breakdown by reservation. */ @interface GTLRBigquery_JobStatistics2_ReservationUsage_Item : GTLRObject -/** - * [Output only] Reservation name or "unreserved" for on-demand resources - * usage. - */ +/** Reservation name or "unreserved" for on-demand resources usage. */ @property(nonatomic, copy, nullable) NSString *name; /** - * [Output only] Slot-milliseconds the job spent in the given reservation. + * Total slot milliseconds used by the reservation for a particular job. * * Uses NSNumber of longLongValue. */ @@ -6806,14 +8557,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_JobStatistics3 + * Statistics for a load job. */ @interface GTLRBigquery_JobStatistics3 : GTLRObject /** - * [Output-only] The number of bad records encountered. Note that if the job - * has failed because of more bad records encountered than the maximum allowed - * in the load job configuration, then this number can be less than the total + * Output only. The number of bad records encountered. Note that if the job has + * failed because of more bad records encountered than the maximum allowed in + * the load job configuration, then this number can be less than the total * number of bad records present in the input data. * * Uses NSNumber of longLongValue. @@ -6821,46 +8572,49 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *badRecords; /** - * [Output-only] Number of bytes of source data in a load job. + * Output only. Number of bytes of source data in a load job. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *inputFileBytes; /** - * [Output-only] Number of source files in a load job. + * Output only. Number of source files in a load job. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *inputFiles; /** - * [Output-only] Size of the loaded data in bytes. Note that while a load job - * is in the running state, this value may change. + * Output only. Size of the loaded data in bytes. Note that while a load job is + * in the running state, this value may change. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *outputBytes; /** - * [Output-only] Number of rows imported in a load job. Note that while an + * Output only. Number of rows imported in a load job. Note that while an * import job is in the running state, this value may change. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *outputRows; +/** Output only. Describes a timeline of job execution. */ +@property(nonatomic, strong, nullable) NSArray *timeline; + @end /** - * GTLRBigquery_JobStatistics4 + * Statistics for an extract job. */ @interface GTLRBigquery_JobStatistics4 : GTLRObject /** - * [Output-only] Number of files per destination URI or URI pattern specified - * in the extract configuration. These values will be in the same order as the + * Output only. Number of files per destination URI or URI pattern specified in + * the extract configuration. These values will be in the same order as the * URIs specified in the 'destinationUris' field. * * Uses NSNumber of longLongValue. @@ -6868,30 +8622,35 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSArray *destinationUriFileCounts; /** - * [Output-only] Number of user bytes extracted into the result. This is the - * byte count as computed by BigQuery for billing purposes. + * Output only. Number of user bytes extracted into the result. This is the + * byte count as computed by BigQuery for billing purposes and doesn't have any + * relationship with the number of actual result bytes extracted in the desired + * format. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *inputBytes; +/** Output only. Describes a timeline of job execution. */ +@property(nonatomic, strong, nullable) NSArray *timeline; + @end /** - * GTLRBigquery_JobStatistics5 + * Statistics for a copy job. */ @interface GTLRBigquery_JobStatistics5 : GTLRObject /** - * [Output-only] Number of logical bytes copied to the destination table. + * Output only. Number of logical bytes copied to the destination table. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *copiedLogicalBytes; /** - * [Output-only] Number of rows copied to the destination table. + * Output only. Number of rows copied to the destination table. * * Uses NSNumber of longLongValue. */ @@ -6906,20 +8665,23 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @interface GTLRBigquery_JobStatus : GTLRObject /** - * [Output-only] Final error result of the job. If present, indicates that the + * Output only. Final error result of the job. If present, indicates that the * job has completed and was unsuccessful. */ @property(nonatomic, strong, nullable) GTLRBigquery_ErrorProto *errorResult; /** - * [Output-only] The first errors encountered during the running of the job. - * The final message includes the number of errors that caused the process to - * stop. Errors here do not necessarily mean that the job has completed or was + * Output only. The first errors encountered during the running of the job. The + * final message includes the number of errors that caused the process to stop. + * Errors here do not necessarily mean that the job has not completed or was * unsuccessful. */ @property(nonatomic, strong, nullable) NSArray *errors; -/** [Output-only] Running state of the job. */ +/** + * Output only. Running state of the job. Valid states include 'PENDING', + * 'RUNNING', and 'DONE'. + */ @property(nonatomic, copy, nullable) NSString *state; @end @@ -6938,12 +8700,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_JsonOptions + * Json Options for load and make external tables. */ @interface GTLRBigquery_JsonOptions : GTLRObject /** - * [Optional] The character encoding of the data. The supported values are + * Optional. The character encoding of the data. The supported values are * UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is * UTF-8. */ @@ -6952,6 +8714,19 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @end +/** + * A dataset source type which refers to another BigQuery dataset. + */ +@interface GTLRBigquery_LinkedDatasetSource : GTLRObject + +/** + * The source dataset reference contains project numbers and not project ids. + */ +@property(nonatomic, strong, nullable) GTLRBigquery_DatasetReference *sourceDataset; + +@end + + /** * Response format for a single page when listing BigQuery ML models. * @@ -7028,6 +8803,65 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @end +/** + * Statistics for a LOAD query. + */ +@interface GTLRBigquery_LoadQueryStatistics : GTLRObject + +/** + * Output only. The number of bad records encountered while processing a LOAD + * query. Note that if the job has failed because of more bad records + * encountered than the maximum allowed in the load job configuration, then + * this number can be less than the total number of bad records present in the + * input data. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *badRecords; + +/** + * Output only. This field is deprecated. The number of bytes of source data + * copied over the network for a `LOAD` query. `transferred_bytes` has the + * canonical value for physical transferred bytes, which is used for BigQuery + * Omni billing. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *bytesTransferred GTLR_DEPRECATED; + +/** + * Output only. Number of bytes of source data in a LOAD query. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *inputFileBytes; + +/** + * Output only. Number of source files in a LOAD query. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *inputFiles; + +/** + * Output only. Size of the loaded data in bytes. Note that while a LOAD query + * is in the running state, this value may change. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *outputBytes; + +/** + * Output only. Number of rows imported in a LOAD query. Note that while a LOAD + * query is in the running state, this value may change. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *outputRows; + +@end + + /** * BigQuery-specific metadata about a location. This will be set on * google.cloud.location.Location.metadata in Cloud Location API responses. @@ -7044,29 +8878,106 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_MaterializedViewDefinition + * A materialized view considered for a query job. + */ +@interface GTLRBigquery_MaterializedView : GTLRObject + +/** + * Whether the materialized view is chosen for the query. A materialized view + * can be chosen to rewrite multiple parts of the same query. If a materialized + * view is chosen to rewrite any part of the query, then this field is true, + * even if the materialized view was not chosen to rewrite others parts. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *chosen; + +/** + * If present, specifies a best-effort estimation of the bytes saved by using + * the materialized view rather than its base tables. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *estimatedBytesSaved; + +/** + * If present, specifies the reason why the materialized view was not chosen + * for the query. + * + * Likely values: + * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_BaseTableDataChange + * View is invalidated because of a data change in one or more base + * tables. It could be any recent change if the + * [`max_staleness`](https://cloud.google.com/bigquery/docs/materialized-views-create#max_staleness) + * option is not set for the view, or otherwise any change outside of the + * staleness window. (Value: "BASE_TABLE_DATA_CHANGE") + * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_BaseTableExpiredPartition + * View is invalidated because a base table's partition has expired. + * (Value: "BASE_TABLE_EXPIRED_PARTITION") + * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_BaseTableFineGrainedSecurityPolicy + * View is inaccessible to the user because of a fine-grained security + * policy on one of its base tables. (Value: + * "BASE_TABLE_FINE_GRAINED_SECURITY_POLICY") + * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_BaseTableIncompatibleMetadataChange + * View is invalidated because a base table has an incompatible metadata + * change. (Value: "BASE_TABLE_INCOMPATIBLE_METADATA_CHANGE") + * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_BaseTablePartitionExpirationChange + * View is invalidated because a base table's partition expiration has + * changed. (Value: "BASE_TABLE_PARTITION_EXPIRATION_CHANGE") + * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_BaseTableTooStale + * One of the view's base tables is too stale. For example, the cached + * metadata of a biglake table needs to be updated. (Value: + * "BASE_TABLE_TOO_STALE") + * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_BaseTableTruncated + * View has no cached data because a base table is truncated. (Value: + * "BASE_TABLE_TRUNCATED") + * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_Cost The estimated + * cost of the view is more expensive than another view or the base + * table. Note: The estimate cost might not match the billed cost. + * (Value: "COST") + * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_NoData View has no + * cached data because it has not refreshed yet. (Value: "NO_DATA") + * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_OutOfTimeTravelWindow + * View is outside the time travel window. (Value: + * "OUT_OF_TIME_TRAVEL_WINDOW") + * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_RejectedReasonUnspecified + * Default unspecified value. (Value: "REJECTED_REASON_UNSPECIFIED") + * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_TimeZone View is + * invalidated because it was refreshed with a time zone other than that + * of the current job. (Value: "TIME_ZONE") + */ +@property(nonatomic, copy, nullable) NSString *rejectedReason; + +/** The candidate materialized view. */ +@property(nonatomic, strong, nullable) GTLRBigquery_TableReference *tableReference; + +@end + + +/** + * Definition and configuration of a materialized view. */ @interface GTLRBigquery_MaterializedViewDefinition : GTLRObject /** - * [Optional] Allow non incremental materialized view definition. The default - * value is "false". + * Optional. This option declares authors intention to construct a materialized + * view that will not be refreshed incrementally. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *allowNonIncrementalDefinition; /** - * [Optional] [TrustedTester] Enable automatic refresh of the materialized view - * when the base table is updated. The default value is "true". + * Optional. Enable automatic refresh of the materialized view when the base + * table is updated. The default value is "true". * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *enableRefresh; /** - * [Output-only] [TrustedTester] The time when this materialized view was last - * modified, in milliseconds since the epoch. + * Output only. The time when this materialized view was last refreshed, in + * milliseconds since the epoch. * * Uses NSNumber of longLongValue. */ @@ -7081,12 +8992,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, copy, nullable) NSString *maxStaleness; -/** [Required] A query whose result is persisted. */ +/** Required. A query whose results are persisted. */ @property(nonatomic, copy, nullable) NSString *query; /** - * [Optional] [TrustedTester] The maximum frequency at which this materialized - * view will be refreshed. The default value is "1800000" (30 minutes). + * Optional. The maximum frequency at which this materialized view will be + * refreshed. The default value is "1800000" (30 minutes). * * Uses NSNumber of longLongValue. */ @@ -7096,22 +9007,151 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_MlStatistics + * Statistics of materialized views considered in a query job. + */ +@interface GTLRBigquery_MaterializedViewStatistics : GTLRObject + +/** + * Materialized views considered for the query job. Only certain materialized + * views are used. For a detailed list, see the child message. If many + * materialized views are considered, then the list might be incomplete. + */ +@property(nonatomic, strong, nullable) NSArray *materializedView; + +@end + + +/** + * Status of a materialized view. The last refresh timestamp status is omitted + * here, but is present in the MaterializedViewDefinition message. + */ +@interface GTLRBigquery_MaterializedViewStatus : GTLRObject + +/** + * Output only. Error result of the last automatic refresh. If present, + * indicates that the last automatic refresh was unsuccessful. + */ +@property(nonatomic, strong, nullable) GTLRBigquery_ErrorProto *lastRefreshStatus; + +/** + * Output only. Refresh watermark of materialized view. The base tables' data + * were collected into the materialized view cache until this time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *refreshWatermark; + +@end + + +/** + * Statistics for metadata caching in BigLake tables. + */ +@interface GTLRBigquery_MetadataCacheStatistics : GTLRObject + +/** Set for the Metadata caching eligible tables referenced in the query. */ +@property(nonatomic, strong, nullable) NSArray *tableMetadataCacheUsage; + +@end + + +/** + * Job statistics specific to a BigQuery ML training job. */ @interface GTLRBigquery_MlStatistics : GTLRObject -/** Results for all completed iterations. */ +/** + * Output only. Trials of a [hyperparameter tuning + * job](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) + * sorted by trial_id. + */ +@property(nonatomic, strong, nullable) NSArray *hparamTrials; + +/** + * Results for all completed iterations. Empty for [hyperparameter tuning + * jobs](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview). + */ @property(nonatomic, strong, nullable) NSArray *iterationResults; /** - * Maximum number of iterations specified as max_iterations in the 'CREATE - * MODEL' query. The actual number of iterations may be less than this number - * due to early stop. + * Output only. Maximum number of iterations specified as max_iterations in the + * 'CREATE MODEL' query. The actual number of iterations may be less than this + * number due to early stop. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *maxIterations; +/** + * Output only. The type of the model that is being trained. + * + * Likely values: + * @arg @c kGTLRBigquery_MlStatistics_ModelType_Arima ARIMA model. (Value: + * "ARIMA") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_ArimaPlus New name for the + * ARIMA model. (Value: "ARIMA_PLUS") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_ArimaPlusXreg ARIMA with + * external regressors. (Value: "ARIMA_PLUS_XREG") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_Autoencoder Autoencoder + * model. (Value: "AUTOENCODER") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_AutomlClassifier AutoML + * Tables classification model. (Value: "AUTOML_CLASSIFIER") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_AutomlRegressor AutoML Tables + * regression model. (Value: "AUTOML_REGRESSOR") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_BoostedTreeClassifier Boosted + * tree classifier model. (Value: "BOOSTED_TREE_CLASSIFIER") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_BoostedTreeRegressor Boosted + * tree regressor model. (Value: "BOOSTED_TREE_REGRESSOR") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_DnnClassifier DNN classifier + * model. (Value: "DNN_CLASSIFIER") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_DnnLinearCombinedClassifier + * Wide-and-deep classifier model. (Value: + * "DNN_LINEAR_COMBINED_CLASSIFIER") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_DnnLinearCombinedRegressor + * Wide-and-deep regressor model. (Value: + * "DNN_LINEAR_COMBINED_REGRESSOR") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_DnnRegressor DNN regressor + * model. (Value: "DNN_REGRESSOR") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_Kmeans K-means clustering + * model. (Value: "KMEANS") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_LinearRegression Linear + * regression model. (Value: "LINEAR_REGRESSION") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_LogisticRegression Logistic + * regression based classification model. (Value: "LOGISTIC_REGRESSION") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_MatrixFactorization Matrix + * factorization model. (Value: "MATRIX_FACTORIZATION") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_ModelTypeUnspecified Default + * value. (Value: "MODEL_TYPE_UNSPECIFIED") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_Onnx An imported ONNX model. + * (Value: "ONNX") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_Pca Prinpical Component + * Analysis model. (Value: "PCA") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_RandomForestClassifier Random + * forest classifier model. (Value: "RANDOM_FOREST_CLASSIFIER") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_RandomForestRegressor Random + * forest regressor model. (Value: "RANDOM_FOREST_REGRESSOR") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_Tensorflow An imported + * TensorFlow model. (Value: "TENSORFLOW") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_TensorflowLite An imported + * TensorFlow Lite model. (Value: "TENSORFLOW_LITE") + * @arg @c kGTLRBigquery_MlStatistics_ModelType_Xgboost An imported XGBoost + * model. (Value: "XGBOOST") + */ +@property(nonatomic, copy, nullable) NSString *modelType; + +/** + * Output only. Training type of the job. + * + * Likely values: + * @arg @c kGTLRBigquery_MlStatistics_TrainingType_HparamTuning + * [Hyperparameter tuning + * training](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview). + * (Value: "HPARAM_TUNING") + * @arg @c kGTLRBigquery_MlStatistics_TrainingType_SingleTraining Single + * training with fixed parameter space. (Value: "SINGLE_TRAINING") + * @arg @c kGTLRBigquery_MlStatistics_TrainingType_TrainingTypeUnspecified + * Unspecified training type. (Value: "TRAINING_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *trainingType; + @end @@ -7334,28 +9374,17 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @interface GTLRBigquery_ModelDefinition : GTLRObject -/** - * [Output-only, Beta] Model options used for the first training run. These - * options are immutable for subsequent training runs. Default values are used - * for any options not specified in the input query. - */ +/** Deprecated. */ @property(nonatomic, strong, nullable) GTLRBigquery_ModelDefinition_ModelOptions *modelOptions; -/** - * [Output-only, Beta] Information about ml training runs, each training run - * comprises of multiple iterations and there may be multiple training runs for - * the model if warm start is used or if a user decides to continue a - * previously cancelled query. - */ +/** Deprecated. */ @property(nonatomic, strong, nullable) NSArray *trainingRuns; @end /** - * [Output-only, Beta] Model options used for the first training run. These - * options are immutable for subsequent training runs. Default values are used - * for any options not specified in the input query. + * Deprecated. */ @interface GTLRBigquery_ModelDefinition_ModelOptions : GTLRObject @@ -7367,7 +9396,26 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_ModelReference + * Options related to model extraction. + */ +@interface GTLRBigquery_ModelExtractOptions : GTLRObject + +/** + * The 1-based ID of the trial to be exported from a hyperparameter tuning + * model. If not specified, the trial with id = + * [Model](/bigquery/docs/reference/rest/v2/models#resource:-model).defaultTrialId + * is exported. This field is ignored for models not trained with + * hyperparameter tuning. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *trialId; + +@end + + +/** + * Id path of a model. */ @interface GTLRBigquery_ModelReference : GTLRObject @@ -7392,17 +9440,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @interface GTLRBigquery_ModelTraining : GTLRObject /** - * [Output-only, Beta] Index of current ML training iteration. Updated during - * create model query job to show job progress. + * Deprecated. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *currentIteration; /** - * [Output-only, Beta] Expected number of iterations for the create model query - * job specified as num_iterations in the input query. The actual total number - * of iterations may be less than this number due to early stop. + * Deprecated. * * Uses NSNumber of longLongValue. */ @@ -7426,20 +9471,20 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_ParquetOptions + * Parquet Options for load and make external tables. */ @interface GTLRBigquery_ParquetOptions : GTLRObject /** - * [Optional] Indicates whether to use schema inference specifically for - * Parquet LIST logical type. + * Optional. Indicates whether to use schema inference specifically for Parquet + * LIST logical type. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *enableListInference; /** - * [Optional] Indicates whether to infer Parquet ENUM logical type as STRING + * Optional. Indicates whether to infer Parquet ENUM logical type as STRING * instead of BYTES by default. * * Uses NSNumber of boolValue. @@ -7449,6 +9494,35 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @end +/** + * Performance insights for the job. + */ +@interface GTLRBigquery_PerformanceInsights : GTLRObject + +/** + * Output only. Average execution ms of previous runs. Indicates the job ran + * slow compared to previous executions. To find previous executions, use + * INFORMATION_SCHEMA tables and filter jobs with same query hash. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *avgPreviousExecutionMs; + +/** + * Output only. Query stage performance insights compared to previous runs, for + * diagnosing performance regression. + */ +@property(nonatomic, strong, nullable) NSArray *stagePerformanceChangeInsights; + +/** + * Output only. Standalone query stage performance insights, for exploring + * potential improvements. + */ +@property(nonatomic, strong, nullable) NSArray *stagePerformanceStandaloneInsights; + +@end + + /** * An Identity and Access Management (IAM) policy, which specifies access * controls for Google Cloud resources. A `Policy` is a collection of @@ -7592,7 +9666,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_ProjectList + * Response object of ListProjects * * @note This class supports NSFastEnumeration and indexed subscripting over * its "projects" property. If returned as the result of a query, it @@ -7601,17 +9675,17 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @interface GTLRBigquery_ProjectList : GTLRCollectionObject -/** A hash of the page of results */ +/** A hash of the page of results. */ @property(nonatomic, copy, nullable) NSString *ETag; -/** The type of list. */ +/** The resource type of the response. */ @property(nonatomic, copy, nullable) NSString *kind; -/** A token to request the next page of results. */ +/** Use this token to request the next page of results. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * Projects to which you have at least READ access. + * Projects to which the user has at least READ access. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -7619,7 +9693,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSArray *projects; /** - * The total number of projects in the list. + * The total number of projects in the page. A wrapper is used here because the + * field should still be in the response when the value is 0. * * Uses NSNumber of intValue. */ @@ -7629,11 +9704,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_ProjectList_Projects_Item + * Information about a single project. */ @interface GTLRBigquery_ProjectList_Projects_Item : GTLRObject -/** A descriptive name for this project. */ +/** + * A descriptive name for this project. A wrapper is used here because + * friendlyName can be set to the empty string. + */ @property(nonatomic, copy, nullable) NSString *friendlyName; /** @@ -7660,13 +9738,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_ProjectReference + * A unique reference to a project. */ @interface GTLRBigquery_ProjectReference : GTLRObject /** - * [Required] ID of the project. Can be either the numeric ID or the assigned - * ID of the project. + * Required. ID of the project. Can be either the numeric ID or the assigned ID + * of the project. */ @property(nonatomic, copy, nullable) NSString *projectId; @@ -7674,106 +9752,114 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_QueryParameter + * Query optimization information for a QUERY job. + */ +@interface GTLRBigquery_QueryInfo : GTLRObject + +/** Output only. Information about query optimizations. */ +@property(nonatomic, strong, nullable) GTLRBigquery_QueryInfo_OptimizationDetails *optimizationDetails; + +@end + + +/** + * Output only. Information about query optimizations. + * + * @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 GTLRBigquery_QueryInfo_OptimizationDetails : GTLRObject +@end + + +/** + * A parameter given to a query. */ @interface GTLRBigquery_QueryParameter : GTLRObject /** - * [Optional] If unset, this is a positional parameter. Otherwise, should be + * Optional. If unset, this is a positional parameter. Otherwise, should be * unique within a query. */ @property(nonatomic, copy, nullable) NSString *name; -/** [Required] The type of this parameter. */ +/** Required. The type of this parameter. */ @property(nonatomic, strong, nullable) GTLRBigquery_QueryParameterType *parameterType; -/** [Required] The value of this parameter. */ +/** Required. The value of this parameter. */ @property(nonatomic, strong, nullable) GTLRBigquery_QueryParameterValue *parameterValue; @end /** - * GTLRBigquery_QueryParameterType + * The type of a query parameter. */ @interface GTLRBigquery_QueryParameterType : GTLRObject -/** [Optional] The type of the array's elements, if this is an array. */ +/** Optional. The type of the array's elements, if this is an array. */ @property(nonatomic, strong, nullable) GTLRBigquery_QueryParameterType *arrayType; -/** [Optional] The element type of the range, if this is a range. */ +/** Optional. The element type of the range, if this is a range. */ @property(nonatomic, strong, nullable) GTLRBigquery_QueryParameterType *rangeElementType; /** - * [Optional] The types of the fields of this struct, in order, if this is a + * Optional. The types of the fields of this struct, in order, if this is a * struct. */ @property(nonatomic, strong, nullable) NSArray *structTypes; -/** [Required] The top level type of this field. */ +/** Required. The top level type of this field. */ @property(nonatomic, copy, nullable) NSString *type; @end /** - * GTLRBigquery_QueryParameterType_StructTypes_Item + * The type of a struct parameter. */ @interface GTLRBigquery_QueryParameterType_StructTypes_Item : GTLRObject /** - * [Optional] Human-oriented description of the field. + * Optional. Human-oriented description of the field. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; -/** [Optional] The name of this field. */ +/** Optional. The name of this field. */ @property(nonatomic, copy, nullable) NSString *name; -/** [Required] The type of this field. */ +/** Required. The type of this field. */ @property(nonatomic, strong, nullable) GTLRBigquery_QueryParameterType *type; @end /** - * GTLRBigquery_QueryParameterValue + * The value of a query parameter. */ @interface GTLRBigquery_QueryParameterValue : GTLRObject -/** [Optional] The array values, if this is an array type. */ +/** Optional. The array values, if this is an array type. */ @property(nonatomic, strong, nullable) NSArray *arrayValues; -/** [Optional] The range value, if this is a range type. */ -@property(nonatomic, strong, nullable) GTLRBigquery_QueryParameterValue_RangeValue *rangeValue; +/** Optional. The range value, if this is a range type. */ +@property(nonatomic, strong, nullable) GTLRBigquery_RangeValue *rangeValue; -/** - * [Optional] The struct field values, in order of the struct type's - * declaration. - */ +/** The struct field values. */ @property(nonatomic, strong, nullable) GTLRBigquery_QueryParameterValue_StructValues *structValues; -/** [Optional] The value of this value, if a simple scalar type. */ -@property(nonatomic, copy, nullable) NSString *value; - -@end - - -/** - * [Optional] The range value, if this is a range type. - */ -@interface GTLRBigquery_QueryParameterValue_RangeValue : GTLRObject - -@property(nonatomic, strong, nullable) GTLRBigquery_QueryParameterValue *end; -@property(nonatomic, strong, nullable) GTLRBigquery_QueryParameterValue *start; - +/** Optional. The value of this value, if a simple scalar type. */ +@property(nonatomic, copy, nullable) NSString *value; + @end /** - * [Optional] The struct field values, in order of the struct type's - * declaration. + * The struct field values. * * @note This class is documented as having more properties of * GTLRBigquery_QueryParameterValue. Use @c -additionalJSONKeys and @c @@ -7785,11 +9871,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_QueryRequest + * Describes the format of the jobs.query request. */ @interface GTLRBigquery_QueryRequest : GTLRObject -/** Connection properties. */ +/** Optional. Connection properties which can modify the query behavior. */ @property(nonatomic, strong, nullable) NSArray *connectionProperties; /** @@ -7801,23 +9887,25 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *continuous; /** - * If true, creates a new session, where session id will be a server generated - * random id. If false, runs query with an existing session_id passed in - * ConnectionProperty, otherwise runs query in non-session mode. + * Optional. If true, creates a new session using a randomly generated + * session_id. If false, runs query with an existing session_id passed in + * ConnectionProperty, otherwise runs query in non-session mode. The session + * location will be set to QueryRequest.location if it is present, otherwise + * it's set to the default location based on existing routing logic. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *createSession; /** - * [Optional] Specifies the default datasetId and projectId to assume for any + * Optional. Specifies the default datasetId and projectId to assume for any * unqualified table names in the query. If not set, all table names in the * query string must be qualified in the format 'datasetId.tableId'. */ @property(nonatomic, strong, nullable) GTLRBigquery_DatasetReference *defaultDataset; /** - * [Optional] If set to true, BigQuery doesn't run the job. Instead, if the + * Optional. If set to true, BigQuery doesn't run the job. Instead, if the * query is valid, BigQuery returns statistics about the job such as how many * bytes would be processed. If the query is invalid, an error returns. The * default value is false. @@ -7826,10 +9914,28 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) NSNumber *dryRun; +/** Optional. Output format adjustments. */ +@property(nonatomic, strong, nullable) GTLRBigquery_DataFormatOptions *formatOptions; + /** * Optional. If not set, jobs are always required. If set, the query request * will follow the behavior described JobCreationMode. This feature is not yet * available. Jobs will always be created. + * + * Likely values: + * @arg @c kGTLRBigquery_QueryRequest_JobCreationMode_JobCreationModeUnspecified + * If unspecified JOB_CREATION_REQUIRED is the default. (Value: + * "JOB_CREATION_MODE_UNSPECIFIED") + * @arg @c kGTLRBigquery_QueryRequest_JobCreationMode_JobCreationOptional Job + * creation is optional. Returning immediate results is prioritized. + * BigQuery will automatically determine if a Job needs to be created. + * The conditions under which BigQuery can decide to not create a Job are + * subject to change. If Job creation is required, JOB_CREATION_REQUIRED + * mode should be used, which is the default. (Value: + * "JOB_CREATION_OPTIONAL") + * @arg @c kGTLRBigquery_QueryRequest_JobCreationMode_JobCreationRequired + * Default. Job creation is always required. (Value: + * "JOB_CREATION_REQUIRED") */ @property(nonatomic, copy, nullable) NSString *jobCreationMode; @@ -7837,10 +9943,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *kind; /** - * The labels associated with this job. You can use these to organize and group - * your jobs. Label keys and values can be no longer than 63 characters, can - * only contain lowercase letters, numeric characters, underscores and dashes. - * International characters are allowed. Label values are optional. Label keys + * Optional. The labels associated with this query. Labels can be used to + * organize and group query jobs. Label keys and values can be no longer than + * 63 characters, can only contain lowercase letters, numeric characters, + * underscores and dashes. International characters are allowed. Label keys * must start with a letter and each label in the list must have a different * key. */ @@ -7853,16 +9959,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *location; /** - * [Optional] Limits the bytes billed for this job. Queries that will have - * bytes billed beyond this limit will fail (without incurring a charge). If - * unspecified, this will be set to your project default. + * Optional. Limits the bytes billed for this query. Queries with bytes billed + * above this limit will fail (without incurring a charge). If unspecified, the + * project default is used. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *maximumBytesBilled; /** - * [Optional] The maximum number of rows of data to return per page of results. + * Optional. The maximum number of rows of data to return per page of results. * Setting this flag to a small value such as 1000 and then paging through * results might improve reliability when the query result set is large. In * addition to this limit, responses are also limited to 10 MB. By default, @@ -7873,59 +9979,62 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *maxResults; /** - * Standard SQL only. Set to POSITIONAL to use positional (?) query parameters - * or to NAMED to use named (\@myparam) query parameters in this query. + * GoogleSQL only. Set to POSITIONAL to use positional (?) query parameters or + * to NAMED to use named (\@myparam) query parameters in this query. */ @property(nonatomic, copy, nullable) NSString *parameterMode; /** - * [Deprecated] This property is deprecated. + * This property is deprecated. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *preserveNulls; +@property(nonatomic, strong, nullable) NSNumber *preserveNulls GTLR_DEPRECATED; /** - * [Required] A query string, following the BigQuery query syntax, of the query - * to execute. Example: "SELECT count(f1) FROM - * [myProjectId:myDatasetId.myTableId]". + * Required. A query string to execute, using Google Standard SQL or legacy SQL + * syntax. Example: "SELECT COUNT(f1) FROM myProjectId.myDatasetId.myTableId". */ @property(nonatomic, copy, nullable) NSString *query; -/** Query parameters for Standard SQL queries. */ +/** Query parameters for GoogleSQL queries. */ @property(nonatomic, strong, nullable) NSArray *queryParameters; /** - * A unique user provided identifier to ensure idempotent behavior for queries. - * Note that this is different from the job_id. It has the following - * properties: 1. It is case-sensitive, limited to up to 36 ASCII characters. A - * UUID is recommended. 2. Read only queries can ignore this token since they - * are nullipotent by definition. 3. For the purposes of idempotency ensured by - * the request_id, a request is considered duplicate of another only if they - * have the same request_id and are actually duplicates. When determining - * whether a request is a duplicate of the previous request, all parameters in - * the request that may affect the behavior are considered. For example, query, - * connection_properties, query_parameters, use_legacy_sql are parameters that - * affect the result and are considered when determining whether a request is a - * duplicate, but properties like timeout_ms don't affect the result and are - * thus not considered. Dry run query requests are never considered duplicate - * of another request. 4. When a duplicate mutating query request is detected, - * it returns: a. the results of the mutation if it completes successfully - * within the timeout. b. the running operation if it is still in progress at - * the end of the timeout. 5. Its lifetime is limited to 15 minutes. In other - * words, if two requests are sent with the same request_id, but more than 15 - * minutes apart, idempotency is not guaranteed. + * Optional. A unique user provided identifier to ensure idempotent behavior + * for queries. Note that this is different from the job_id. It has the + * following properties: 1. It is case-sensitive, limited to up to 36 ASCII + * characters. A UUID is recommended. 2. Read only queries can ignore this + * token since they are nullipotent by definition. 3. For the purposes of + * idempotency ensured by the request_id, a request is considered duplicate of + * another only if they have the same request_id and are actually duplicates. + * When determining whether a request is a duplicate of another request, all + * parameters in the request that may affect the result are considered. For + * example, query, connection_properties, query_parameters, use_legacy_sql are + * parameters that affect the result and are considered when determining + * whether a request is a duplicate, but properties like timeout_ms don't + * affect the result and are thus not considered. Dry run query requests are + * never considered duplicate of another request. 4. When a duplicate mutating + * query request is detected, it returns: a. the results of the mutation if it + * completes successfully within the timeout. b. the running operation if it is + * still in progress at the end of the timeout. 5. Its lifetime is limited to + * 15 minutes. In other words, if two requests are sent with the same + * request_id, but more than 15 minutes apart, idempotency is not guaranteed. */ @property(nonatomic, copy, nullable) NSString *requestId; /** - * [Optional] How long to wait for the query to complete, in milliseconds, - * before the request times out and returns. Note that this is only a timeout - * for the request, not the query. If the query takes longer to run than the - * timeout value, the call returns without any results and with the - * 'jobComplete' flag set to false. You can call GetQueryResults() to wait for - * the query to complete and read the results. The default value is 10000 - * milliseconds (10 seconds). + * Optional. Optional: Specifies the maximum amount of time, in milliseconds, + * that the client is willing to wait for the query to complete. By default, + * this limit is 10 seconds (10,000 milliseconds). If the query is complete, + * the jobComplete field in the response is true. If the query has not yet + * completed, jobComplete is false. You can request a longer timeout period in + * the timeoutMs field. However, the call is not guaranteed to wait for the + * specified timeout; it typically returns after around 200 seconds (200,000 + * milliseconds), even if the query is not complete. If jobComplete is false, + * you can continue to wait for the query to complete by calling the + * getQueryResults method until the jobComplete field in the getQueryResults + * response is true. * * Uses NSNumber of unsignedIntValue. */ @@ -7934,7 +10043,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Specifies whether to use BigQuery's legacy SQL dialect for this query. The * default value is true. If set to false, the query will use BigQuery's - * standard SQL: https://cloud.google.com/bigquery/sql-reference/ When + * GoogleSQL: https://cloud.google.com/bigquery/sql-reference/ When * useLegacySql is set to false, the value of flattenResults is ignored; query * will be run as if flattenResults is false. * @@ -7943,9 +10052,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *useLegacySql; /** - * [Optional] Whether to look for the result in the query cache. The query - * cache is a best-effort cache that will be flushed whenever tables in the - * query are modified. The default value is true. + * Optional. Whether to look for the result in the query cache. The query cache + * is a best-effort cache that will be flushed whenever tables in the query are + * modified. The default value is true. * * Uses NSNumber of boolValue. */ @@ -7955,10 +10064,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * The labels associated with this job. You can use these to organize and group - * your jobs. Label keys and values can be no longer than 63 characters, can - * only contain lowercase letters, numeric characters, underscores and dashes. - * International characters are allowed. Label values are optional. Label keys + * Optional. The labels associated with this query. Labels can be used to + * organize and group query jobs. Label keys and values can be no longer than + * 63 characters, can only contain lowercase letters, numeric characters, + * underscores and dashes. International characters are allowed. Label keys * must start with a letter and each label in the list must have a different * key. * @@ -7984,16 +10093,17 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *cacheHit; /** - * [Output-only] Detailed statistics for DML statements Present only for DML - * statements INSERT, UPDATE, DELETE or TRUNCATE. + * Output only. Detailed statistics for DML statements INSERT, UPDATE, DELETE, + * MERGE or TRUNCATE. */ @property(nonatomic, strong, nullable) GTLRBigquery_DmlStatistics *dmlStats; /** - * [Output-only] The first errors or warnings encountered during the running of + * Output only. The first errors or warnings encountered during the running of * the job. The final message includes the number of errors that caused the * process to stop. Errors here do not necessarily mean that the job has - * completed or was unsuccessful. + * completed or was unsuccessful. For more information about error messages, + * see [Error messages](https://cloud.google.com/bigquery/docs/error-messages). */ @property(nonatomic, strong, nullable) NSArray *errors; @@ -8012,10 +10122,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * provide the reason of why a Job was created. If not set, it should be * treated as the default: REQUESTED. This feature is not yet available. Jobs * will always be created. - * - * Can be any valid JSON type. */ -@property(nonatomic, strong, nullable) id jobCreationReason; +@property(nonatomic, strong, nullable) GTLRBigquery_JobCreationReason *jobCreationReason; /** * Reference to the Job that was created to run the query. This field will be @@ -8030,14 +10138,20 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *kind; /** - * [Output-only] The number of rows affected by a DML statement. Present only + * Output only. The number of rows affected by a DML statement. Present only * for DML statements INSERT, UPDATE or DELETE. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *numDmlAffectedRows; -/** A token used for paging results. */ +/** + * A token used for paging results. A non-empty token indicates that additional + * results are available. To see additional results, query the + * [`jobs.getQueryResults`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/getQueryResults) + * method. For more information, see [Paging through table + * data](https://cloud.google.com/bigquery/docs/paging-results). + */ @property(nonatomic, copy, nullable) NSString *pageToken; /** @@ -8059,10 +10173,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) GTLRBigquery_TableSchema *schema; -/** - * [Output-only] [Preview] Information of the session if this job is part of - * one. - */ +/** Output only. Information of the session if this job is part of one. */ @property(nonatomic, strong, nullable) GTLRBigquery_SessionInfo *sessionInfo; /** @@ -8086,14 +10197,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_QueryTimelineSample + * Summary of the state of query execution at a given time. */ @interface GTLRBigquery_QueryTimelineSample : GTLRObject /** - * Total number of units currently being processed by workers. This does not - * correspond directly to slot usage. This is the largest value observed since - * the last sample. + * Total number of active workers. This does not correspond directly to slot + * usage. This is the largest value observed since the last sample. * * Uses NSNumber of longLongValue. */ @@ -8115,8 +10225,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Units of work that can be scheduled immediately. Providing additional slots - * for these units of work will speed up the query, provided no other query in - * the reservation needs additional slots. + * for these units of work will accelerate the query, if no other query in the + * reservation needs additional slots. * * Uses NSNumber of longLongValue. */ @@ -8146,39 +10256,39 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @interface GTLRBigquery_RangePartitioning : GTLRObject /** - * [TrustedTester] [Required] The table is partitioned by this field. The field + * Required. [Experimental] The table is partitioned by this field. The field * must be a top-level NULLABLE/REQUIRED field. The only supported type is * INTEGER/INT64. */ @property(nonatomic, copy, nullable) NSString *field; -/** [TrustedTester] [Required] Defines the ranges for range partitioning. */ +/** [Experimental] Defines the ranges for range partitioning. */ @property(nonatomic, strong, nullable) GTLRBigquery_RangePartitioning_Range *range; @end /** - * [TrustedTester] [Required] Defines the ranges for range partitioning. + * [Experimental] Defines the ranges for range partitioning. */ @interface GTLRBigquery_RangePartitioning_Range : GTLRObject /** - * [TrustedTester] [Required] The end of range partitioning, exclusive. + * [Experimental] The end of range partitioning, exclusive. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *end; /** - * [TrustedTester] [Required] The width of each interval. + * [Experimental] The width of each interval. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *interval; /** - * [TrustedTester] [Required] The start of range partitioning, inclusive. + * [Experimental] The start of range partitioning, inclusive. * * Uses NSNumber of longLongValue. */ @@ -8606,7 +10716,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_RoutineReference + * Id path of a routine. */ @interface GTLRBigquery_RoutineReference : GTLRObject @@ -8679,7 +10789,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_RowAccessPolicyReference + * Id path of a row access policy. */ @interface GTLRBigquery_RowAccessPolicyReference : GTLRObject @@ -8703,13 +10813,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_RowLevelSecurityStatistics + * Statistics for row-level security. */ @interface GTLRBigquery_RowLevelSecurityStatistics : GTLRObject /** - * [Output-only] [Preview] Whether any accessed data was protected by row - * access policies. + * Whether any accessed data was protected by row access policies. * * Uses NSNumber of boolValue. */ @@ -8719,55 +10828,116 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_ScriptStackFrame + * Options related to script execution. + */ +@interface GTLRBigquery_ScriptOptions : GTLRObject + +/** + * Determines which statement in the script represents the "key result", used + * to populate the schema and query results of the script job. Default is LAST. + * + * Likely values: + * @arg @c kGTLRBigquery_ScriptOptions_KeyResultStatement_FirstSelect The + * first SELECT statement determines the key result. (Value: + * "FIRST_SELECT") + * @arg @c kGTLRBigquery_ScriptOptions_KeyResultStatement_KeyResultStatementKindUnspecified + * Default value. (Value: "KEY_RESULT_STATEMENT_KIND_UNSPECIFIED") + * @arg @c kGTLRBigquery_ScriptOptions_KeyResultStatement_Last The last + * result determines the key result. (Value: "LAST") + */ +@property(nonatomic, copy, nullable) NSString *keyResultStatement; + +/** + * Limit on the number of bytes billed per statement. Exceeding this budget + * results in an error. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *statementByteBudget; + +/** + * Timeout period for each statement in a script. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *statementTimeoutMs; + +@end + + +/** + * Represents the location of the statement/expression being evaluated. Line + * and column numbers are defined as follows: - Line and column numbers start + * with one. That is, line 1 column 1 denotes the start of the script. - When + * inside a stored procedure, all line/column numbers are relative to the + * procedure body, not the script in which the procedure was defined. - + * Start/end positions exclude leading/trailing comments and whitespace. The + * end position always ends with a ";", when present. - Multi-byte Unicode + * characters are treated as just one column. - If the original script (or + * procedure definition) contains TAB characters, a tab "snaps" the indentation + * forward to the nearest multiple of 8 characters, plus 1. For example, a TAB + * on column 1, 2, 3, 4, 5, 6 , or 8 will advance the next character to column + * 9. A TAB on column 9, 10, 11, 12, 13, 14, 15, or 16 will advance the next + * character to column 17. */ @interface GTLRBigquery_ScriptStackFrame : GTLRObject /** - * [Output-only] One-based end column. + * Output only. One-based end column. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *endColumn; /** - * [Output-only] One-based end line. + * Output only. One-based end line. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *endLine; /** - * [Output-only] Name of the active procedure, empty if in a top-level script. + * Output only. Name of the active procedure, empty if in a top-level script. */ @property(nonatomic, copy, nullable) NSString *procedureId; /** - * [Output-only] One-based start column. + * Output only. One-based start column. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *startColumn; /** - * [Output-only] One-based start line. + * Output only. One-based start line. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *startLine; -/** [Output-only] Text of the current statement/expression. */ +/** Output only. Text of the current statement/expression. */ @property(nonatomic, copy, nullable) NSString *text; @end /** - * GTLRBigquery_ScriptStatistics + * Job statistics specific to the child job of a script. */ @interface GTLRBigquery_ScriptStatistics : GTLRObject -/** [Output-only] Whether this child job was a statement or expression. */ +/** + * Whether this child job was a statement or expression. + * + * Likely values: + * @arg @c kGTLRBigquery_ScriptStatistics_EvaluationKind_EvaluationKindUnspecified + * Default value. (Value: "EVALUATION_KIND_UNSPECIFIED") + * @arg @c kGTLRBigquery_ScriptStatistics_EvaluationKind_Expression The + * statement evaluates an expression that appears in the script. (Value: + * "EXPRESSION") + * @arg @c kGTLRBigquery_ScriptStatistics_EvaluationKind_Statement The + * statement appears directly in the script. (Value: "STATEMENT") + */ @property(nonatomic, copy, nullable) NSString *evaluationKind; /** @@ -8781,29 +10951,47 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_SearchStatistics + * Statistics for a search query. Populated as part of JobStatistics2. */ @interface GTLRBigquery_SearchStatistics : GTLRObject /** - * When index_usage_mode is UNUSED or PARTIALLY_USED, this field explains why - * index was not used in all or part of the search query. If index_usage_mode - * is FULLLY_USED, this field is not populated. + * When `indexUsageMode` is `UNUSED` or `PARTIALLY_USED`, this field explains + * why indexes were not used in all or part of the search query. If + * `indexUsageMode` is `FULLY_USED`, this field is not populated. */ @property(nonatomic, strong, nullable) NSArray *indexUnusedReasons; -/** Specifies index usage mode for the query. */ +/** + * Specifies the index usage mode for the query. + * + * Likely values: + * @arg @c kGTLRBigquery_SearchStatistics_IndexUsageMode_FullyUsed The entire + * search query used search indexes. (Value: "FULLY_USED") + * @arg @c kGTLRBigquery_SearchStatistics_IndexUsageMode_IndexUsageModeUnspecified + * Index usage mode not specified. (Value: + * "INDEX_USAGE_MODE_UNSPECIFIED") + * @arg @c kGTLRBigquery_SearchStatistics_IndexUsageMode_PartiallyUsed Part + * of the search query used search indexes. See [`indexUnusedReasons`] + * (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for why other + * parts of the query did not use search indexes. (Value: + * "PARTIALLY_USED") + * @arg @c kGTLRBigquery_SearchStatistics_IndexUsageMode_Unused No search + * indexes were used in the search query. See [`indexUnusedReasons`] + * (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for detailed + * reasons. (Value: "UNUSED") + */ @property(nonatomic, copy, nullable) NSString *indexUsageMode; @end /** - * GTLRBigquery_SessionInfo + * [Preview] Information related to sessions. */ @interface GTLRBigquery_SessionInfo : GTLRObject -/** [Output-only] // [Preview] Id of the session. */ +/** Output only. The id of the session. */ @property(nonatomic, copy, nullable) NSString *sessionId; @end @@ -8834,15 +11022,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_SnapshotDefinition + * Information about base table and snapshot time of the snapshot. */ @interface GTLRBigquery_SnapshotDefinition : GTLRObject -/** [Required] Reference describing the ID of the table that was snapshot. */ +/** Required. Reference describing the ID of the table that was snapshot. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableReference *baseTableReference; /** - * [Required] The time at which the base table was snapshot. This value is + * Required. The time at which the base table was snapshot. This value is * reported in the JSON response using RFC3339 format. */ @property(nonatomic, strong, nullable) GTLRDateTime *snapshotTime; @@ -8851,14 +11039,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_SparkLoggingInfo + * Spark job logs can be filtered by these fields in Cloud Logging. */ @interface GTLRBigquery_SparkLoggingInfo : GTLRObject -/** [Output-only] Project ID used for logging */ +/** Output only. Project ID where the Spark logs were written. */ @property(nonatomic, copy, nullable) NSString *projectId; -/** [Output-only] Resource type used for logging */ +/** Output only. Resource type used for logging. */ @property(nonatomic, copy, nullable) NSString *resourceType; @end @@ -8954,27 +11142,59 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_SparkStatistics + * Statistics for a BigSpark query. Populated as part of JobStatistics2 */ @interface GTLRBigquery_SparkStatistics : GTLRObject -/** [Output-only] Endpoints generated for the Spark job. */ +/** + * Output only. Endpoints returned from Dataproc. Key list: - + * history_server_endpoint: A link to Spark job UI. + */ @property(nonatomic, strong, nullable) GTLRBigquery_SparkStatistics_Endpoints *endpoints; -/** [Output-only] Logging info is used to generate a link to Cloud Logging. */ +/** + * Output only. The Google Cloud Storage bucket that is used as the default + * filesystem by the Spark application. This fields is only filled when the + * Spark procedure uses the INVOKER security mode. It is inferred from the + * system variable \@\@spark_proc_properties.staging_bucket if it is provided. + * Otherwise, BigQuery creates a default staging bucket for the job and returns + * the bucket name in this field. Example: * `gs://[bucket_name]` + */ +@property(nonatomic, copy, nullable) NSString *gcsStagingBucket; + +/** + * Output only. The Cloud KMS encryption key that is used to protect the + * resources created by the Spark job. If the Spark procedure uses DEFINER + * security mode, the Cloud KMS key is inferred from the Spark connection + * associated with the procedure if it is provided. Otherwise the key is + * inferred from the default key of the Spark connection's project if the CMEK + * organization policy is enforced. If the Spark procedure uses INVOKER + * security mode, the Cloud KMS encryption key is inferred from the system + * variable \@\@spark_proc_properties.kms_key_name if it is provided. + * Otherwise, the key is inferred fromt he default key of the BigQuery job's + * project if the CMEK organization policy is enforced. Example: * + * `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]` + */ +@property(nonatomic, copy, nullable) NSString *kmsKeyName; + +/** Output only. Logging info is used to generate a link to Cloud Logging. */ @property(nonatomic, strong, nullable) GTLRBigquery_SparkLoggingInfo *loggingInfo; -/** [Output-only] Spark job id if a Spark job is created successfully. */ +/** Output only. Spark job ID if a Spark job is created successfully. */ @property(nonatomic, copy, nullable) NSString *sparkJobId; -/** [Output-only] Location where the Spark job is executed. */ +/** + * Output only. Location where the Spark job is executed. A location is + * selected by BigQueury for jobs configured to run in a multi-region. + */ @property(nonatomic, copy, nullable) NSString *sparkJobLocation; @end /** - * [Output-only] Endpoints generated for the Spark job. + * Output only. Endpoints returned from Dataproc. Key list: - + * history_server_endpoint: A link to Spark job UI. * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -8985,6 +11205,63 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @end +/** + * Performance insights compared to the previous executions for a specific + * stage. + */ +@interface GTLRBigquery_StagePerformanceChangeInsight : GTLRObject + +/** Output only. Input data change insight of the query stage. */ +@property(nonatomic, strong, nullable) GTLRBigquery_InputDataChange *inputDataChange; + +/** + * Output only. The stage id that the insight mapped to. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *stageId; + +@end + + +/** + * Standalone performance insights for a specific stage. + */ +@interface GTLRBigquery_StagePerformanceStandaloneInsight : GTLRObject + +/** + * Output only. If present, the stage had the following reasons for being + * disqualified from BI Engine execution. + */ +@property(nonatomic, strong, nullable) NSArray *biEngineReasons; + +/** Output only. High cardinality joins in the stage. */ +@property(nonatomic, strong, nullable) NSArray *highCardinalityJoins; + +/** + * Output only. True if the stage has insufficient shuffle quota. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *insufficientShuffleQuota; + +/** + * Output only. True if the stage has a slot contention issue. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *slotContention; + +/** + * Output only. The stage id that the insight mapped to. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *stageId; + +@end + + /** * The data type of a variable such as a function argument. Examples include: * * INT64: `{"typeKind": "INT64"}` * ARRAY: { "typeKind": "ARRAY", @@ -9101,7 +11378,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @interface GTLRBigquery_Streamingbuffer : GTLRObject /** - * [Output-only] A lower-bound estimate of the number of bytes currently in the + * Output only. A lower-bound estimate of the number of bytes currently in the * streaming buffer. * * Uses NSNumber of unsignedLongLongValue. @@ -9109,7 +11386,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *estimatedBytes; /** - * [Output-only] A lower-bound estimate of the number of rows currently in the + * Output only. A lower-bound estimate of the number of rows currently in the * streaming buffer. * * Uses NSNumber of unsignedLongLongValue. @@ -9117,7 +11394,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *estimatedRows; /** - * [Output-only] Contains the timestamp of the oldest entry in the streaming + * Output only. Contains the timestamp of the oldest entry in the streaming * buffer, in milliseconds since the epoch, if the streaming buffer is * available. * @@ -9139,40 +11416,110 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @end +/** + * System variables given to a query. + */ +@interface GTLRBigquery_SystemVariables : GTLRObject + +/** Output only. Data type for each system variable. */ +@property(nonatomic, strong, nullable) GTLRBigquery_SystemVariables_Types *types; + +/** Output only. Value for each system variable. */ +@property(nonatomic, strong, nullable) GTLRBigquery_SystemVariables_Values *values; + +@end + + +/** + * Output only. Data type for each system variable. + * + * @note This class is documented as having more properties of + * GTLRBigquery_StandardSqlDataType. 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 GTLRBigquery_SystemVariables_Types : GTLRObject +@end + + +/** + * Output only. Value for each system variable. + * + * @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 GTLRBigquery_SystemVariables_Values : GTLRObject +@end + + /** * GTLRBigquery_Table */ @interface GTLRBigquery_Table : GTLRObject -/** [Optional] Specifies the configuration of a BigLake managed table. */ +/** Optional. Specifies the configuration of a BigLake managed table. */ @property(nonatomic, strong, nullable) GTLRBigquery_BigLakeConfiguration *biglakeConfiguration; -/** [Output-only] Clone definition. */ +/** + * Output only. Contains information about the clone. This value is set via the + * clone operation. + */ @property(nonatomic, strong, nullable) GTLRBigquery_CloneDefinition *cloneDefinition; /** - * [Beta] Clustering specification for the table. Must be specified with + * Clustering specification for the table. Must be specified with time-based * partitioning, data in the table will be first partitioned and subsequently * clustered. */ @property(nonatomic, strong, nullable) GTLRBigquery_Clustering *clustering; /** - * [Output-only] The time when this table was created, in milliseconds since - * the epoch. + * Output only. The time when this table was created, in milliseconds since the + * epoch. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *creationTime; -/** [Output-only] The default collation of the table. */ +/** + * Optional. Defines the default collation specification of new STRING fields + * in the table. During table creation or update, if a STRING field is added to + * this table without explicit collation specified, then the table inherits the + * table default collation. A change to this field affects only fields added + * afterwards, and does not alter the existing fields. The following values are + * supported: * 'und:ci': undetermined locale, case insensitive. * '': empty + * string. Default to case-sensitive behavior. + */ @property(nonatomic, copy, nullable) NSString *defaultCollation; -/** [Output-only] The default rounding mode of the table. */ +/** + * Optional. Defines the default rounding mode specification of new decimal + * fields (NUMERIC OR BIGNUMERIC) in the table. During table creation or + * update, if a decimal field is added to this table without an explicit + * rounding mode specified, then the field inherits the table default rounding + * mode. Changing this field doesn't affect existing fields. + * + * Likely values: + * @arg @c kGTLRBigquery_Table_DefaultRoundingMode_RoundHalfAwayFromZero + * ROUND_HALF_AWAY_FROM_ZERO rounds half values away from zero when + * applying precision and scale upon writing of NUMERIC and BIGNUMERIC + * values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5, 1.6, 1.7, 1.8, 1.9 + * => 2 (Value: "ROUND_HALF_AWAY_FROM_ZERO") + * @arg @c kGTLRBigquery_Table_DefaultRoundingMode_RoundHalfEven + * ROUND_HALF_EVEN rounds half values to the nearest even value when + * applying precision and scale upon writing of NUMERIC and BIGNUMERIC + * values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5 => 2 1.6, 1.7, 1.8, + * 1.9 => 2 2.5 => 2 (Value: "ROUND_HALF_EVEN") + * @arg @c kGTLRBigquery_Table_DefaultRoundingMode_RoundingModeUnspecified + * Unspecified will default to using ROUND_HALF_AWAY_FROM_ZERO. (Value: + * "ROUNDING_MODE_UNSPECIFIED") + */ @property(nonatomic, copy, nullable) NSString *defaultRoundingMode; /** - * [Optional] A user-friendly description of this table. + * Optional. A user-friendly description of this table. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @@ -9181,43 +11528,38 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** Custom encryption configuration (e.g., Cloud KMS keys). */ @property(nonatomic, strong, nullable) GTLRBigquery_EncryptionConfiguration *encryptionConfiguration; -/** - * [Output-only] A hash of the table metadata. Used to ensure there were no - * concurrent modifications to the resource when attempting an update. Not - * guaranteed to change when the table contents or the fields numRows, - * numBytes, numLongTermBytes or lastModifiedTime change. - */ +/** Output only. A hash of this resource. */ @property(nonatomic, copy, nullable) NSString *ETag; /** - * [Optional] The time when this table expires, in milliseconds since the - * epoch. If not present, the table will persist indefinitely. Expired tables - * will be deleted and their storage reclaimed. The defaultTableExpirationMs - * property of the encapsulating dataset can be used to set a default - * expirationTime on newly created tables. + * Optional. The time when this table expires, in milliseconds since the epoch. + * If not present, the table will persist indefinitely. Expired tables will be + * deleted and their storage reclaimed. The defaultTableExpirationMs property + * of the encapsulating dataset can be used to set a default expirationTime on + * newly created tables. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *expirationTime; /** - * [Optional] Describes the data format, location, and other properties of a + * Optional. Describes the data format, location, and other properties of a * table stored outside of BigQuery. By defining these properties, the data * source can then be queried as if it were a standard BigQuery table. */ @property(nonatomic, strong, nullable) GTLRBigquery_ExternalDataConfiguration *externalDataConfiguration; -/** [Optional] A descriptive name for this table. */ +/** Optional. A descriptive name for this table. */ @property(nonatomic, copy, nullable) NSString *friendlyName; /** - * [Output-only] An opaque ID uniquely identifying the table. + * Output only. An opaque ID uniquely identifying the table. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; -/** [Output-only] The type of the resource. */ +/** The type of resource ID. */ @property(nonatomic, copy, nullable) NSString *kind; /** @@ -9231,7 +11573,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) GTLRBigquery_Table_Labels *labels; /** - * [Output-only] The time when this table was last modified, in milliseconds + * Output only. The time when this table was last modified, in milliseconds * since the epoch. * * Uses NSNumber of unsignedLongLongValue. @@ -9239,39 +11581,36 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *lastModifiedTime; /** - * [Output-only] The geographic location where the table resides. This value is + * Output only. The geographic location where the table resides. This value is * inherited from the dataset. */ @property(nonatomic, copy, nullable) NSString *location; -/** [Optional] Materialized view definition. */ +/** Optional. The materialized view definition. */ @property(nonatomic, strong, nullable) GTLRBigquery_MaterializedViewDefinition *materializedView; +/** Output only. The materialized view status. */ +@property(nonatomic, strong, nullable) GTLRBigquery_MaterializedViewStatus *materializedViewStatus; + /** - * [Optional] Max staleness of data that could be returned when table or - * materialized view is queried (formatted as Google SQL Interval type). - * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). + * Optional. The maximum staleness of data that could be returned when the + * table (or stale MV) is queried. Staleness encoded as a string encoding of + * sql IntervalValue type. */ @property(nonatomic, copy, nullable) NSString *maxStaleness; -/** - * [Output-only, Beta] Present iff this table represents a ML model. Describes - * the training information for the model, and it is required to run 'PREDICT' - * queries. - */ +/** Deprecated. */ @property(nonatomic, strong, nullable) GTLRBigquery_ModelDefinition *model; /** - * [Output-only] Number of logical bytes that are less than 90 days old. + * Output only. Number of logical bytes that are less than 90 days old. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *numActiveLogicalBytes; /** - * [Output-only] Number of physical bytes less than 90 days old. This data is + * Output only. Number of physical bytes less than 90 days old. This data is * not kept in real time, and might be delayed by a few seconds to a few * minutes. * @@ -9280,15 +11619,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *numActivePhysicalBytes; /** - * [Output-only] The size of this table in bytes, excluding any data in the - * streaming buffer. + * Output only. The size of this table in logical bytes, excluding any data in + * the streaming buffer. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *numBytes; /** - * [Output-only] The number of bytes in the table that are considered + * Output only. The number of logical bytes in the table that are considered * "long-term storage". * * Uses NSNumber of longLongValue. @@ -9296,14 +11635,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *numLongTermBytes; /** - * [Output-only] Number of logical bytes that are more than 90 days old. + * Output only. Number of logical bytes that are more than 90 days old. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *numLongTermLogicalBytes; /** - * [Output-only] Number of physical bytes more than 90 days old. This data is + * Output only. Number of physical bytes more than 90 days old. This data is * not kept in real time, and might be delayed by a few seconds to a few * minutes. * @@ -9312,7 +11651,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *numLongTermPhysicalBytes; /** - * [Output-only] The number of partitions present in the table or materialized + * Output only. The number of partitions present in the table or materialized * view. This data is not kept in real time, and might be delayed by a few * seconds to a few minutes. * @@ -9321,24 +11660,23 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *numPartitions; /** - * [Output-only] [TrustedTester] The physical size of this table in bytes, - * excluding any data in the streaming buffer. This includes compression and - * storage used for time travel. + * Output only. The physical size of this table in bytes. This includes storage + * used for time travel. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *numPhysicalBytes; /** - * [Output-only] The number of rows of data in this table, excluding any data - * in the streaming buffer. + * Output only. The number of rows of data in this table, excluding any data in + * the streaming buffer. * * Uses NSNumber of unsignedLongLongValue. */ @property(nonatomic, strong, nullable) NSNumber *numRows; /** - * [Output-only] Number of physical bytes used by time travel storage (deleted + * Output only. Number of physical bytes used by time travel storage (deleted * or changed data). This data is not kept in real time, and might be delayed * by a few seconds to a few minutes. * @@ -9347,7 +11685,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *numTimeTravelPhysicalBytes; /** - * [Output-only] Total number of logical bytes in the table or materialized + * Output only. Total number of logical bytes in the table or materialized * view. * * Uses NSNumber of longLongValue. @@ -9355,7 +11693,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *numTotalLogicalBytes; /** - * [Output-only] The physical size of this table in bytes. This also includes + * Output only. The physical size of this table in bytes. This also includes * storage used for time travel. This data is not kept in real time, and might * be delayed by a few seconds to a few minutes. * @@ -9363,15 +11701,18 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) NSNumber *numTotalPhysicalBytes; +/** If specified, configures range partitioning for this table. */ +@property(nonatomic, strong, nullable) GTLRBigquery_RangePartitioning *rangePartitioning; + /** - * [TrustedTester] Range partitioning specification for this table. Only one of - * timePartitioning and rangePartitioning should be specified. + * Optional. Output only. Table references of all replicas currently active on + * the table. */ -@property(nonatomic, strong, nullable) GTLRBigquery_RangePartitioning *rangePartitioning; +@property(nonatomic, strong, nullable) NSArray *replicas; /** - * [Optional] If set to true, queries over this table require a partition - * filter that can be used for partition elimination to be specified. + * Optional. If set to true, queries over this table require a partition filter + * that can be used for partition elimination to be specified. * * Uses NSNumber of boolValue. */ @@ -9388,45 +11729,54 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) GTLRBigquery_Table_ResourceTags *resourceTags; -/** [Optional] Describes the schema of this table. */ +/** Optional. Describes the schema of this table. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableSchema *schema; -/** [Output-only] A URL that can be used to access this resource again. */ +/** Output only. A URL that can be used to access this resource again. */ @property(nonatomic, copy, nullable) NSString *selfLink; -/** [Output-only] Snapshot definition. */ +/** + * Output only. Contains information about the snapshot. This value is set via + * snapshot creation. + */ @property(nonatomic, strong, nullable) GTLRBigquery_SnapshotDefinition *snapshotDefinition; /** - * [Output-only] Contains information regarding this table's streaming buffer, + * Output only. Contains information regarding this table's streaming buffer, * if one is present. This field will be absent if the table is not being * streamed to or if there is no data in the streaming buffer. */ @property(nonatomic, strong, nullable) GTLRBigquery_Streamingbuffer *streamingBuffer; -/** [Optional] The table constraints on the table. */ +/** Optional. Tables Primary Key and Foreign Key information */ @property(nonatomic, strong, nullable) GTLRBigquery_TableConstraints *tableConstraints; -/** [Required] Reference describing the ID of this table. */ +/** Required. Reference describing the ID of this table. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableReference *tableReference; /** - * Time-based partitioning specification for this table. Only one of - * timePartitioning and rangePartitioning should be specified. + * Optional. Table replication info for table created `AS REPLICA` DDL like: + * `CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv` */ +@property(nonatomic, strong, nullable) GTLRBigquery_TableReplicationInfo *tableReplicationInfo; + +/** If specified, configures time-based partitioning for this table. */ @property(nonatomic, strong, nullable) GTLRBigquery_TimePartitioning *timePartitioning; /** - * [Output-only] Describes the table type. The following values are supported: - * TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL - * query. SNAPSHOT: An immutable, read-only table that is a copy of another - * table. [TrustedTester] MATERIALIZED_VIEW: SQL query whose result is - * persisted. EXTERNAL: A table that references data stored in an external - * storage system, such as Google Cloud Storage. The default value is TABLE. + * Output only. Describes the table type. The following values are supported: * + * `TABLE`: A normal BigQuery table. * `VIEW`: A virtual table defined by a SQL + * query. * `EXTERNAL`: A table that references data stored in an external + * storage system, such as Google Cloud Storage. * `MATERIALIZED_VIEW`: A + * precomputed view defined by a SQL query. * `SNAPSHOT`: An immutable BigQuery + * table that preserves the contents of a base table at a particular time. See + * additional information on [table + * snapshots](/bigquery/docs/table-snapshots-intro). The default value is + * `TABLE`. */ @property(nonatomic, copy, nullable) NSString *type; -/** [Optional] The view definition. */ +/** Optional. The view definition. */ @property(nonatomic, strong, nullable) GTLRBigquery_ViewDefinition *view; @end @@ -9483,47 +11833,61 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_TableConstraints + * The TableConstraints defines the primary key and foreign key. */ @interface GTLRBigquery_TableConstraints : GTLRObject -/** [Optional] The foreign keys of the tables. */ +/** + * Optional. Present only if the table has a foreign key. The foreign key is + * not enforced. + */ @property(nonatomic, strong, nullable) NSArray *foreignKeys; -/** [Optional] The primary key of the table. */ +/** Represents the primary key constraint on a table's columns. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableConstraints_PrimaryKey *primaryKey; @end /** - * GTLRBigquery_TableConstraints_ForeignKeys_Item + * Represents a foreign key constraint on a table's columns. */ @interface GTLRBigquery_TableConstraints_ForeignKeys_Item : GTLRObject +/** Required. The columns that compose the foreign key. */ @property(nonatomic, strong, nullable) NSArray *columnReferences; + +/** Optional. Set only if the foreign key constraint is named. */ @property(nonatomic, copy, nullable) NSString *name; + @property(nonatomic, strong, nullable) GTLRBigquery_TableConstraints_ForeignKeys_Item_ReferencedTable *referencedTable; @end /** - * [Optional] The primary key of the table. + * Represents the primary key constraint on a table's columns. */ @interface GTLRBigquery_TableConstraints_PrimaryKey : GTLRObject +/** Required. The columns that are composed of the primary key constraint. */ @property(nonatomic, strong, nullable) NSArray *columns; @end /** - * GTLRBigquery_TableConstraints_ForeignKeys_Item_ColumnReferences_Item + * The pair of the foreign key column and primary key column. */ @interface GTLRBigquery_TableConstraints_ForeignKeys_Item_ColumnReferences_Item : GTLRObject +/** + * Required. The column in the primary key that are referenced by the + * referencing_column. + */ @property(nonatomic, copy, nullable) NSString *referencedColumn; + +/** Required. The column that composes the foreign key. */ @property(nonatomic, copy, nullable) NSString *referencingColumn; @end @@ -9542,12 +11906,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_TableDataInsertAllRequest + * Request for sending a single streaming insert. */ @interface GTLRBigquery_TableDataInsertAllRequest : GTLRObject /** - * [Optional] Accept rows that contain values that do not match the schema. The + * Optional. Accept rows that contain values that do not match the schema. The * unknown values are ignored. Default is false, which treats unknown values as * errors. * @@ -9555,14 +11919,17 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) NSNumber *ignoreUnknownValues; -/** The resource type of the response. */ +/** + * Optional. The resource type of the response. The value is not checked at the + * backend. Historically, it has been set to + * "bigquery#tableDataInsertAllRequest" but you are not required to set it. + */ @property(nonatomic, copy, nullable) NSString *kind; -/** The rows to insert. */ @property(nonatomic, strong, nullable) NSArray *rows; /** - * [Optional] Insert all valid rows of a request, even if invalid rows exist. + * Optional. Insert all valid rows of a request, even if invalid rows exist. * The default value is false, which causes the entire request to fail if any * invalid rows exist. * @@ -9571,54 +11938,58 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *skipInvalidRows; /** - * If specified, treats the destination table as a base template, and inserts - * the rows into an instance table named "{destination}{templateSuffix}". - * BigQuery will manage creation of the instance table, using the schema of the - * base template table. See + * Optional. If specified, treats the destination table as a base template, and + * inserts the rows into an instance table named + * "{destination}{templateSuffix}". BigQuery will manage creation of the + * instance table, using the schema of the base template table. See * https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables * for considerations when working with templates tables. */ @property(nonatomic, copy, nullable) NSString *templateSuffix; +/** + * Optional. Unique request trace id. Used for debugging purposes only. It is + * case-sensitive, limited to up to 36 ASCII characters. A UUID is recommended. + */ +@property(nonatomic, copy, nullable) NSString *traceId; + @end /** - * GTLRBigquery_TableDataInsertAllRequest_Rows_Item + * Data for a single insertion row. */ @interface GTLRBigquery_TableDataInsertAllRequest_Rows_Item : GTLRObject /** - * [Optional] A unique ID for each row. BigQuery uses this property to detect - * duplicate insertion requests on a best-effort basis. + * Insertion ID for best-effort deduplication. This feature is not recommended, + * and users seeking stronger insertion semantics are encouraged to use other + * mechanisms such as the BigQuery Write API. */ @property(nonatomic, copy, nullable) NSString *insertId; -/** - * [Required] A JSON object that contains a row of data. The object's - * properties and values must match the destination table's schema. - */ +/** Data for a single row. */ @property(nonatomic, strong, nullable) GTLRBigquery_JsonObject *json; @end /** - * GTLRBigquery_TableDataInsertAllResponse + * Describes the format of a streaming insert response. */ @interface GTLRBigquery_TableDataInsertAllResponse : GTLRObject -/** An array of errors for rows that were not inserted. */ +/** Describes specific errors encountered while processing the request. */ @property(nonatomic, strong, nullable) NSArray *insertErrors; -/** The resource type of the response. */ +/** Returns "bigquery#tableDataInsertAllResponse". */ @property(nonatomic, copy, nullable) NSString *kind; @end /** - * GTLRBigquery_TableDataInsertAllResponse_InsertErrors_Item + * Error details about a single row's insertion. */ @interface GTLRBigquery_TableDataInsertAllResponse_InsertErrors_Item : GTLRObject @@ -9657,7 +12028,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSArray *rows; /** - * The total number of rows in the complete table. + * Total rows of the entire table. In order to show default value 0 we have to + * present it as string. * * Uses NSNumber of longLongValue. */ @@ -9667,49 +12039,41 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_TableFieldSchema + * A field in TableSchema */ @interface GTLRBigquery_TableFieldSchema : GTLRObject -/** - * [Optional] The categories attached to this field, used for field-level - * access control. - */ +/** Deprecated. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableFieldSchema_Categories *categories; /** - * Optional. Collation specification of the field. It only can be set on string - * type field. + * Optional. Field collation can be set only when the type of field is STRING. + * The following values are supported: * 'und:ci': undetermined locale, case + * insensitive. * '': empty string. Default to case-sensitive behavior. */ @property(nonatomic, copy, nullable) NSString *collation; /** - * Optional. A SQL expression to specify the default value for this field. It - * can only be set for top level fields (columns). You can use struct or array - * expression to specify default value for the entire struct or array. The - * valid SQL expressions are: - Literals for all data types, including STRUCT - * and ARRAY. - Following functions: - CURRENT_TIMESTAMP - CURRENT_TIME - - * CURRENT_DATE - CURRENT_DATETIME - GENERATE_UUID - RAND - SESSION_USER - - * ST_GEOGPOINT - Struct or array composed with the above allowed functions, - * for example, [CURRENT_DATE(), DATE '2020-01-01'] + * Optional. A SQL expression to specify the [default value] + * (https://cloud.google.com/bigquery/docs/default-values) for this field. */ @property(nonatomic, copy, nullable) NSString *defaultValueExpression; /** - * [Optional] The field description. The maximum length is 1,024 characters. + * Optional. The field description. The maximum length is 1,024 characters. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * [Optional] Describes the nested schema fields if the type property is set to + * Optional. Describes the nested schema fields if the type property is set to * RECORD. */ @property(nonatomic, strong, nullable) NSArray *fields; /** - * [Optional] Maximum length of values of this field for STRINGS or BYTES. If + * Optional. Maximum length of values of this field for STRINGS or BYTES. If * max_length is not specified, no maximum length constraint is imposed on this * field. If type = "STRING", then max_length represents the maximum UTF-8 * length of strings in this field. If type = "BYTES", then max_length @@ -9721,68 +12085,83 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *maxLength; /** - * [Optional] The field mode. Possible values include NULLABLE, REQUIRED and + * Optional. The field mode. Possible values include NULLABLE, REQUIRED and * REPEATED. The default value is NULLABLE. */ @property(nonatomic, copy, nullable) NSString *mode; /** - * [Required] The field name. The name must contain only letters (a-z, A-Z), + * Required. The field name. The name must contain only letters (a-z, A-Z), * numbers (0-9), or underscores (_), and must start with a letter or * underscore. The maximum length is 300 characters. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. The policy tags attached to this field, used for field-level + * access control. If not set, defaults to empty policy_tags. + */ @property(nonatomic, strong, nullable) GTLRBigquery_TableFieldSchema_PolicyTags *policyTags; /** - * [Optional] Precision (maximum number of total digits in base 10) and scale + * Optional. Precision (maximum number of total digits in base 10) and scale * (maximum number of digits in the fractional part in base 10) constraints for * values of this field for NUMERIC or BIGNUMERIC. It is invalid to set * precision or scale if type ≠ "NUMERIC" and ≠ "BIGNUMERIC". If precision and * scale are not specified, no value range constraint is imposed on this field * insofar as values are permitted by the type. Values of this NUMERIC or - * BIGNUMERIC field must be in this range when: - Precision (P) and scale (S) - * are specified: [-10P-S + 10-S, 10P-S - 10-S] - Precision (P) is specified + * BIGNUMERIC field must be in this range when: * Precision (P) and scale (S) + * are specified: [-10P-S + 10-S, 10P-S - 10-S] * Precision (P) is specified * but not scale (and thus scale is interpreted to be equal to zero): [-10P + * 1, 10P - 1]. Acceptable values for precision and scale if both are - * specified: - If type = "NUMERIC": 1 ≤ precision - scale ≤ 29 and 0 ≤ scale ≤ - * 9. - If type = "BIGNUMERIC": 1 ≤ precision - scale ≤ 38 and 0 ≤ scale ≤ 38. + * specified: * If type = "NUMERIC": 1 ≤ precision - scale ≤ 29 and 0 ≤ scale ≤ + * 9. * If type = "BIGNUMERIC": 1 ≤ precision - scale ≤ 38 and 0 ≤ scale ≤ 38. * Acceptable values for precision if only precision is specified but not scale - * (and thus scale is interpreted to be equal to zero): - If type = "NUMERIC": - * 1 ≤ precision ≤ 29. - If type = "BIGNUMERIC": 1 ≤ precision ≤ 38. If scale + * (and thus scale is interpreted to be equal to zero): * If type = "NUMERIC": + * 1 ≤ precision ≤ 29. * If type = "BIGNUMERIC": 1 ≤ precision ≤ 38. If scale * is specified but not precision, then it is invalid. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *precision; -/** - * Optional. The subtype of the RANGE, if the type of this field is RANGE. If - * the type is RANGE, this field is required. Possible values for the field - * element type of a RANGE include: - DATE - DATETIME - TIMESTAMP - */ +/** Represents the type of a field element. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableFieldSchema_RangeElementType *rangeElementType; /** - * Optional. Rounding Mode specification of the field. It only can be set on - * NUMERIC or BIGNUMERIC type fields. + * Optional. Specifies the rounding mode to be used when storing values of + * NUMERIC and BIGNUMERIC type. + * + * Likely values: + * @arg @c kGTLRBigquery_TableFieldSchema_RoundingMode_RoundHalfAwayFromZero + * ROUND_HALF_AWAY_FROM_ZERO rounds half values away from zero when + * applying precision and scale upon writing of NUMERIC and BIGNUMERIC + * values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5, 1.6, 1.7, 1.8, 1.9 + * => 2 (Value: "ROUND_HALF_AWAY_FROM_ZERO") + * @arg @c kGTLRBigquery_TableFieldSchema_RoundingMode_RoundHalfEven + * ROUND_HALF_EVEN rounds half values to the nearest even value when + * applying precision and scale upon writing of NUMERIC and BIGNUMERIC + * values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5 => 2 1.6, 1.7, 1.8, + * 1.9 => 2 2.5 => 2 (Value: "ROUND_HALF_EVEN") + * @arg @c kGTLRBigquery_TableFieldSchema_RoundingMode_RoundingModeUnspecified + * Unspecified will default to using ROUND_HALF_AWAY_FROM_ZERO. (Value: + * "ROUNDING_MODE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *roundingMode; /** - * [Optional] See documentation for precision. + * Optional. See documentation for precision. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *scale; /** - * [Required] The field data type. Possible values include STRING, BYTES, - * INTEGER, INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT), NUMERIC, - * BIGNUMERIC, BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, - * DATETIME, INTERVAL, RECORD (where RECORD indicates that the field contains a - * nested schema) or STRUCT (same as RECORD). + * Required. The field data type. Possible values include: * STRING * BYTES * + * INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * + * DATE * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD + * (or STRUCT) Use of RECORD/STRUCT indicates that the field contains a nested + * schema. */ @property(nonatomic, copy, nullable) NSString *type; @@ -9790,29 +12169,26 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * [Optional] The categories attached to this field, used for field-level - * access control. + * Deprecated. */ @interface GTLRBigquery_TableFieldSchema_Categories : GTLRObject -/** - * A list of category resource names. For example, - * "projects/1/taxonomies/2/categories/3". At most 5 categories are allowed. - */ +/** Deprecated. */ @property(nonatomic, strong, nullable) NSArray *names; @end /** - * GTLRBigquery_TableFieldSchema_PolicyTags + * Optional. The policy tags attached to this field, used for field-level + * access control. If not set, defaults to empty policy_tags. */ @interface GTLRBigquery_TableFieldSchema_PolicyTags : GTLRObject /** - * A list of category resource names. For example, - * "projects/1/location/eu/taxonomies/2/policyTags/3". At most 1 policy tag is - * allowed. + * A list of policy tag resource names. For example, + * "projects/1/locations/eu/taxonomies/2/policyTags/3". At most 1 policy tag is + * currently allowed. */ @property(nonatomic, strong, nullable) NSArray *names; @@ -9820,20 +12196,18 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * Optional. The subtype of the RANGE, if the type of this field is RANGE. If - * the type is RANGE, this field is required. Possible values for the field - * element type of a RANGE include: - DATE - DATETIME - TIMESTAMP + * Represents the type of a field element. */ @interface GTLRBigquery_TableFieldSchema_RangeElementType : GTLRObject -/** The field element type of a RANGE */ +/** Required. The type of a field element. See TableFieldSchema.type. */ @property(nonatomic, copy, nullable) NSString *type; @end /** - * GTLRBigquery_TableList + * Partial projection of the metadata for a given table in a list response. * * @note This class supports NSFastEnumeration and indexed subscripting over * its "tables" property. If returned as the result of a query, it should @@ -9874,20 +12248,21 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @interface GTLRBigquery_TableList_Tables_Item : GTLRObject -/** [Beta] Clustering specification for this table, if configured. */ +/** Clustering specification for this table, if configured. */ @property(nonatomic, strong, nullable) GTLRBigquery_Clustering *clustering; /** - * The time when this table was created, in milliseconds since the epoch. + * Output only. The time when this table was created, in milliseconds since the + * epoch. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *creationTime; /** - * [Optional] The time when this table expires, in milliseconds since the - * epoch. If not present, the table will persist indefinitely. Expired tables - * will be deleted and their storage reclaimed. + * The time when this table expires, in milliseconds since the epoch. If not + * present, the table will persist indefinitely. Expired tables will be deleted + * and their storage reclaimed. * * Uses NSNumber of longLongValue. */ @@ -9897,7 +12272,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, copy, nullable) NSString *friendlyName; /** - * An opaque ID of the table + * An opaque ID of the table. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -9912,21 +12287,27 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) GTLRBigquery_TableList_Tables_Item_Labels *labels; -/** The range partitioning specification for this table, if configured. */ +/** The range partitioning for this table. */ @property(nonatomic, strong, nullable) GTLRBigquery_RangePartitioning *rangePartitioning; -/** A reference uniquely identifying the table. */ -@property(nonatomic, strong, nullable) GTLRBigquery_TableReference *tableReference; - /** - * The time-based partitioning specification for this table, if configured. + * Optional. If set to true, queries including this table must specify a + * partition filter. This filter is used for partition elimination. + * + * Uses NSNumber of boolValue. */ +@property(nonatomic, strong, nullable) NSNumber *requirePartitionFilter; + +/** A reference uniquely identifying table. */ +@property(nonatomic, strong, nullable) GTLRBigquery_TableReference *tableReference; + +/** The time-based partitioning for this table. */ @property(nonatomic, strong, nullable) GTLRBigquery_TimePartitioning *timePartitioning; -/** The type of table. Possible values are: TABLE, VIEW. */ +/** The type of table. */ @property(nonatomic, copy, nullable) NSString *type; -/** Additional details for a view. */ +/** Information about a logical view. */ @property(nonatomic, strong, nullable) GTLRBigquery_TableList_Tables_Item_View *view; @end @@ -9946,12 +12327,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * Additional details for a view. + * Information about a logical view. */ @interface GTLRBigquery_TableList_Tables_Item_View : GTLRObject +/** Specifices the privacy policy for the view. */ +@property(nonatomic, strong, nullable) GTLRBigquery_PrivacyPolicy *privacyPolicy; + /** - * True if view is defined in legacy SQL dialect, false if in standard SQL. + * True if view is defined in legacy SQL dialect, false if in GoogleSQL. * * Uses NSNumber of boolValue. */ @@ -9960,26 +12344,123 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @end +/** + * Table level detail on the usage of metadata caching. Only set for Metadata + * caching eligible tables referenced in the query. + */ +@interface GTLRBigquery_TableMetadataCacheUsage : GTLRObject + +/** + * Free form human-readable reason metadata caching was unused for the job. + */ +@property(nonatomic, copy, nullable) NSString *explanation; + +/** Metadata caching eligible table referenced in the query. */ +@property(nonatomic, strong, nullable) GTLRBigquery_TableReference *tableReference; + +/** + * [Table type](/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.type). + */ +@property(nonatomic, copy, nullable) NSString *tableType; + +/** + * Reason for not using metadata caching for the table. + * + * Likely values: + * @arg @c kGTLRBigquery_TableMetadataCacheUsage_UnusedReason_ExceededMaxStaleness + * Metadata cache was outside the table's maxStaleness. (Value: + * "EXCEEDED_MAX_STALENESS") + * @arg @c kGTLRBigquery_TableMetadataCacheUsage_UnusedReason_MetadataCachingNotEnabled + * Metadata caching feature is not enabled. [Update BigLake tables] + * (/bigquery/docs/create-cloud-storage-table-biglake#update-biglake-tables) + * to enable the metadata caching. (Value: + * "METADATA_CACHING_NOT_ENABLED") + * @arg @c kGTLRBigquery_TableMetadataCacheUsage_UnusedReason_OtherReason + * Other unknown reason. (Value: "OTHER_REASON") + * @arg @c kGTLRBigquery_TableMetadataCacheUsage_UnusedReason_UnusedReasonUnspecified + * Unused reasons not specified. (Value: "UNUSED_REASON_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *unusedReason; + +@end + + /** * GTLRBigquery_TableReference */ @interface GTLRBigquery_TableReference : GTLRObject -/** [Required] The ID of the dataset containing this table. */ +/** Required. The ID of the dataset containing this table. */ @property(nonatomic, copy, nullable) NSString *datasetId; -/** [Required] The ID of the project containing this table. */ +/** Required. The ID of the project containing this table. */ @property(nonatomic, copy, nullable) NSString *projectId; /** - * [Required] The ID of the table. The ID must contain only letters (a-z, A-Z), - * numbers (0-9), or underscores (_). The maximum length is 1,024 characters. + * Required. The ID of the table. The ID can contain Unicode characters in + * category L (letter), M (mark), N (number), Pc (connector, including + * underscore), Pd (dash), and Zs (space). For more information, see [General + * Category](https://wikipedia.org/wiki/Unicode_character_property#General_Category). + * The maximum length is 1,024 characters. Certain operations allow suffixing + * of the table ID with a partition decorator, such as `sample_table$20190123`. */ @property(nonatomic, copy, nullable) NSString *tableId; @end +/** + * Replication info of a table created using `AS REPLICA` DDL like: `CREATE + * MATERIALIZED VIEW mv1 AS REPLICA OF src_mv` + */ +@interface GTLRBigquery_TableReplicationInfo : GTLRObject + +/** + * Optional. Output only. If source is a materialized view, this field + * signifies the last refresh time of the source. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *replicatedSourceLastRefreshTime; + +/** + * Optional. Output only. Replication error that will permanently stopped table + * replication. + */ +@property(nonatomic, strong, nullable) GTLRBigquery_ErrorProto *replicationError; + +/** + * Required. Specifies the interval at which the source table is polled for + * updates. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *replicationIntervalMs; + +/** + * Optional. Output only. Replication status of configured replication. + * + * Likely values: + * @arg @c kGTLRBigquery_TableReplicationInfo_ReplicationStatus_Active + * Replication is Active with no errors. (Value: "ACTIVE") + * @arg @c kGTLRBigquery_TableReplicationInfo_ReplicationStatus_PermissionDenied + * Source revoked replication permissions. (Value: "PERMISSION_DENIED") + * @arg @c kGTLRBigquery_TableReplicationInfo_ReplicationStatus_ReplicationStatusUnspecified + * Default value. (Value: "REPLICATION_STATUS_UNSPECIFIED") + * @arg @c kGTLRBigquery_TableReplicationInfo_ReplicationStatus_SourceDeleted + * Source object is deleted. (Value: "SOURCE_DELETED") + * @arg @c kGTLRBigquery_TableReplicationInfo_ReplicationStatus_UnsupportedConfiguration + * Source configuration doesn’t allow replication. (Value: + * "UNSUPPORTED_CONFIGURATION") + */ +@property(nonatomic, copy, nullable) NSString *replicationStatus; + +/** Required. Source table reference that is replicated. */ +@property(nonatomic, strong, nullable) GTLRBigquery_TableReference *sourceTable; + +@end + + /** * GTLRBigquery_TableRow */ @@ -9994,7 +12475,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_TableSchema + * Schema of a table */ @interface GTLRBigquery_TableSchema : GTLRObject @@ -10038,34 +12519,36 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @interface GTLRBigquery_TimePartitioning : GTLRObject /** - * [Optional] Number of milliseconds for which to keep the storage for - * partitions in the table. The storage in a partition will have an expiration - * time of its partition time plus this value. + * Optional. Number of milliseconds for which to keep the storage for a + * partition. A wrapper is used here because 0 is an invalid value. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *expirationMs; /** - * [Beta] [Optional] If not set, the table is partitioned by pseudo column, - * referenced via either '_PARTITIONTIME' as TIMESTAMP type, or - * '_PARTITIONDATE' as DATE type. If field is specified, the table is instead - * partitioned by this field. The field must be a top-level TIMESTAMP or DATE - * field. Its mode must be NULLABLE or REQUIRED. + * Optional. If not set, the table is partitioned by pseudo column + * '_PARTITIONTIME'; if set, the table is partitioned by this field. The field + * must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or + * REQUIRED. A wrapper is used here because an empty string is an invalid + * value. */ @property(nonatomic, copy, nullable) NSString *field; /** - * requirePartitionFilter + * If set to true, queries over this table require a partition filter that can + * be used for partition elimination to be specified. This field is deprecated; + * please set the field with the same name on the table itself instead. This + * field needs a wrapper because we want to output the default value, false, if + * the user explicitly set it. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *requirePartitionFilter; +@property(nonatomic, strong, nullable) NSNumber *requirePartitionFilter GTLR_DEPRECATED; /** - * [Required] The supported types are DAY, HOUR, MONTH, and YEAR, which will - * generate one partition per day, hour, month, and year, respectively. When - * the type is not specified, the default behavior is DAY. + * Required. The supported types are DAY, HOUR, MONTH, and YEAR, which will + * generate one partition per day, hour, month, and year, respectively. */ @property(nonatomic, copy, nullable) NSString *type; @@ -11008,11 +13491,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_TransactionInfo + * [Alpha] Information of a multi-statement transaction. */ @interface GTLRBigquery_TransactionInfo : GTLRObject -/** [Output-only] // [Alpha] Id of the transaction. */ +/** Output only. [Alpha] Id of the transaction. */ @property(nonatomic, copy, nullable) NSString *transactionId; @end @@ -11035,11 +13518,25 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @end +/** + * Request format for undeleting a dataset. + */ +@interface GTLRBigquery_UndeleteDatasetRequest : GTLRObject + +/** + * Optional. The exact time when the dataset was deleted. If not specified, it + * will undelete the most recently deleted version. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *deletionTime; + +@end + + /** * This is used for defining User Defined Function (UDF) resources only when - * using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. - * CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF - * resources. For additional information on migrating, see: + * using legacy SQL. Users of GoogleSQL should leverage either DDL (e.g. CREATE + * [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For + * additional information on migrating, see: * https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions */ @interface GTLRBigquery_UserDefinedFunctionResource : GTLRObject @@ -11099,17 +13596,19 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * GTLRBigquery_ViewDefinition + * Describes the definition of a logical view. */ @interface GTLRBigquery_ViewDefinition : GTLRObject -/** [Required] A query that BigQuery executes when the view is referenced. */ +/** Optional. Specifices the privacy policy for the view. */ +@property(nonatomic, strong, nullable) GTLRBigquery_PrivacyPolicy *privacyPolicy; + +/** Required. A query that BigQuery executes when the view is referenced. */ @property(nonatomic, copy, nullable) NSString *query; /** * True if the column names are explicitly specified. For example by using the - * 'CREATE VIEW v(c1, c2) AS ...' syntax. Can only be set using BigQuery's - * standard SQL: https://cloud.google.com/bigquery/sql-reference/ + * 'CREATE VIEW v(c1, c2) AS ...' syntax. Can only be set for GoogleSQL views. * * Uses NSNumber of boolValue. */ @@ -11117,9 +13616,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Specifies whether to use BigQuery's legacy SQL for this view. The default - * value is true. If set to false, the view will use BigQuery's standard SQL: + * value is true. If set to false, the view will use BigQuery's GoogleSQL: * https://cloud.google.com/bigquery/sql-reference/ Queries and views that - * reference this view must use the same flag value. + * reference this view must use the same flag value. A wrapper is used here + * because the default value is True. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h index 8a1eb725b..6199a90ab 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h @@ -26,6 +26,36 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the query classes' properties below. +// ---------------------------------------------------------------------------- +// datasetView + +/** + * Includes ACL information for the dataset, which defines dataset access for + * one or more entities. + * + * Value: "ACL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigqueryDatasetViewAcl; +/** + * The default value. Default to the FULL view. + * + * Value: "DATASET_VIEW_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigqueryDatasetViewDatasetViewUnspecified; +/** + * Includes both dataset metadata and ACL information. + * + * Value: "FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigqueryDatasetViewFull; +/** + * Includes metadata information for the dataset, such as location, etag, + * lastModifiedTime, etc. + * + * Value: "METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigqueryDatasetViewMetadata; + // ---------------------------------------------------------------------------- // projection @@ -126,7 +156,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_DatasetsDelete : GTLRBigqueryQuery -/** Dataset ID of dataset being deleted */ +/** Required. Dataset ID of dataset being deleted */ @property(nonatomic, copy, nullable) NSString *datasetId; /** @@ -135,7 +165,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @property(nonatomic, assign) BOOL deleteContents; -/** Project ID of the dataset being deleted */ +/** Required. Project ID of the dataset being deleted */ @property(nonatomic, copy, nullable) NSString *projectId; /** @@ -147,8 +177,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * deleteContents. Immediately after deletion, you can create another dataset * with the same name. * - * @param projectId Project ID of the dataset being deleted - * @param datasetId Dataset ID of dataset being deleted + * @param projectId Required. Project ID of the dataset being deleted + * @param datasetId Required. Dataset ID of dataset being deleted * * @return GTLRBigqueryQuery_DatasetsDelete */ @@ -169,17 +199,28 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_DatasetsGet : GTLRBigqueryQuery -/** Dataset ID of the requested dataset */ +/** Required. Dataset ID of the requested dataset */ @property(nonatomic, copy, nullable) NSString *datasetId; /** - * Specifies the view that determines which dataset information is returned. By - * default, metadata and ACL information are returned. Allowed values: - * METADATA, ACL, FULL. + * Optional. Specifies the view that determines which dataset information is + * returned. By default, metadata and ACL information are returned. + * + * Likely values: + * @arg @c kGTLRBigqueryDatasetViewDatasetViewUnspecified The default value. + * Default to the FULL view. (Value: "DATASET_VIEW_UNSPECIFIED") + * @arg @c kGTLRBigqueryDatasetViewMetadata Includes metadata information for + * the dataset, such as location, etag, lastModifiedTime, etc. (Value: + * "METADATA") + * @arg @c kGTLRBigqueryDatasetViewAcl Includes ACL information for the + * dataset, which defines dataset access for one or more entities. + * (Value: "ACL") + * @arg @c kGTLRBigqueryDatasetViewFull Includes both dataset metadata and + * ACL information. (Value: "FULL") */ @property(nonatomic, copy, nullable) NSString *datasetView; -/** Project ID of the requested dataset */ +/** Required. Project ID of the requested dataset */ @property(nonatomic, copy, nullable) NSString *projectId; /** @@ -187,8 +228,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * * Returns the dataset specified by datasetID. * - * @param projectId Project ID of the requested dataset - * @param datasetId Dataset ID of the requested dataset + * @param projectId Required. Project ID of the requested dataset + * @param datasetId Required. Dataset ID of the requested dataset * * @return GTLRBigqueryQuery_DatasetsGet */ @@ -208,7 +249,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_DatasetsInsert : GTLRBigqueryQuery -/** Project ID of the new dataset */ +/** Required. Project ID of the new dataset */ @property(nonatomic, copy, nullable) NSString *projectId; /** @@ -217,7 +258,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * Creates a new empty dataset. * * @param object The @c GTLRBigquery_Dataset to include in the query. - * @param projectId Project ID of the new dataset + * @param projectId Required. Project ID of the new dataset * * @return GTLRBigqueryQuery_DatasetsInsert */ @@ -227,8 +268,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified @end /** - * Lists all datasets in the specified project to which you have been granted - * the READER dataset role. + * Lists all datasets in the specified project to which the user has been + * granted the READER dataset role. * * Method: bigquery.datasets.list * @@ -244,13 +285,18 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified /** * An expression for filtering the results of the request by label. The syntax - * is "labels.[:]". Multiple filters can be ANDed together by - * connecting with a space. Example: "labels.department:receiving - * labels.active". See Filtering datasets using labels for details. + * is \\"labels.[:]\\". Multiple filters can be ANDed together by + * connecting with a space. Example: \\"labels.department:receiving + * labels.active\\". See [Filtering datasets using + * labels](/bigquery/docs/labeling-datasets#filtering_datasets_using_labels) + * for details. */ @property(nonatomic, copy, nullable) NSString *filter; -/** The maximum number of results to return */ +/** + * The maximum number of results to return in a single response page. Leverage + * the page tokens to iterate through the entire collection. + */ @property(nonatomic, assign) NSUInteger maxResults; /** @@ -258,16 +304,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Project ID of the datasets to be listed */ +/** Required. Project ID of the datasets to be listed */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Fetches a @c GTLRBigquery_DatasetList. * - * Lists all datasets in the specified project to which you have been granted - * the READER dataset role. + * Lists all datasets in the specified project to which the user has been + * granted the READER dataset role. * - * @param projectId Project ID of the datasets to be listed + * @param projectId Required. Project ID of the datasets to be listed * * @return GTLRBigqueryQuery_DatasetsList * @@ -282,8 +328,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified /** * Updates information in an existing dataset. The update method replaces the * entire dataset resource, whereas the patch method only replaces fields that - * are provided in the submitted dataset resource. This method supports patch - * semantics. + * are provided in the submitted dataset resource. This method supports RFC5789 + * patch semantics. * * Method: bigquery.datasets.patch * @@ -293,10 +339,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_DatasetsPatch : GTLRBigqueryQuery -/** Dataset ID of the dataset being updated */ +/** Required. Dataset ID of the dataset being updated */ @property(nonatomic, copy, nullable) NSString *datasetId; -/** Project ID of the dataset being updated */ +/** Required. Project ID of the dataset being updated */ @property(nonatomic, copy, nullable) NSString *projectId; /** @@ -304,12 +350,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * * Updates information in an existing dataset. The update method replaces the * entire dataset resource, whereas the patch method only replaces fields that - * are provided in the submitted dataset resource. This method supports patch - * semantics. + * are provided in the submitted dataset resource. This method supports RFC5789 + * patch semantics. * * @param object The @c GTLRBigquery_Dataset to include in the query. - * @param projectId Project ID of the dataset being updated - * @param datasetId Dataset ID of the dataset being updated + * @param projectId Required. Project ID of the dataset being updated + * @param datasetId Required. Dataset ID of the dataset being updated * * @return GTLRBigqueryQuery_DatasetsPatch */ @@ -319,6 +365,45 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified @end +/** + * Undeletes a dataset which is within time travel window based on datasetId. + * If a time is specified, the dataset version deleted at that time is + * undeleted, else the last live version is undeleted. + * + * Method: bigquery.datasets.undelete + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigquery + * @c kGTLRAuthScopeBigqueryCloudPlatform + */ +@interface GTLRBigqueryQuery_DatasetsUndelete : GTLRBigqueryQuery + +/** Required. Dataset ID of dataset being deleted */ +@property(nonatomic, copy, nullable) NSString *datasetId; + +/** Required. Project ID of the dataset to be undeleted */ +@property(nonatomic, copy, nullable) NSString *projectId; + +/** + * Fetches a @c GTLRBigquery_Dataset. + * + * Undeletes a dataset which is within time travel window based on datasetId. + * If a time is specified, the dataset version deleted at that time is + * undeleted, else the last live version is undeleted. + * + * @param object The @c GTLRBigquery_UndeleteDatasetRequest to include in the + * query. + * @param projectId Required. Project ID of the dataset to be undeleted + * @param datasetId Required. Dataset ID of dataset being deleted + * + * @return GTLRBigqueryQuery_DatasetsUndelete + */ ++ (instancetype)queryWithObject:(GTLRBigquery_UndeleteDatasetRequest *)object + projectId:(NSString *)projectId + datasetId:(NSString *)datasetId; + +@end + /** * Updates information in an existing dataset. The update method replaces the * entire dataset resource, whereas the patch method only replaces fields that @@ -332,10 +417,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_DatasetsUpdate : GTLRBigqueryQuery -/** Dataset ID of the dataset being updated */ +/** Required. Dataset ID of the dataset being updated */ @property(nonatomic, copy, nullable) NSString *datasetId; -/** Project ID of the dataset being updated */ +/** Required. Project ID of the dataset being updated */ @property(nonatomic, copy, nullable) NSString *projectId; /** @@ -346,8 +431,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * are provided in the submitted dataset resource. * * @param object The @c GTLRBigquery_Dataset to include in the query. - * @param projectId Project ID of the dataset being updated - * @param datasetId Dataset ID of the dataset being updated + * @param projectId Required. Project ID of the dataset being updated + * @param datasetId Required. Dataset ID of the dataset being updated * * @return GTLRBigqueryQuery_DatasetsUpdate */ @@ -370,17 +455,19 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_JobsCancel : GTLRBigqueryQuery -/** [Required] Job ID of the job to cancel */ +/** Required. Job ID of the job to cancel */ @property(nonatomic, copy, nullable) NSString *jobId; /** - * The geographic location of the job. Required except for US and EU. See - * details at + * The geographic location of the job. You must specify the location to run the + * job for the following scenarios: - If the location to run a job is not in + * the `us` or the `eu` multi-regional location - If the job's location is in a + * single region (for example, `us-central1`) For more information, see * https://cloud.google.com/bigquery/docs/locations#specifying_your_location. */ @property(nonatomic, copy, nullable) NSString *location; -/** [Required] Project ID of the job to cancel */ +/** Required. Project ID of the job to cancel */ @property(nonatomic, copy, nullable) NSString *projectId; /** @@ -390,8 +477,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * client will need to poll for the job status to see if the cancel completed * successfully. Cancelled jobs may still incur costs. * - * @param projectId [Required] Project ID of the job to cancel - * @param jobId [Required] Job ID of the job to cancel + * @param projectId Required. Project ID of the job to cancel + * @param jobId Required. Job ID of the job to cancel * * @return GTLRBigqueryQuery_JobsCancel */ @@ -464,17 +551,19 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_JobsGet : GTLRBigqueryQuery -/** [Required] Job ID of the requested job */ +/** Required. Job ID of the requested job. */ @property(nonatomic, copy, nullable) NSString *jobId; /** - * The geographic location of the job. Required except for US and EU. See - * details at + * The geographic location of the job. You must specify the location to run the + * job for the following scenarios: - If the location to run a job is not in + * the `us` or the `eu` multi-regional location - If the job's location is in a + * single region (for example, `us-central1`) For more information, see * https://cloud.google.com/bigquery/docs/locations#specifying_your_location. */ @property(nonatomic, copy, nullable) NSString *location; -/** [Required] Project ID of the requested job */ +/** Required. Project ID of the requested job. */ @property(nonatomic, copy, nullable) NSString *projectId; /** @@ -484,8 +573,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * six month period after creation. Requires that you're the person who ran the * job, or have the Is Owner project role. * - * @param projectId [Required] Project ID of the requested job - * @param jobId [Required] Job ID of the requested job + * @param projectId Required. Project ID of the requested job. + * @param jobId Required. Job ID of the requested job. * * @return GTLRBigqueryQuery_JobsGet */ @@ -495,7 +584,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified @end /** - * Retrieves the results of a query job. + * RPC to get the results of a query job. * * Method: bigquery.jobs.getQueryResults * @@ -506,44 +595,58 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_JobsGetQueryResults : GTLRBigqueryQuery -/** [Required] Job ID of the query job */ +/** Optional. Output timestamp as usec int64. Default is false. */ +@property(nonatomic, assign) BOOL formatOptionsUseInt64Timestamp; + +/** Required. Job ID of the query job. */ @property(nonatomic, copy, nullable) NSString *jobId; /** - * The geographic location where the job should run. Required except for US and - * EU. See details at + * The geographic location of the job. You must specify the location to run the + * job for the following scenarios: - If the location to run a job is not in + * the `us` or the `eu` multi-regional location - If the job's location is in a + * single region (for example, `us-central1`) For more information, see * https://cloud.google.com/bigquery/docs/locations#specifying_your_location. */ @property(nonatomic, copy, nullable) NSString *location; -/** Maximum number of results to read */ +/** Maximum number of results to read. */ @property(nonatomic, assign) NSUInteger maxResults; /** - * Page token, returned by a previous call, to request the next page of results + * Page token, returned by a previous call, to request the next page of + * results. */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** [Required] Project ID of the query job */ +/** Required. Project ID of the query job. */ @property(nonatomic, copy, nullable) NSString *projectId; -/** Zero-based index of the starting row */ +/** Zero-based index of the starting row. */ @property(nonatomic, assign) unsigned long long startIndex; /** - * How long to wait for the query to complete, in milliseconds, before - * returning. Default is 10 seconds. If the timeout passes before the job - * completes, the 'jobComplete' field in the response will be false + * Optional: Specifies the maximum amount of time, in milliseconds, that the + * client is willing to wait for the query to complete. By default, this limit + * is 10 seconds (10,000 milliseconds). If the query is complete, the + * jobComplete field in the response is true. If the query has not yet + * completed, jobComplete is false. You can request a longer timeout period in + * the timeoutMs field. However, the call is not guaranteed to wait for the + * specified timeout; it typically returns after around 200 seconds (200,000 + * milliseconds), even if the query is not complete. If jobComplete is false, + * you can continue to wait for the query to complete by calling the + * getQueryResults method until the jobComplete field in the getQueryResults + * response is true. */ @property(nonatomic, assign) NSUInteger timeoutMs; /** * Fetches a @c GTLRBigquery_GetQueryResultsResponse. * - * Retrieves the results of a query job. + * RPC to get the results of a query job. * - * @param projectId [Required] Project ID of the query job - * @param jobId [Required] Job ID of the query job + * @param projectId Required. Project ID of the query job. + * @param jobId Required. Job ID of the query job. * * @return GTLRBigqueryQuery_JobsGetQueryResults */ @@ -553,7 +656,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified @end /** - * Starts a new asynchronous job. Requires the Can View project role. + * Starts a new asynchronous job. This API has two different kinds of endpoint + * URIs, as this method supports a variety of use cases. * The *Metadata* URI + * is used for most interactions, as it accepts the job configuration directly. + * * The *Upload* URI is ONLY for the case when you're sending both a load job + * configuration and a data stream together. In this case, the Upload URI + * accepts the job configuration and the data as two distinct multipart MIME + * parts. * * Method: bigquery.jobs.insert * @@ -566,16 +675,22 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_JobsInsert : GTLRBigqueryQuery -/** Project ID of the project that will be billed for the job */ +/** Project ID of project that will be billed for the job. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Fetches a @c GTLRBigquery_Job. * - * Starts a new asynchronous job. Requires the Can View project role. + * Starts a new asynchronous job. This API has two different kinds of endpoint + * URIs, as this method supports a variety of use cases. * The *Metadata* URI + * is used for most interactions, as it accepts the job configuration directly. + * * The *Upload* URI is ONLY for the case when you're sending both a load job + * configuration and a data stream together. In this case, the Upload URI + * accepts the job configuration and the data as two distinct multipart MIME + * parts. * * @param object The @c GTLRBigquery_Job to include in the query. - * @param projectId Project ID of the project that will be billed for the job + * @param projectId Project ID of project that will be billed for the job. * @param uploadParameters The media to include in this query. Accepted MIME * type: * / * * @@ -603,37 +718,41 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified @interface GTLRBigqueryQuery_JobsList : GTLRBigqueryQuery /** - * Whether to display jobs owned by all users in the project. Default false + * Whether to display jobs owned by all users in the project. Default False. */ @property(nonatomic, assign) BOOL allUsers; /** * Max value for job creation time, in milliseconds since the POSIX epoch. If - * set, only jobs created before or at this timestamp are returned + * set, only jobs created before or at this timestamp are returned. */ @property(nonatomic, assign) unsigned long long maxCreationTime; -/** Maximum number of results to return */ +/** + * The maximum number of results to return in a single response page. Leverage + * the page tokens to iterate through the entire collection. + */ @property(nonatomic, assign) NSUInteger maxResults; /** * Min value for job creation time, in milliseconds since the POSIX epoch. If - * set, only jobs created after or at this timestamp are returned + * set, only jobs created after or at this timestamp are returned. */ @property(nonatomic, assign) unsigned long long minCreationTime; /** - * Page token, returned by a previous call, to request the next page of results + * Page token, returned by a previous call, to request the next page of + * results. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * If set, retrieves only jobs whose parent is this job. Otherwise, retrieves - * only jobs which have no parent + * If set, show only child jobs of the specified parent. Otherwise, show all + * top-level jobs. */ @property(nonatomic, copy, nullable) NSString *parentJobId; -/** Project ID of the jobs to list */ +/** Project ID of the jobs to list. */ @property(nonatomic, copy, nullable) NSString *projectId; /** @@ -664,7 +783,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * reverse chronological order, by job creation time. Requires the Can View * project role, or the Is Owner project role if you set the allUsers property. * - * @param projectId Project ID of the jobs to list + * @param projectId Project ID of the jobs to list. * * @return GTLRBigqueryQuery_JobsList * @@ -689,7 +808,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_JobsQuery : GTLRBigqueryQuery -/** Project ID of the project billed for the query */ +/** Required. Project ID of the query request. */ @property(nonatomic, copy, nullable) NSString *projectId; /** @@ -699,7 +818,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * query completes within a specified timeout. * * @param object The @c GTLRBigquery_QueryRequest to include in the query. - * @param projectId Project ID of the project billed for the query + * @param projectId Required. Project ID of the query request. * * @return GTLRBigqueryQuery_JobsQuery */ @@ -876,8 +995,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified @end /** - * Returns the email address of the service account for your project used for - * interactions with Google Cloud KMS. + * RPC to get the service account for a project used for interactions with + * Google Cloud KMS * * Method: bigquery.projects.getServiceAccount * @@ -888,16 +1007,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_ProjectsGetServiceAccount : GTLRBigqueryQuery -/** Project ID for which the service account is requested. */ +/** Required. ID of the project. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Fetches a @c GTLRBigquery_GetServiceAccountResponse. * - * Returns the email address of the service account for your project used for - * interactions with Google Cloud KMS. + * RPC to get the service account for a project used for interactions with + * Google Cloud KMS * - * @param projectId Project ID for which the service account is requested. + * @param projectId Required. ID of the project. * * @return GTLRBigqueryQuery_ProjectsGetServiceAccount */ @@ -906,7 +1025,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified @end /** - * Lists all projects to which you have been granted any project role. + * RPC to list projects to which the user has been granted any project role. + * Users of this method are encouraged to consider the [Resource + * Manager](https://cloud.google.com/resource-manager/docs/) API, which + * provides the underlying data for this method and has more capabilities. * * Method: bigquery.projects.list * @@ -917,18 +1039,27 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_ProjectsList : GTLRBigqueryQuery -/** Maximum number of results to return */ +/** + * `maxResults` unset returns all results, up to 50 per page. Additionally, the + * number of projects in a page may be fewer than `maxResults` because projects + * are retrieved and then filtered to only projects with the BigQuery API + * enabled. + */ @property(nonatomic, assign) NSUInteger maxResults; /** - * Page token, returned by a previous call, to request the next page of results + * Page token, returned by a previous call, to request the next page of + * results. If not present, no further pages are present. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** * Fetches a @c GTLRBigquery_ProjectList. * - * Lists all projects to which you have been granted any project role. + * RPC to list projects to which the user has been granted any project role. + * Users of this method are encouraged to consider the [Resource + * Manager](https://cloud.google.com/resource-manager/docs/) API, which + * provides the underlying data for this method and has more capabilities. * * @return GTLRBigqueryQuery_ProjectsList * @@ -1309,7 +1440,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified /** * Streams data into BigQuery one record at a time without needing to run a - * load job. Requires the WRITER dataset role. + * load job. * * Method: bigquery.tabledata.insertAll * @@ -1320,26 +1451,26 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_TabledataInsertAll : GTLRBigqueryQuery -/** Dataset ID of the destination table. */ +/** Required. Dataset ID of the destination. */ @property(nonatomic, copy, nullable) NSString *datasetId; -/** Project ID of the destination table. */ +/** Required. Project ID of the destination. */ @property(nonatomic, copy, nullable) NSString *projectId; -/** Table ID of the destination table. */ +/** Required. Table ID of the destination. */ @property(nonatomic, copy, nullable) NSString *tableId; /** * Fetches a @c GTLRBigquery_TableDataInsertAllResponse. * * Streams data into BigQuery one record at a time without needing to run a - * load job. Requires the WRITER dataset role. + * load job. * * @param object The @c GTLRBigquery_TableDataInsertAllRequest to include in * the query. - * @param projectId Project ID of the destination table. - * @param datasetId Dataset ID of the destination table. - * @param tableId Table ID of the destination table. + * @param projectId Required. Project ID of the destination. + * @param datasetId Required. Dataset ID of the destination. + * @param tableId Required. Table ID of the destination. * * @return GTLRBigqueryQuery_TabledataInsertAll */ @@ -1351,8 +1482,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified @end /** - * Retrieves table data from a specified set of rows. Requires the READER - * dataset role. + * List the content of a table in rows. * * Method: bigquery.tabledata.list * @@ -1363,39 +1493,45 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_TabledataList : GTLRBigqueryQuery -/** Dataset ID of the table to read */ +/** Required. Dataset id of the table to list. */ @property(nonatomic, copy, nullable) NSString *datasetId; -/** Maximum number of results to return */ +/** Optional. Output timestamp as usec int64. Default is false. */ +@property(nonatomic, assign) BOOL formatOptionsUseInt64Timestamp; + +/** Row limit of the table. */ @property(nonatomic, assign) NSUInteger maxResults; -/** Page token, returned by a previous call, identifying the result set */ +/** + * To retrieve the next page of table data, set this field to the string + * provided in the pageToken field of the response body from your previous call + * to tabledata.list. + */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Project ID of the table to read */ +/** Required. Project id of the table to list. */ @property(nonatomic, copy, nullable) NSString *projectId; /** - * List of fields to return (comma-separated). If unspecified, all fields are - * returned + * Subset of fields to return, supports select into sub fields. Example: + * selected_fields = "a,e.d.f"; */ @property(nonatomic, copy, nullable) NSString *selectedFields; -/** Zero-based index of the starting row to read */ +/** Start row index of the table. */ @property(nonatomic, assign) unsigned long long startIndex; -/** Table ID of the table to read */ +/** Required. Table id of the table to list. */ @property(nonatomic, copy, nullable) NSString *tableId; /** * Fetches a @c GTLRBigquery_TableDataList. * - * Retrieves table data from a specified set of rows. Requires the READER - * dataset role. + * List the content of a table in rows. * - * @param projectId Project ID of the table to read - * @param datasetId Dataset ID of the table to read - * @param tableId Table ID of the table to read + * @param projectId Required. Project id of the table to list. + * @param datasetId Required. Dataset id of the table to list. + * @param tableId Required. Table id of the table to list. * * @return GTLRBigqueryQuery_TabledataList */ @@ -1417,13 +1553,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_TablesDelete : GTLRBigqueryQuery -/** Dataset ID of the table to delete */ +/** Required. Dataset ID of the table to delete */ @property(nonatomic, copy, nullable) NSString *datasetId; -/** Project ID of the table to delete */ +/** Required. Project ID of the table to delete */ @property(nonatomic, copy, nullable) NSString *projectId; -/** Table ID of the table to delete */ +/** Required. Table ID of the table to delete */ @property(nonatomic, copy, nullable) NSString *tableId; /** @@ -1433,9 +1569,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * Deletes the table specified by tableId from the dataset. If the table * contains data, all the data will be deleted. * - * @param projectId Project ID of the table to delete - * @param datasetId Dataset ID of the table to delete - * @param tableId Table ID of the table to delete + * @param projectId Required. Project ID of the table to delete + * @param datasetId Required. Dataset ID of the table to delete + * @param tableId Required. Table ID of the table to delete * * @return GTLRBigqueryQuery_TablesDelete */ @@ -1459,41 +1595,44 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_TablesGet : GTLRBigqueryQuery -/** Dataset ID of the requested table */ +/** Required. Dataset ID of the requested table */ @property(nonatomic, copy, nullable) NSString *datasetId; -/** Project ID of the requested table */ +/** Required. Project ID of the requested table */ @property(nonatomic, copy, nullable) NSString *projectId; /** - * List of fields to return (comma-separated). If unspecified, all fields are - * returned + * List of table schema fields to return (comma-separated). If unspecified, all + * fields are returned. A fieldMask cannot be used here because the fields will + * automatically be converted from camelCase to snake_case and the conversion + * will fail if there are underscores. Since these are fields in BigQuery table + * schemas, underscores are allowed. */ @property(nonatomic, copy, nullable) NSString *selectedFields; -/** Table ID of the requested table */ +/** Required. Table ID of the requested table */ @property(nonatomic, copy, nullable) NSString *tableId; /** - * Specifies the view that determines which table information is returned. By - * default, basic table information and storage statistics (STORAGE_STATS) are - * returned. + * Optional. Specifies the view that determines which table information is + * returned. By default, basic table information and storage statistics + * (STORAGE_STATS) are returned. * * Likely values: + * @arg @c kGTLRBigqueryViewTableMetadataViewUnspecified The default value. + * Default to the STORAGE_STATS view. (Value: + * "TABLE_METADATA_VIEW_UNSPECIFIED") * @arg @c kGTLRBigqueryViewBasic Includes basic table information including * schema and partitioning specification. This view does not include * storage statistics such as numRows or numBytes. This view is * significantly more efficient and should be used to support high query * rates. (Value: "BASIC") - * @arg @c kGTLRBigqueryViewFull Includes all table information, including - * storage statistics. It returns same information as STORAGE_STATS view, - * but may contain additional information in the future. (Value: "FULL") * @arg @c kGTLRBigqueryViewStorageStats Includes all information in the * BASIC view as well as storage statistics (numBytes, numLongTermBytes, * numRows and lastModifiedTime). (Value: "STORAGE_STATS") - * @arg @c kGTLRBigqueryViewTableMetadataViewUnspecified The default value. - * Default to the STORAGE_STATS view. (Value: - * "TABLE_METADATA_VIEW_UNSPECIFIED") + * @arg @c kGTLRBigqueryViewFull Includes all table information, including + * storage statistics. It returns same information as STORAGE_STATS view, + * but may contain additional information in the future. (Value: "FULL") */ @property(nonatomic, copy, nullable) NSString *view; @@ -1504,9 +1643,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * the data in the table, it only returns the table resource, which describes * the structure of this table. * - * @param projectId Project ID of the requested table - * @param datasetId Dataset ID of the requested table - * @param tableId Table ID of the requested table + * @param projectId Required. Project ID of the requested table + * @param datasetId Required. Dataset ID of the requested table + * @param tableId Required. Table ID of the requested table * * @return GTLRBigqueryQuery_TablesGet */ @@ -1567,10 +1706,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_TablesInsert : GTLRBigqueryQuery -/** Dataset ID of the new table */ +/** Required. Dataset ID of the new table */ @property(nonatomic, copy, nullable) NSString *datasetId; -/** Project ID of the new table */ +/** Required. Project ID of the new table */ @property(nonatomic, copy, nullable) NSString *projectId; /** @@ -1579,8 +1718,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * Creates a new, empty table in the dataset. * * @param object The @c GTLRBigquery_Table to include in the query. - * @param projectId Project ID of the new table - * @param datasetId Dataset ID of the new table + * @param projectId Required. Project ID of the new table + * @param datasetId Required. Dataset ID of the new table * * @return GTLRBigqueryQuery_TablesInsert */ @@ -1602,10 +1741,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_TablesList : GTLRBigqueryQuery -/** Dataset ID of the tables to list */ +/** Required. Dataset ID of the tables to list */ @property(nonatomic, copy, nullable) NSString *datasetId; -/** Maximum number of results to return */ +/** + * The maximum number of results to return in a single response page. Leverage + * the page tokens to iterate through the entire collection. + */ @property(nonatomic, assign) NSUInteger maxResults; /** @@ -1613,7 +1755,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Project ID of the tables to list */ +/** Required. Project ID of the tables to list */ @property(nonatomic, copy, nullable) NSString *projectId; /** @@ -1621,8 +1763,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * * Lists all tables in the specified dataset. Requires the READER dataset role. * - * @param projectId Project ID of the tables to list - * @param datasetId Dataset ID of the tables to list + * @param projectId Required. Project ID of the tables to list + * @param datasetId Required. Dataset ID of the tables to list * * @return GTLRBigqueryQuery_TablesList * @@ -1638,8 +1780,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified /** * Updates information in an existing table. The update method replaces the * entire table resource, whereas the patch method only replaces fields that - * are provided in the submitted table resource. This method supports patch - * semantics. + * are provided in the submitted table resource. This method supports RFC5789 + * patch semantics. * * Method: bigquery.tables.patch * @@ -1649,16 +1791,18 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_TablesPatch : GTLRBigqueryQuery -/** When true will autodetect schema, else will keep original schema */ +/** + * Optional. When true will autodetect schema, else will keep original schema + */ @property(nonatomic, assign) BOOL autodetectSchema; -/** Dataset ID of the table to update */ +/** Required. Dataset ID of the table to update */ @property(nonatomic, copy, nullable) NSString *datasetId; -/** Project ID of the table to update */ +/** Required. Project ID of the table to update */ @property(nonatomic, copy, nullable) NSString *projectId; -/** Table ID of the table to update */ +/** Required. Table ID of the table to update */ @property(nonatomic, copy, nullable) NSString *tableId; /** @@ -1666,13 +1810,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * * Updates information in an existing table. The update method replaces the * entire table resource, whereas the patch method only replaces fields that - * are provided in the submitted table resource. This method supports patch - * semantics. + * are provided in the submitted table resource. This method supports RFC5789 + * patch semantics. * * @param object The @c GTLRBigquery_Table to include in the query. - * @param projectId Project ID of the table to update - * @param datasetId Dataset ID of the table to update - * @param tableId Table ID of the table to update + * @param projectId Required. Project ID of the table to update + * @param datasetId Required. Dataset ID of the table to update + * @param tableId Required. Table ID of the table to update * * @return GTLRBigqueryQuery_TablesPatch */ @@ -1772,8 +1916,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified /** * Updates information in an existing table. The update method replaces the - * entire table resource, whereas the patch method only replaces fields that - * are provided in the submitted table resource. + * entire Table resource, whereas the patch method only replaces fields that + * are provided in the submitted Table resource. * * Method: bigquery.tables.update * @@ -1783,29 +1927,31 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_TablesUpdate : GTLRBigqueryQuery -/** When true will autodetect schema, else will keep original schema */ +/** + * Optional. When true will autodetect schema, else will keep original schema + */ @property(nonatomic, assign) BOOL autodetectSchema; -/** Dataset ID of the table to update */ +/** Required. Dataset ID of the table to update */ @property(nonatomic, copy, nullable) NSString *datasetId; -/** Project ID of the table to update */ +/** Required. Project ID of the table to update */ @property(nonatomic, copy, nullable) NSString *projectId; -/** Table ID of the table to update */ +/** Required. Table ID of the table to update */ @property(nonatomic, copy, nullable) NSString *tableId; /** * Fetches a @c GTLRBigquery_Table. * * Updates information in an existing table. The update method replaces the - * entire table resource, whereas the patch method only replaces fields that - * are provided in the submitted table resource. + * entire Table resource, whereas the patch method only replaces fields that + * are provided in the submitted Table resource. * * @param object The @c GTLRBigquery_Table to include in the query. - * @param projectId Project ID of the table to update - * @param datasetId Dataset ID of the table to update - * @param tableId Table ID of the table to update + * @param projectId Required. Project ID of the table to update + * @param datasetId Required. Dataset ID of the table to update + * @param tableId Required. Table ID of the table to update * * @return GTLRBigqueryQuery_TablesUpdate */ diff --git a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m index 55efaaf75..21d52de52 100644 --- a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m +++ b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m @@ -819,7 +819,7 @@ @implementation GTLRBigtableAdmin_Modification // @implementation GTLRBigtableAdmin_ModifyColumnFamiliesRequest -@dynamic modifications; +@dynamic ignoreWarnings, modifications; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h index 4a619bca3..f30f0432a 100644 --- a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h +++ b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h @@ -654,7 +654,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU /** * Output only. Name of the backup from which this backup was copied. If a * backup is not created by copying a backup, this field will be empty. Values - * are of the form: projects//instances//backups/. + * are of the form: projects//instances//clusters//backups/ */ @property(nonatomic, copy, nullable) NSString *sourceBackup; @@ -706,7 +706,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU /** * Output only. Name of the backup from which this backup was copied. If a * backup is not created by copying a backup, this field will be empty. Values - * are of the form: projects//instances//backups/. + * are of the form: projects//instances//clusters//backups/ */ @property(nonatomic, copy, nullable) NSString *sourceBackup; @@ -797,7 +797,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -2056,6 +2060,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU */ @interface GTLRBigtableAdmin_ModifyColumnFamiliesRequest : GTLRObject +/** + * Optional. If true, ignore safety checks when modifying the column families. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoreWarnings; + /** * Required. Modifications to be atomically applied to the specified table's * families. Entries are applied in order, meaning that earlier modifications diff --git a/Sources/GeneratedServices/BinaryAuthorization/Public/GoogleAPIClientForREST/GTLRBinaryAuthorizationObjects.h b/Sources/GeneratedServices/BinaryAuthorization/Public/GoogleAPIClientForREST/GTLRBinaryAuthorizationObjects.h index 20a3e0bf2..2ac04c3de 100644 --- a/Sources/GeneratedServices/BinaryAuthorization/Public/GoogleAPIClientForREST/GTLRBinaryAuthorizationObjects.h +++ b/Sources/GeneratedServices/BinaryAuthorization/Public/GoogleAPIClientForREST/GTLRBinaryAuthorizationObjects.h @@ -713,7 +713,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBinaryAuthorization_VulnerabilityCheck_M /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/BlockchainNodeEngine/GTLRBlockchainNodeEngineObjects.m b/Sources/GeneratedServices/BlockchainNodeEngine/GTLRBlockchainNodeEngineObjects.m index d18605d29..9b8bc9c5a 100644 --- a/Sources/GeneratedServices/BlockchainNodeEngine/GTLRBlockchainNodeEngineObjects.m +++ b/Sources/GeneratedServices/BlockchainNodeEngine/GTLRBlockchainNodeEngineObjects.m @@ -60,7 +60,7 @@ @implementation GTLRBlockchainNodeEngine_BlockchainNode @dynamic blockchainType, connectionInfo, createTime, ethereumDetails, labels, - name, state, updateTime; + name, privateServiceConnectEnabled, state, updateTime; @end @@ -340,7 +340,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRBlockchainNodeEngine_ValidatorConfig -@dynamic mevRelayUrls; +@dynamic managedValidatorClient, mevRelayUrls; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineObjects.h b/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineObjects.h index 7359d65fd..24b8203dc 100644 --- a/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineObjects.h +++ b/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineObjects.h @@ -294,6 +294,19 @@ FOUNDATION_EXTERN NSString * const kGTLRBlockchainNodeEngine_GethDetails_Garbage */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. When true, the node is only accessible via Private Service + * Connect; no public endpoints are exposed. Otherwise, the node is only + * accessible via public endpoints. Warning: Private Service Connect enabled + * nodes may require a manual migration effort to remain compatible with future + * versions of the product. If this feature is enabled, you will be notified of + * these changes along with any required action to avoid disruption. See + * https://cloud.google.com/vpc/docs/private-service-connect. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *privateServiceConnectEnabled; + /** * Output only. A status representing the state of the node. * @@ -868,6 +881,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBlockchainNodeEngine_GethDetails_Garbage */ @interface GTLRBlockchainNodeEngine_ValidatorConfig : GTLRObject +/** + * Immutable. When true, deploys a GCP-managed validator client alongside the + * beacon client. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *managedValidatorClient; + /** * URLs for MEV-relay services to use for block building. When set, a * GCP-managed MEV-boost service is configured on the beacon client. diff --git a/Sources/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m b/Sources/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m index 0c96f792b..9f6692e34 100644 --- a/Sources/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m +++ b/Sources/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m @@ -714,7 +714,7 @@ @implementation GTLRCloudAsset_GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsR // @implementation GTLRCloudAsset_GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy -@dynamic attachedResource, folders, organization, policy, project; +@dynamic assetType, attachedResource, folders, organization, policy, project; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -732,10 +732,12 @@ @implementation GTLRCloudAsset_GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsR // @implementation GTLRCloudAsset_GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource -@dynamic folders, fullResourceName, organization, parent, project; +@dynamic assetType, effectiveTags, folders, fullResourceName, organization, + parent, project; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"effectiveTags" : [GTLRCloudAsset_EffectiveTagDetails class], @"folders" : [NSString class] }; return map; @@ -829,10 +831,13 @@ @implementation GTLRCloudAsset_GoogleCloudAssetV1GcsDestination // @implementation GTLRCloudAsset_GoogleCloudAssetV1GovernedContainer -@dynamic consolidatedPolicy, fullResourceName, parent, policyBundle; +@dynamic consolidatedPolicy, effectiveTags, folders, fullResourceName, + organization, parent, policyBundle, project; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"effectiveTags" : [GTLRCloudAsset_EffectiveTagDetails class], + @"folders" : [NSString class], @"policyBundle" : [GTLRCloudAsset_AnalyzerOrgPolicy class] }; return map; @@ -997,7 +1002,7 @@ @implementation GTLRCloudAsset_GoogleCloudAssetV1Resource // @implementation GTLRCloudAsset_GoogleCloudAssetV1Rule -@dynamic allowAll, condition, denyAll, enforce, values; +@dynamic allowAll, condition, conditionEvaluation, denyAll, enforce, values; @end @@ -1719,10 +1724,11 @@ @implementation GTLRCloudAsset_Options // @implementation GTLRCloudAsset_OrgPolicyResult -@dynamic consolidatedPolicy, policyBundle; +@dynamic consolidatedPolicy, folders, organization, policyBundle, project; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"folders" : [NSString class], @"policyBundle" : [GTLRCloudAsset_AnalyzerOrgPolicy class] }; return map; diff --git a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h index 7b50096db..499bed97d 100644 --- a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h +++ b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h @@ -1557,7 +1557,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -2146,6 +2150,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState */ @interface GTLRCloudAsset_GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy : GTLRObject +/** + * The asset type of the + * AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource. + * Example: `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset + * Inventory Supported Asset + * Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) + * for all supported asset types. + */ +@property(nonatomic, copy, nullable) NSString *assetType; + /** * The full resource name of the resource on which this IAM policy is set. * Example: @@ -2189,6 +2203,19 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState */ @interface GTLRCloudAsset_GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource : GTLRObject +/** + * The asset type of the + * AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name + * Example: `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset + * Inventory Supported Asset + * Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) + * for all supported asset types. + */ +@property(nonatomic, copy, nullable) NSString *assetType; + +/** The effective tags on this resource. */ +@property(nonatomic, strong, nullable) NSArray *effectiveTags; + /** * The folder(s) that this resource belongs to, in the format of * folders/{FOLDER_NUMBER}. This field is available when the resource belongs @@ -2450,6 +2477,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState */ @property(nonatomic, strong, nullable) GTLRCloudAsset_AnalyzerOrgPolicy *consolidatedPolicy; +/** The effective tags on this resource. */ +@property(nonatomic, strong, nullable) NSArray *effectiveTags; + +/** + * The folder(s) that this resource belongs to, in the format of + * folders/{FOLDER_NUMBER}. This field is available when the resource belongs + * (directly or cascadingly) to one or more folders. + */ +@property(nonatomic, strong, nullable) NSArray *folders; + /** * The [full resource name] * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an @@ -2457,6 +2494,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState */ @property(nonatomic, copy, nullable) NSString *fullResourceName; +/** + * The organization that this resource belongs to, in the format of + * organizations/{ORGANIZATION_NUMBER}. This field is available when the + * resource belongs (directly or cascadingly) to an organization. + */ +@property(nonatomic, copy, nullable) NSString *organization; + /** * The [full resource name] * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the @@ -2473,6 +2517,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState */ @property(nonatomic, strong, nullable) NSArray *policyBundle; +/** + * The project that this resource belongs to, in the format of + * projects/{PROJECT_NUMBER}. This field is available when the resource belongs + * to a project. + */ +@property(nonatomic, copy, nullable) NSString *project; + @end @@ -2861,6 +2912,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState /** The evaluating condition for this rule. */ @property(nonatomic, strong, nullable) GTLRCloudAsset_Expr *condition; +/** + * The condition evaluation result for this rule. Only populated if it meets + * all the following criteria: * there is a condition defined for this rule * + * this rule is within a consolidated_policy * the consolidated_policy is + * within AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer or + * AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource + */ +@property(nonatomic, strong, nullable) GTLRCloudAsset_ConditionEvaluation *conditionEvaluation; + /** * Setting this to true means that all values are denied. This field can be set * only in Policies for list constraints. @@ -3417,9 +3477,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState @interface GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1EgressFrom : GTLRObject /** - * A list of identities that are allowed access through this [EgressPolicy]. - * Should be in the format of email address. The email address should represent - * individual user or service account only. + * A list of identities that are allowed access through this [EgressPolicy], in + * the format of `user:{email_id}` or `serviceAccount:{email_id}`. */ @property(nonatomic, strong, nullable) NSArray *identities; @@ -3576,9 +3635,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState @interface GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1IngressFrom : GTLRObject /** - * A list of identities that are allowed access through this ingress policy. - * Should be in the format of email address. The email address should represent - * individual user or service account only. + * A list of identities that are allowed access through this ingress policy, in + * the format of `user:{email_id}` or `serviceAccount:{email_id}`. */ @property(nonatomic, strong, nullable) NSArray *identities; @@ -4713,6 +4771,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState */ @property(nonatomic, strong, nullable) GTLRCloudAsset_AnalyzerOrgPolicy *consolidatedPolicy; +/** + * The folder(s) that this consolidated policy belongs to, in the format of + * folders/{FOLDER_NUMBER}. This field is available when the consolidated + * policy belongs (directly or cascadingly) to one or more folders. + */ +@property(nonatomic, strong, nullable) NSArray *folders; + +/** + * The organization that this consolidated policy belongs to, in the format of + * organizations/{ORGANIZATION_NUMBER}. This field is available when the + * consolidated policy belongs (directly or cascadingly) to an organization. + */ +@property(nonatomic, copy, nullable) NSString *organization; + /** * The ordered list of all organization policies from the * AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource. @@ -4721,6 +4793,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState */ @property(nonatomic, strong, nullable) NSArray *policyBundle; +/** + * The project that this consolidated policy belongs to, in the format of + * projects/{PROJECT_NUMBER}. This field is available when the consolidated + * policy belongs to a project. + */ +@property(nonatomic, copy, nullable) NSString *project; + @end diff --git a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetQuery.h b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetQuery.h index 0634f2f6d..c32bd1168 100644 --- a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetQuery.h +++ b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetQuery.h @@ -1090,13 +1090,46 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAssetViewFull; /** * Analyzes organization policies governed assets (Google Cloud resources or * policies) under a scope. This RPC supports custom constraints and the - * following 10 canned constraints: * storage.uniformBucketLevelAccess * - * iam.disableServiceAccountKeyCreation * iam.allowedPolicyMemberDomains * - * compute.vmExternalIpAccess * appengine.enforceServiceAccountActAsCheck * - * gcp.resourceLocations * compute.trustedImageProjects * - * compute.skipDefaultNetworkCreation * compute.requireOsLogin * - * compute.disableNestedVirtualization This RPC only returns either resources - * of types [supported by search + * following canned constraints: * constraints/ainotebooks.accessMode * + * constraints/ainotebooks.disableFileDownloads * + * constraints/ainotebooks.disableRootAccess * + * constraints/ainotebooks.disableTerminal * + * constraints/ainotebooks.environmentOptions * + * constraints/ainotebooks.requireAutoUpgradeSchedule * + * constraints/ainotebooks.restrictVpcNetworks * + * constraints/compute.disableGuestAttributesAccess * + * constraints/compute.disableInstanceDataAccessApis * + * constraints/compute.disableNestedVirtualization * + * constraints/compute.disableSerialPortAccess * + * constraints/compute.disableSerialPortLogging * + * constraints/compute.disableVpcExternalIpv6 * + * constraints/compute.requireOsLogin * constraints/compute.requireShieldedVm * + * constraints/compute.restrictLoadBalancerCreationForTypes * + * constraints/compute.restrictProtocolForwardingCreationForTypes * + * constraints/compute.restrictXpnProjectLienRemoval * + * constraints/compute.setNewProjectDefaultToZonalDNSOnly * + * constraints/compute.skipDefaultNetworkCreation * + * constraints/compute.trustedImageProjects * + * constraints/compute.vmCanIpForward * constraints/compute.vmExternalIpAccess + * * constraints/gcp.detailedAuditLoggingMode * + * constraints/gcp.resourceLocations * + * constraints/iam.allowedPolicyMemberDomains * + * constraints/iam.automaticIamGrantsForDefaultServiceAccounts * + * constraints/iam.disableServiceAccountCreation * + * constraints/iam.disableServiceAccountKeyCreation * + * constraints/iam.disableServiceAccountKeyUpload * + * constraints/iam.restrictCrossProjectServiceAccountLienRemoval * + * constraints/iam.serviceAccountKeyExpiryHours * + * constraints/resourcemanager.accessBoundaries * + * constraints/resourcemanager.allowedExportDestinations * + * constraints/sql.restrictAuthorizedNetworks * + * constraints/sql.restrictNoncompliantDiagnosticDataAccess * + * constraints/sql.restrictNoncompliantResourceCreation * + * constraints/sql.restrictPublicIp * + * constraints/storage.publicAccessPrevention * + * constraints/storage.restrictAuthTypes * + * constraints/storage.uniformBucketLevelAccess This RPC only returns either + * resources of types [supported by search * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types) * or IAM policies. * @@ -1160,13 +1193,46 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAssetViewFull; * * Analyzes organization policies governed assets (Google Cloud resources or * policies) under a scope. This RPC supports custom constraints and the - * following 10 canned constraints: * storage.uniformBucketLevelAccess * - * iam.disableServiceAccountKeyCreation * iam.allowedPolicyMemberDomains * - * compute.vmExternalIpAccess * appengine.enforceServiceAccountActAsCheck * - * gcp.resourceLocations * compute.trustedImageProjects * - * compute.skipDefaultNetworkCreation * compute.requireOsLogin * - * compute.disableNestedVirtualization This RPC only returns either resources - * of types [supported by search + * following canned constraints: * constraints/ainotebooks.accessMode * + * constraints/ainotebooks.disableFileDownloads * + * constraints/ainotebooks.disableRootAccess * + * constraints/ainotebooks.disableTerminal * + * constraints/ainotebooks.environmentOptions * + * constraints/ainotebooks.requireAutoUpgradeSchedule * + * constraints/ainotebooks.restrictVpcNetworks * + * constraints/compute.disableGuestAttributesAccess * + * constraints/compute.disableInstanceDataAccessApis * + * constraints/compute.disableNestedVirtualization * + * constraints/compute.disableSerialPortAccess * + * constraints/compute.disableSerialPortLogging * + * constraints/compute.disableVpcExternalIpv6 * + * constraints/compute.requireOsLogin * constraints/compute.requireShieldedVm * + * constraints/compute.restrictLoadBalancerCreationForTypes * + * constraints/compute.restrictProtocolForwardingCreationForTypes * + * constraints/compute.restrictXpnProjectLienRemoval * + * constraints/compute.setNewProjectDefaultToZonalDNSOnly * + * constraints/compute.skipDefaultNetworkCreation * + * constraints/compute.trustedImageProjects * + * constraints/compute.vmCanIpForward * constraints/compute.vmExternalIpAccess + * * constraints/gcp.detailedAuditLoggingMode * + * constraints/gcp.resourceLocations * + * constraints/iam.allowedPolicyMemberDomains * + * constraints/iam.automaticIamGrantsForDefaultServiceAccounts * + * constraints/iam.disableServiceAccountCreation * + * constraints/iam.disableServiceAccountKeyCreation * + * constraints/iam.disableServiceAccountKeyUpload * + * constraints/iam.restrictCrossProjectServiceAccountLienRemoval * + * constraints/iam.serviceAccountKeyExpiryHours * + * constraints/resourcemanager.accessBoundaries * + * constraints/resourcemanager.allowedExportDestinations * + * constraints/sql.restrictAuthorizedNetworks * + * constraints/sql.restrictNoncompliantDiagnosticDataAccess * + * constraints/sql.restrictNoncompliantResourceCreation * + * constraints/sql.restrictPublicIp * + * constraints/storage.publicAccessPrevention * + * constraints/storage.restrictAuthTypes * + * constraints/storage.uniformBucketLevelAccess This RPC only returns either + * resources of types [supported by search * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types) * or IAM policies. * diff --git a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h index 48d567aa7..c0f3aa042 100644 --- a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h +++ b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h @@ -1297,16 +1297,31 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; @property(nonatomic, copy, nullable) NSString *options; /** - * Optional password for logging in to a docker registry. If password matches - * `projects/ * /secrets/ * /versions/ *` then Batch will read the password - * from the Secret Manager; + * Required if the container image is from a private Docker registry. The + * password to login to the Docker registry that contains the image. For + * security, it is strongly recommended to specify an encrypted password by + * using a Secret Manager secret: `projects/ * /secrets/ * /versions/ *`. + * Warning: If you specify the password using plain text, you risk the password + * being exposed to any users who can view the job or its logs. To avoid this + * risk, specify a secret that contains the password instead. Learn more about + * [Secret Manager](https://cloud.google.com/secret-manager/docs/) and [using + * Secret Manager with + * Batch](https://cloud.google.com/batch/docs/create-run-job-secret-manager). */ @property(nonatomic, copy, nullable) NSString *password; /** - * Optional username for logging in to a docker registry. If username matches - * `projects/ * /secrets/ * /versions/ *` then Batch will read the username - * from the Secret Manager. + * Required if the container image is from a private Docker registry. The + * username to login to the Docker registry that contains the image. You can + * either specify the username directly by using plain text or specify an + * encrypted username by using a Secret Manager secret: `projects/ * /secrets/ + * * /versions/ *`. However, using a secret is recommended for enhanced + * security. Caution: If you specify the username using plain text, you risk + * the username being exposed to any users who can view the job or its logs. To + * avoid this risk, specify a secret that contains the username instead. Learn + * more about [Secret Manager](https://cloud.google.com/secret-manager/docs/) + * and [using Secret Manager with + * Batch](https://cloud.google.com/batch/docs/create-run-job-secret-manager). */ @property(nonatomic, copy, nullable) NSString *username; @@ -2627,7 +2642,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; /** * When true, Batch will populate a file with a list of all VMs assigned to the * TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of - * that file. Defaults to false. + * that file. Defaults to false. The host file supports up to 1000 VMs. * * Uses NSNumber of boolValue. */ @@ -2635,9 +2650,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; /** * Optional. If not set or set to false, Batch uses the root user to execute - * runnables. If set to true, Batch will make sure to run the runnables using a - * non-root user. Currently, the non-root user Batch used is generated by OS - * Login. For more information, see [About OS + * runnables. If set to true, Batch runs the runnables using a non-root user. + * Currently, the non-root user Batch used is generated by OS Login. For more + * information, see [About OS * Login](https://cloud.google.com/compute/docs/oslogin). * * Uses NSNumber of boolValue. diff --git a/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m b/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m index ea5cdf5a6..41e539d7c 100644 --- a/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m +++ b/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m @@ -64,6 +64,27 @@ NSString * const kGTLRCloudBuild_PropertySpec_Type_String = @"STRING"; NSString * const kGTLRCloudBuild_PropertySpec_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRCloudBuild_Provenance.enabled +NSString * const kGTLRCloudBuild_Provenance_Enabled_Disabled = @"DISABLED"; +NSString * const kGTLRCloudBuild_Provenance_Enabled_EnabledUnspecified = @"ENABLED_UNSPECIFIED"; +NSString * const kGTLRCloudBuild_Provenance_Enabled_Optimistic = @"OPTIMISTIC"; +NSString * const kGTLRCloudBuild_Provenance_Enabled_Required = @"REQUIRED"; + +// GTLRCloudBuild_Provenance.region +NSString * const kGTLRCloudBuild_Provenance_Region_Global = @"GLOBAL"; +NSString * const kGTLRCloudBuild_Provenance_Region_RegionUnspecified = @"REGION_UNSPECIFIED"; + +// GTLRCloudBuild_Provenance.storage +NSString * const kGTLRCloudBuild_Provenance_Storage_ArtifactProjectOnly = @"ARTIFACT_PROJECT_ONLY"; +NSString * const kGTLRCloudBuild_Provenance_Storage_BuildProjectOnly = @"BUILD_PROJECT_ONLY"; +NSString * const kGTLRCloudBuild_Provenance_Storage_PreferArtifactProject = @"PREFER_ARTIFACT_PROJECT"; +NSString * const kGTLRCloudBuild_Provenance_Storage_StorageUnspecified = @"STORAGE_UNSPECIFIED"; + +// GTLRCloudBuild_Security.privilegeMode +NSString * const kGTLRCloudBuild_Security_PrivilegeMode_Privileged = @"PRIVILEGED"; +NSString * const kGTLRCloudBuild_Security_PrivilegeMode_PrivilegeModeUnspecified = @"PRIVILEGE_MODE_UNSPECIFIED"; +NSString * const kGTLRCloudBuild_Security_PrivilegeMode_Unprivileged = @"UNPRIVILEGED"; + // GTLRCloudBuild_TaskRef.resolver NSString * const kGTLRCloudBuild_TaskRef_Resolver_Bundles = @"BUNDLES"; NSString * const kGTLRCloudBuild_TaskRef_Resolver_GcbRepo = @"GCB_REPO"; @@ -766,9 +787,10 @@ @implementation GTLRCloudBuild_PipelineRef @implementation GTLRCloudBuild_PipelineRun @dynamic annotations, childReferences, completionTime, conditions, createTime, - ETag, finallyStartTime, name, params, pipelineRef, pipelineRunStatus, - pipelineSpec, resolvedPipelineSpec, serviceAccount, skippedTasks, - startTime, timeouts, uid, updateTime, workerPool, workflow, workspaces; + ETag, finallyStartTime, gcbParams, name, params, pipelineRef, + pipelineRunStatus, pipelineSpec, provenance, resolvedPipelineSpec, + security, serviceAccount, skippedTasks, startTime, timeouts, uid, + updateTime, worker, workerPool, workflow, workspaces; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -802,6 +824,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudBuild_PipelineRun_GcbParams +// + +@implementation GTLRCloudBuild_PipelineRun_GcbParams + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudBuild_PipelineSpec @@ -903,6 +939,16 @@ @implementation GTLRCloudBuild_PropertySpec @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudBuild_Provenance +// + +@implementation GTLRCloudBuild_Provenance +@dynamic enabled, region, storage; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudBuild_Repository @@ -953,6 +999,16 @@ @implementation GTLRCloudBuild_SecretVolumeSource @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudBuild_Security +// + +@implementation GTLRCloudBuild_Security +@dynamic privilegeMode, serviceAccount; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudBuild_SecurityContext @@ -1267,6 +1323,16 @@ @implementation GTLRCloudBuild_WhenExpression @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudBuild_Worker +// + +@implementation GTLRCloudBuild_Worker +@dynamic machineType; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudBuild_WorkspaceBinding diff --git a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h index e031fc928..0383ee7d5 100644 --- a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h +++ b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h @@ -46,15 +46,18 @@ @class GTLRCloudBuild_ParamValue; @class GTLRCloudBuild_PipelineRef; @class GTLRCloudBuild_PipelineRun_Annotations; +@class GTLRCloudBuild_PipelineRun_GcbParams; @class GTLRCloudBuild_PipelineSpec; @class GTLRCloudBuild_PipelineTask; @class GTLRCloudBuild_PipelineWorkspaceDeclaration; @class GTLRCloudBuild_Policy; @class GTLRCloudBuild_Probe; @class GTLRCloudBuild_PropertySpec; +@class GTLRCloudBuild_Provenance; @class GTLRCloudBuild_Repository; @class GTLRCloudBuild_Repository_Annotations; @class GTLRCloudBuild_SecretVolumeSource; +@class GTLRCloudBuild_Security; @class GTLRCloudBuild_SecurityContext; @class GTLRCloudBuild_Sidecar; @class GTLRCloudBuild_SkippedTask; @@ -72,6 +75,7 @@ @class GTLRCloudBuild_VolumeMount; @class GTLRCloudBuild_VolumeSource; @class GTLRCloudBuild_WhenExpression; +@class GTLRCloudBuild_Worker; @class GTLRCloudBuild_WorkspaceBinding; @class GTLRCloudBuild_WorkspaceDeclaration; @class GTLRCloudBuild_WorkspacePipelineTaskBinding; @@ -313,6 +317,104 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_PropertySpec_Type_String; */ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_PropertySpec_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudBuild_Provenance.enabled + +/** + * Disable the provenance push entirely. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_Provenance_Enabled_Disabled; +/** + * Default to disabled (before AA regionalization), optimistic after + * + * Value: "ENABLED_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_Provenance_Enabled_EnabledUnspecified; +/** + * GCB will attempt to push to artifact analaysis and build state would not be + * impacted by the push failures. + * + * Value: "OPTIMISTIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_Provenance_Enabled_Optimistic; +/** + * Provenance failures would fail the run + * + * Value: "REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_Provenance_Enabled_Required; + +// ---------------------------------------------------------------------------- +// GTLRCloudBuild_Provenance.region + +/** + * Push provenance to Artifact Analysis in global region. + * + * Value: "GLOBAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_Provenance_Region_Global; +/** + * The PipelineRun/TaskRun/Workflow will be rejected. Update this comment to + * push to the same region as the run in Artifact Analysis when it's + * regionalized. + * + * Value: "REGION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_Provenance_Region_RegionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudBuild_Provenance.storage + +/** + * Only push to artifact project. + * + * Value: "ARTIFACT_PROJECT_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_Provenance_Storage_ArtifactProjectOnly; +/** + * Only push to build project. + * + * Value: "BUILD_PROJECT_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_Provenance_Storage_BuildProjectOnly; +/** + * GCB will attempt to push provenance to the artifact project. If it is not + * available, fallback to build project. + * + * Value: "PREFER_ARTIFACT_PROJECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_Provenance_Storage_PreferArtifactProject; +/** + * Default PREFER_ARTIFACT_PROJECT. + * + * Value: "STORAGE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_Provenance_Storage_StorageUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudBuild_Security.privilegeMode + +/** + * Privileged mode. + * + * Value: "PRIVILEGED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_Security_PrivilegeMode_Privileged; +/** + * Default to PRIVILEGED. + * + * Value: "PRIVILEGE_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_Security_PrivilegeMode_PrivilegeModeUnspecified; +/** + * Unprivileged mode. + * + * Value: "UNPRIVILEGED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_Security_PrivilegeMode_Unprivileged; + // ---------------------------------------------------------------------------- // GTLRCloudBuild_TaskRef.resolver @@ -570,7 +672,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -1687,6 +1793,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper */ @property(nonatomic, strong, nullable) GTLRDateTime *finallyStartTime; +/** Output only. GCB default params. */ +@property(nonatomic, strong, nullable) GTLRCloudBuild_PipelineRun_GcbParams *gcbParams; + /** * Output only. The `PipelineRun` name with format * `projects/{project}/locations/{location}/pipelineRuns/{pipeline_run}` @@ -1714,9 +1823,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper /** PipelineSpec defines the desired state of Pipeline. */ @property(nonatomic, strong, nullable) GTLRCloudBuild_PipelineSpec *pipelineSpec; +/** Optional. Provenance configuration. */ +@property(nonatomic, strong, nullable) GTLRCloudBuild_Provenance *provenance; + /** Output only. The exact PipelineSpec used to instantiate the run. */ @property(nonatomic, strong, nullable) GTLRCloudBuild_PipelineSpec *resolvedPipelineSpec; +/** Optional. Security configuration. */ +@property(nonatomic, strong, nullable) GTLRCloudBuild_Security *security; + /** Service account used in the Pipeline. */ @property(nonatomic, copy, nullable) NSString *serviceAccount; @@ -1745,6 +1860,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** Optional. Worker configuration. */ +@property(nonatomic, strong, nullable) GTLRCloudBuild_Worker *worker; + /** Output only. The WorkerPool used to run this PipelineRun. */ @property(nonatomic, copy, nullable) NSString *workerPool; @@ -1769,6 +1887,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @end +/** + * Output only. GCB default params. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCloudBuild_PipelineRun_GcbParams : GTLRObject +@end + + /** * PipelineSpec defines the desired state of Pipeline. */ @@ -2008,6 +2138,61 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @end +/** + * Provenance configuration. + */ +@interface GTLRCloudBuild_Provenance : GTLRObject + +/** + * Optional. Provenance push mode. + * + * Likely values: + * @arg @c kGTLRCloudBuild_Provenance_Enabled_Disabled Disable the provenance + * push entirely. (Value: "DISABLED") + * @arg @c kGTLRCloudBuild_Provenance_Enabled_EnabledUnspecified Default to + * disabled (before AA regionalization), optimistic after (Value: + * "ENABLED_UNSPECIFIED") + * @arg @c kGTLRCloudBuild_Provenance_Enabled_Optimistic GCB will attempt to + * push to artifact analaysis and build state would not be impacted by + * the push failures. (Value: "OPTIMISTIC") + * @arg @c kGTLRCloudBuild_Provenance_Enabled_Required Provenance failures + * would fail the run (Value: "REQUIRED") + */ +@property(nonatomic, copy, nullable) NSString *enabled; + +/** + * Optional. Provenance region. + * + * Likely values: + * @arg @c kGTLRCloudBuild_Provenance_Region_Global Push provenance to + * Artifact Analysis in global region. (Value: "GLOBAL") + * @arg @c kGTLRCloudBuild_Provenance_Region_RegionUnspecified The + * PipelineRun/TaskRun/Workflow will be rejected. Update this comment to + * push to the same region as the run in Artifact Analysis when it's + * regionalized. (Value: "REGION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *region; + +/** + * Optional. Where provenance is stored. + * + * Likely values: + * @arg @c kGTLRCloudBuild_Provenance_Storage_ArtifactProjectOnly Only push + * to artifact project. (Value: "ARTIFACT_PROJECT_ONLY") + * @arg @c kGTLRCloudBuild_Provenance_Storage_BuildProjectOnly Only push to + * build project. (Value: "BUILD_PROJECT_ONLY") + * @arg @c kGTLRCloudBuild_Provenance_Storage_PreferArtifactProject GCB will + * attempt to push provenance to the artifact project. If it is not + * available, fallback to build project. (Value: + * "PREFER_ARTIFACT_PROJECT") + * @arg @c kGTLRCloudBuild_Provenance_Storage_StorageUnspecified Default + * PREFER_ARTIFACT_PROJECT. (Value: "STORAGE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *storage; + +@end + + /** * A repository associated to a parent connection. */ @@ -2115,6 +2300,30 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @end +/** + * Security configuration. + */ +@interface GTLRCloudBuild_Security : GTLRObject + +/** + * Optional. Privilege mode. + * + * Likely values: + * @arg @c kGTLRCloudBuild_Security_PrivilegeMode_Privileged Privileged mode. + * (Value: "PRIVILEGED") + * @arg @c kGTLRCloudBuild_Security_PrivilegeMode_PrivilegeModeUnspecified + * Default to PRIVILEGED. (Value: "PRIVILEGE_MODE_UNSPECIFIED") + * @arg @c kGTLRCloudBuild_Security_PrivilegeMode_Unprivileged Unprivileged + * mode. (Value: "UNPRIVILEGED") + */ +@property(nonatomic, copy, nullable) NSString *privilegeMode; + +/** IAM service account whose credentials will be used at runtime. */ +@property(nonatomic, copy, nullable) NSString *serviceAccount; + +@end + + /** * Security options the container should be run with. */ @@ -2675,6 +2884,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @end +/** + * Configuration for the worker. + */ +@interface GTLRCloudBuild_Worker : GTLRObject + +/** Optional. Machine type of a worker, default is "e2-standard-2". */ +@property(nonatomic, copy, nullable) NSString *machineType; + +@end + + /** * WorkspaceBinding maps a workspace to a Volume. PipelineRef can be used to * refer to a specific instance of a Pipeline. diff --git a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m index 80c3b445f..87a897ee6 100644 --- a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m +++ b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m @@ -18,6 +18,26 @@ NSString * const kGTLRCloudComposer_CheckUpgradeResponse_ContainsPypiModulesConflict_ConflictResultUnspecified = @"CONFLICT_RESULT_UNSPECIFIED"; NSString * const kGTLRCloudComposer_CheckUpgradeResponse_ContainsPypiModulesConflict_NoConflict = @"NO_CONFLICT"; +// GTLRCloudComposer_ComposerWorkload.type +NSString * const kGTLRCloudComposer_ComposerWorkload_Type_CeleryWorker = @"CELERY_WORKER"; +NSString * const kGTLRCloudComposer_ComposerWorkload_Type_ComposerWorkloadTypeUnspecified = @"COMPOSER_WORKLOAD_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudComposer_ComposerWorkload_Type_DagProcessor = @"DAG_PROCESSOR"; +NSString * const kGTLRCloudComposer_ComposerWorkload_Type_KubernetesOperatorPod = @"KUBERNETES_OPERATOR_POD"; +NSString * const kGTLRCloudComposer_ComposerWorkload_Type_KubernetesWorker = @"KUBERNETES_WORKER"; +NSString * const kGTLRCloudComposer_ComposerWorkload_Type_Redis = @"REDIS"; +NSString * const kGTLRCloudComposer_ComposerWorkload_Type_Scheduler = @"SCHEDULER"; +NSString * const kGTLRCloudComposer_ComposerWorkload_Type_Triggerer = @"TRIGGERER"; +NSString * const kGTLRCloudComposer_ComposerWorkload_Type_WebServer = @"WEB_SERVER"; + +// GTLRCloudComposer_ComposerWorkloadStatus.state +NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_ComposerWorkloadStateUnspecified = @"COMPOSER_WORKLOAD_STATE_UNSPECIFIED"; +NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_Error = @"ERROR"; +NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_Failed = @"FAILED"; +NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_Ok = @"OK"; +NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_Pending = @"PENDING"; +NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_Succeeded = @"SUCCEEDED"; +NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_Warning = @"WARNING"; + // GTLRCloudComposer_Environment.state NSString * const kGTLRCloudComposer_Environment_State_Creating = @"CREATING"; NSString * const kGTLRCloudComposer_Environment_State_Deleting = @"DELETING"; @@ -59,6 +79,11 @@ NSString * const kGTLRCloudComposer_OperationMetadata_State_Succeeded = @"SUCCEEDED"; NSString * const kGTLRCloudComposer_OperationMetadata_State_Successful = @"SUCCESSFUL"; +// GTLRCloudComposer_SoftwareConfig.webServerPluginsMode +NSString * const kGTLRCloudComposer_SoftwareConfig_WebServerPluginsMode_PluginsDisabled = @"PLUGINS_DISABLED"; +NSString * const kGTLRCloudComposer_SoftwareConfig_WebServerPluginsMode_PluginsEnabled = @"PLUGINS_ENABLED"; +NSString * const kGTLRCloudComposer_SoftwareConfig_WebServerPluginsMode_WebServerPluginsModeUnspecified = @"WEB_SERVER_PLUGINS_MODE_UNSPECIFIED"; + // GTLRCloudComposer_TaskLogsRetentionConfig.storageMode NSString * const kGTLRCloudComposer_TaskLogsRetentionConfig_StorageMode_CloudLoggingAndCloudStorage = @"CLOUD_LOGGING_AND_CLOUD_STORAGE"; NSString * const kGTLRCloudComposer_TaskLogsRetentionConfig_StorageMode_CloudLoggingOnly = @"CLOUD_LOGGING_ONLY"; @@ -124,6 +149,36 @@ @implementation GTLRCloudComposer_CloudDataLineageIntegration @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudComposer_ComposerWorkload +// + +@implementation GTLRCloudComposer_ComposerWorkload +@dynamic name, status, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudComposer_ComposerWorkloadStatus +// + +@implementation GTLRCloudComposer_ComposerWorkloadStatus +@dynamic detailedStatusMessage, state, statusMessage; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudComposer_DagProcessorResource +// + +@implementation GTLRCloudComposer_DagProcessorResource +@dynamic count, cpu, memoryGb, storageGb; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudComposer_DatabaseConfig @@ -390,6 +445,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudComposer_ListWorkloadsResponse +// + +@implementation GTLRCloudComposer_ListWorkloadsResponse +@dynamic nextPageToken, workloads; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"workloads" : [GTLRCloudComposer_ComposerWorkload class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"workloads"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudComposer_LoadSnapshotRequest @@ -454,8 +531,9 @@ @implementation GTLRCloudComposer_NetworkingConfig // @implementation GTLRCloudComposer_NodeConfig -@dynamic diskSizeGb, enableIpMasqAgent, ipAllocationPolicy, location, - machineType, network, oauthScopes, serviceAccount, subnetwork, tags; +@dynamic composerInternalIpv4CidrBlock, composerNetworkAttachment, diskSizeGb, + enableIpMasqAgent, ipAllocationPolicy, location, machineType, network, + oauthScopes, serviceAccount, subnetwork, tags; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -562,9 +640,9 @@ @implementation GTLRCloudComposer_PrivateClusterConfig @implementation GTLRCloudComposer_PrivateEnvironmentConfig @dynamic cloudComposerConnectionSubnetwork, cloudComposerNetworkIpv4CidrBlock, cloudComposerNetworkIpv4ReservedRange, cloudSqlIpv4CidrBlock, - enablePrivateEnvironment, enablePrivatelyUsedPublicIps, - networkingConfig, privateClusterConfig, webServerIpv4CidrBlock, - webServerIpv4ReservedRange; + enablePrivateBuildsOnly, enablePrivateEnvironment, + enablePrivatelyUsedPublicIps, networkingConfig, privateClusterConfig, + webServerIpv4CidrBlock, webServerIpv4ReservedRange; @end @@ -625,7 +703,8 @@ @implementation GTLRCloudComposer_SchedulerResource @implementation GTLRCloudComposer_SoftwareConfig @dynamic airflowConfigOverrides, cloudDataLineageIntegration, envVariables, - imageVersion, pypiPackages, pythonVersion, schedulerCount; + imageVersion, pypiPackages, pythonVersion, schedulerCount, + webServerPluginsMode; @end @@ -815,5 +894,5 @@ @implementation GTLRCloudComposer_WorkerResource // @implementation GTLRCloudComposer_WorkloadsConfig -@dynamic scheduler, triggerer, webServer, worker; +@dynamic dagProcessor, scheduler, triggerer, webServer, worker; @end diff --git a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerQuery.m b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerQuery.m index c52e0ffa7..8f29a6894 100644 --- a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerQuery.m +++ b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerQuery.m @@ -308,6 +308,25 @@ + (instancetype)queryWithObject:(GTLRCloudComposer_StopAirflowCommandRequest *)o @end +@implementation GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsWorkloadsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/workloads"; + GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsWorkloadsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudComposer_ListWorkloadsResponse class]; + query.loggingName = @"composer.projects.locations.environments.workloads.list"; + return query; +} + +@end + @implementation GTLRCloudComposerQuery_ProjectsLocationsImageVersionsList @dynamic includePastReleases, pageSize, pageToken, parent; diff --git a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h index 5de055355..7c7a4e58a 100644 --- a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h +++ b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h @@ -18,6 +18,9 @@ @class GTLRCloudComposer_CheckUpgradeResponse_PypiDependencies; @class GTLRCloudComposer_CidrBlock; @class GTLRCloudComposer_CloudDataLineageIntegration; +@class GTLRCloudComposer_ComposerWorkload; +@class GTLRCloudComposer_ComposerWorkloadStatus; +@class GTLRCloudComposer_DagProcessorResource; @class GTLRCloudComposer_DatabaseConfig; @class GTLRCloudComposer_DataRetentionConfig; @class GTLRCloudComposer_Date; @@ -88,6 +91,110 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_CheckUpgradeResponse_Conta */ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_CheckUpgradeResponse_ContainsPypiModulesConflict_NoConflict; +// ---------------------------------------------------------------------------- +// GTLRCloudComposer_ComposerWorkload.type + +/** + * Celery worker. + * + * Value: "CELERY_WORKER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkload_Type_CeleryWorker; +/** + * Not able to determine the type of the workload. + * + * Value: "COMPOSER_WORKLOAD_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkload_Type_ComposerWorkloadTypeUnspecified; +/** + * Airflow Dag processor. + * + * Value: "DAG_PROCESSOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkload_Type_DagProcessor; +/** + * Workload created by Kubernetes Pod Operator. + * + * Value: "KUBERNETES_OPERATOR_POD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkload_Type_KubernetesOperatorPod; +/** + * Kubernetes worker. + * + * Value: "KUBERNETES_WORKER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkload_Type_KubernetesWorker; +/** + * Redis. + * + * Value: "REDIS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkload_Type_Redis; +/** + * Airflow scheduler. + * + * Value: "SCHEDULER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkload_Type_Scheduler; +/** + * Airflow triggerer. + * + * Value: "TRIGGERER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkload_Type_Triggerer; +/** + * Airflow web server UI. + * + * Value: "WEB_SERVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkload_Type_WebServer; + +// ---------------------------------------------------------------------------- +// GTLRCloudComposer_ComposerWorkloadStatus.state + +/** + * Not able to determine the status of the workload. + * + * Value: "COMPOSER_WORKLOAD_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_ComposerWorkloadStateUnspecified; +/** + * Workload is not running due to an error. + * + * Value: "ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_Error; +/** + * Workload has finished execution with failure. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_Failed; +/** + * Workload is running fine. + * + * Value: "OK" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_Ok; +/** + * Workload is in pending state and has not yet started. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_Pending; +/** + * Workload has finished execution with success. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_Succeeded; +/** + * Workload is running but there are some non-critical problems. + * + * Value: "WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_ComposerWorkloadStatus_State_Warning; + // ---------------------------------------------------------------------------- // GTLRCloudComposer_Environment.state @@ -287,6 +394,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_State_Su /** Value: "SUCCESSFUL" */ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_State_Successful; +// ---------------------------------------------------------------------------- +// GTLRCloudComposer_SoftwareConfig.webServerPluginsMode + +/** + * Web server plugins are not supported. + * + * Value: "PLUGINS_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_SoftwareConfig_WebServerPluginsMode_PluginsDisabled; +/** + * Web server plugins are supported. + * + * Value: "PLUGINS_ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_SoftwareConfig_WebServerPluginsMode_PluginsEnabled; +/** + * Default mode. + * + * Value: "WEB_SERVER_PLUGINS_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_SoftwareConfig_WebServerPluginsMode_WebServerPluginsModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudComposer_TaskLogsRetentionConfig.storageMode @@ -418,6 +547,123 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_TaskLogsRetentionConfig_St @end +/** + * Information about a single workload. + */ +@interface GTLRCloudComposer_ComposerWorkload : GTLRObject + +/** Name of a workload. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Status of a workload. */ +@property(nonatomic, strong, nullable) GTLRCloudComposer_ComposerWorkloadStatus *status; + +/** + * Type of a workload. + * + * Likely values: + * @arg @c kGTLRCloudComposer_ComposerWorkload_Type_CeleryWorker Celery + * worker. (Value: "CELERY_WORKER") + * @arg @c kGTLRCloudComposer_ComposerWorkload_Type_ComposerWorkloadTypeUnspecified + * Not able to determine the type of the workload. (Value: + * "COMPOSER_WORKLOAD_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudComposer_ComposerWorkload_Type_DagProcessor Airflow Dag + * processor. (Value: "DAG_PROCESSOR") + * @arg @c kGTLRCloudComposer_ComposerWorkload_Type_KubernetesOperatorPod + * Workload created by Kubernetes Pod Operator. (Value: + * "KUBERNETES_OPERATOR_POD") + * @arg @c kGTLRCloudComposer_ComposerWorkload_Type_KubernetesWorker + * Kubernetes worker. (Value: "KUBERNETES_WORKER") + * @arg @c kGTLRCloudComposer_ComposerWorkload_Type_Redis Redis. (Value: + * "REDIS") + * @arg @c kGTLRCloudComposer_ComposerWorkload_Type_Scheduler Airflow + * scheduler. (Value: "SCHEDULER") + * @arg @c kGTLRCloudComposer_ComposerWorkload_Type_Triggerer Airflow + * triggerer. (Value: "TRIGGERER") + * @arg @c kGTLRCloudComposer_ComposerWorkload_Type_WebServer Airflow web + * server UI. (Value: "WEB_SERVER") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * Workload status. + */ +@interface GTLRCloudComposer_ComposerWorkloadStatus : GTLRObject + +/** Output only. Detailed message of the status. */ +@property(nonatomic, copy, nullable) NSString *detailedStatusMessage; + +/** + * Output only. Workload state. + * + * Likely values: + * @arg @c kGTLRCloudComposer_ComposerWorkloadStatus_State_ComposerWorkloadStateUnspecified + * Not able to determine the status of the workload. (Value: + * "COMPOSER_WORKLOAD_STATE_UNSPECIFIED") + * @arg @c kGTLRCloudComposer_ComposerWorkloadStatus_State_Error Workload is + * not running due to an error. (Value: "ERROR") + * @arg @c kGTLRCloudComposer_ComposerWorkloadStatus_State_Failed Workload + * has finished execution with failure. (Value: "FAILED") + * @arg @c kGTLRCloudComposer_ComposerWorkloadStatus_State_Ok Workload is + * running fine. (Value: "OK") + * @arg @c kGTLRCloudComposer_ComposerWorkloadStatus_State_Pending Workload + * is in pending state and has not yet started. (Value: "PENDING") + * @arg @c kGTLRCloudComposer_ComposerWorkloadStatus_State_Succeeded Workload + * has finished execution with success. (Value: "SUCCEEDED") + * @arg @c kGTLRCloudComposer_ComposerWorkloadStatus_State_Warning Workload + * is running but there are some non-critical problems. (Value: + * "WARNING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. Text to provide more descriptive status. */ +@property(nonatomic, copy, nullable) NSString *statusMessage; + +@end + + +/** + * Configuration for resources used by Airflow DAG processors. + */ +@interface GTLRCloudComposer_DagProcessorResource : GTLRObject + +/** + * Optional. The number of DAG processors. If not provided or set to 0, a + * single DAG processor instance will be created. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *count; + +/** + * Optional. CPU request and limit for a single Airflow DAG processor replica. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpu; + +/** + * Optional. Memory (GB) request and limit for a single Airflow DAG processor + * replica. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *memoryGb; + +/** + * Optional. Storage (GB) request and limit for a single Airflow DAG processor + * replica. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *storageGb; + +@end + + /** * The configuration of Cloud SQL instance that is used by the Apache Airflow * software. @@ -1066,6 +1312,30 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_TaskLogsRetentionConfig_St @end +/** + * Response to ListWorkloadsRequest. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "workloads" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRCloudComposer_ListWorkloadsResponse : GTLRCollectionObject + +/** The page token used to query for the next page if one exists. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of environment workloads. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *workloads; + +@end + + /** * Request to load a snapshot into a Cloud Composer environment. */ @@ -1207,6 +1477,31 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_TaskLogsRetentionConfig_St */ @interface GTLRCloudComposer_NodeConfig : GTLRObject +/** + * Optional. The IP range in CIDR notation to use internally by Cloud Composer. + * IP addresses are not reserved - and the same range can be used by multiple + * Cloud Composer environments. In case of overlap, IPs from this range will + * not be accessible in the user's VPC network. Cannot be updated. If not + * specified, the default value of '100.64.128.0/20' is used. This field is + * supported for Cloud Composer environments in versions + * composer-3.*.*-airflow-*.*.* and newer. + */ +@property(nonatomic, copy, nullable) NSString *composerInternalIpv4CidrBlock; + +/** + * Optional. Network Attachment that Cloud Composer environment is connected + * to, which provides connectivity with a user's VPC network. Takes precedence + * over network and subnetwork settings. If not provided, but network and + * subnetwork are defined during environment, it will be provisioned. If not + * provided and network and subnetwork are also empty, then connectivity to + * user's VPC network is disabled. Network attachment must be provided in + * format + * projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. + * This field is supported for Cloud Composer environments in versions + * composer-3.*.*-airflow-*.*.* and newer. + */ +@property(nonatomic, copy, nullable) NSString *composerNetworkAttachment; + /** * Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If * unspecified, defaults to 100GB. Cannot be updated. This field is supported @@ -1586,6 +1881,19 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_TaskLogsRetentionConfig_St */ @property(nonatomic, copy, nullable) NSString *cloudSqlIpv4CidrBlock; +/** + * Optional. If `true`, builds performed during operations that install Python + * packages have only private connectivity to Google services (including + * Artifact Registry) and VPC network (if either `NodeConfig.network` and + * `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` + * field are specified). If `false`, the builds also have access to the + * internet. This field is supported for Cloud Composer environments in + * versions composer-3.*.*-airflow-*.*.* and newer. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enablePrivateBuildsOnly; + /** * Optional. If `true`, a Private IP Cloud Composer environment is created. If * this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set @@ -1835,6 +2143,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_TaskLogsRetentionConfig_St */ @property(nonatomic, strong, nullable) NSNumber *schedulerCount; +/** + * Optional. Whether or not the web server uses custom plugins. If unspecified, + * the field defaults to `PLUGINS_ENABLED`. This field is supported for Cloud + * Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. + * + * Likely values: + * @arg @c kGTLRCloudComposer_SoftwareConfig_WebServerPluginsMode_PluginsDisabled + * Web server plugins are not supported. (Value: "PLUGINS_DISABLED") + * @arg @c kGTLRCloudComposer_SoftwareConfig_WebServerPluginsMode_PluginsEnabled + * Web server plugins are supported. (Value: "PLUGINS_ENABLED") + * @arg @c kGTLRCloudComposer_SoftwareConfig_WebServerPluginsMode_WebServerPluginsModeUnspecified + * Default mode. (Value: "WEB_SERVER_PLUGINS_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *webServerPluginsMode; + @end @@ -2163,6 +2486,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_TaskLogsRetentionConfig_St */ @interface GTLRCloudComposer_WorkloadsConfig : GTLRObject +/** + * Optional. Resources used by Airflow DAG processors. This field is supported + * for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and + * newer. + */ +@property(nonatomic, strong, nullable) GTLRCloudComposer_DagProcessorResource *dagProcessor; + /** Optional. Resources used by Airflow schedulers. */ @property(nonatomic, strong, nullable) GTLRCloudComposer_SchedulerResource *scheduler; diff --git a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h index 9b8d88b8b..8660702ec 100644 --- a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h +++ b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h @@ -518,6 +518,63 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Lists workloads in a Cloud Composer environment. Workload is a unit that + * runs a single Composer component. This method is supported for Cloud + * Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. + * + * Method: composer.projects.locations.environments.workloads.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudComposerCloudPlatform + */ +@interface GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsWorkloadsList : GTLRCloudComposerQuery + +/** + * Optional. The list filter. Currently only supports equality on the type + * field. The value of a field specified in the filter expression must be one + * ComposerWorkloadType enum option. It's possible to get multiple types using + * "OR" operator, e.g.: "type=SCHEDULER OR type=CELERY_WORKER". If not + * specified, all items are returned. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. The maximum number of environments to return. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The next_page_token value returned from a previous List request, + * if any. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The environment name to get workloads for, in the form: + * "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRCloudComposer_ListWorkloadsResponse. + * + * Lists workloads in a Cloud Composer environment. Workload is a unit that + * runs a single Composer component. This method is supported for Cloud + * Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. + * + * @param parent Required. The environment name to get workloads for, in the + * form: + * "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + * + * @return GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsWorkloadsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * List ImageVersions for provided location. * diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h index b41ea420f..c53a71b8f 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h @@ -7815,7 +7815,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ /** * Role that is assigned to the list of members, or principals. For example, - * roles/viewer, roles/editor, or roles/owner. + * roles/viewer, roles/editor, or roles/owner.For an overview of the IAM roles + * and permissions, see the IAM documentation + * (https://cloud.google.com/iam/docs/roles-overview). For a list of the + * available pre-defined roles, see here + * (https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployQuery.m b/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployQuery.m index dcd5e1d6e..e63a94683 100644 --- a/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployQuery.m +++ b/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployQuery.m @@ -83,6 +83,29 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRCloudDeploy_Policy class]; + query.loggingName = @"clouddeploy.projects.locations.customTargetTypes.getIamPolicy"; + return query; +} + +@end + @implementation GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesList @dynamic filter, orderBy, pageSize, pageToken, parent; @@ -129,6 +152,33 @@ + (instancetype)queryWithObject:(GTLRCloudDeploy_CustomTargetType *)object @end +@implementation GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRCloudDeploy_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"; + GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRCloudDeploy_Policy class]; + query.loggingName = @"clouddeploy.projects.locations.customTargetTypes.setIamPolicy"; + return query; +} + +@end + @implementation GTLRCloudDeployQuery_ProjectsLocationsDeliveryPipelinesAutomationRunsCancel @dynamic name; diff --git a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h index 0e225e69c..bee825a14 100644 --- a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h +++ b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h @@ -182,6 +182,55 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * Method: clouddeploy.projects.locations.customTargetTypes.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesGetIamPolicy : GTLRCloudDeployQuery + +/** + * 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 GTLRCloudDeploy_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 GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + /** * Lists CustomTargetTypes in a given project and location. * @@ -314,6 +363,46 @@ NS_ASSUME_NONNULL_BEGIN @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: clouddeploy.projects.locations.customTargetTypes.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDeployCloudPlatform + */ +@interface GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesSetIamPolicy : GTLRCloudDeployQuery + +/** + * 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 GTLRCloudDeploy_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 GTLRCloudDeploy_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 GTLRCloudDeployQuery_ProjectsLocationsCustomTargetTypesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRCloudDeploy_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + /** * Cancels an AutomationRun. The `state` of the `AutomationRun` after * cancelling is `CANCELLED`. `CancelAutomationRun` can be called on diff --git a/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h b/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h index 063284c15..6090975d5 100644 --- a/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h +++ b/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h @@ -1060,7 +1060,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDomains_TransferParameters_Transfer /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h index 0a1aab627..d3b854d63 100644 --- a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h +++ b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h @@ -1097,7 +1097,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_ServiceConfig_VpcConnecto /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m index 7728b495a..a4c7d1a3d 100644 --- a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m +++ b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m @@ -125,6 +125,13 @@ NSString * const kGTLRCloudHealthcare_ParserConfig_Version_V2 = @"V2"; NSString * const kGTLRCloudHealthcare_ParserConfig_Version_V3 = @"V3"; +// GTLRCloudHealthcare_RollbackFhirResourcesRequest.changeType +NSString * const kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_All = @"ALL"; +NSString * const kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_ChangeTypeUnspecified = @"CHANGE_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_Create = @"CREATE"; +NSString * const kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_Delete = @"DELETE"; +NSString * const kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_Update = @"UPDATE"; + // GTLRCloudHealthcare_SchemaConfig.schemaType NSString * const kGTLRCloudHealthcare_SchemaConfig_SchemaType_Analytics = @"ANALYTICS"; NSString * const kGTLRCloudHealthcare_SchemaConfig_SchemaType_AnalyticsV2 = @"ANALYTICS_V2"; @@ -2070,6 +2077,53 @@ @implementation GTLRCloudHealthcare_RevokeConsentRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_RollbackFhirResourceFilteringFields +// + +@implementation GTLRCloudHealthcare_RollbackFhirResourceFilteringFields +@dynamic metadataFilter, operationIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operationIds" : [NSNumber class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_RollbackFhirResourcesRequest +// + +@implementation GTLRCloudHealthcare_RollbackFhirResourcesRequest +@dynamic changeType, excludeRollbacks, filteringFields, force, inputGcsObject, + resultGcsBucket, rollbackTime, type; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"type" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_RollbackFhirResourcesResponse +// + +@implementation GTLRCloudHealthcare_RollbackFhirResourcesResponse +@dynamic fhirStore; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudHealthcare_SchemaConfig diff --git a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m index 37708c2c6..89a33e887 100644 --- a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m +++ b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m @@ -2411,6 +2411,33 @@ + (instancetype)queryWithObject:(GTLRCloudHealthcare_FhirStore *)object @end +@implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresRollback + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudHealthcare_RollbackFhirResourcesRequest *)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}:rollback"; + GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresRollback *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudHealthcare_Operation class]; + query.loggingName = @"healthcare.projects.locations.datasets.fhirStores.rollback"; + return query; +} + +@end + @implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresSetIamPolicy @dynamic resource; diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h index 6f301817c..3708ccf9d 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h @@ -101,6 +101,7 @@ @class GTLRCloudHealthcare_Resources; @class GTLRCloudHealthcare_Result; @class GTLRCloudHealthcare_Result_ConsentDetails; +@class GTLRCloudHealthcare_RollbackFhirResourceFilteringFields; @class GTLRCloudHealthcare_SchemaConfig; @class GTLRCloudHealthcare_SchemaGroup; @class GTLRCloudHealthcare_SchemaPackage; @@ -693,6 +694,40 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ParserConfig_Version_V2; */ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ParserConfig_Version_V3; +// ---------------------------------------------------------------------------- +// GTLRCloudHealthcare_RollbackFhirResourcesRequest.changeType + +/** + * All transactions + * + * Value: "ALL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_All; +/** + * When unspecified, revert all transactions + * + * Value: "CHANGE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_ChangeTypeUnspecified; +/** + * Revert only CREATE transactions + * + * Value: "CREATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_Create; +/** + * Revert only Delete transactions + * + * Value: "DELETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_Delete; +/** + * Revert only Update transactions + * + * Value: "UPDATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_Update; + // ---------------------------------------------------------------------------- // GTLRCloudHealthcare_SchemaConfig.schemaType @@ -1020,7 +1055,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * Resource name of the Attribute definition, of the form + * Identifier. Resource name of the Attribute definition, of the form * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. * Cannot be changed after creation. */ @@ -1420,7 +1455,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, strong, nullable) GTLRCloudHealthcare_ConsentArtifact_Metadata *metadata; /** - * Resource name of the Consent artifact, of the form + * Identifier. Resource name of the Consent artifact, of the form * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. * Cannot be changed after creation. */ @@ -1723,10 +1758,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, strong, nullable) GTLRCloudHealthcare_DeidentifyConfig *config; /** - * The name of the dataset resource to create and write the redacted data to. * - * The destination dataset must not exist. * The destination dataset must be in - * the same location as the source dataset. De-identifying data across multiple - * locations is not supported. + * Required. The name of the dataset resource to create and write the redacted + * data to. * The destination dataset must not exist. * The destination dataset + * must be in the same location as the source dataset. De-identifying data + * across multiple locations is not supported. */ @property(nonatomic, copy, nullable) NSString *destinationDataset; @@ -1755,8 +1790,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, strong, nullable) GTLRCloudHealthcare_DeidentifyConfig *config; /** - * The name of the DICOM store to create and write the redacted data to. For - * example, + * Required. The name of the DICOM store to create and write the redacted data + * to. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * * The destination dataset must exist. * The source dataset and destination * dataset must both reside in the same location. De-identifying data across @@ -1794,8 +1829,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, strong, nullable) GTLRCloudHealthcare_DeidentifyConfig *config; /** - * The name of the FHIR store to create and write the redacted data to. For - * example, + * Required. The name of the FHIR store to create and write the redacted data + * to. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. * * The destination dataset must exist. * The source dataset and destination * dataset must both reside in the same location. De-identifying data across @@ -1929,7 +1964,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, strong, nullable) GTLRCloudHealthcare_DicomStore_Labels *labels; /** - * Resource name of the DICOM store, of the form + * Identifier. Resource name of the DICOM store, of the form * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2680,7 +2715,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, strong, nullable) GTLRCloudHealthcare_FhirStore_Labels *labels; /** - * Output only. Resource name of the FHIR store, of the form + * Output only. Identifier. Resource name of the FHIR store, of the form * `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2722,10 +2757,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @property(nonatomic, strong, nullable) GTLRCloudHealthcare_ValidationConfig *validationConfig; /** - * Immutable. The FHIR specification version that this FHIR store supports - * natively. This field is immutable after store creation. Requests are - * rejected if they contain FHIR resources of a different version. Version is - * required for every FHIR store. + * Required. Immutable. The FHIR specification version that this FHIR store + * supports natively. This field is immutable after store creation. Requests + * are rejected if they contain FHIR resources of a different version. Version + * is required for every FHIR store. * * Likely values: * @arg @c kGTLRCloudHealthcare_FhirStore_Version_Dstu2 Draft Standard for @@ -4864,6 +4899,105 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @end +/** + * GTLRCloudHealthcare_RollbackFhirResourceFilteringFields + */ +@interface GTLRCloudHealthcare_RollbackFhirResourceFilteringFields : GTLRObject + +/** + * Optional. A filter expression that matches data in the `Resource.meta` + * element. Supports all filters in [AIP-160](https://google.aip.dev/160) + * except the "has" (`:`) operator. Supports the following custom functions: * + * `tag("") = ""` for tag filtering. * `extension_value_ts("") = ` for + * filtering extensions with a timestamp, where `` is a Unix timestamp. + * Supports the `>`, `<`, `<=`, `>=`, and `!=` comparison operators. + */ +@property(nonatomic, copy, nullable) NSString *metadataFilter; + +/** + * Optional. A list of operation IDs to roll back. + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *operationIds; + +@end + + +/** + * GTLRCloudHealthcare_RollbackFhirResourcesRequest + */ +@interface GTLRCloudHealthcare_RollbackFhirResourcesRequest : GTLRObject + +/** + * Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type. + * + * Likely values: + * @arg @c kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_All + * All transactions (Value: "ALL") + * @arg @c kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_ChangeTypeUnspecified + * When unspecified, revert all transactions (Value: + * "CHANGE_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_Create + * Revert only CREATE transactions (Value: "CREATE") + * @arg @c kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_Delete + * Revert only Delete transactions (Value: "DELETE") + * @arg @c kGTLRCloudHealthcare_RollbackFhirResourcesRequest_ChangeType_Update + * Revert only Update transactions (Value: "UPDATE") + */ +@property(nonatomic, copy, nullable) NSString *changeType; + +/** + * Optional. Specifies whether to exclude earlier rollbacks. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *excludeRollbacks; + +/** Optional. Parameters for filtering resources */ +@property(nonatomic, strong, nullable) GTLRCloudHealthcare_RollbackFhirResourceFilteringFields *filteringFields; + +/** + * Optional. When enabled, changes will be reverted without explicit + * confirmation + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *force; + +/** + * Optional. GCS object containing list of {resourceType}/{resourceId} lines, + * identifying resources to be reverted + */ +@property(nonatomic, copy, nullable) NSString *inputGcsObject; + +/** Required. Bucket to deposit result */ +@property(nonatomic, copy, nullable) NSString *resultGcsBucket; + +/** Required. Time point to rollback to. */ +@property(nonatomic, strong, nullable) GTLRDateTime *rollbackTime; + +/** Optional. If specified, revert only resources of these types */ +@property(nonatomic, strong, nullable) NSArray *type; + +@end + + +/** + * Final response of rollback FIHR resources request. + */ +@interface GTLRCloudHealthcare_RollbackFhirResourcesResponse : GTLRObject + +/** + * The name of the FHIR store to rollback, in the format of + * "projects/{project_id}/locations/{location_id}/datasets/{dataset_id} + * /fhirStores/{fhir_store_id}". + */ +@property(nonatomic, copy, nullable) NSString *fhirStore; + +@end + + /** * Configuration for the FHIR BigQuery schema. Determines how the server * generates the schema. @@ -5070,8 +5204,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @interface GTLRCloudHealthcare_SearchResourcesRequest : GTLRObject /** - * The FHIR resource type to search, such as Patient or Observation. For a - * complete list, see the FHIR Resource Index + * Required. The FHIR resource type to search, such as Patient or Observation. + * For a complete list, see the FHIR Resource Index * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), * [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h index 0f6240513..3a5598e2f 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h @@ -255,7 +255,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatch : GTLRCloudHealthcareQuery /** - * Resource name of the Attribute definition, of the form + * Identifier. Resource name of the Attribute definition, of the form * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. * Cannot be changed after creation. */ @@ -280,7 +280,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * @param object The @c GTLRCloudHealthcare_AttributeDefinition to include in * the query. - * @param name Resource name of the Attribute definition, of the form + * @param name Identifier. Resource name of the Attribute definition, of the + * form * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. * Cannot be changed after creation. * @@ -1732,7 +1733,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDeidentify : GTLRCloudHealthcareQuery /** - * Source dataset resource name. For example, + * Required. Source dataset resource name. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`. */ @property(nonatomic, copy, nullable) NSString *sourceDataset; @@ -1752,7 +1753,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * @param object The @c GTLRCloudHealthcare_DeidentifyDatasetRequest to include * in the query. - * @param sourceDataset Source dataset resource name. For example, + * @param sourceDataset Required. Source dataset resource name. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDeidentify @@ -1809,12 +1810,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresCreate : GTLRCloudHealthcareQuery /** - * The ID of the DICOM store that is being created. Any string value up to 256 - * characters in length. + * Required. The ID of the DICOM store that is being created. Any string value + * up to 256 characters in length. */ @property(nonatomic, copy, nullable) NSString *dicomStoreId; -/** The name of the dataset this DICOM store belongs to. */ +/** Required. The name of the dataset this DICOM store belongs to. */ @property(nonatomic, copy, nullable) NSString *parent; /** @@ -1823,7 +1824,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Creates a new DICOM store within the parent dataset. * * @param object The @c GTLRCloudHealthcare_DicomStore to include in the query. - * @param parent The name of the dataset this DICOM store belongs to. + * @param parent Required. The name of the dataset this DICOM store belongs to. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresCreate */ @@ -1852,7 +1853,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresDeidentify : GTLRCloudHealthcareQuery /** - * Source DICOM store resource name. For example, + * Required. Source DICOM store resource name. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *sourceStore; @@ -1872,7 +1873,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * @param object The @c GTLRCloudHealthcare_DeidentifyDicomStoreRequest to * include in the query. - * @param sourceStore Source DICOM store resource name. For example, + * @param sourceStore Required. Source DICOM store resource name. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresDeidentify @@ -1894,7 +1895,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresDelete : GTLRCloudHealthcareQuery -/** The resource name of the DICOM store to delete. */ +/** Required. The resource name of the DICOM store to delete. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -1903,7 +1904,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Deletes the specified DICOM store and removes all images that are contained * within it. * - * @param name The resource name of the DICOM store to delete. + * @param name Required. The resource name of the DICOM store to delete. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresDelete */ @@ -1923,7 +1924,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresDicomWebStudiesGetStudyMetrics : GTLRCloudHealthcareQuery /** - * The study resource path. For example, + * Required. The study resource path. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`. */ @property(nonatomic, copy, nullable) NSString *study; @@ -1933,7 +1934,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * GetStudyMetrics returns metrics for a study. * - * @param study The study resource path. For example, + * @param study Required. The study resource path. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresDicomWebStudiesGetStudyMetrics @@ -1954,7 +1955,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesGetSeriesMetrics : GTLRCloudHealthcareQuery /** - * The series resource path. For example, + * Required. The series resource path. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`. */ @property(nonatomic, copy, nullable) NSString *series; @@ -1964,7 +1965,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * GetSeriesMetrics returns metrics for a series. * - * @param series The series resource path. For example, + * @param series Required. The series resource path. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesGetSeriesMetrics @@ -1989,7 +1990,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresExport : GTLRCloudHealthcareQuery /** - * The DICOM store resource name from which to export the data. For example, + * Required. The DICOM store resource name from which to export the data. For + * example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2005,8 +2007,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * @param object The @c GTLRCloudHealthcare_ExportDicomDataRequest to include * in the query. - * @param name The DICOM store resource name from which to export the data. For - * example, + * @param name Required. The DICOM store resource name from which to export the + * data. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresExport @@ -2027,7 +2029,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresGet : GTLRCloudHealthcareQuery -/** The resource name of the DICOM store to get. */ +/** Required. The resource name of the DICOM store to get. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -2035,7 +2037,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Gets the specified DICOM store. * - * @param name The resource name of the DICOM store to get. + * @param name Required. The resource name of the DICOM store to get. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresGet */ @@ -2054,7 +2056,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresGetDICOMStoreMetrics : GTLRCloudHealthcareQuery -/** The resource name of the DICOM store to get metrics for. */ +/** Required. The resource name of the DICOM store to get metrics for. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -2062,7 +2064,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Gets metrics associated with the DICOM store. * - * @param name The resource name of the DICOM store to get metrics for. + * @param name Required. The resource name of the DICOM store to get metrics + * for. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresGetDICOMStoreMetrics */ @@ -2136,8 +2139,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresImport : GTLRCloudHealthcareQuery /** - * The name of the DICOM store resource into which the data is imported. For - * example, + * Required. The name of the DICOM store resource into which the data is + * imported. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2153,8 +2156,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * @param object The @c GTLRCloudHealthcare_ImportDicomDataRequest to include * in the query. - * @param name The name of the DICOM store resource into which the data is - * imported. For example, + * @param name Required. The name of the DICOM store resource into which the + * data is imported. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresImport @@ -2212,7 +2215,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Name of the dataset. */ +/** Required. Name of the dataset. */ @property(nonatomic, copy, nullable) NSString *parent; /** @@ -2220,7 +2223,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Lists the DICOM stores in the given dataset. * - * @param parent Name of the dataset. + * @param parent Required. Name of the dataset. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresList * @@ -2244,13 +2247,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresPatch : GTLRCloudHealthcareQuery /** - * Resource name of the DICOM store, of the form + * Identifier. Resource name of the DICOM store, of the form * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *name; /** - * The update mask applies to the resource. For the `FieldMask` definition, see + * Required. The update mask applies to the resource. For the `FieldMask` + * definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask * * String format is a comma-separated list of fields. @@ -2263,7 +2267,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Updates the specified DICOM store. * * @param object The @c GTLRCloudHealthcare_DicomStore to include in the query. - * @param name Resource name of the DICOM store, of the form + * @param name Identifier. Resource name of the DICOM store, of the form * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresPatch @@ -2292,14 +2296,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresSearchForInstances : GTLRCloudHealthcareQuery /** - * The path of the SearchForInstancesRequest DICOMweb request. For example, - * `instances`, `series/{series_uid}/instances`, or + * Required. The path of the SearchForInstancesRequest DICOMweb request. For + * example, `instances`, `series/{series_uid}/instances`, or * `studies/{study_uid}/instances`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2316,12 +2320,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call SearchForInstances, see [Search for DICOM * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the SearchForInstancesRequest DICOMweb - * request. For example, `instances`, `series/{series_uid}/instances`, or - * `studies/{study_uid}/instances`. + * @param dicomWebPath Required. The path of the SearchForInstancesRequest + * DICOMweb request. For example, `instances`, + * `series/{series_uid}/instances`, or `studies/{study_uid}/instances`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresSearchForInstances */ @@ -2348,13 +2352,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresSearchForSeries : GTLRCloudHealthcareQuery /** - * The path of the SearchForSeries DICOMweb request. For example, `series` or - * `studies/{study_uid}/series`. + * Required. The path of the SearchForSeries DICOMweb request. For example, + * `series` or `studies/{study_uid}/series`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2370,11 +2374,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call SearchForSeries, see [Search for DICOM * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the SearchForSeries DICOMweb request. For - * example, `series` or `studies/{study_uid}/series`. + * @param dicomWebPath Required. The path of the SearchForSeries DICOMweb + * request. For example, `series` or `studies/{study_uid}/series`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresSearchForSeries */ @@ -2402,12 +2406,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresSearchForStudies : GTLRCloudHealthcareQuery /** - * The path of the SearchForStudies DICOMweb request. For example, `studies`. + * Required. The path of the SearchForStudies DICOMweb request. For example, + * `studies`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2424,11 +2429,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call SearchForStudies, see [Search for DICOM * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the SearchForStudies DICOMweb request. For - * example, `studies`. + * @param dicomWebPath Required. The path of the SearchForStudies DICOMweb + * request. For example, `studies`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresSearchForStudies */ @@ -2497,13 +2502,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStoreInstances : GTLRCloudHealthcareQuery /** - * The path of the StoreInstances DICOMweb request. For example, + * Required. The path of the StoreInstances DICOMweb request. For example, * `studies/[{study_uid}]`. Note that the `study_uid` is optional. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2521,11 +2526,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#store-dicom). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the StoreInstances DICOMweb request. For - * example, `studies/[{study_uid}]`. Note that the `study_uid` is optional. + * @param dicomWebPath Required. The path of the StoreInstances DICOMweb + * request. For example, `studies/[{study_uid}]`. Note that the `study_uid` + * is optional. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStoreInstances */ @@ -2553,7 +2559,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesDelete : GTLRCloudHealthcareQuery /** - * The path of the DeleteStudy request. For example, `studies/{study_uid}`. + * Required. The path of the DeleteStudy request. For example, + * `studies/{study_uid}`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; @@ -2571,8 +2578,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom). * * @param parent NSString - * @param dicomWebPath The path of the DeleteStudy request. For example, - * `studies/{study_uid}`. + * @param dicomWebPath Required. The path of the DeleteStudy request. For + * example, `studies/{study_uid}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesDelete */ @@ -2600,13 +2607,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadata : GTLRCloudHealthcareQuery /** - * The path of the RetrieveStudyMetadata DICOMweb request. For example, - * `studies/{study_uid}/metadata`. + * Required. The path of the RetrieveStudyMetadata DICOMweb request. For + * example, `studies/{study_uid}/metadata`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2623,11 +2630,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call RetrieveStudyMetadata, see [Retrieve * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the RetrieveStudyMetadata DICOMweb request. - * For example, `studies/{study_uid}/metadata`. + * @param dicomWebPath Required. The path of the RetrieveStudyMetadata DICOMweb + * request. For example, `studies/{study_uid}/metadata`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadata */ @@ -2655,13 +2662,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudy : GTLRCloudHealthcareQuery /** - * The path of the RetrieveStudy DICOMweb request. For example, + * Required. The path of the RetrieveStudy DICOMweb request. For example, * `studies/{study_uid}`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2678,11 +2685,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call RetrieveStudy, see [Retrieve DICOM * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the RetrieveStudy DICOMweb request. For - * example, `studies/{study_uid}`. + * @param dicomWebPath Required. The path of the RetrieveStudy DICOMweb + * request. For example, `studies/{study_uid}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudy */ @@ -2710,14 +2717,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstances : GTLRCloudHealthcareQuery /** - * The path of the SearchForInstancesRequest DICOMweb request. For example, - * `instances`, `series/{series_uid}/instances`, or + * Required. The path of the SearchForInstancesRequest DICOMweb request. For + * example, `instances`, `series/{series_uid}/instances`, or * `studies/{study_uid}/instances`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2734,12 +2741,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call SearchForInstances, see [Search for DICOM * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the SearchForInstancesRequest DICOMweb - * request. For example, `instances`, `series/{series_uid}/instances`, or - * `studies/{study_uid}/instances`. + * @param dicomWebPath Required. The path of the SearchForInstancesRequest + * DICOMweb request. For example, `instances`, + * `series/{series_uid}/instances`, or `studies/{study_uid}/instances`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstances */ @@ -2766,13 +2773,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeries : GTLRCloudHealthcareQuery /** - * The path of the SearchForSeries DICOMweb request. For example, `series` or - * `studies/{study_uid}/series`. + * Required. The path of the SearchForSeries DICOMweb request. For example, + * `series` or `studies/{study_uid}/series`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2788,11 +2795,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call SearchForSeries, see [Search for DICOM * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the SearchForSeries DICOMweb request. For - * example, `series` or `studies/{study_uid}/series`. + * @param dicomWebPath Required. The path of the SearchForSeries DICOMweb + * request. For example, `series` or `studies/{study_uid}/series`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeries */ @@ -2820,13 +2827,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesDelete : GTLRCloudHealthcareQuery /** - * The path of the DeleteSeries request. For example, + * Required. The path of the DeleteSeries request. For example, * `studies/{study_uid}/series/{series_uid}`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2843,11 +2850,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * or * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the DeleteSeries request. For example, - * `studies/{study_uid}/series/{series_uid}`. + * @param dicomWebPath Required. The path of the DeleteSeries request. For + * example, `studies/{study_uid}/series/{series_uid}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesDelete */ @@ -2874,13 +2881,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDelete : GTLRCloudHealthcareQuery /** - * The path of the DeleteInstance request. For example, + * Required. The path of the DeleteInstance request. For example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2896,10 +2903,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * [Delete a study, series, or * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the DeleteInstance request. For example, + * @param dicomWebPath Required. The path of the DeleteInstance request. For + * example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDelete @@ -2928,13 +2936,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveFrames : GTLRCloudHealthcareQuery /** - * The path of the RetrieveFrames DICOMweb request. For example, + * Required. The path of the RetrieveFrames DICOMweb request. For example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2951,11 +2959,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * call RetrieveFrames, see [Retrieve DICOM * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the RetrieveFrames DICOMweb request. For - * example, + * @param dicomWebPath Required. The path of the RetrieveFrames DICOMweb + * request. For example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveFrames @@ -2985,13 +2993,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveRendered : GTLRCloudHealthcareQuery /** - * The path of the RetrieveRenderedFrames DICOMweb request. For example, + * Required. The path of the RetrieveRenderedFrames DICOMweb request. For + * example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}/rendered`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3009,11 +3018,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call RetrieveRenderedFrames, see [Retrieve consumer image * formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). * - * @param parent The name of the DICOM store that is being accessed. For - * example, - * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the RetrieveRenderedFrames DICOMweb request. + * @param parent Required. The name of the DICOM store that is being accessed. * For example, + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. + * @param dicomWebPath Required. The path of the RetrieveRenderedFrames + * DICOMweb request. For example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}/rendered`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveRendered @@ -3044,13 +3053,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInstance : GTLRCloudHealthcareQuery /** - * The path of the RetrieveInstance DICOMweb request. For example, + * Required. The path of the RetrieveInstance DICOMweb request. For example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3069,11 +3078,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call RetrieveInstance, see [Retrieve an * instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-instance). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the RetrieveInstance DICOMweb request. For - * example, + * @param dicomWebPath Required. The path of the RetrieveInstance DICOMweb + * request. For example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInstance @@ -3103,13 +3112,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetadata : GTLRCloudHealthcareQuery /** - * The path of the RetrieveInstanceMetadata DICOMweb request. For example, + * Required. The path of the RetrieveInstanceMetadata DICOMweb request. For + * example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3127,11 +3137,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call RetrieveInstanceMetadata, see [Retrieve * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the RetrieveInstanceMetadata DICOMweb - * request. For example, + * @param dicomWebPath Required. The path of the RetrieveInstanceMetadata + * DICOMweb request. For example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetadata @@ -3161,13 +3171,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRendered : GTLRCloudHealthcareQuery /** - * The path of the RetrieveRenderedInstance DICOMweb request. For example, + * Required. The path of the RetrieveRenderedInstance DICOMweb request. For + * example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3185,11 +3196,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call RetrieveRenderedInstance, see [Retrieve consumer image * formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the RetrieveRenderedInstance DICOMweb - * request. For example, + * @param dicomWebPath Required. The path of the RetrieveRenderedInstance + * DICOMweb request. For example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRendered @@ -3219,13 +3230,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadata : GTLRCloudHealthcareQuery /** - * The path of the RetrieveSeriesMetadata DICOMweb request. For example, - * `studies/{study_uid}/series/{series_uid}/metadata`. + * Required. The path of the RetrieveSeriesMetadata DICOMweb request. For + * example, `studies/{study_uid}/series/{series_uid}/metadata`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3243,11 +3254,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call RetrieveSeriesMetadata, see [Retrieve * metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the RetrieveSeriesMetadata DICOMweb request. - * For example, `studies/{study_uid}/series/{series_uid}/metadata`. + * @param dicomWebPath Required. The path of the RetrieveSeriesMetadata + * DICOMweb request. For example, + * `studies/{study_uid}/series/{series_uid}/metadata`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadata */ @@ -3275,13 +3287,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeries : GTLRCloudHealthcareQuery /** - * The path of the RetrieveSeries DICOMweb request. For example, + * Required. The path of the RetrieveSeries DICOMweb request. For example, * `studies/{study_uid}/series/{series_uid}`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3298,11 +3310,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call RetrieveSeries, see [Retrieve DICOM * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the RetrieveSeries DICOMweb request. For - * example, `studies/{study_uid}/series/{series_uid}`. + * @param dicomWebPath Required. The path of the RetrieveSeries DICOMweb + * request. For example, `studies/{study_uid}/series/{series_uid}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeries */ @@ -3330,14 +3342,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstances : GTLRCloudHealthcareQuery /** - * The path of the SearchForInstancesRequest DICOMweb request. For example, - * `instances`, `series/{series_uid}/instances`, or + * Required. The path of the SearchForInstancesRequest DICOMweb request. For + * example, `instances`, `series/{series_uid}/instances`, or * `studies/{study_uid}/instances`. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3354,12 +3366,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * to call SearchForInstances, see [Search for DICOM * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). * - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the SearchForInstancesRequest DICOMweb - * request. For example, `instances`, `series/{series_uid}/instances`, or - * `studies/{study_uid}/instances`. + * @param dicomWebPath Required. The path of the SearchForInstancesRequest + * DICOMweb request. For example, `instances`, + * `series/{series_uid}/instances`, or `studies/{study_uid}/instances`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstances */ @@ -3387,13 +3399,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesStoreInstances : GTLRCloudHealthcareQuery /** - * The path of the StoreInstances DICOMweb request. For example, + * Required. The path of the StoreInstances DICOMweb request. For example, * `studies/[{study_uid}]`. Note that the `study_uid` is optional. */ @property(nonatomic, copy, nullable) NSString *dicomWebPath; /** - * The name of the DICOM store that is being accessed. For example, + * Required. The name of the DICOM store that is being accessed. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3411,11 +3423,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#store-dicom). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. - * @param parent The name of the DICOM store that is being accessed. For - * example, + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. - * @param dicomWebPath The path of the StoreInstances DICOMweb request. For - * example, `studies/[{study_uid}]`. Note that the `study_uid` is optional. + * @param dicomWebPath Required. The path of the StoreInstances DICOMweb + * request. For example, `studies/[{study_uid}]`. Note that the `study_uid` + * is optional. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesStoreInstances */ @@ -3482,12 +3495,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresCreate : GTLRCloudHealthcareQuery /** - * The ID of the FHIR store that is being created. The string must match the - * following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`. + * Required. The ID of the FHIR store that is being created. The string must + * match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`. */ @property(nonatomic, copy, nullable) NSString *fhirStoreId; -/** The name of the dataset this FHIR store belongs to. */ +/** Required. The name of the dataset this FHIR store belongs to. */ @property(nonatomic, copy, nullable) NSString *parent; /** @@ -3496,7 +3509,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Creates a new FHIR store within the parent dataset. * * @param object The @c GTLRCloudHealthcare_FhirStore to include in the query. - * @param parent The name of the dataset this FHIR store belongs to. + * @param parent Required. The name of the dataset this FHIR store belongs to. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresCreate */ @@ -3522,7 +3535,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresDeidentify : GTLRCloudHealthcareQuery /** - * Source FHIR store resource name. For example, + * Required. Source FHIR store resource name. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. */ @property(nonatomic, copy, nullable) NSString *sourceStore; @@ -3539,7 +3552,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * @param object The @c GTLRCloudHealthcare_DeidentifyFhirStoreRequest to * include in the query. - * @param sourceStore Source FHIR store resource name. For example, + * @param sourceStore Required. Source FHIR store resource name. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresDeidentify @@ -3560,7 +3573,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresDelete : GTLRCloudHealthcareQuery -/** The resource name of the FHIR store to delete. */ +/** Required. The resource name of the FHIR store to delete. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -3568,7 +3581,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Deletes the specified FHIR store and removes all resources within it. * - * @param name The resource name of the FHIR store to delete. + * @param name Required. The resource name of the FHIR store to delete. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresDelete */ @@ -3595,7 +3608,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresExport : GTLRCloudHealthcareQuery /** - * The name of the FHIR store to export resource from, in the format of + * Required. The name of the FHIR store to export resource from, in the format + * of * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -3614,8 +3628,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * @param object The @c GTLRCloudHealthcare_ExportResourcesRequest to include * in the query. - * @param name The name of the FHIR store to export resource from, in the - * format of + * @param name Required. The name of the FHIR store to export resource from, in + * the format of * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresExport @@ -3649,7 +3663,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirCapabilities : GTLRCloudHealthcareQuery -/** Name of the FHIR store to retrieve the capabilities for. */ +/** Required. Name of the FHIR store to retrieve the capabilities for. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -3670,7 +3684,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * in the DSTU2 case. On success, the response body contains a JSON-encoded * representation of a `CapabilityStatement` resource. * - * @param name Name of the FHIR store to retrieve the capabilities for. + * @param name Required. Name of the FHIR store to retrieve the capabilities + * for. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirCapabilities */ @@ -3700,12 +3715,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirConditionalDelete : GTLRCloudHealthcareQuery -/** The name of the FHIR store this resource belongs to. */ +/** Required. The name of the FHIR store this resource belongs to. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * The FHIR resource type to delete, such as Patient or Observation. For a - * complete list, see the FHIR Resource Index + * Required. The FHIR resource type to delete, such as Patient or Observation. + * For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), * [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). @@ -3728,8 +3743,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * `conditionalDelete`, see [Conditionally deleting a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#conditionally_deleting_a_fhir_resource). * - * @param parent The name of the FHIR store this resource belongs to. - * @param type The FHIR resource type to delete, such as Patient or + * @param parent Required. The name of the FHIR store this resource belongs to. + * @param type Required. The FHIR resource type to delete, such as Patient or * Observation. For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), @@ -3771,12 +3786,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirConditionalPatch : GTLRCloudHealthcareQuery -/** The name of the FHIR store this resource belongs to. */ +/** Required. The name of the FHIR store this resource belongs to. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * The FHIR resource type to update, such as Patient or Observation. For a - * complete list, see the FHIR Resource Index + * Required. The FHIR resource type to update, such as Patient or Observation. + * For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), * [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). @@ -3807,8 +3822,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#conditionally_patching_a_fhir_resource). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. - * @param parent The name of the FHIR store this resource belongs to. - * @param type The FHIR resource type to update, such as Patient or + * @param parent Required. The name of the FHIR store this resource belongs to. + * @param type Required. The FHIR resource type to update, such as Patient or * Observation. For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), @@ -3858,12 +3873,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirConditionalUpdate : GTLRCloudHealthcareQuery -/** The name of the FHIR store this resource belongs to. */ +/** Required. The name of the FHIR store this resource belongs to. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * The FHIR resource type to update, such as Patient or Observation. For a - * complete list, see the FHIR Resource Index + * Required. The FHIR resource type to update, such as Patient or Observation. + * For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), * [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must @@ -3902,8 +3917,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#conditionally_updating_a_fhir_resource). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. - * @param parent The name of the FHIR store this resource belongs to. - * @param type The FHIR resource type to update, such as Patient or + * @param parent Required. The name of the FHIR store this resource belongs to. + * @param type Required. The FHIR resource type to update, such as Patient or * Observation. For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), @@ -3953,12 +3968,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirCreate : GTLRCloudHealthcareQuery -/** The name of the FHIR store this resource belongs to. */ +/** Required. The name of the FHIR store this resource belongs to. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * The FHIR resource type to create, such as Patient or Observation. For a - * complete list, see the FHIR Resource Index + * Required. The FHIR resource type to create, such as Patient or Observation. + * For a complete list, see the FHIR Resource Index * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), * [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must @@ -3996,8 +4011,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#creating_a_fhir_resource). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. - * @param parent The name of the FHIR store this resource belongs to. - * @param type The FHIR resource type to create, such as Patient or + * @param parent Required. The name of the FHIR store this resource belongs to. + * @param type Required. The FHIR resource type to create, such as Patient or * Observation. For a complete list, see the FHIR Resource Index * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), @@ -4032,7 +4047,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirDelete : GTLRCloudHealthcareQuery -/** The name of the resource to delete. */ +/** Required. The name of the resource to delete. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -4049,7 +4064,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * samples that show how to call `delete`, see [Deleting a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#deleting_a_fhir_resource). * - * @param name The name of the resource to delete. + * @param name Required. The name of the resource to delete. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirDelete */ @@ -4103,7 +4118,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirExecuteBundle : GTLRCloudHealthcareQuery -/** Name of the FHIR store in which this bundle will be executed. */ +/** Required. Name of the FHIR store in which this bundle will be executed. */ @property(nonatomic, copy, nullable) NSString *parent; /** @@ -4147,7 +4162,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * bundles](https://cloud.google.com/healthcare/docs/how-tos/fhir-bundles). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. - * @param parent Name of the FHIR store in which this bundle will be executed. + * @param parent Required. Name of the FHIR store in which this bundle will be + * executed. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirExecuteBundle */ @@ -4214,7 +4230,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @property(nonatomic, copy, nullable) NSString *xSince; -/** The name of the resource to retrieve. */ +/** Required. The name of the resource to retrieve. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -4235,7 +4251,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * how to call `history`, see [Listing FHIR resource * versions](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#listing_fhir_resource_versions). * - * @param name The name of the resource to retrieve. + * @param name Required. The name of the resource to retrieve. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirHistory */ @@ -4268,7 +4284,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirPatch : GTLRCloudHealthcareQuery -/** The name of the resource to update. */ +/** Required. The name of the resource to update. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -4291,7 +4307,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#patching_a_fhir_resource). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. - * @param name The name of the resource to update. + * @param name Required. The name of the resource to update. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirPatch */ @@ -4333,8 +4349,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirPatientEverything : GTLRCloudHealthcareQuery /** - * Maximum number of resources in a page. If not specified, 100 is used. May - * not be larger than 1000. + * Optional. Maximum number of resources in a page. If not specified, 100 is + * used. May not be larger than 1000. */ @property(nonatomic, assign) NSInteger xCount; @@ -4348,36 +4364,39 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @property(nonatomic, copy, nullable) NSString *xPageToken; /** - * If provided, only resources updated after this time are returned. The time - * uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, + * Optional. If provided, only resources updated after this time are returned. + * The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, * `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be * specified to the second and include a time zone. */ @property(nonatomic, copy, nullable) NSString *xSince; /** - * String of comma-delimited FHIR resource types. If provided, only resources - * of the specified resource type(s) are returned. Specifying multiple `_type` - * parameters isn't supported. For example, the result of + * Optional. String of comma-delimited FHIR resource types. If provided, only + * resources of the specified resource type(s) are returned. Specifying + * multiple `_type` parameters isn't supported. For example, the result of * `_type=Observation&_type=Encounter` is undefined. Use * `_type=Observation,Encounter` instead. */ @property(nonatomic, copy, nullable) NSString *xType; /** - * The response includes records prior to the end date. The date uses the - * format YYYY-MM-DD. If no end date is provided, all records subsequent to the - * start date are in scope. + * Optional. The response includes records prior to the end date. The date uses + * the format YYYY-MM-DD. If no end date is provided, all records subsequent to + * the start date are in scope. */ @property(nonatomic, copy, nullable) NSString *end; -/** Name of the `Patient` resource for which the information is required. */ +/** + * Required. Name of the `Patient` resource for which the information is + * required. + */ @property(nonatomic, copy, nullable) NSString *name; /** - * The response includes records subsequent to the start date. The date uses - * the format YYYY-MM-DD. If no start date is provided, all records prior to - * the end date are in scope. + * Optional. The response includes records subsequent to the start date. The + * date uses the format YYYY-MM-DD. If no start date is provided, all records + * prior to the end date are in scope. */ @property(nonatomic, copy, nullable) NSString *start; @@ -4407,8 +4426,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * compartment * resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#getting_all_patient_compartment_resources). * - * @param name Name of the `Patient` resource for which the information is - * required. + * @param name Required. Name of the `Patient` resource for which the + * information is required. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirPatientEverything */ @@ -4443,7 +4462,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirRead : GTLRCloudHealthcareQuery -/** The name of the resource to retrieve. */ +/** Required. The name of the resource to retrieve. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -4467,7 +4486,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * samples that show how to call `read`, see [Getting a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#getting_a_fhir_resource). * - * @param name The name of the resource to retrieve. + * @param name Required. The name of the resource to retrieve. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirRead */ @@ -4491,7 +4510,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirResourcePurge : GTLRCloudHealthcareQuery -/** The name of the resource to purge. */ +/** Required. The name of the resource to purge. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -4504,7 +4523,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * [Deleting historical versions of a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#deleting_historical_versions_of_a_fhir_resource). * - * @param name The name of the resource to purge. + * @param name Required. The name of the resource to purge. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirResourcePurge */ @@ -4539,23 +4558,23 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirResourceValidate : GTLRCloudHealthcareQuery /** - * The name of the FHIR store that holds the profiles being used for + * Required. The name of the FHIR store that holds the profiles being used for * validation. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * The canonical URL of a profile that this resource should be validated - * against. For example, to validate a Patient resource against the US Core - * Patient profile this parameter would be + * Required. The canonical URL of a profile that this resource should be + * validated against. For example, to validate a Patient resource against the + * US Core Patient profile this parameter would be * `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient`. A * StructureDefinition with this canonical URL must exist in the FHIR store. */ @property(nonatomic, copy, nullable) NSString *profile; /** - * The FHIR resource type of the resource being validated. For a complete list, - * see the FHIR Resource Index + * Required. The FHIR resource type of the resource being validated. For a + * complete list, see the FHIR Resource Index * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), or * [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must @@ -4584,10 +4603,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * GCP error might be returned instead. * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. - * @param parent The name of the FHIR store that holds the profiles being used - * for validation. - * @param type The FHIR resource type of the resource being validated. For a - * complete list, see the FHIR Resource Index + * @param parent Required. The name of the FHIR store that holds the profiles + * being used for validation. + * @param type Required. The FHIR resource type of the resource being + * validated. For a complete list, see the FHIR Resource Index * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), or * [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must @@ -4678,7 +4697,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirSearch : GTLRCloudHealthcareQuery -/** Name of the FHIR store to retrieve resources from. */ +/** Required. Name of the FHIR store to retrieve resources from. */ @property(nonatomic, copy, nullable) NSString *parent; /** @@ -4754,7 +4773,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * @param object The @c GTLRCloudHealthcare_SearchResourcesRequest to include * in the query. - * @param parent Name of the FHIR store to retrieve resources from. + * @param parent Required. Name of the FHIR store to retrieve resources from. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirSearch */ @@ -4840,12 +4859,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirSearchType : GTLRCloudHealthcareQuery -/** Name of the FHIR store to retrieve resources from. */ +/** Required. Name of the FHIR store to retrieve resources from. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * The FHIR resource type to search, such as Patient or Observation. For a - * complete list, see the FHIR Resource Index + * Required. The FHIR resource type to search, such as Patient or Observation. + * For a complete list, see the FHIR Resource Index * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), * [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). @@ -4925,9 +4944,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * @param object The @c GTLRCloudHealthcare_SearchResourcesRequest to include * in the query. - * @param parent Name of the FHIR store to retrieve resources from. - * @param resourceType The FHIR resource type to search, such as Patient or - * Observation. For a complete list, see the FHIR Resource Index + * @param parent Required. Name of the FHIR store to retrieve resources from. + * @param resourceType Required. The FHIR resource type to search, such as + * Patient or Observation. For a complete list, see the FHIR Resource Index * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), * [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). @@ -4972,7 +4991,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirUpdate : GTLRCloudHealthcareQuery -/** The name of the resource to update. */ +/** Required. The name of the resource to update. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -5002,7 +5021,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#updating_a_fhir_resource). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. - * @param name The name of the resource to update. + * @param name Required. The name of the resource to update. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirUpdate */ @@ -5033,7 +5052,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirVread : GTLRCloudHealthcareQuery -/** The name of the resource version to retrieve. */ +/** Required. The name of the resource version to retrieve. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -5052,7 +5071,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * `vread`, see [Retrieving a FHIR resource * version](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#retrieving_a_fhir_resource_version). * - * @param name The name of the resource version to retrieve. + * @param name Required. The name of the resource version to retrieve. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirVread */ @@ -5071,7 +5090,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresGet : GTLRCloudHealthcareQuery -/** The resource name of the FHIR store to get. */ +/** Required. The resource name of the FHIR store to get. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -5079,7 +5098,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Gets the configuration of the specified FHIR store. * - * @param name The resource name of the FHIR store to get. + * @param name Required. The resource name of the FHIR store to get. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresGet */ @@ -5098,7 +5117,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresGetFHIRStoreMetrics : GTLRCloudHealthcareQuery -/** The resource name of the FHIR store to get metrics for. */ +/** Required. The resource name of the FHIR store to get metrics for. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -5106,7 +5125,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Gets metrics associated with the FHIR store. * - * @param name The resource name of the FHIR store to get metrics for. + * @param name Required. The resource name of the FHIR store to get metrics + * for. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresGetFHIRStoreMetrics */ @@ -5230,7 +5250,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresImport : GTLRCloudHealthcareQuery /** - * The name of the FHIR store to import FHIR resources to, in the format of + * Required. The name of the FHIR store to import FHIR resources to, in the + * format of * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -5296,8 +5317,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * @param object The @c GTLRCloudHealthcare_ImportResourcesRequest to include * in the query. - * @param name The name of the FHIR store to import FHIR resources to, in the - * format of + * @param name Required. The name of the FHIR store to import FHIR resources + * to, in the format of * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresImport @@ -5355,7 +5376,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Name of the dataset. */ +/** Required. Name of the dataset. */ @property(nonatomic, copy, nullable) NSString *parent; /** @@ -5363,7 +5384,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Lists the FHIR stores in the given dataset. * - * @param parent Name of the dataset. + * @param parent Required. Name of the dataset. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresList * @@ -5387,13 +5408,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresPatch : GTLRCloudHealthcareQuery /** - * Output only. Resource name of the FHIR store, of the form + * Output only. Identifier. Resource name of the FHIR store, of the form * `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. */ @property(nonatomic, copy, nullable) NSString *name; /** - * The update mask applies to the resource. For the `FieldMask` definition, see + * Required. The update mask applies to the resource. For the `FieldMask` + * definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask * * String format is a comma-separated list of fields. @@ -5406,7 +5428,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Updates the configuration of the specified FHIR store. * * @param object The @c GTLRCloudHealthcare_FhirStore to include in the query. - * @param name Output only. Resource name of the FHIR store, of the form + * @param name Output only. Identifier. Resource name of the FHIR store, of the + * form * `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresPatch @@ -5416,6 +5439,56 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @end +/** + * Rolls back resources from the FHIR store to the specified time. This method + * returns an Operation that can be used to track the status of the rollback by + * calling GetOperation. Immediate fatal errors appear in the error field, + * errors are also logged to Cloud Logging (see [Viewing error logs in Cloud + * Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). + * Otherwise, when the operation finishes, a detailed response of type + * RollbackFhirResourcesResponse is returned in the response field. The + * metadata field type for this operation is OperationMetadata. + * + * Method: healthcare.projects.locations.datasets.fhirStores.rollback + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudHealthcareCloudHealthcare + * @c kGTLRAuthScopeCloudHealthcareCloudPlatform + */ +@interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresRollback : GTLRCloudHealthcareQuery + +/** + * Required. The name of the FHIR store to rollback, in the format of + * "projects/{project_id}/locations/{location_id}/datasets/{dataset_id} + * /fhirStores/{fhir_store_id}". + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudHealthcare_Operation. + * + * Rolls back resources from the FHIR store to the specified time. This method + * returns an Operation that can be used to track the status of the rollback by + * calling GetOperation. Immediate fatal errors appear in the error field, + * errors are also logged to Cloud Logging (see [Viewing error logs in Cloud + * Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). + * Otherwise, when the operation finishes, a detailed response of type + * RollbackFhirResourcesResponse is returned in the response field. The + * metadata field type for this operation is OperationMetadata. + * + * @param object The @c GTLRCloudHealthcare_RollbackFhirResourcesRequest to + * include in the query. + * @param name Required. The name of the FHIR store to rollback, in the format + * of "projects/{project_id}/locations/{location_id}/datasets/{dataset_id} + * /fhirStores/{fhir_store_id}". + * + * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresRollback + */ ++ (instancetype)queryWithObject:(GTLRCloudHealthcare_RollbackFhirResourcesRequest *)object + name:(NSString *)name; + +@end + /** * Sets the access control policy on the specified resource. Replaces any * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and diff --git a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h index 8ad3dad1b..cced6879f 100644 --- a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h +++ b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h @@ -348,7 +348,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/CloudMachineLearningEngine/Public/GoogleAPIClientForREST/GTLRCloudMachineLearningEngineObjects.h b/Sources/GeneratedServices/CloudMachineLearningEngine/Public/GoogleAPIClientForREST/GTLRCloudMachineLearningEngineObjects.h index 10d04552e..7cef50177 100644 --- a/Sources/GeneratedServices/CloudMachineLearningEngine/Public/GoogleAPIClientForREST/GTLRCloudMachineLearningEngineObjects.h +++ b/Sources/GeneratedServices/CloudMachineLearningEngine/Public/GoogleAPIClientForREST/GTLRCloudMachineLearningEngineObjects.h @@ -4291,7 +4291,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleIamV1Au /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/CloudProfiler/Public/GoogleAPIClientForREST/GTLRCloudProfilerQuery.h b/Sources/GeneratedServices/CloudProfiler/Public/GoogleAPIClientForREST/GTLRCloudProfilerQuery.h index c951659cd..fd28ed618 100644 --- a/Sources/GeneratedServices/CloudProfiler/Public/GoogleAPIClientForREST/GTLRCloudProfilerQuery.h +++ b/Sources/GeneratedServices/CloudProfiler/Public/GoogleAPIClientForREST/GTLRCloudProfilerQuery.h @@ -34,16 +34,18 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * CreateProfile creates a new profile resource in the online mode. The server - * ensures that the new profiles are created at a constant rate per deployment, - * so the creation request may hang for some time until the next profile - * session is available. The request may fail with ABORTED error if the - * creation is not available within ~1m, the response will indicate the - * duration of the backoff the client should take before attempting creating a - * profile again. The backoff duration is returned in google.rpc.RetryInfo - * extension on the response status. To a gRPC client, the extension will be - * return as a binary-serialized proto in the trailing metadata item named - * "google.rpc.retryinfo-bin". + * CreateProfile creates a new profile resource in the online mode. _Direct use + * of this API is discouraged, please use a [supported profiler + * agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) + * instead for profile collection._ The server ensures that the new profiles + * are created at a constant rate per deployment, so the creation request may + * hang for some time until the next profile session is available. The request + * may fail with ABORTED error if the creation is not available within ~1m, the + * response will indicate the duration of the backoff the client should take + * before attempting creating a profile again. The backoff duration is returned + * in google.rpc.RetryInfo extension on the response status. To a gRPC client, + * the extension will be return as a binary-serialized proto in the trailing + * metadata item named "google.rpc.retryinfo-bin". * * Method: cloudprofiler.projects.profiles.create * @@ -60,16 +62,18 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRCloudProfiler_Profile. * - * CreateProfile creates a new profile resource in the online mode. The server - * ensures that the new profiles are created at a constant rate per deployment, - * so the creation request may hang for some time until the next profile - * session is available. The request may fail with ABORTED error if the - * creation is not available within ~1m, the response will indicate the - * duration of the backoff the client should take before attempting creating a - * profile again. The backoff duration is returned in google.rpc.RetryInfo - * extension on the response status. To a gRPC client, the extension will be - * return as a binary-serialized proto in the trailing metadata item named - * "google.rpc.retryinfo-bin". + * CreateProfile creates a new profile resource in the online mode. _Direct use + * of this API is discouraged, please use a [supported profiler + * agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) + * instead for profile collection._ The server ensures that the new profiles + * are created at a constant rate per deployment, so the creation request may + * hang for some time until the next profile session is available. The request + * may fail with ABORTED error if the creation is not available within ~1m, the + * response will indicate the duration of the backoff the client should take + * before attempting creating a profile again. The backoff duration is returned + * in google.rpc.RetryInfo extension on the response status. To a gRPC client, + * the extension will be return as a binary-serialized proto in the trailing + * metadata item named "google.rpc.retryinfo-bin". * * @param object The @c GTLRCloudProfiler_CreateProfileRequest to include in * the query. @@ -85,7 +89,10 @@ NS_ASSUME_NONNULL_BEGIN /** * CreateOfflineProfile creates a new profile resource in the offline mode. The * client provides the profile to create along with the profile bytes, the - * server records it. + * server records it. _Direct use of this API is discouraged, please use a + * [supported profiler + * agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) + * instead for profile collection._ * * Method: cloudprofiler.projects.profiles.createOffline * @@ -104,7 +111,10 @@ NS_ASSUME_NONNULL_BEGIN * * CreateOfflineProfile creates a new profile resource in the offline mode. The * client provides the profile to create along with the profile bytes, the - * server records it. + * server records it. _Direct use of this API is discouraged, please use a + * [supported profiler + * agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) + * instead for profile collection._ * * @param object The @c GTLRCloudProfiler_Profile to include in the query. * @param parent Parent project to create the profile in. @@ -171,7 +181,10 @@ NS_ASSUME_NONNULL_BEGIN * UpdateProfile updates the profile bytes and labels on the profile resource * created in the online mode. Updating the bytes for profiles created in the * offline mode is currently not supported: the profile content must be - * provided at the time of the profile creation. + * provided at the time of the profile creation. _Direct use of this API is + * discouraged, please use a [supported profiler + * agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) + * instead for profile collection._ * * Method: cloudprofiler.projects.profiles.patch * @@ -201,7 +214,10 @@ NS_ASSUME_NONNULL_BEGIN * UpdateProfile updates the profile bytes and labels on the profile resource * created in the online mode. Updating the bytes for profiles created in the * offline mode is currently not supported: the profile content must be - * provided at the time of the profile creation. + * provided at the time of the profile creation. _Direct use of this API is + * discouraged, please use a [supported profiler + * agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) + * instead for profile collection._ * * @param object The @c GTLRCloudProfiler_Profile to include in the query. * @param name Output only. Opaque, server-assigned, unique ID for this diff --git a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisQuery.m b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisQuery.m index 091fa5d48..84a0e34d2 100644 --- a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisQuery.m +++ b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisQuery.m @@ -87,7 +87,7 @@ @implementation GTLRCloudRedisQuery_ProjectsLocationsClustersGetCertificateAutho + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}/certificateAuthority"; + NSString *pathURITemplate = @"v1/{+name}"; GTLRCloudRedisQuery_ProjectsLocationsClustersGetCertificateAuthority *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil diff --git a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h index 903ddf769..27229d344 100644 --- a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h +++ b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h @@ -1060,18 +1060,14 @@ 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. + * Optional. Output only. Reserved for future use. * * 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 - * to go/zs-resource-status. + * Optional. Output only. Reserved for future use. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h index c6ce68181..c3783daa9 100644 --- a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h +++ b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h @@ -444,7 +444,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudResourceManager_TagKey_Purpose_Purp /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m index 03c90045c..004df1082 100644 --- a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m +++ b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m @@ -1581,7 +1581,8 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2CatalogAttribute // @implementation GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfig -@dynamic facetIntervals, ignoredFacetValues, mergedFacetValues, rerankConfig; +@dynamic facetIntervals, ignoredFacetValues, mergedFacet, mergedFacetValues, + rerankConfig; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1613,6 +1614,24 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigIg @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet +@dynamic mergedFacetKey, mergedFacetValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"mergedFacetValues" : [GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue diff --git a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h index 20a11e162..cf895ed99 100644 --- a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h +++ b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h @@ -55,6 +55,7 @@ @class GTLRCloudRetail_GoogleCloudRetailV2CatalogAttribute; @class GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfig; @class GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues; +@class GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet; @class GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue; @class GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig; @class GTLRCloudRetail_GoogleCloudRetailV2ColorInfo; @@ -3893,6 +3894,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ServingCo */ @property(nonatomic, strong, nullable) NSArray *ignoredFacetValues; +/** + * Use this field only if you want to merge a facet key into another facet key. + */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet *mergedFacet; + /** * Each instance replaces a list of facet values by a merged facet value. If a * facet value is not in any list, then it will stay the same. To avoid @@ -3947,6 +3953,34 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ServingCo @end +/** + * The current facet key (i.e. attribute config) maps into the + * merged_facet_key. A facet key can have at most one child. The current facet + * key and the merged facet key need both to be textual custom attributes or + * both numerical custom attributes (same type). + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet : GTLRObject + +/** + * The merged facet key should be a valid facet key that is different than the + * facet key of the current catalog attribute. We refer this is merged facet + * key as the child of the current catalog attribute. This merged facet key + * can't be a parent of another facet key (i.e. no directed path of length 2). + * This merged facet key needs to be either a textual custom attribute or a + * numerical custom attribute. + */ +@property(nonatomic, copy, nullable) NSString *mergedFacetKey; + +/** + * Each instance is a list of facet values that map into the same (possibly + * different) merged facet value. For the current attribute config, each facet + * value should map to at most one merged facet value. + */ +@property(nonatomic, strong, nullable) NSArray *mergedFacetValues GTLR_DEPRECATED; + +@end + + /** * Replaces a set of textual facet values by the same (possibly different) * merged facet value. Each facet value should appear at most once as a value @@ -4734,7 +4768,8 @@ GTLR_DEPRECATED /** * Indicates which fields in the provided imported `products` to update. If not - * set, all fields are updated. + * set, all fields are updated. If provided, only the existing product fields + * are updated. Missing products will not be created. * * String format is a comma-separated list of fields. */ diff --git a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m index b97a75aa3..5c146b0b5 100644 --- a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m +++ b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m @@ -887,10 +887,10 @@ @implementation GTLRCloudRun_GoogleCloudRunV2SecretVolumeSource @implementation GTLRCloudRun_GoogleCloudRunV2Service @dynamic annotations, binaryAuthorization, client, clientVersion, conditions, - createTime, creator, customAudiences, deleteTime, descriptionProperty, - ETag, expireTime, generation, ingress, labels, lastModifier, - latestCreatedRevision, latestReadyRevision, launchStage, name, - observedGeneration, reconciling, satisfiesPzs, scaling, + createTime, creator, customAudiences, defaultUriDisabled, deleteTime, + descriptionProperty, ETag, expireTime, generation, ingress, labels, + lastModifier, latestCreatedRevision, latestReadyRevision, launchStage, + name, observedGeneration, reconciling, satisfiesPzs, scaling, templateProperty, terminalCondition, traffic, trafficStatuses, uid, updateTime, uri; diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h index 3a18ba971..42549b827 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h @@ -3020,6 +3020,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @property(nonatomic, strong, nullable) NSArray *customAudiences; +/** + * Optional. Disables public resolution of the default URI of this service. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *defaultUriDisabled; + /** Output only. The deletion time. */ @property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; @@ -4012,7 +4019,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h b/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h index c5649649d..3d43d4bf9 100644 --- a/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h +++ b/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h @@ -839,9 +839,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; @property(nonatomic, copy, nullable) NSString *data; /** - * Optional. ID of this message, assigned by the server when the message is - * published. Guaranteed to be unique within the topic. This value may be read - * by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push + * ID of this message, assigned by the server when the message is published. + * Guaranteed to be unique within the topic. This value may be read by a + * subscriber that receives a `PubsubMessage` via a `Pull` call or a push * delivery. It must not be populated by the publisher in a `Publish` call. */ @property(nonatomic, copy, nullable) NSString *messageId; @@ -859,9 +859,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; @property(nonatomic, copy, nullable) NSString *orderingKey; /** - * Optional. The time at which the message was published, populated by the - * server when it receives the `Publish` call. It must not be populated by the - * publisher in a `Publish` call. + * The time at which the message was published, populated by the server when it + * receives the `Publish` call. It must not be populated by the publisher in a + * `Publish` call. */ @property(nonatomic, strong, nullable) GTLRDateTime *publishTime; diff --git a/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h b/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h index af5f0bc93..cc4f6ce69 100644 --- a/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h +++ b/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h @@ -62,9 +62,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 @@ -78,13 +94,20 @@ 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; /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesObjects.h b/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesObjects.h index 8c58dd61b..6968860c9 100644 --- a/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesObjects.h +++ b/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesObjects.h @@ -231,7 +231,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSourceRepositories_PubsubConfig_Mes /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h index 1244164d5..34d808497 100644 --- a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h +++ b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h @@ -289,7 +289,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h index a41f8318e..4c7d7b079 100644 --- a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h +++ b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h @@ -353,7 +353,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudbilling_GeoTaxonomy_Type_TypeUnspec /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m index e7825ce25..ac57bc798 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m @@ -749,6 +749,7 @@ NSString * const kGTLRCompute_Commitment_Type_GraphicsOptimized = @"GRAPHICS_OPTIMIZED"; NSString * const kGTLRCompute_Commitment_Type_MemoryOptimized = @"MEMORY_OPTIMIZED"; NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedM3 = @"MEMORY_OPTIMIZED_M3"; +NSString * const kGTLRCompute_Commitment_Type_StorageOptimizedZ3 = @"STORAGE_OPTIMIZED_Z3"; NSString * const kGTLRCompute_Commitment_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; // GTLRCompute_CommitmentAggregatedList_Warning.code @@ -4022,6 +4023,7 @@ NSString * const kGTLRCompute_Quota_Metric_CommittedNvidiaV100Gpus = @"COMMITTED_NVIDIA_V100_GPUS"; NSString * const kGTLRCompute_Quota_Metric_CommittedT2aCpus = @"COMMITTED_T2A_CPUS"; NSString * const kGTLRCompute_Quota_Metric_CommittedT2dCpus = @"COMMITTED_T2D_CPUS"; +NSString * const kGTLRCompute_Quota_Metric_CommittedZ3Cpus = @"COMMITTED_Z3_CPUS"; NSString * const kGTLRCompute_Quota_Metric_Cpus = @"CPUS"; NSString * const kGTLRCompute_Quota_Metric_CpusAllRegions = @"CPUS_ALL_REGIONS"; NSString * const kGTLRCompute_Quota_Metric_DisksTotalGb = @"DISKS_TOTAL_GB"; @@ -9860,8 +9862,8 @@ @implementation GTLRCompute_FirewallPolicyList_Warning_Data_Item @implementation GTLRCompute_FirewallPolicyRule @dynamic action, descriptionProperty, direction, disabled, enableLogging, kind, - match, priority, ruleName, ruleTupleCount, targetResources, - targetSecureTags, targetServiceAccounts; + match, priority, ruleName, ruleTupleCount, securityProfileGroup, + targetResources, targetSecureTags, targetServiceAccounts, tlsInspect; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h index c201de4c2..271891fa5 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h @@ -4757,6 +4757,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_GraphicsOptimize FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_MemoryOptimized; /** Value: "MEMORY_OPTIMIZED_M3" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedM3; +/** Value: "STORAGE_OPTIMIZED_Z3" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_StorageOptimizedZ3; /** Value: "TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_TypeUnspecified; @@ -23103,6 +23105,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_CommittedNvidiaV100 FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_CommittedT2aCpus; /** Value: "COMMITTED_T2D_CPUS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_CommittedT2dCpus; +/** Value: "COMMITTED_Z3_CPUS" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Quota_Metric_CommittedZ3Cpus; /** * Guest CPUs * @@ -44041,7 +44045,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -44540,6 +44548,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * "MEMORY_OPTIMIZED" * @arg @c kGTLRCompute_Commitment_Type_MemoryOptimizedM3 Value * "MEMORY_OPTIMIZED_M3" + * @arg @c kGTLRCompute_Commitment_Type_StorageOptimizedZ3 Value + * "STORAGE_OPTIMIZED_Z3" * @arg @c kGTLRCompute_Commitment_Type_TypeUnspecified Value * "TYPE_UNSPECIFIED" */ @@ -48958,6 +48968,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSNumber *ruleTupleCount; +/** + * A fully-qualified URL of a SecurityProfile resource instance. Example: + * https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group + * Must be specified if action = 'apply_security_profile_group' and cannot be + * specified for other actions. + */ +@property(nonatomic, copy, nullable) NSString *securityProfileGroup; + /** * A list of network resource URLs to which this rule applies. This field * allows you to control which network's VMs get this rule. If this field is @@ -48983,6 +49001,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSArray *targetServiceAccounts; +/** + * Boolean flag indicating if the traffic should be TLS decrypted. Can be set + * only if action = 'apply_security_profile_group' and cannot be set for other + * actions. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *tlsInspect; + @end @@ -64887,10 +64914,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *fqdn; /** - * The name or a URL of a specific VM instance that the IP address belongs to. - * This is required for network endpoints of type GCE_VM_IP_PORT. The instance - * must be in the same zone of network endpoint group (for zonal NEGs) or in - * the zone within the region of the NEG (for regional NEGs). The name must be + * The name or a URL of VM instance of this network endpoint. This field is + * required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The + * instance must be in the same zone of network endpoint group (for zonal NEGs) + * or in the zone within the region of the NEG (for regional NEGs). If the + * ipAddress is specified, it must belongs to the VM instance. The name must be * 1-63 characters long, and comply with RFC1035 or be a valid URL pointing to * an existing instance. */ @@ -64901,13 +64929,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * VM in Compute Engine (either the primary IP or as part of an aliased IP * range). If the IP address is not specified, then the primary IP address for * the VM instance in the network that the network endpoint group belongs to - * will be used. + * will be used. This field is redundant and need not be set for network + * endpoints of type GCE_VM_IP. If set, it must be set to the primary internal + * IP address of the attached VM instance that matches the subnetwork of the + * NEG. The primary internal IP address from any NIC of a multi-NIC VM instance + * can be added to a NEG as long as it matches the NEG subnetwork. */ @property(nonatomic, copy, nullable) NSString *ipAddress; /** * Optional port number of network endpoint. If not specified, the defaultPort - * for the network endpoint group will be used. + * for the network endpoint group will be used. This field can not be set for + * network endpoints of type GCE_VM_IP. * * Uses NSNumber of intValue. */ @@ -72955,6 +72988,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * "COMMITTED_T2A_CPUS" * @arg @c kGTLRCompute_Quota_Metric_CommittedT2dCpus Value * "COMMITTED_T2D_CPUS" + * @arg @c kGTLRCompute_Quota_Metric_CommittedZ3Cpus Value + * "COMMITTED_Z3_CPUS" * @arg @c kGTLRCompute_Quota_Metric_Cpus Guest CPUs (Value: "CPUS") * @arg @c kGTLRCompute_Quota_Metric_CpusAllRegions Value "CPUS_ALL_REGIONS" * @arg @c kGTLRCompute_Quota_Metric_DisksTotalGb Value "DISKS_TOTAL_GB" diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h index ce5eb6288..f7584ee4d 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h @@ -201,6 +201,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -469,6 +473,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -934,6 +942,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -2072,6 +2084,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -2995,6 +3011,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -4053,6 +4073,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -5711,6 +5735,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -7367,6 +7395,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -8152,6 +8184,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -9899,6 +9935,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -11495,6 +11535,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -12265,6 +12309,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -15147,6 +15195,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -15606,6 +15658,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -17547,6 +17603,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -17814,6 +17874,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -18358,6 +18422,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -18677,6 +18745,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -20826,6 +20898,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -21698,6 +21774,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -22181,6 +22261,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -22447,6 +22531,10 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -23966,6 +24054,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -25549,6 +25641,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -34324,6 +34420,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -34961,6 +35061,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -35503,6 +35607,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -36489,6 +36597,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -37151,6 +37263,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -38161,6 +38277,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -38502,6 +38622,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -39004,6 +39128,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -40045,6 +40173,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -40484,6 +40616,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -41138,6 +41274,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -41682,6 +41822,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -42796,6 +42940,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -43237,6 +43385,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -43652,6 +43804,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -44177,6 +44333,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** @@ -44670,6 +44830,10 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ @property(nonatomic, assign) long long serviceProjectNumber; /** diff --git a/Sources/GeneratedServices/Container/GTLRContainerObjects.m b/Sources/GeneratedServices/Container/GTLRContainerObjects.m index b1bddda07..f2744a6f8 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerObjects.m +++ b/Sources/GeneratedServices/Container/GTLRContainerObjects.m @@ -69,6 +69,11 @@ NSString * const kGTLRContainer_ClusterUpdate_DesiredDatapathProvider_DatapathProviderUnspecified = @"DATAPATH_PROVIDER_UNSPECIFIED"; NSString * const kGTLRContainer_ClusterUpdate_DesiredDatapathProvider_LegacyDatapath = @"LEGACY_DATAPATH"; +// GTLRContainer_ClusterUpdate.desiredInTransitEncryptionConfig +NSString * const kGTLRContainer_ClusterUpdate_DesiredInTransitEncryptionConfig_InTransitEncryptionConfigUnspecified = @"IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED"; +NSString * const kGTLRContainer_ClusterUpdate_DesiredInTransitEncryptionConfig_InTransitEncryptionDisabled = @"IN_TRANSIT_ENCRYPTION_DISABLED"; +NSString * const kGTLRContainer_ClusterUpdate_DesiredInTransitEncryptionConfig_InTransitEncryptionInterNodeTransparent = @"IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT"; + // GTLRContainer_ClusterUpdate.desiredPrivateIpv6GoogleAccess NSString * const kGTLRContainer_ClusterUpdate_DesiredPrivateIpv6GoogleAccess_PrivateIpv6GoogleAccessBidirectional = @"PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL"; NSString * const kGTLRContainer_ClusterUpdate_DesiredPrivateIpv6GoogleAccess_PrivateIpv6GoogleAccessDisabled = @"PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED"; @@ -174,6 +179,11 @@ NSString * const kGTLRContainer_NetworkConfig_DatapathProvider_DatapathProviderUnspecified = @"DATAPATH_PROVIDER_UNSPECIFIED"; NSString * const kGTLRContainer_NetworkConfig_DatapathProvider_LegacyDatapath = @"LEGACY_DATAPATH"; +// GTLRContainer_NetworkConfig.inTransitEncryptionConfig +NSString * const kGTLRContainer_NetworkConfig_InTransitEncryptionConfig_InTransitEncryptionConfigUnspecified = @"IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED"; +NSString * const kGTLRContainer_NetworkConfig_InTransitEncryptionConfig_InTransitEncryptionDisabled = @"IN_TRANSIT_ENCRYPTION_DISABLED"; +NSString * const kGTLRContainer_NetworkConfig_InTransitEncryptionConfig_InTransitEncryptionInterNodeTransparent = @"IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT"; + // GTLRContainer_NetworkConfig.privateIpv6GoogleAccess NSString * const kGTLRContainer_NetworkConfig_PrivateIpv6GoogleAccess_PrivateIpv6GoogleAccessBidirectional = @"PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL"; NSString * const kGTLRContainer_NetworkConfig_PrivateIpv6GoogleAccess_PrivateIpv6GoogleAccessDisabled = @"PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED"; @@ -410,7 +420,8 @@ @implementation GTLRContainer_AddonsConfig @dynamic cloudRunConfig, configConnectorConfig, dnsCacheConfig, gcePersistentDiskCsiDriverConfig, gcpFilestoreCsiDriverConfig, gcsFuseCsiDriverConfig, gkeBackupAgentConfig, horizontalPodAutoscaling, - httpLoadBalancing, kubernetesDashboard, networkPolicyConfig; + httpLoadBalancing, kubernetesDashboard, networkPolicyConfig, + statefulHaConfig; @end @@ -742,10 +753,11 @@ @implementation GTLRContainer_ClusterUpdate desiredEnableFqdnNetworkPolicy, desiredEnablePrivateEndpoint, desiredFleet, desiredGatewayApiConfig, desiredGcfsConfig, desiredIdentityServiceConfig, desiredImageType, - desiredIntraNodeVisibilityConfig, desiredK8sBetaApis, - desiredL4ilbSubsettingConfig, desiredLocations, desiredLoggingConfig, - desiredLoggingService, desiredMasterAuthorizedNetworksConfig, - desiredMasterVersion, desiredMeshCertificates, desiredMonitoringConfig, + desiredIntraNodeVisibilityConfig, desiredInTransitEncryptionConfig, + desiredK8sBetaApis, desiredL4ilbSubsettingConfig, desiredLocations, + desiredLoggingConfig, desiredLoggingService, + desiredMasterAuthorizedNetworksConfig, desiredMasterVersion, + desiredMeshCertificates, desiredMonitoringConfig, desiredMonitoringService, desiredNetworkPerformanceConfig, desiredNodePoolAutoConfigNetworkTags, desiredNodePoolAutoConfigResourceManagerTags, @@ -1543,8 +1555,8 @@ @implementation GTLRContainer_NetworkConfig @dynamic datapathProvider, defaultSnatStatus, dnsConfig, enableFqdnNetworkPolicy, enableIntraNodeVisibility, enableL4ilbSubsetting, enableMultiNetworking, gatewayApiConfig, - network, networkPerformanceConfig, privateIpv6GoogleAccess, - serviceExternalIpsConfig, subnetwork; + inTransitEncryptionConfig, network, networkPerformanceConfig, + privateIpv6GoogleAccess, serviceExternalIpsConfig, subnetwork; @end @@ -2493,6 +2505,16 @@ @implementation GTLRContainer_StartIPRotationRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_StatefulHAConfig +// + +@implementation GTLRContainer_StatefulHAConfig +@dynamic enabled; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_Status diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h index 47451db4c..2da4f0c72 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h @@ -144,6 +144,7 @@ @class GTLRContainer_ShieldedNodes; @class GTLRContainer_SoleTenantConfig; @class GTLRContainer_StandardRolloutPolicy; +@class GTLRContainer_StatefulHAConfig; @class GTLRContainer_Status; @class GTLRContainer_Status_Details_Item; @class GTLRContainer_StatusCondition; @@ -441,6 +442,29 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_ClusterUpdate_DesiredDatapathP */ FOUNDATION_EXTERN NSString * const kGTLRContainer_ClusterUpdate_DesiredDatapathProvider_LegacyDatapath; +// ---------------------------------------------------------------------------- +// GTLRContainer_ClusterUpdate.desiredInTransitEncryptionConfig + +/** + * Unspecified, will be inferred as default - + * IN_TRANSIT_ENCRYPTION_UNSPECIFIED. + * + * Value: "IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_ClusterUpdate_DesiredInTransitEncryptionConfig_InTransitEncryptionConfigUnspecified; +/** + * In-transit encryption is disabled. + * + * Value: "IN_TRANSIT_ENCRYPTION_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_ClusterUpdate_DesiredInTransitEncryptionConfig_InTransitEncryptionDisabled; +/** + * Data in-transit is encrypted using inter-node transparent encryption. + * + * Value: "IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_ClusterUpdate_DesiredInTransitEncryptionConfig_InTransitEncryptionInterNodeTransparent; + // ---------------------------------------------------------------------------- // GTLRContainer_ClusterUpdate.desiredPrivateIpv6GoogleAccess @@ -938,6 +962,29 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_NetworkConfig_DatapathProvider */ FOUNDATION_EXTERN NSString * const kGTLRContainer_NetworkConfig_DatapathProvider_LegacyDatapath; +// ---------------------------------------------------------------------------- +// GTLRContainer_NetworkConfig.inTransitEncryptionConfig + +/** + * Unspecified, will be inferred as default - + * IN_TRANSIT_ENCRYPTION_UNSPECIFIED. + * + * Value: "IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_NetworkConfig_InTransitEncryptionConfig_InTransitEncryptionConfigUnspecified; +/** + * In-transit encryption is disabled. + * + * Value: "IN_TRANSIT_ENCRYPTION_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_NetworkConfig_InTransitEncryptionConfig_InTransitEncryptionDisabled; +/** + * Data in-transit is encrypted using inter-node transparent encryption. + * + * Value: "IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_NetworkConfig_InTransitEncryptionConfig_InTransitEncryptionInterNodeTransparent; + // ---------------------------------------------------------------------------- // GTLRContainer_NetworkConfig.privateIpv6GoogleAccess @@ -2081,6 +2128,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) GTLRContainer_NetworkPolicyConfig *networkPolicyConfig; +/** Optional. Configuration for the StatefulHA add-on. */ +@property(nonatomic, strong, nullable) GTLRContainer_StatefulHAConfig *statefulHaConfig; + @end @@ -3181,6 +3231,23 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** The desired config of Intra-node visibility. */ @property(nonatomic, strong, nullable) GTLRContainer_IntraNodeVisibilityConfig *desiredIntraNodeVisibilityConfig; +/** + * Specify the details of in-transit encryption. + * + * Likely values: + * @arg @c kGTLRContainer_ClusterUpdate_DesiredInTransitEncryptionConfig_InTransitEncryptionConfigUnspecified + * Unspecified, will be inferred as default - + * IN_TRANSIT_ENCRYPTION_UNSPECIFIED. (Value: + * "IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED") + * @arg @c kGTLRContainer_ClusterUpdate_DesiredInTransitEncryptionConfig_InTransitEncryptionDisabled + * In-transit encryption is disabled. (Value: + * "IN_TRANSIT_ENCRYPTION_DISABLED") + * @arg @c kGTLRContainer_ClusterUpdate_DesiredInTransitEncryptionConfig_InTransitEncryptionInterNodeTransparent + * Data in-transit is encrypted using inter-node transparent encryption. + * (Value: "IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT") + */ +@property(nonatomic, copy, nullable) NSString *desiredInTransitEncryptionConfig; + /** Desired Beta APIs to be enabled for cluster. */ @property(nonatomic, strong, nullable) GTLRContainer_K8sBetaAPIConfig *desiredK8sBetaApis; @@ -4932,6 +4999,23 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) GTLRContainer_GatewayAPIConfig *gatewayApiConfig; +/** + * Specify the details of in-transit encryption. + * + * Likely values: + * @arg @c kGTLRContainer_NetworkConfig_InTransitEncryptionConfig_InTransitEncryptionConfigUnspecified + * Unspecified, will be inferred as default - + * IN_TRANSIT_ENCRYPTION_UNSPECIFIED. (Value: + * "IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED") + * @arg @c kGTLRContainer_NetworkConfig_InTransitEncryptionConfig_InTransitEncryptionDisabled + * In-transit encryption is disabled. (Value: + * "IN_TRANSIT_ENCRYPTION_DISABLED") + * @arg @c kGTLRContainer_NetworkConfig_InTransitEncryptionConfig_InTransitEncryptionInterNodeTransparent + * Data in-transit is encrypted using inter-node transparent encryption. + * (Value: "IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT") + */ +@property(nonatomic, copy, nullable) NSString *inTransitEncryptionConfig; + /** * Output only. The relative name of the Google Compute Engine * network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks) @@ -7524,6 +7608,21 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * Configuration for the Stateful HA add-on. + */ +@interface GTLRContainer_StatefulHAConfig : GTLRObject + +/** + * Whether the Stateful HA add-on is enabled for this cluster. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +@end + + /** * The `Status` type defines a logical error model that is suitable for * different programming environments, including REST APIs and RPC APIs. It is diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerQuery.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerQuery.h index 5d9a9725a..9febf4923 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerQuery.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerQuery.h @@ -323,8 +323,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Gets the public component of the cluster signing keys in JSON Web Key - * format. This API is not yet intended for general use, and is not available - * for all clusters. + * format. * * Method: container.projects.locations.clusters.getJwks */ @@ -340,8 +339,7 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRContainer_GetJSONWebKeysResponse. * * Gets the public component of the cluster signing keys in JSON Web Key - * format. This API is not yet intended for general use, and is not available - * for all clusters. + * format. * * @param parent The cluster (project, location, cluster name) to get keys for. * Specified in the format `projects/ * /locations/ * /clusters/ *`. @@ -1243,8 +1241,7 @@ GTLR_DEPRECATED * Gets the OIDC discovery document for the cluster. See the [OpenID Connect * Discovery 1.0 * specification](https://openid.net/specs/openid-connect-discovery-1_0.html) - * for details. This API is not yet intended for general use, and is not - * available for all clusters. + * for details. * * Method: container.projects.locations.clusters.well-known.getOpenid-configuration */ @@ -1262,8 +1259,7 @@ GTLR_DEPRECATED * Gets the OIDC discovery document for the cluster. See the [OpenID Connect * Discovery 1.0 * specification](https://openid.net/specs/openid-connect-discovery-1_0.html) - * for details. This API is not yet intended for general use, and is not - * available for all clusters. + * for details. * * @param parent The cluster (project, location, cluster name) to get the * discovery document for. Specified in the format `projects/ * /locations/ * diff --git a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h index 6887e782c..7dca6b9af 100644 --- a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h +++ b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h @@ -1044,7 +1044,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityObjects.m b/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityObjects.m new file mode 100644 index 000000000..adc1f6a0e --- /dev/null +++ b/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityObjects.m @@ -0,0 +1,106 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Data Portability API (dataportability/v1beta) +// Description: +// The Data Portability API lets you build applications that request +// authorization from a user to move a copy of data from Google services into +// your application. This enables data portability and facilitates switching +// services. +// Documentation: +// https://developers.google.com/data-portability + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRDataPortability_PortabilityArchiveState.state +NSString * const kGTLRDataPortability_PortabilityArchiveState_State_Cancelled = @"CANCELLED"; +NSString * const kGTLRDataPortability_PortabilityArchiveState_State_Complete = @"COMPLETE"; +NSString * const kGTLRDataPortability_PortabilityArchiveState_State_Failed = @"FAILED"; +NSString * const kGTLRDataPortability_PortabilityArchiveState_State_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRDataPortability_PortabilityArchiveState_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// +// GTLRDataPortability_Empty +// + +@implementation GTLRDataPortability_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDataPortability_InitiatePortabilityArchiveRequest +// + +@implementation GTLRDataPortability_InitiatePortabilityArchiveRequest +@dynamic resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDataPortability_InitiatePortabilityArchiveResponse +// + +@implementation GTLRDataPortability_InitiatePortabilityArchiveResponse +@dynamic archiveJobId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDataPortability_PortabilityArchiveState +// + +@implementation GTLRDataPortability_PortabilityArchiveState +@dynamic name, state, urls; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"urls" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDataPortability_ResetAuthorizationRequest +// + +@implementation GTLRDataPortability_ResetAuthorizationRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDataPortability_RetryPortabilityArchiveRequest +// + +@implementation GTLRDataPortability_RetryPortabilityArchiveRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDataPortability_RetryPortabilityArchiveResponse +// + +@implementation GTLRDataPortability_RetryPortabilityArchiveResponse +@dynamic archiveJobId; +@end diff --git a/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityQuery.m b/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityQuery.m new file mode 100644 index 000000000..eebe24fb7 --- /dev/null +++ b/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityQuery.m @@ -0,0 +1,110 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Data Portability API (dataportability/v1beta) +// Description: +// The Data Portability API lets you build applications that request +// authorization from a user to move a copy of data from Google services into +// your application. This enables data portability and facilitates switching +// services. +// Documentation: +// https://developers.google.com/data-portability + +#import + +@implementation GTLRDataPortabilityQuery + +@dynamic fields; + +@end + +@implementation GTLRDataPortabilityQuery_ArchiveJobsGetPortabilityArchiveState + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta/{+name}"; + GTLRDataPortabilityQuery_ArchiveJobsGetPortabilityArchiveState *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDataPortability_PortabilityArchiveState class]; + query.loggingName = @"dataportability.archiveJobs.getPortabilityArchiveState"; + return query; +} + +@end + +@implementation GTLRDataPortabilityQuery_ArchiveJobsRetry + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDataPortability_RetryPortabilityArchiveRequest *)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}:retry"; + GTLRDataPortabilityQuery_ArchiveJobsRetry *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDataPortability_RetryPortabilityArchiveResponse class]; + query.loggingName = @"dataportability.archiveJobs.retry"; + return query; +} + +@end + +@implementation GTLRDataPortabilityQuery_AuthorizationReset + ++ (instancetype)queryWithObject:(GTLRDataPortability_ResetAuthorizationRequest *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"v1beta/authorization:reset"; + GTLRDataPortabilityQuery_AuthorizationReset *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRDataPortability_Empty class]; + query.loggingName = @"dataportability.authorization.reset"; + return query; +} + +@end + +@implementation GTLRDataPortabilityQuery_PortabilityArchiveInitiate + ++ (instancetype)queryWithObject:(GTLRDataPortability_InitiatePortabilityArchiveRequest *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"v1beta/portabilityArchive:initiate"; + GTLRDataPortabilityQuery_PortabilityArchiveInitiate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRDataPortability_InitiatePortabilityArchiveResponse class]; + query.loggingName = @"dataportability.portabilityArchive.initiate"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m b/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m new file mode 100644 index 000000000..bff548dc7 --- /dev/null +++ b/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m @@ -0,0 +1,55 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Data Portability API (dataportability/v1beta) +// Description: +// The Data Portability API lets you build applications that request +// authorization from a user to move a copy of data from Google services into +// your application. This enables data portability and facilitates switching +// services. +// Documentation: +// https://developers.google.com/data-portability + +#import + +// ---------------------------------------------------------------------------- +// Authorization scopes + +NSString * const kGTLRAuthScopeDataPortabilityBusinessmessagingConversations = @"https://www.googleapis.com/auth/dataportability.businessmessaging.conversations"; +NSString * const kGTLRAuthScopeDataPortabilityMyactivitySearch = @"https://www.googleapis.com/auth/dataportability.myactivity.search"; +NSString * const kGTLRAuthScopeDataPortabilityMyactivityShopping = @"https://www.googleapis.com/auth/dataportability.myactivity.shopping"; +NSString * const kGTLRAuthScopeDataPortabilityMyactivityYoutube = @"https://www.googleapis.com/auth/dataportability.myactivity.youtube"; +NSString * const kGTLRAuthScopeDataPortabilityShoppingAddresses = @"https://www.googleapis.com/auth/dataportability.shopping.addresses"; +NSString * const kGTLRAuthScopeDataPortabilityShoppingReviews = @"https://www.googleapis.com/auth/dataportability.shopping.reviews"; +NSString * const kGTLRAuthScopeDataPortabilityYoutubeChannel = @"https://www.googleapis.com/auth/dataportability.youtube.channel"; +NSString * const kGTLRAuthScopeDataPortabilityYoutubeComments = @"https://www.googleapis.com/auth/dataportability.youtube.comments"; +NSString * const kGTLRAuthScopeDataPortabilityYoutubeLiveChat = @"https://www.googleapis.com/auth/dataportability.youtube.live_chat"; +NSString * const kGTLRAuthScopeDataPortabilityYoutubeMusic = @"https://www.googleapis.com/auth/dataportability.youtube.music"; +NSString * const kGTLRAuthScopeDataPortabilityYoutubePrivatePlaylists = @"https://www.googleapis.com/auth/dataportability.youtube.private_playlists"; +NSString * const kGTLRAuthScopeDataPortabilityYoutubePrivateVideos = @"https://www.googleapis.com/auth/dataportability.youtube.private_videos"; +NSString * const kGTLRAuthScopeDataPortabilityYoutubePublicPlaylists = @"https://www.googleapis.com/auth/dataportability.youtube.public_playlists"; +NSString * const kGTLRAuthScopeDataPortabilityYoutubePublicVideos = @"https://www.googleapis.com/auth/dataportability.youtube.public_videos"; +NSString * const kGTLRAuthScopeDataPortabilityYoutubeShopping = @"https://www.googleapis.com/auth/dataportability.youtube.shopping"; +NSString * const kGTLRAuthScopeDataPortabilityYoutubeSubscriptions = @"https://www.googleapis.com/auth/dataportability.youtube.subscriptions"; +NSString * const kGTLRAuthScopeDataPortabilityYoutubeUnlistedPlaylists = @"https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists"; +NSString * const kGTLRAuthScopeDataPortabilityYoutubeUnlistedVideos = @"https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos"; + +// ---------------------------------------------------------------------------- +// GTLRDataPortabilityService +// + +@implementation GTLRDataPortabilityService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://dataportability.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortability.h b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortability.h new file mode 100644 index 000000000..26ca6fccb --- /dev/null +++ b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortability.h @@ -0,0 +1,16 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Data Portability API (dataportability/v1beta) +// Description: +// The Data Portability API lets you build applications that request +// authorization from a user to move a copy of data from Google services into +// your application. This enables data portability and facilitates switching +// services. +// Documentation: +// https://developers.google.com/data-portability + +#import "GTLRDataPortabilityObjects.h" +#import "GTLRDataPortabilityQuery.h" +#import "GTLRDataPortabilityService.h" diff --git a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityObjects.h b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityObjects.h new file mode 100644 index 000000000..cb4706d6a --- /dev/null +++ b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityObjects.h @@ -0,0 +1,169 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Data Portability API (dataportability/v1beta) +// Description: +// The Data Portability API lets you build applications that request +// authorization from a user to move a copy of data from Google services into +// your application. This enables data portability and facilitates switching +// services. +// Documentation: +// https://developers.google.com/data-portability + +#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 + +// ---------------------------------------------------------------------------- +// Constants - For some of the classes' properties below. + +// ---------------------------------------------------------------------------- +// GTLRDataPortability_PortabilityArchiveState.state + +/** + * The Takeout job is cancelled. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataPortability_PortabilityArchiveState_State_Cancelled; +/** + * The Takeout job is complete. + * + * Value: "COMPLETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataPortability_PortabilityArchiveState_State_Complete; +/** + * The Takeout job failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataPortability_PortabilityArchiveState_State_Failed; +/** + * The Takeout job is in progress. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataPortability_PortabilityArchiveState_State_InProgress; +/** + * Default value. This value is unused. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataPortability_PortabilityArchiveState_State_StateUnspecified; + +/** + * 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 GTLRDataPortability_Empty : GTLRObject +@end + + +/** + * Request to kick off a Takeout Archive job. + */ +@interface GTLRDataPortability_InitiatePortabilityArchiveRequest : GTLRObject + +/** + * The resources from which you're exporting data. These values have a 1:1 + * correspondence with the OAuth scopes. + */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * Response from initiating a Take Archive job. + */ +@interface GTLRDataPortability_InitiatePortabilityArchiveResponse : GTLRObject + +/** + * The archive job ID that is initiated in the Takeout API. This can be used to + * get the state of the job. + */ +@property(nonatomic, copy, nullable) NSString *archiveJobId; + +@end + + +/** + * Resource that contains the state of a Takeout Archive job. + */ +@interface GTLRDataPortability_PortabilityArchiveState : GTLRObject + +/** + * The resource name of ArchiveJob's PortabilityArchiveState singleton. The + * format is: archiveJobs/{archive_job}/portabilityArchiveState. archive_job is + * the job ID provided in the request. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Resource that represents the state of the Takeout Archive job. + * + * Likely values: + * @arg @c kGTLRDataPortability_PortabilityArchiveState_State_Cancelled The + * Takeout job is cancelled. (Value: "CANCELLED") + * @arg @c kGTLRDataPortability_PortabilityArchiveState_State_Complete The + * Takeout job is complete. (Value: "COMPLETE") + * @arg @c kGTLRDataPortability_PortabilityArchiveState_State_Failed The + * Takeout job failed. (Value: "FAILED") + * @arg @c kGTLRDataPortability_PortabilityArchiveState_State_InProgress The + * Takeout job is in progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRDataPortability_PortabilityArchiveState_State_StateUnspecified + * Default value. This value is unused. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * If the state is complete, this method returns the signed URLs of the objects + * in the Cloud Storage bucket. + */ +@property(nonatomic, strong, nullable) NSArray *urls; + +@end + + +/** + * Request to reset exhausted OAuth scopes. + */ +@interface GTLRDataPortability_ResetAuthorizationRequest : GTLRObject +@end + + +/** + * Request to retry a failed Portability Archive job. + */ +@interface GTLRDataPortability_RetryPortabilityArchiveRequest : GTLRObject +@end + + +/** + * Response from retrying a Portability Archive. + */ +@interface GTLRDataPortability_RetryPortabilityArchiveResponse : GTLRObject + +/** + * The archive job ID that is initiated by the retry endpoint. This can be used + * to get the state of the new job + */ +@property(nonatomic, copy, nullable) NSString *archiveJobId; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h new file mode 100644 index 000000000..250a78173 --- /dev/null +++ b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h @@ -0,0 +1,234 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Data Portability API (dataportability/v1beta) +// Description: +// The Data Portability API lets you build applications that request +// authorization from a user to move a copy of data from Google services into +// your application. This enables data portability and facilitates switching +// services. +// Documentation: +// https://developers.google.com/data-portability + +#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 "GTLRDataPortabilityObjects.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 Data Portability query classes. + */ +@interface GTLRDataPortabilityQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Retrieves the state of a Takeout Archive job for the Portability API. + * + * Method: dataportability.archiveJobs.getPortabilityArchiveState + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations + * @c kGTLRAuthScopeDataPortabilityMyactivitySearch + * @c kGTLRAuthScopeDataPortabilityMyactivityShopping + * @c kGTLRAuthScopeDataPortabilityMyactivityYoutube + * @c kGTLRAuthScopeDataPortabilityShoppingAddresses + * @c kGTLRAuthScopeDataPortabilityShoppingReviews + * @c kGTLRAuthScopeDataPortabilityYoutubeChannel + * @c kGTLRAuthScopeDataPortabilityYoutubeComments + * @c kGTLRAuthScopeDataPortabilityYoutubeLiveChat + * @c kGTLRAuthScopeDataPortabilityYoutubeMusic + * @c kGTLRAuthScopeDataPortabilityYoutubePrivatePlaylists + * @c kGTLRAuthScopeDataPortabilityYoutubePrivateVideos + * @c kGTLRAuthScopeDataPortabilityYoutubePublicPlaylists + * @c kGTLRAuthScopeDataPortabilityYoutubePublicVideos + * @c kGTLRAuthScopeDataPortabilityYoutubeShopping + * @c kGTLRAuthScopeDataPortabilityYoutubeSubscriptions + * @c kGTLRAuthScopeDataPortabilityYoutubeUnlistedPlaylists + * @c kGTLRAuthScopeDataPortabilityYoutubeUnlistedVideos + */ +@interface GTLRDataPortabilityQuery_ArchiveJobsGetPortabilityArchiveState : GTLRDataPortabilityQuery + +/** + * Required. The archive job ID that is returned when you request the state of + * the job from Takeout. The format is: + * archiveJobs/{archive_job}/portabilityArchiveState. archive_job is the job ID + * returned by the InitiatePortabilityArchiveResponse. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDataPortability_PortabilityArchiveState. + * + * Retrieves the state of a Takeout Archive job for the Portability API. + * + * @param name Required. The archive job ID that is returned when you request + * the state of the job from Takeout. The format is: + * archiveJobs/{archive_job}/portabilityArchiveState. archive_job is the job + * ID returned by the InitiatePortabilityArchiveResponse. + * + * @return GTLRDataPortabilityQuery_ArchiveJobsGetPortabilityArchiveState + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retries a failed Portability Archive job. + * + * Method: dataportability.archiveJobs.retry + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations + * @c kGTLRAuthScopeDataPortabilityMyactivitySearch + * @c kGTLRAuthScopeDataPortabilityMyactivityShopping + * @c kGTLRAuthScopeDataPortabilityMyactivityYoutube + * @c kGTLRAuthScopeDataPortabilityShoppingAddresses + * @c kGTLRAuthScopeDataPortabilityShoppingReviews + * @c kGTLRAuthScopeDataPortabilityYoutubeChannel + * @c kGTLRAuthScopeDataPortabilityYoutubeComments + * @c kGTLRAuthScopeDataPortabilityYoutubeLiveChat + * @c kGTLRAuthScopeDataPortabilityYoutubeMusic + * @c kGTLRAuthScopeDataPortabilityYoutubePrivatePlaylists + * @c kGTLRAuthScopeDataPortabilityYoutubePrivateVideos + * @c kGTLRAuthScopeDataPortabilityYoutubePublicPlaylists + * @c kGTLRAuthScopeDataPortabilityYoutubePublicVideos + * @c kGTLRAuthScopeDataPortabilityYoutubeShopping + * @c kGTLRAuthScopeDataPortabilityYoutubeSubscriptions + * @c kGTLRAuthScopeDataPortabilityYoutubeUnlistedPlaylists + * @c kGTLRAuthScopeDataPortabilityYoutubeUnlistedVideos + */ +@interface GTLRDataPortabilityQuery_ArchiveJobsRetry : GTLRDataPortabilityQuery + +/** + * Required. The archive job ID returned by the + * InitiatePortabilityArchiveResponse to be retried. Retrying is only executed + * if the initial job failed. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDataPortability_RetryPortabilityArchiveResponse. + * + * Retries a failed Portability Archive job. + * + * @param object The @c GTLRDataPortability_RetryPortabilityArchiveRequest to + * include in the query. + * @param name Required. The archive job ID returned by the + * InitiatePortabilityArchiveResponse to be retried. Retrying is only + * executed if the initial job failed. + * + * @return GTLRDataPortabilityQuery_ArchiveJobsRetry + */ ++ (instancetype)queryWithObject:(GTLRDataPortability_RetryPortabilityArchiveRequest *)object + name:(NSString *)name; + +@end + +/** + * Revokes OAuth tokens and resets exhausted scopes for a user/project pair. + * This method allows you to initiate a Takeout request after a new consent is + * granted. This method also indicates that previous archives can be garbage + * collected. You should call this method when all jobs are complete and all + * archives are downloaded. Do not call it only when you start a new job. + * + * Method: dataportability.authorization.reset + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations + * @c kGTLRAuthScopeDataPortabilityMyactivitySearch + * @c kGTLRAuthScopeDataPortabilityMyactivityShopping + * @c kGTLRAuthScopeDataPortabilityMyactivityYoutube + * @c kGTLRAuthScopeDataPortabilityShoppingAddresses + * @c kGTLRAuthScopeDataPortabilityShoppingReviews + * @c kGTLRAuthScopeDataPortabilityYoutubeChannel + * @c kGTLRAuthScopeDataPortabilityYoutubeComments + * @c kGTLRAuthScopeDataPortabilityYoutubeLiveChat + * @c kGTLRAuthScopeDataPortabilityYoutubeMusic + * @c kGTLRAuthScopeDataPortabilityYoutubePrivatePlaylists + * @c kGTLRAuthScopeDataPortabilityYoutubePrivateVideos + * @c kGTLRAuthScopeDataPortabilityYoutubePublicPlaylists + * @c kGTLRAuthScopeDataPortabilityYoutubePublicVideos + * @c kGTLRAuthScopeDataPortabilityYoutubeShopping + * @c kGTLRAuthScopeDataPortabilityYoutubeSubscriptions + * @c kGTLRAuthScopeDataPortabilityYoutubeUnlistedPlaylists + * @c kGTLRAuthScopeDataPortabilityYoutubeUnlistedVideos + */ +@interface GTLRDataPortabilityQuery_AuthorizationReset : GTLRDataPortabilityQuery + +/** + * Fetches a @c GTLRDataPortability_Empty. + * + * Revokes OAuth tokens and resets exhausted scopes for a user/project pair. + * This method allows you to initiate a Takeout request after a new consent is + * granted. This method also indicates that previous archives can be garbage + * collected. You should call this method when all jobs are complete and all + * archives are downloaded. Do not call it only when you start a new job. + * + * @param object The @c GTLRDataPortability_ResetAuthorizationRequest to + * include in the query. + * + * @return GTLRDataPortabilityQuery_AuthorizationReset + */ ++ (instancetype)queryWithObject:(GTLRDataPortability_ResetAuthorizationRequest *)object; + +@end + +/** + * Initiates a new Takeout Archive job for the Portability API. + * + * Method: dataportability.portabilityArchive.initiate + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations + * @c kGTLRAuthScopeDataPortabilityMyactivitySearch + * @c kGTLRAuthScopeDataPortabilityMyactivityShopping + * @c kGTLRAuthScopeDataPortabilityMyactivityYoutube + * @c kGTLRAuthScopeDataPortabilityShoppingAddresses + * @c kGTLRAuthScopeDataPortabilityShoppingReviews + * @c kGTLRAuthScopeDataPortabilityYoutubeChannel + * @c kGTLRAuthScopeDataPortabilityYoutubeComments + * @c kGTLRAuthScopeDataPortabilityYoutubeLiveChat + * @c kGTLRAuthScopeDataPortabilityYoutubeMusic + * @c kGTLRAuthScopeDataPortabilityYoutubePrivatePlaylists + * @c kGTLRAuthScopeDataPortabilityYoutubePrivateVideos + * @c kGTLRAuthScopeDataPortabilityYoutubePublicPlaylists + * @c kGTLRAuthScopeDataPortabilityYoutubePublicVideos + * @c kGTLRAuthScopeDataPortabilityYoutubeShopping + * @c kGTLRAuthScopeDataPortabilityYoutubeSubscriptions + * @c kGTLRAuthScopeDataPortabilityYoutubeUnlistedPlaylists + * @c kGTLRAuthScopeDataPortabilityYoutubeUnlistedVideos + */ +@interface GTLRDataPortabilityQuery_PortabilityArchiveInitiate : GTLRDataPortabilityQuery + +/** + * Fetches a @c GTLRDataPortability_InitiatePortabilityArchiveResponse. + * + * Initiates a new Takeout Archive job for the Portability API. + * + * @param object The @c GTLRDataPortability_InitiatePortabilityArchiveRequest + * to include in the query. + * + * @return GTLRDataPortabilityQuery_PortabilityArchiveInitiate + */ ++ (instancetype)queryWithObject:(GTLRDataPortability_InitiatePortabilityArchiveRequest *)object; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h new file mode 100644 index 000000000..0f5eec395 --- /dev/null +++ b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h @@ -0,0 +1,188 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Data Portability API (dataportability/v1beta) +// Description: +// The Data Portability API lets you build applications that request +// authorization from a user to move a copy of data from Google services into +// your application. This enables data portability and facilitates switching +// services. +// Documentation: +// https://developers.google.com/data-portability + +#import + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +// ---------------------------------------------------------------------------- +// Authorization scopes + +/** + * Authorization scope: Move a copy of messages between you and the businesses + * you have conversations with. + * + * Value "https://www.googleapis.com/auth/dataportability.businessmessaging.conversations" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityBusinessmessagingConversations; +/** + * Authorization scope: Move a copy of your search activity. + * + * Value "https://www.googleapis.com/auth/dataportability.myactivity.search" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMyactivitySearch; +/** + * Authorization scope: Move a copy of your Shopping activity. + * + * Value "https://www.googleapis.com/auth/dataportability.myactivity.shopping" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMyactivityShopping; +/** + * Authorization scope: Move a copy of your YouTube activity. + * + * Value "https://www.googleapis.com/auth/dataportability.myactivity.youtube" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMyactivityYoutube; +/** + * Authorization scope: Move a copy of your shipping information. + * + * Value "https://www.googleapis.com/auth/dataportability.shopping.addresses" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityShoppingAddresses; +/** + * Authorization scope: Move a copy of reviews you wrote about products or + * online stores. + * + * Value "https://www.googleapis.com/auth/dataportability.shopping.reviews" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityShoppingReviews; +/** + * Authorization scope: Move a copy of information about your channel. + * + * Value "https://www.googleapis.com/auth/dataportability.youtube.channel" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeChannel; +/** + * Authorization scope: Move a copy of your comments. + * + * Value "https://www.googleapis.com/auth/dataportability.youtube.comments" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeComments; +/** + * Authorization scope: Move a copy of your messages in live chat. + * + * Value "https://www.googleapis.com/auth/dataportability.youtube.live_chat" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeLiveChat; +/** + * Authorization scope: Move a copy of your uploaded YouTube Music tracks and + * your YouTube Music library. + * + * Value "https://www.googleapis.com/auth/dataportability.youtube.music" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeMusic; +/** + * Authorization scope: Move a copy of your private playlists. + * + * Value "https://www.googleapis.com/auth/dataportability.youtube.private_playlists" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubePrivatePlaylists; +/** + * Authorization scope: Move a copy of your private videos and information + * about them. + * + * Value "https://www.googleapis.com/auth/dataportability.youtube.private_videos" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubePrivateVideos; +/** + * Authorization scope: Move a copy of your public playlists. + * + * Value "https://www.googleapis.com/auth/dataportability.youtube.public_playlists" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubePublicPlaylists; +/** + * Authorization scope: Move a copy of your public videos and information about + * them. + * + * Value "https://www.googleapis.com/auth/dataportability.youtube.public_videos" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubePublicVideos; +/** + * Authorization scope: Move a copy of YouTube Shopping Wishlists, and wishlist + * items. + * + * Value "https://www.googleapis.com/auth/dataportability.youtube.shopping" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeShopping; +/** + * Authorization scope: Move a copy of your channel subscriptions, even if + * they're private. + * + * Value "https://www.googleapis.com/auth/dataportability.youtube.subscriptions" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeSubscriptions; +/** + * Authorization scope: Move a copy of your unlisted playlists. + * + * Value "https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeUnlistedPlaylists; +/** + * Authorization scope: Move a copy of your unlisted videos and information + * about them. + * + * Value "https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeUnlistedVideos; + +// ---------------------------------------------------------------------------- +// GTLRDataPortabilityService +// + +/** + * Service for executing Data Portability API queries. + * + * The Data Portability API lets you build applications that request + * authorization from a user to move a copy of data from Google services into + * your application. This enables data portability and facilitates switching + * services. + */ +@interface GTLRDataPortabilityService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRDataPortabilityQuery.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/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h index 8e54b1d3d..96c705d91 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h @@ -2504,7 +2504,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m b/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m index 0235fff7d..ca8d822b9 100644 --- a/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m +++ b/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m @@ -1805,8 +1805,8 @@ @implementation GTLRDataflow_Parameter @implementation GTLRDataflow_ParameterMetadata @dynamic customMetadata, defaultValue, enumOptions, groupName, helpText, - isOptional, label, name, paramType, parentName, parentTriggerValues, - regexes; + hiddenUi, isOptional, label, name, paramType, parentName, + parentTriggerValues, regexes; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3158,7 +3158,8 @@ @implementation GTLRDataflow_TaskRunnerSettings // @implementation GTLRDataflow_TemplateMetadata -@dynamic descriptionProperty, name, parameters; +@dynamic descriptionProperty, name, parameters, streaming, supportsAtLeastOnce, + supportsExactlyOnce; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h index 608b8c4c2..f0cae2d7d 100644 --- a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h +++ b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h @@ -5442,6 +5442,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution /** Required. The help text to display for the parameter. */ @property(nonatomic, copy, nullable) NSString *helpText; +/** + * Optional. Whether the parameter should be hidden in the UI. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hiddenUi; + /** * Optional. Whether the parameter is optional. Defaults to false. * @@ -7914,6 +7921,27 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution /** The parameters for the template. */ @property(nonatomic, strong, nullable) NSArray *parameters; +/** + * Optional. Indicates if the template is streaming or not. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *streaming; + +/** + * Optional. Indicates if the streaming template supports at least once mode. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *supportsAtLeastOnce; + +/** + * Optional. Indicates if the streaming template supports exactly once mode. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *supportsExactlyOnce; + @end diff --git a/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m b/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m index 97185b6d1..e857edbc6 100644 --- a/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m +++ b/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m @@ -207,7 +207,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRDataformQuery_ProjectsLocationsRepositoriesCompilationResultsList -@dynamic pageSize, pageToken, parent; +@dynamic filter, pageSize, pageToken, parent; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; diff --git a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h index 338960084..833e85fae 100644 --- a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h +++ b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h @@ -415,7 +415,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -672,10 +676,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ @property(nonatomic, copy, nullable) NSString *name; /** - * Immutable. The name of the release config to compile. The release config's - * 'current_compilation_result' field will be updated to this compilation - * result. Must be in the format `projects/ * /locations/ * /repositories/ * - * /releaseConfigs/ *`. + * Immutable. The name of the release config to compile. Must be in the format + * `projects/ * /locations/ * /repositories/ * /releaseConfigs/ *`. */ @property(nonatomic, copy, nullable) NSString *releaseConfig; @@ -1999,11 +2001,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ /** * Optional. The name of the currently released compilation result for this - * release config. This value is updated when a compilation result is created - * from this release config, or when this resource is updated by API call - * (perhaps to roll back to an earlier release). The compilation result must - * have been created using this release config. Must be in the format - * `projects/ * /locations/ * /repositories/ * /compilationResults/ *`. + * release config. This value is updated when a compilation result is + * automatically created from this release config (using cron_schedule), or + * when this resource is updated by API call (perhaps to roll back to an + * earlier release). The compilation result must have been created using this + * release config. Must be in the format `projects/ * /locations/ * + * /repositories/ * /compilationResults/ *`. */ @property(nonatomic, copy, nullable) NSString *releaseCompilationResult; diff --git a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h index e4aaf832e..c1b69a55e 100644 --- a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h +++ b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h @@ -342,6 +342,9 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRDataformQuery_ProjectsLocationsRepositoriesCompilationResultsList : GTLRDataformQuery +/** Optional. Filter for the returned list. */ +@property(nonatomic, copy, nullable) NSString *filter; + /** * Optional. Maximum number of compilation results to return. The server may * return fewer items than requested. If unspecified, the server will pick an diff --git a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h index 76d18ce71..5c8c6a582 100644 --- a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h +++ b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h @@ -1652,14 +1652,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted * 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. @@ -1668,6 +1684,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted * 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/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h index e9b1770c4..dad3f3669 100644 --- a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h +++ b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h @@ -1032,7 +1032,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor /** * Role that is assigned to the list of members, or principals. For example, - * roles/viewer, roles/editor, or roles/owner. + * roles/viewer, roles/editor, or roles/owner.For an overview of the IAM roles + * and permissions, see the IAM documentation + * (https://cloud.google.com/iam/docs/roles-overview). For a list of the + * available pre-defined roles, see here + * (https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h index 89bfa343f..993b8a235 100644 --- a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h +++ b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h @@ -1700,9 +1700,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni */ @property(nonatomic, strong, nullable) NSNumber *maxConcurrentCdcTasks; -/** - * Stream large object values. NOTE: This feature is currently experimental. - */ +/** Stream large object values. */ @property(nonatomic, strong, nullable) GTLRDatastream_StreamLargeObjects *streamLargeObjects; @end @@ -2135,7 +2133,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** MySQL specific log position to start replicating from. */ @property(nonatomic, strong, nullable) GTLRDatastream_MysqlLogPosition *mysqlLogPosition; -/** Oracle specific log position to start replicating from. */ +/** Oracle SCN to start replicating from. */ @property(nonatomic, strong, nullable) GTLRDatastream_OracleScnPosition *oracleScnPosition; @end diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h index 7d58fba81..a5c4106dd 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h @@ -5421,6 +5421,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 /** * If `true`, the request will opt out for STT conformer model migration. This * field will be deprecated once force migration takes place in June 2024. + * Please refer to [Dialogflow CX Speech model + * migration](https://cloud.google.com/dialogflow/cx/docs/concept/speech-model-migration). * * Uses NSNumber of boolValue. */ @@ -9621,6 +9623,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 /** * If `true`, the request will opt out for STT conformer model migration. This * field will be deprecated once force migration takes place in June 2024. + * Please refer to [Dialogflow CX Speech model + * migration](https://cloud.google.com/dialogflow/cx/docs/concept/speech-model-migration). * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m index 3daa9a9db..e766e176e 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m @@ -524,6 +524,15 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteTarge @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata @@ -549,7 +558,31 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDisableAdva // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig -@dynamic name, ocrConfig; +@dynamic defaultParsingConfig, name, ocrConfig, parsingConfigOverrides; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig_ParsingConfigOverrides +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig_ParsingConfigOverrides + ++ (Class)classForAdditionalProperties { + return [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig +@dynamic digitalParsingConfig, layoutParsingConfig, ocrParsingConfig; @end @@ -817,6 +850,15 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportUserE @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrConfig @@ -835,6 +877,24 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrParsingConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrParsingConfig +@dynamic enhancedDocumentElements, useNativeText; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"enhancedDocumentElements" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h index 7e7767cc4..5e3ae5b70 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h @@ -22,6 +22,9 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingImportErrorContext; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingServiceContext; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingSourceLocation; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig_ParsingConfigOverrides; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata; @@ -33,7 +36,9 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrParsingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema_StructSchema; @@ -1840,6 +1845,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * The digital parsing configurations for documents. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig : GTLRObject +@end + + /** * Metadata related to the progress of the * SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be @@ -1876,14 +1888,69 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig : GTLRObject /** - * Output only. The full resource name of the Document Processing Config. - * Format: `projects/ * /locations/ * /collections/ * /dataStores/ * - * /documentProcessingConfig`. + * Configurations for default Document parser. If not specified, we will + * configure it as default DigitalParsingConfig, and the default parsing config + * will be applied to all file types for Document parsing. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig *defaultParsingConfig; + +/** + * 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; +/** + * [DEPRECATED] This field is deprecated. To specify OCR parsing config, please + * specify `ocr_parsing_config` in `default_parsing_config` field The OCR + * config. Currently it only applies to PDFs. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrConfig *ocrConfig GTLR_DEPRECATED; + +/** + * Map from file type to override the default parsing configuration based on + * the file type. Supported keys: * `pdf`: Override parsing config for PDF + * files, either digital parsing, ocr parsing or layout parsing is supported. * + * `html`: Override parsing config for HTML files, only digital parsing and or + * layout parsing are supported. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig_ParsingConfigOverrides *parsingConfigOverrides; + +@end + + +/** + * Map from file type to override the default parsing configuration based on + * the file type. Supported keys: * `pdf`: Override parsing config for PDF + * files, either digital parsing, ocr parsing or layout parsing is supported. * + * `html`: Override parsing config for HTML files, only digital parsing and or + * layout parsing are supported. + * + * @note This class is documented as having more properties of + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig. + * Use @c -additionalJSONKeys and @c -additionalPropertyForName: to get + * the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig_ParsingConfigOverrides : GTLRObject +@end + + +/** + * Related configurations applied to a specific type of document parser. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig : GTLRObject + +/** Configurations applied to digital parser. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig *digitalParsingConfig; + +/** Configurations applied to layout parser. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig *layoutParsingConfig; + +/** + * Configurations applied to OCR parser. Currently it only applies to PDFs. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrParsingConfig *ocrParsingConfig; @end @@ -2684,9 +2751,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * The layout parsing configurations for documents. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig : GTLRObject +@end + + /** * The OCR options for parsing documents. */ +GTLR_DEPRECATED @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrConfig : GTLRObject /** @@ -2715,6 +2790,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * The OCR parsing configurations for documents. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOcrParsingConfig : GTLRObject + +/** + * 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. @@ -5571,7 +5668,7 @@ GTLR_DEPRECATED * embedding that is provided in * SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If * SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it - * will use ServingConfig.EmbeddingConfig.field_paths. + * will use ServingConfig.EmbeddingConfig.field_path. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec *embeddingSpec; diff --git a/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h b/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h index d6f39333e..2e2a0e533 100644 --- a/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h +++ b/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h @@ -748,7 +748,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDns_RRSetRoutingPolicyLoadBalancerTarget /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m index 4f4b99a31..b28f5fecf 100644 --- a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m +++ b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m @@ -278,6 +278,11 @@ NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Prelaunch = @"PRELAUNCH"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Unimplemented = @"UNIMPLEMENTED"; +// GTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion.modelType +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeCustom = @"MODEL_TYPE_CUSTOM"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeGenerative = @"MODEL_TYPE_GENERATIVE"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeUnspecified = @"MODEL_TYPE_UNSPECIFIED"; + // GTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion.state NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Creating = @"CREATING"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_State_Deleting = @"DELETING"; @@ -4129,8 +4134,8 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1ProcessorTypeLocationInfo @implementation GTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion @dynamic createTime, deprecationInfo, displayName, documentSchema, - googleManaged, kmsKeyName, kmsKeyVersionName, latestEvaluation, name, - state; + googleManaged, kmsKeyName, kmsKeyVersionName, latestEvaluation, + modelType, name, state; @end diff --git a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h index 951de1f7b..e58c2dbb2 100644 --- a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h +++ b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h @@ -1607,6 +1607,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Processo */ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorType_LaunchStage_Unimplemented; +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion.modelType + +/** + * The processor version has custom model type. + * + * Value: "MODEL_TYPE_CUSTOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeCustom; +/** + * The processor version has generative model type. + * + * Value: "MODEL_TYPE_GENERATIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeGenerative; +/** + * The processor version has unspecified model type. + * + * Value: "MODEL_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion.state @@ -2742,8 +2764,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** * Optional. The labels with user-defined metadata for the request. Label keys - * and values can be no longer than 63 characters (Unicode codepoints), can - * only contain lowercase letters, numeric characters, underscores and dashes. + * and values can be no longer than 63 characters (Unicode codepoints) and can + * only contain lowercase letters, numeric characters, underscores, and dashes. * International characters are allowed. Label values are optional. Label keys * must start with a letter. */ @@ -2764,8 +2786,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** * Optional. The labels with user-defined metadata for the request. Label keys - * and values can be no longer than 63 characters (Unicode codepoints), can - * only contain lowercase letters, numeric characters, underscores and dashes. + * and values can be no longer than 63 characters (Unicode codepoints) and can + * only contain lowercase letters, numeric characters, underscores, and dashes. * International characters are allowed. Label values are optional. Label keys * must start with a letter. * @@ -9151,6 +9173,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** The most recently invoked evaluation for the processor version. */ @property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1EvaluationReference *latestEvaluation; +/** + * Output only. The model type of this processor version. + * + * Likely values: + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeCustom + * The processor version has custom model type. (Value: + * "MODEL_TYPE_CUSTOM") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeGenerative + * The processor version has generative model type. (Value: + * "MODEL_TYPE_GENERATIVE") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion_ModelType_ModelTypeUnspecified + * The processor version has unspecified model type. (Value: + * "MODEL_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *modelType; + /** * The resource name of the processor version. Format: * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}` @@ -9239,8 +9277,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** * Optional. The labels with user-defined metadata for the request. Label keys - * and values can be no longer than 63 characters (Unicode codepoints), can - * only contain lowercase letters, numeric characters, underscores and dashes. + * and values can be no longer than 63 characters (Unicode codepoints) and can + * only contain lowercase letters, numeric characters, underscores, and dashes. * International characters are allowed. Label values are optional. Label keys * must start with a letter. */ @@ -9264,8 +9302,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** * Optional. The labels with user-defined metadata for the request. Label keys - * and values can be no longer than 63 characters (Unicode codepoints), can - * only contain lowercase letters, numeric characters, underscores and dashes. + * and values can be no longer than 63 characters (Unicode codepoints) and can + * only contain lowercase letters, numeric characters, underscores, and dashes. * International characters are allowed. Label values are optional. Label keys * must start with a letter. * diff --git a/Sources/GeneratedServices/Doubleclicksearch/Public/GoogleAPIClientForREST/GTLRDoubleclicksearchObjects.h b/Sources/GeneratedServices/Doubleclicksearch/Public/GoogleAPIClientForREST/GTLRDoubleclicksearchObjects.h index 43d374b77..e86f65df9 100644 --- a/Sources/GeneratedServices/Doubleclicksearch/Public/GoogleAPIClientForREST/GTLRDoubleclicksearchObjects.h +++ b/Sources/GeneratedServices/Doubleclicksearch/Public/GoogleAPIClientForREST/GTLRDoubleclicksearchObjects.h @@ -133,7 +133,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDoubleclicksearch_Conversion_AdUserDataC @property(nonatomic, strong, nullable) NSNumber *adId; /** - * Ad user data consent for this conversion. + * Represents consent for core platform services (CPS) preferences in settings. + * No default value. Acceptable values are: GRANTED: The desired consent status + * is to grant. Read the CPS preferences from GTE settings. DENIED: The desired + * consent status is to deny; CPS list is empty. * * Likely values: * @arg @c kGTLRDoubleclicksearch_Conversion_AdUserDataConsent_Denied Denied. diff --git a/Sources/GeneratedServices/Drive/GTLRDriveObjects.m b/Sources/GeneratedServices/Drive/GTLRDriveObjects.m index fe62d2e60..bac24387a 100644 --- a/Sources/GeneratedServices/Drive/GTLRDriveObjects.m +++ b/Sources/GeneratedServices/Drive/GTLRDriveObjects.m @@ -114,6 +114,66 @@ @implementation GTLRDrive_About_TeamDriveThemes_Item @end +// ---------------------------------------------------------------------------- +// +// GTLRDrive_App +// + +@implementation GTLRDrive_App +@dynamic authorized, createInFolderTemplate, createUrl, hasDriveWideScope, + icons, identifier, installed, kind, longDescription, name, objectType, + openUrlTemplate, primaryFileExtensions, primaryMimeTypes, productId, + productUrl, secondaryFileExtensions, secondaryMimeTypes, + shortDescription, supportsCreate, supportsImport, supportsMultiOpen, + supportsOfflineCreate, useByDefault; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"icons" : [GTLRDrive_AppIcons class], + @"primaryFileExtensions" : [NSString class], + @"primaryMimeTypes" : [NSString class], + @"secondaryFileExtensions" : [NSString class], + @"secondaryMimeTypes" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDrive_AppIcons +// + +@implementation GTLRDrive_AppIcons +@dynamic category, iconUrl, size; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDrive_AppList +// + +@implementation GTLRDrive_AppList +@dynamic defaultAppIds, items, kind, selfLink; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"defaultAppIds" : [NSString class], + @"items" : [GTLRDrive_App class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDrive_Change diff --git a/Sources/GeneratedServices/Drive/GTLRDriveQuery.m b/Sources/GeneratedServices/Drive/GTLRDriveQuery.m index ee24581aa..ad47e4b5d 100644 --- a/Sources/GeneratedServices/Drive/GTLRDriveQuery.m +++ b/Sources/GeneratedServices/Drive/GTLRDriveQuery.m @@ -42,6 +42,42 @@ + (instancetype)query { @end +@implementation GTLRDriveQuery_AppsGet + +@dynamic appId; + ++ (instancetype)queryWithAppId:(NSString *)appId { + NSArray *pathParams = @[ @"appId" ]; + NSString *pathURITemplate = @"apps/{appId}"; + GTLRDriveQuery_AppsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.appId = appId; + query.expectedObjectClass = [GTLRDrive_App class]; + query.loggingName = @"drive.apps.get"; + return query; +} + +@end + +@implementation GTLRDriveQuery_AppsList + +@dynamic appFilterExtensions, appFilterMimeTypes, languageCode; + ++ (instancetype)query { + NSString *pathURITemplate = @"apps"; + GTLRDriveQuery_AppsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRDrive_AppList class]; + query.loggingName = @"drive.apps.list"; + return query; +} + +@end + @implementation GTLRDriveQuery_ChangesGetStartPageToken @dynamic driveId, supportsAllDrives, supportsTeamDrives, teamDriveId; diff --git a/Sources/GeneratedServices/Drive/GTLRDriveService.m b/Sources/GeneratedServices/Drive/GTLRDriveService.m index 97fc17757..13d76b7f0 100644 --- a/Sources/GeneratedServices/Drive/GTLRDriveService.m +++ b/Sources/GeneratedServices/Drive/GTLRDriveService.m @@ -15,6 +15,7 @@ NSString * const kGTLRAuthScopeDrive = @"https://www.googleapis.com/auth/drive"; NSString * const kGTLRAuthScopeDriveAppdata = @"https://www.googleapis.com/auth/drive.appdata"; +NSString * const kGTLRAuthScopeDriveAppsReadonly = @"https://www.googleapis.com/auth/drive.apps.readonly"; NSString * const kGTLRAuthScopeDriveFile = @"https://www.googleapis.com/auth/drive.file"; NSString * const kGTLRAuthScopeDriveMetadata = @"https://www.googleapis.com/auth/drive.metadata"; NSString * const kGTLRAuthScopeDriveMetadataReadonly = @"https://www.googleapis.com/auth/drive.metadata.readonly"; @@ -46,6 +47,8 @@ - (instancetype)init { return @{ @"api#channel" : [GTLRDrive_Channel class], @"drive#about" : [GTLRDrive_About class], + @"drive#app" : [GTLRDrive_App class], + @"drive#appList" : [GTLRDrive_AppList class], @"drive#change" : [GTLRDrive_Change class], @"drive#changeList" : [GTLRDrive_ChangeList class], @"drive#comment" : [GTLRDrive_Comment class], diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h index f8d95cfd8..64bee3687 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h @@ -20,6 +20,8 @@ @class GTLRDrive_About_MaxImportSizes; @class GTLRDrive_About_StorageQuota; @class GTLRDrive_About_TeamDriveThemes_Item; +@class GTLRDrive_App; +@class GTLRDrive_AppIcons; @class GTLRDrive_Change; @class GTLRDrive_Channel_Params; @class GTLRDrive_Comment; @@ -253,6 +255,202 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * The `apps` resource provides a list of apps that a user has installed, with + * information about each app's supported MIME types, file extensions, and + * other details. Some resource methods (such as `apps.get`) require an + * `appId`. Use the `apps.list` method to retrieve the ID for an installed + * application. + */ +@interface GTLRDrive_App : GTLRObject + +/** + * Whether the app is authorized to access data on the user's Drive. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *authorized; + +/** + * The template URL to create a file with this app in a given folder. The + * template contains the {folderId} to be replaced by the folder ID house the + * new file. + */ +@property(nonatomic, copy, nullable) NSString *createInFolderTemplate; + +/** The URL to create a file with this app. */ +@property(nonatomic, copy, nullable) NSString *createUrl; + +/** + * Whether the app has Drive-wide scope. An app with Drive-wide scope can + * access all files in the user's Drive. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasDriveWideScope; + +/** The various icons for the app. */ +@property(nonatomic, strong, nullable) NSArray *icons; + +/** + * The ID of the app. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Whether the app is installed. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *installed; + +/** + * Output only. Identifies what kind of resource this is. Value: the fixed + * string "drive#app". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** A long description of the app. */ +@property(nonatomic, copy, nullable) NSString *longDescription; + +/** The name of the app. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The type of object this app creates such as a Chart. If empty, the app name + * should be used instead. + */ +@property(nonatomic, copy, nullable) NSString *objectType; + +/** + * The template URL for opening files with this app. The template contains + * {ids} or {exportIds} to be replaced by the actual file IDs. For more + * information, see Open Files for the full documentation. + */ +@property(nonatomic, copy, nullable) NSString *openUrlTemplate; + +/** The list of primary file extensions. */ +@property(nonatomic, strong, nullable) NSArray *primaryFileExtensions; + +/** The list of primary MIME types. */ +@property(nonatomic, strong, nullable) NSArray *primaryMimeTypes; + +/** The ID of the product listing for this app. */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** A link to the product listing for this app. */ +@property(nonatomic, copy, nullable) NSString *productUrl; + +/** The list of secondary file extensions. */ +@property(nonatomic, strong, nullable) NSArray *secondaryFileExtensions; + +/** The list of secondary MIME types. */ +@property(nonatomic, strong, nullable) NSArray *secondaryMimeTypes; + +/** A short description of the app. */ +@property(nonatomic, copy, nullable) NSString *shortDescription; + +/** + * Whether this app supports creating objects. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *supportsCreate; + +/** + * Whether this app supports importing from Google Docs. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *supportsImport; + +/** + * Whether this app supports opening more than one file. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *supportsMultiOpen; + +/** + * Whether this app supports creating files when offline. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *supportsOfflineCreate; + +/** + * Whether the app is selected as the default handler for the types it + * supports. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *useByDefault; + +@end + + +/** + * GTLRDrive_AppIcons + */ +@interface GTLRDrive_AppIcons : GTLRObject + +/** + * Category of the icon. Allowed values are: * `application` - The icon for the + * application. * `document` - The icon for a file associated with the app. * + * `documentShared` - The icon for a shared file associated with the app. + */ +@property(nonatomic, copy, nullable) NSString *category; + +/** URL for the icon. */ +@property(nonatomic, copy, nullable) NSString *iconUrl; + +/** + * Size of the icon. Represented as the maximum of the width and height. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *size; + +@end + + +/** + * A list of third-party applications which the user has installed or given + * access to Google Drive. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "items" property. + */ +@interface GTLRDrive_AppList : GTLRCollectionObject + +/** + * The list of app IDs that the user has specified to use by default. The list + * is in reverse-priority order (lowest to highest). + */ +@property(nonatomic, strong, nullable) NSArray *defaultAppIds; + +/** + * The list of apps. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *items; + +/** + * Output only. Identifies what kind of resource this is. Value: the fixed + * string "drive#appList". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** A link back to this list. */ +@property(nonatomic, copy, nullable) NSString *selfLink; + +@end + + /** * A change to a file or shared drive. */ diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h index 176281f06..16d75feec 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h @@ -83,6 +83,81 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end +/** + * Gets a specific app. + * + * Method: drive.apps.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDrive + * @c kGTLRAuthScopeDriveAppdata + * @c kGTLRAuthScopeDriveAppsReadonly + * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMetadata + * @c kGTLRAuthScopeDriveMetadataReadonly + * @c kGTLRAuthScopeDriveReadonly + */ +@interface GTLRDriveQuery_AppsGet : GTLRDriveQuery + +/** The ID of the app. */ +@property(nonatomic, copy, nullable) NSString *appId; + +/** + * Fetches a @c GTLRDrive_App. + * + * Gets a specific app. + * + * @param appId The ID of the app. + * + * @return GTLRDriveQuery_AppsGet + */ ++ (instancetype)queryWithAppId:(NSString *)appId; + +@end + +/** + * Lists a user's installed apps. + * + * Method: drive.apps.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDriveAppsReadonly + */ +@interface GTLRDriveQuery_AppsList : GTLRDriveQuery + +/** + * A comma-separated list of file extensions to limit returned results. All + * results within the given app query scope which can open any of the given + * file extensions are included in the response. If `appFilterMimeTypes` are + * provided as well, the result is a union of the two resulting app lists. + */ +@property(nonatomic, copy, nullable) NSString *appFilterExtensions; + +/** + * A comma-separated list of file extensions to limit returned results. All + * results within the given app query scope which can open any of the given + * MIME types will be included in the response. If `appFilterExtensions` are + * provided as well, the result is a union of the two resulting app lists. + */ +@property(nonatomic, copy, nullable) NSString *appFilterMimeTypes; + +/** + * A language or locale code, as defined by BCP 47, with some extensions from + * Unicode's LDML format (http://www.unicode.org/reports/tr35/). + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** + * Fetches a @c GTLRDrive_AppList. + * + * Lists a user's installed apps. + * + * @return GTLRDriveQuery_AppsList + */ ++ (instancetype)query; + +@end + /** * Gets the starting pageToken for listing future changes. * diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveService.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveService.h index f08407c60..ba71ddf35 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveService.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveService.h @@ -38,6 +38,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDrive; * Value "https://www.googleapis.com/auth/drive.appdata" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDriveAppdata; +/** + * Authorization scope: View your Google Drive apps + * + * Value "https://www.googleapis.com/auth/drive.apps.readonly" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDriveAppsReadonly; /** * Authorization scope: See, edit, create, and delete only the specific Google * Drive files you use with this app diff --git a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h index d11691b5e..562491d44 100644 --- a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h +++ b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h @@ -425,7 +425,11 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h index b18bc075b..cdc7fc9ed 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h @@ -2108,7 +2108,11 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m b/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m index 283f60b3b..d576e5a16 100644 --- a/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m +++ b/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m @@ -1982,12 +1982,13 @@ @implementation GTLRGKEOnPrem_VmwareBundleConfig @implementation GTLRGKEOnPrem_VmwareCluster @dynamic adminClusterMembership, adminClusterName, annotations, - antiAffinityGroups, authorization, autoRepairConfig, controlPlaneNode, - createTime, dataplaneV2, deleteTime, descriptionProperty, - disableBundledIngress, enableControlPlaneV2, endpoint, ETag, fleet, - loadBalancer, localName, name, networkConfig, onPremVersion, - reconciling, state, status, storage, uid, updateTime, upgradePolicy, - validationCheck, vcenter, vmTrackingEnabled; + antiAffinityGroups, authorization, autoRepairConfig, + binaryAuthorization, controlPlaneNode, createTime, dataplaneV2, + deleteTime, descriptionProperty, disableBundledIngress, + enableControlPlaneV2, endpoint, ETag, fleet, loadBalancer, localName, + name, networkConfig, onPremVersion, reconciling, state, status, + storage, uid, updateTime, upgradePolicy, validationCheck, vcenter, + vmTrackingEnabled; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -2060,7 +2061,8 @@ @implementation GTLRGKEOnPrem_VmwareControlPlaneVsphereConfig // @implementation GTLRGKEOnPrem_VmwareDataplaneV2Config -@dynamic advancedNetworking, dataplaneV2Enabled, windowsDataplaneV2Enabled; +@dynamic advancedNetworking, dataplaneV2Enabled, forwardMode, + windowsDataplaneV2Enabled; @end diff --git a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h index 26176d6ff..792d3ff10 100644 --- a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h +++ b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h @@ -920,7 +920,7 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; /** - * Resource that represents a bare metal admin cluster. LINT.IfChange + * Resource that represents a bare metal admin cluster. */ @interface GTLRGKEOnPrem_BareMetalAdminCluster : GTLRObject @@ -1523,7 +1523,7 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; /** - * Resource that represents a bare metal user cluster. LINT.IfChange + * Resource that represents a bare metal user cluster. */ @interface GTLRGKEOnPrem_BareMetalCluster : GTLRObject @@ -2583,9 +2583,25 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; * `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 @@ -2599,13 +2615,20 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; * 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; /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -3404,7 +3427,7 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; /** - * Information about operation progress. LINT.IfChange + * Information about operation progress. */ @interface GTLRGKEOnPrem_OperationProgress : GTLRObject @@ -4482,6 +4505,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; /** Configuration for auto repairing. */ @property(nonatomic, strong, nullable) GTLRGKEOnPrem_VmwareAutoRepairConfig *autoRepairConfig; +/** Binary Authorization related configurations. */ +@property(nonatomic, strong, nullable) GTLRGKEOnPrem_BinaryAuthorization *binaryAuthorization; + /** * VMware user cluster control plane nodes must have either 1 or 3 replicas. */ @@ -4745,6 +4771,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; */ @property(nonatomic, strong, nullable) NSNumber *dataplaneV2Enabled; +/** Configure ForwardMode for Dataplane v2. */ +@property(nonatomic, copy, nullable) NSString *forwardMode; + /** * Enable Dataplane V2 for clusters with Windows nodes. * @@ -4957,8 +4986,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; @property(nonatomic, strong, nullable) GTLRGKEOnPrem_VmwareStaticIpConfig *staticIpConfig; /** - * Output only. vcenter_network specifies vCenter network name. Inherited from - * the admin cluster. + * vcenter_network specifies vCenter network name. Inherited from the admin + * cluster. */ @property(nonatomic, copy, nullable) NSString *vcenterNetwork; diff --git a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m index 651da8ae2..891984fbd 100644 --- a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m +++ b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m @@ -60,6 +60,7 @@ // GTLRHangoutsChat_CommonEventObject.hostApp NSString * const kGTLRHangoutsChat_CommonEventObject_HostApp_Calendar = @"CALENDAR"; NSString * const kGTLRHangoutsChat_CommonEventObject_HostApp_Chat = @"CHAT"; +NSString * const kGTLRHangoutsChat_CommonEventObject_HostApp_ChatInGmail = @"CHAT_IN_GMAIL"; NSString * const kGTLRHangoutsChat_CommonEventObject_HostApp_Demo = @"DEMO"; NSString * const kGTLRHangoutsChat_CommonEventObject_HostApp_Docs = @"DOCS"; NSString * const kGTLRHangoutsChat_CommonEventObject_HostApp_Drawings = @"DRAWINGS"; diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h index 63479579f..d8c87b289 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h @@ -396,6 +396,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_CommonEventObject_HostApp_C * Value: "CHAT" */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_CommonEventObject_HostApp_Chat; +/** + * The add-on or appfinder widget launches from Chat-in-Gmail + * + * Value: "CHAT_IN_GMAIL" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_CommonEventObject_HostApp_ChatInGmail; /** * Not used. * @@ -2015,6 +2021,9 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * launches from Google Calendar. (Value: "CALENDAR") * @arg @c kGTLRHangoutsChat_CommonEventObject_HostApp_Chat A Google Chat * app. Not used for Google Workspace Add-ons. (Value: "CHAT") + * @arg @c kGTLRHangoutsChat_CommonEventObject_HostApp_ChatInGmail The add-on + * or appfinder widget launches from Chat-in-Gmail (Value: + * "CHAT_IN_GMAIL") * @arg @c kGTLRHangoutsChat_CommonEventObject_HostApp_Demo Not used. (Value: * "DEMO") * @arg @c kGTLRHangoutsChat_CommonEventObject_HostApp_Docs The add-on diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatService.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatService.h index 281fb392f..6b5431887 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatService.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatService.h @@ -104,8 +104,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeHangoutsChatMessagesReactionsRe */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeHangoutsChatMessagesReadonly; /** - * Authorization scope: Create conversations and spaces and view or update - * metadata (including history settings) in Google Chat + * Authorization scope: Create conversations and spaces and see or edit + * metadata (including history settings and access settings) in Google Chat * * Value "https://www.googleapis.com/auth/chat.spaces" */ diff --git a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h index 727ec50d7..390e5be55 100644 --- a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h +++ b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h @@ -469,7 +469,11 @@ FOUNDATION_EXTERN NSString * const kGTLRLooker_MaintenanceWindow_DayOfWeek_Wedne /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m index a0fd0f4be..5bdf94b43 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m @@ -46,11 +46,15 @@ NSString * const kGTLRNetworkManagement_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; // GTLRNetworkManagement_DeliverInfo.target +NSString * const kGTLRNetworkManagement_DeliverInfo_Target_AppEngineVersion = @"APP_ENGINE_VERSION"; +NSString * const kGTLRNetworkManagement_DeliverInfo_Target_CloudFunction = @"CLOUD_FUNCTION"; +NSString * const kGTLRNetworkManagement_DeliverInfo_Target_CloudRunRevision = @"CLOUD_RUN_REVISION"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_CloudSqlInstance = @"CLOUD_SQL_INSTANCE"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_GkeMaster = @"GKE_MASTER"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_GoogleApi = @"GOOGLE_API"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_Instance = @"INSTANCE"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_Internet = @"INTERNET"; +NSString * const kGTLRNetworkManagement_DeliverInfo_Target_PrivateNetwork = @"PRIVATE_NETWORK"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_PscGoogleApi = @"PSC_GOOGLE_API"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_PscPublishedService = @"PSC_PUBLISHED_SERVICE"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_PscVpcSc = @"PSC_VPC_SC"; @@ -95,11 +99,17 @@ 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_PscNegProducerForwardingRuleMultiplePorts = @"PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS"; 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_RouteNextHopForwardingRuleIpMismatch = @"ROUTE_NEXT_HOP_FORWARDING_RULE_IP_MISMATCH"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopForwardingRuleTypeInvalid = @"ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopInstanceNonPrimaryIp = @"ROUTE_NEXT_HOP_INSTANCE_NON_PRIMARY_IP"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopInstanceWrongNetwork = @"ROUTE_NEXT_HOP_INSTANCE_WRONG_NETWORK"; 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_RouteNextHopVpnTunnelNotEstablished = @"ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED"; 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"; @@ -276,6 +286,8 @@ NSString * const kGTLRNetworkManagement_Step_State_StartFromInstance = @"START_FROM_INSTANCE"; NSString * const kGTLRNetworkManagement_Step_State_StartFromInternet = @"START_FROM_INTERNET"; NSString * const kGTLRNetworkManagement_Step_State_StartFromPrivateNetwork = @"START_FROM_PRIVATE_NETWORK"; +NSString * const kGTLRNetworkManagement_Step_State_StartFromPscPublishedService = @"START_FROM_PSC_PUBLISHED_SERVICE"; +NSString * const kGTLRNetworkManagement_Step_State_StartFromStorageBucket = @"START_FROM_STORAGE_BUCKET"; NSString * const kGTLRNetworkManagement_Step_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRNetworkManagement_Step_State_ViewerPermissionMissing = @"VIEWER_PERMISSION_MISSING"; @@ -753,8 +765,9 @@ @implementation GTLRNetworkManagement_LoadBalancerBackend // @implementation GTLRNetworkManagement_LoadBalancerBackendInfo -@dynamic backendServiceUri, healthCheckFirewallsConfigState, healthCheckUri, - instanceGroupUri, instanceUri, name, networkEndpointGroupUri; +@dynamic backendBucketUri, backendServiceUri, healthCheckFirewallsConfigState, + healthCheckUri, instanceGroupUri, instanceUri, name, + networkEndpointGroupUri, pscGoogleApiTarget, pscServiceAttachmentUri; @end @@ -1034,7 +1047,8 @@ @implementation GTLRNetworkManagement_Step cloudSqlInstance, deliver, descriptionProperty, drop, endpoint, firewall, forward, forwardingRule, gkeMaster, googleService, instance, loadBalancer, loadBalancerBackendInfo, nat, network, projectId, - proxyConnection, route, state, vpcConnector, vpnGateway, vpnTunnel; + proxyConnection, route, state, storageBucket, vpcConnector, vpnGateway, + vpnTunnel; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1043,6 +1057,16 @@ @implementation GTLRNetworkManagement_Step @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_StorageBucketInfo +// + +@implementation GTLRNetworkManagement_StorageBucketInfo +@dynamic bucket; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_TestIamPermissionsRequest diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h index 616f9869c..279d7993b 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h @@ -61,6 +61,7 @@ @class GTLRNetworkManagement_Status; @class GTLRNetworkManagement_Status_Details_Item; @class GTLRNetworkManagement_Step; +@class GTLRNetworkManagement_StorageBucketInfo; @class GTLRNetworkManagement_Trace; @class GTLRNetworkManagement_VpcConnectorInfo; @class GTLRNetworkManagement_VpnGatewayInfo; @@ -269,6 +270,24 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_AuditLogConfig_LogType // ---------------------------------------------------------------------------- // GTLRNetworkManagement_DeliverInfo.target +/** + * Target is a App Engine service version. Used only for return traces. + * + * Value: "APP_ENGINE_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_AppEngineVersion; +/** + * Target is a Cloud Function. Used only for return traces. + * + * Value: "CLOUD_FUNCTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_CloudFunction; +/** + * Target is a Cloud Run revision. Used only for return traces. + * + * Value: "CLOUD_RUN_REVISION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_CloudRunRevision; /** * Target is a Cloud SQL instance. * @@ -299,6 +318,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_Ins * Value: "INTERNET" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_Internet; +/** + * Target is a private network. Used only for return traces. + * + * Value: "PRIVATE_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_PrivateNetwork; /** * Target is all Google APIs that use [Private Service * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). @@ -591,6 +616,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_PscEndp * Value: "PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_PscNegProducerEndpointNoGlobalAccess; +/** + * The packet is sent to the Private Service Connect backend (network endpoint + * group), but the producer PSC forwarding rule has multiple ports specified. + * + * Value: "PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_PscNegProducerForwardingRuleMultiplePorts; /** * Packet sent from a Cloud SQL instance with only a public IP address to a * private IP address. @@ -610,6 +642,32 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_PublicG * Value: "ROUTE_BLACKHOLE" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteBlackhole; +/** + * Route's next hop forwarding rule doesn't match next hop IP address. + * + * Value: "ROUTE_NEXT_HOP_FORWARDING_RULE_IP_MISMATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopForwardingRuleIpMismatch; +/** + * Route's next hop forwarding rule type is invalid (it's not a forwarding rule + * of the internal passthrough load balancer). + * + * Value: "ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopForwardingRuleTypeInvalid; +/** + * Route's next hop IP address is not a primary IP address of the next hop + * instance. + * + * Value: "ROUTE_NEXT_HOP_INSTANCE_NON_PRIMARY_IP" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopInstanceNonPrimaryIp; +/** + * Route's next hop instance doesn't hace a NIC in the route's network. + * + * Value: "ROUTE_NEXT_HOP_INSTANCE_WRONG_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopInstanceWrongNetwork; /** * Route's next hop IP address cannot be resolved to a GCP resource. * @@ -622,6 +680,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNe * Value: "ROUTE_NEXT_HOP_RESOURCE_NOT_FOUND" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopResourceNotFound; +/** + * Route's next hop VPN tunnel is down (does not have valid IKE SAs). + * + * Value: "ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopVpnTunnelNotEstablished; /** * 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 @@ -896,13 +960,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ForwardInfo_Target_Ano * * Value: "CLOUD_SQL_INSTANCE" */ -FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ForwardInfo_Target_CloudSqlInstance; +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ForwardInfo_Target_CloudSqlInstance GTLR_DEPRECATED; /** * Forwarded to a Google Kubernetes Engine Container cluster master. * * Value: "GKE_MASTER" */ -FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ForwardInfo_Target_GkeMaster; +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ForwardInfo_Target_GkeMaster GTLR_DEPRECATED; /** * Forwarded to the next hop of a custom route imported from a peering VPC. * @@ -1481,7 +1545,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ApplyRoute; * * Value: "ARRIVE_AT_EXTERNAL_LOAD_BALANCER" */ -FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ArriveAtExternalLoadBalancer; +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ArriveAtExternalLoadBalancer GTLR_DEPRECATED; /** * Forwarding state: arriving at a Compute Engine instance. * @@ -1493,7 +1557,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ArriveAtIns * * Value: "ARRIVE_AT_INTERNAL_LOAD_BALANCER" */ -FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInternalLoadBalancer; +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInternalLoadBalancer GTLR_DEPRECATED; /** * Forwarding state: arriving at a VPC connector. * @@ -1615,6 +1679,20 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_StartFromIn * Value: "START_FROM_PRIVATE_NETWORK" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_StartFromPrivateNetwork; +/** + * Initial state: packet originating from a published service that uses Private + * Service Connect. Used only for return traces. + * + * Value: "START_FROM_PSC_PUBLISHED_SERVICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_StartFromPscPublishedService; +/** + * Initial state: packet originating from a Storage Bucket. Used only for + * return traces. The storage_bucket information is populated. + * + * Value: "START_FROM_STORAGE_BUCKET" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_StartFromStorageBucket; /** * Unspecified state. * @@ -1933,7 +2011,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -2162,6 +2244,15 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * Target type where the packet is delivered to. * * Likely values: + * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_AppEngineVersion Target + * is a App Engine service version. Used only for return traces. (Value: + * "APP_ENGINE_VERSION") + * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_CloudFunction Target is + * a Cloud Function. Used only for return traces. (Value: + * "CLOUD_FUNCTION") + * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_CloudRunRevision Target + * is a Cloud Run revision. Used only for return traces. (Value: + * "CLOUD_RUN_REVISION") * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_CloudSqlInstance Target * is a Cloud SQL instance. (Value: "CLOUD_SQL_INSTANCE") * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_GkeMaster Target is a @@ -2172,6 +2263,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * Compute Engine instance. (Value: "INSTANCE") * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_Internet Target is the * internet. (Value: "INTERNET") + * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_PrivateNetwork Target is + * a private network. Used only for return traces. (Value: + * "PRIVATE_NETWORK") * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_PscGoogleApi Target is * all Google APIs that use [Private Service * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). @@ -2336,6 +2430,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * 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_PscNegProducerForwardingRuleMultiplePorts + * The packet is sent to the Private Service Connect backend (network + * endpoint group), but the producer PSC forwarding rule has multiple + * ports specified. (Value: + * "PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS") * @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: @@ -2346,12 +2445,28 @@ 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_RouteNextHopForwardingRuleIpMismatch + * Route's next hop forwarding rule doesn't match next hop IP address. + * (Value: "ROUTE_NEXT_HOP_FORWARDING_RULE_IP_MISMATCH") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopForwardingRuleTypeInvalid + * Route's next hop forwarding rule type is invalid (it's not a + * forwarding rule of the internal passthrough load balancer). (Value: + * "ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopInstanceNonPrimaryIp + * Route's next hop IP address is not a primary IP address of the next + * hop instance. (Value: "ROUTE_NEXT_HOP_INSTANCE_NON_PRIMARY_IP") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_RouteNextHopInstanceWrongNetwork + * Route's next hop instance doesn't hace a NIC in the route's network. + * (Value: "ROUTE_NEXT_HOP_INSTANCE_WRONG_NETWORK") * @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_RouteNextHopVpnTunnelNotEstablished + * Route's next hop VPN tunnel is down (does not have valid IKE SAs). + * (Value: "ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED") * @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 @@ -3102,6 +3217,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @interface GTLRNetworkManagement_LoadBalancerBackendInfo : GTLRObject +/** URI of the backend bucket this backend targets (if applicable). */ +@property(nonatomic, copy, nullable) NSString *backendBucketUri; + /** URI of the backend service this backend belongs to (if applicable). */ @property(nonatomic, copy, nullable) NSString *backendServiceUri; @@ -3164,6 +3282,15 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @property(nonatomic, copy, nullable) NSString *networkEndpointGroupUri; +/** PSC Google API target this PSC NEG backend targets (if applicable). */ +@property(nonatomic, copy, nullable) NSString *pscGoogleApiTarget; + +/** + * URI of the PSC service attachment this PSC NEG backend targets (if + * applicable). + */ +@property(nonatomic, copy, nullable) NSString *pscServiceAttachmentUri; + @end @@ -4066,8 +4193,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** Display information of a Compute Engine instance. */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_InstanceInfo *instance; -/** Display information of the load balancers. */ -@property(nonatomic, strong, nullable) GTLRNetworkManagement_LoadBalancerInfo *loadBalancer; +/** + * Display information of the load balancers. Deprecated in favor of the + * `load_balancer_backend_info` field, not used in new tests. + */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_LoadBalancerInfo *loadBalancer GTLR_DEPRECATED; /** Display information of a specific load balancer backend. */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_LoadBalancerBackendInfo *loadBalancerBackendInfo; @@ -4173,6 +4303,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * internal source IP. If the source is a VPC network visible to the * user, a NetworkInfo is populated with details of the network. (Value: * "START_FROM_PRIVATE_NETWORK") + * @arg @c kGTLRNetworkManagement_Step_State_StartFromPscPublishedService + * Initial state: packet originating from a published service that uses + * Private Service Connect. Used only for return traces. (Value: + * "START_FROM_PSC_PUBLISHED_SERVICE") + * @arg @c kGTLRNetworkManagement_Step_State_StartFromStorageBucket Initial + * state: packet originating from a Storage Bucket. Used only for return + * traces. The storage_bucket information is populated. (Value: + * "START_FROM_STORAGE_BUCKET") * @arg @c kGTLRNetworkManagement_Step_State_StateUnspecified Unspecified * state. (Value: "STATE_UNSPECIFIED") * @arg @c kGTLRNetworkManagement_Step_State_ViewerPermissionMissing Special @@ -4181,6 +4319,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @property(nonatomic, copy, nullable) NSString *state; +/** Display information of a Storage Bucket. Used only for return traces. */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_StorageBucketInfo *storageBucket; + /** Display information of a VPC connector. */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_VpcConnectorInfo *vpcConnector; @@ -4193,6 +4334,17 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * For display only. Metadata associated with Storage Bucket. + */ +@interface GTLRNetworkManagement_StorageBucketInfo : GTLRObject + +/** Cloud Storage Bucket name. */ +@property(nonatomic, copy, nullable) NSString *bucket; + +@end + + /** * Request message for `TestIamPermissions` method. */ diff --git a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m index ba7cefa40..839185600 100644 --- a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m +++ b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m @@ -466,7 +466,7 @@ + (NSString *)collectionItemsKey { // @implementation GTLRNetworkSecurity_ListAddressGroupReferencesResponseAddressGroupReference -@dynamic firewallPolicy, rulePriority; +@dynamic firewallPolicy, rulePriority, securityPolicy; @end diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h index 171350eab..040a10147 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h @@ -924,7 +924,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -1142,6 +1146,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF */ @property(nonatomic, strong, nullable) NSNumber *rulePriority; +/** Cloud Armor SecurityPolicy that is using the Address Group. */ +@property(nonatomic, copy, nullable) NSString *securityPolicy; + @end diff --git a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h index a134cd881..5c4b37227 100644 --- a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h +++ b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h @@ -490,7 +490,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_Mesh_EnvoyHeaders_None; /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -542,8 +546,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_Mesh_EnvoyHeaders_None; * config from P1 will be selected. If a client with label connects, the config * from P2 will be selected. If a client with label connects, the config from * P3 will be selected. If there is more than one best match, (for example, if - * a config P4 with selector exists and if a client with label connects), an - * error will be thrown. + * a config P4 with selector exists and if a client with label connects), pick + * up the one with older creation time. * * Likely values: * @arg @c kGTLRNetworkServices_EndpointMatcherMetadataLabelMatcher_MetadataLabelMatchCriteria_MatchAll @@ -742,7 +746,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_Mesh_EnvoyHeaders_None; * 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. Next id: 29 + * to dictate how requests should be routed by this Gateway. Next id: 30 */ @interface GTLRNetworkServices_Gateway : GTLRObject diff --git a/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigObjects.h b/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigObjects.h index a97179ae3..40f8588de 100644 --- a/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigObjects.h +++ b/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigObjects.h @@ -4451,11 +4451,11 @@ FOUNDATION_EXTERN NSString * const kGTLROSConfig_WindowsUpdateSettings_Classific /** * Optional. Represents the number of days before or after the given week day * of month that the patch deployment is scheduled for. For example if - * `week_ordinal` and `day_of_week` values point to the second day of the month - * and this `day_offset` value is set to `3`, the patch deployment takes place + * `week_ordinal` and `day_of_week` values point to the second Tuesday of the + * month and the `day_offset` value is set to `3`, patch deployment takes place * three days after the second Tuesday of the month. If this value is negative, - * for example -5, the patches are deployed five days before before the second - * Tuesday of the month. Allowed values are in range [-30, 30]. + * for example -5, patches are deployed five days before the second Tuesday of + * the month. Allowed values are in range [-30, 30]. * * Uses NSNumber of intValue. */ diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m index 31b6332aa..833cf4dd3 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m @@ -106,6 +106,12 @@ NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately = @"BILLING_CYCLE_SPEC_START_IMMEDIATELY"; NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified = @"BILLING_CYCLE_SPEC_UNSPECIFIED"; +// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.partnerPlanType +NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle = @"PARTNER_PLAN_TYPE_HARD_BUNDLE"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle = @"PARTNER_PLAN_TYPE_SOFT_BUNDLE"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone = @"PARTNER_PLAN_TYPE_STANDALONE"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified = @"PARTNER_PLAN_TYPE_UNSPECIFIED"; + // GTLRPaymentsResellerSubscription_ProductBundleDetails.entitlementMode NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeFull = @"ENTITLEMENT_MODE_FULL"; NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeIncremental = @"ENTITLEMENT_MODE_INCREMENTAL"; @@ -576,7 +582,7 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload -@dynamic accessEndTime, partnerEligibilityIds; +@dynamic accessEndTime, partnerEligibilityIds, partnerPlanType; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h index 79ed5e44a..24d256f63 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h @@ -539,6 +539,36 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud */ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified; +// ---------------------------------------------------------------------------- +// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.partnerPlanType + +/** + * This item is bundled with another partner offering, the item is provisioned + * at purchase time. + * + * Value: "PARTNER_PLAN_TYPE_HARD_BUNDLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle; +/** + * This item is bundled with another partner offering, the item is provisioned + * after puchase, when the user opts in this Google service. + * + * Value: "PARTNER_PLAN_TYPE_SOFT_BUNDLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle; +/** + * This item is offered as a standalone product to the user. + * + * Value: "PARTNER_PLAN_TYPE_STANDALONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone; +/** + * Unspecified. Should not use, reserved as an invalid value. + * + * Value: "PARTNER_PLAN_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRPaymentsResellerSubscription_ProductBundleDetails.entitlementMode @@ -1237,7 +1267,15 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** - * A Subscription resource managed by 3P Partners. + * A subscription serves as a central billing entity between an external + * partner and Google. The underlying Google services rely on the subscription + * state to grant or revoke the user's service entitlement. It's important to + * note that the subscription state may not always perfectly align with the + * user's service entitlement. For example, some Google services may continue + * providing access to the user until the current billing cycle ends, even if + * the subscription has been immediately canceled. However, other services may + * not do the same. To fully understand the specific details, please consult + * the relevant contract or product policy. */ @interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription : GTLRObject @@ -1695,6 +1733,26 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** The list of eligibility_ids which are applicable for the line item. */ @property(nonatomic, strong, nullable) NSArray *partnerEligibilityIds; +/** + * Optional. Specifies the plan type offered to the end user by the partner. + * + * Likely values: + * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle + * This item is bundled with another partner offering, the item is + * provisioned at purchase time. (Value: "PARTNER_PLAN_TYPE_HARD_BUNDLE") + * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle + * This item is bundled with another partner offering, the item is + * provisioned after puchase, when the user opts in this Google service. + * (Value: "PARTNER_PLAN_TYPE_SOFT_BUNDLE") + * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone + * This item is offered as a standalone product to the user. (Value: + * "PARTNER_PLAN_TYPE_STANDALONE") + * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified + * Unspecified. Should not use, reserved as an invalid value. (Value: + * "PARTNER_PLAN_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *partnerPlanType; + @end diff --git a/Sources/GeneratedServices/Playdeveloperreporting/Public/GoogleAPIClientForREST/GTLRPlaydeveloperreportingObjects.h b/Sources/GeneratedServices/Playdeveloperreporting/Public/GoogleAPIClientForREST/GTLRPlaydeveloperreportingObjects.h index 3ebb602ee..3a0bdd8d7 100644 --- a/Sources/GeneratedServices/Playdeveloperreporting/Public/GoogleAPIClientForREST/GTLRPlaydeveloperreportingObjects.h +++ b/Sources/GeneratedServices/Playdeveloperreporting/Public/GoogleAPIClientForREST/GTLRPlaydeveloperreportingObjects.h @@ -810,10 +810,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPlaydeveloperreporting_GooglePlayDevelop */ @property(nonatomic, copy, nullable) NSString *location; -/** - * Identifier. The resource name of the issue. Format: - * apps/{app}/errorIssues/{issue} - */ +/** Identifier. The resource name of the issue. Format: apps/{app}/{issue} */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -866,9 +863,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPlaydeveloperreporting_GooglePlayDevelop */ @property(nonatomic, copy, nullable) NSString *issue; -/** - * The resource name of the report. Format: apps/{app}/errorReports/{report} - */ +/** The resource name of the report. Format: apps/{app}/{report} */ @property(nonatomic, copy, nullable) NSString *name; /** The OS version on which an event in this error report occurred on. */ diff --git a/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h b/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h index 581871cab..1ed9ec8a6 100644 --- a/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h +++ b/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h @@ -1099,8 +1099,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi @interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay : GTLRObject /** - * The OrgPolicy CustomConstraint changes to preview violations for. Any - * existing CustomConstraints with the same name will be overridden in the + * Optional. The OrgPolicy CustomConstraint changes to preview violations for. + * Any existing CustomConstraints with the same name will be overridden in the * simulation. That is, violations will be determined as if all custom * constraints in the overlay were instantiated. Only a single * custom_constraint is supported in the overlay at a time. For evaluating @@ -1110,10 +1110,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi @property(nonatomic, strong, nullable) NSArray *customConstraints; /** - * The OrgPolicy changes to preview violations for. Any existing OrgPolicies - * with the same name will be overridden in the simulation. That is, violations - * will be determined as if all policies in the overlay were created or - * updated. + * Optional. The OrgPolicy changes to preview violations for. Any existing + * OrgPolicies with the same name will be overridden in the simulation. That + * is, violations will be determined as if all policies in the overlay were + * created or updated. */ @property(nonatomic, strong, nullable) NSArray *policies; @@ -1125,10 +1125,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi */ @interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay : GTLRObject -/** The new or updated custom constraint. */ +/** Optional. The new or updated custom constraint. */ @property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint *customConstraint; -/** Resource the constraint is attached to. Example: "organization/987654" */ +/** + * Optional. Resource the constraint is attached to. Example: + * "organization/987654" + */ @property(nonatomic, copy, nullable) NSString *customConstraintParent; @end @@ -1139,11 +1142,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi */ @interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayPolicyOverlay : GTLRObject -/** The new or updated OrgPolicy. */ +/** Optional. The new or updated OrgPolicy. */ @property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2Policy *policy; /** - * The parent of the policy we are attaching to. Example: "projects/123456" + * Optional. The parent of the policy we are attaching to. Example: + * "projects/123456" */ @property(nonatomic, copy, nullable) NSString *policyParent; @@ -1235,37 +1239,37 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi @interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreviewResourceCounts : GTLRObject /** - * Number of scanned resources with zero violations. + * Output only. Number of scanned resources with zero violations. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *compliant; /** - * Number of resources that returned an error when scanned. + * Output only. Number of resources that returned an error when scanned. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *errors; /** - * Number of scanned resources with at least one violation. + * Output only. Number of scanned resources with at least one violation. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *noncompliant; /** - * Number of resources checked for compliance. Must equal: unenforced + - * noncompliant + compliant + error + * Output only. Number of resources checked for compliance. Must equal: + * unenforced + noncompliant + compliant + error * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *scanned; /** - * Number of resources where the constraint was not enforced, i.e. the Policy - * set `enforced: false` for that resource. + * Output only. Number of resources where the constraint was not enforced, i.e. + * the Policy set `enforced: false` for that resource. * * Uses NSNumber of intValue. */ @@ -1341,8 +1345,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi @interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay : GTLRObject /** - * The OrgPolicy CustomConstraint changes to preview violations for. Any - * existing CustomConstraints with the same name will be overridden in the + * Optional. The OrgPolicy CustomConstraint changes to preview violations for. + * Any existing CustomConstraints with the same name will be overridden in the * simulation. That is, violations will be determined as if all custom * constraints in the overlay were instantiated. Only a single * custom_constraint is supported in the overlay at a time. For evaluating @@ -1352,10 +1356,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi @property(nonatomic, strong, nullable) NSArray *customConstraints; /** - * The OrgPolicy changes to preview violations for. Any existing OrgPolicies - * with the same name will be overridden in the simulation. That is, violations - * will be determined as if all policies in the overlay were created or - * updated. + * Optional. The OrgPolicy changes to preview violations for. Any existing + * OrgPolicies with the same name will be overridden in the simulation. That + * is, violations will be determined as if all policies in the overlay were + * created or updated. */ @property(nonatomic, strong, nullable) NSArray *policies; @@ -1367,10 +1371,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi */ @interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay : GTLRObject -/** The new or updated custom constraint. */ +/** Optional. The new or updated custom constraint. */ @property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint *customConstraint; -/** Resource the constraint is attached to. Example: "organization/987654" */ +/** + * Optional. Resource the constraint is attached to. Example: + * "organization/987654" + */ @property(nonatomic, copy, nullable) NSString *customConstraintParent; @end @@ -1381,11 +1388,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi */ @interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay : GTLRObject -/** The new or updated OrgPolicy. */ +/** Optional. The new or updated OrgPolicy. */ @property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2Policy *policy; /** - * The parent of the policy we are attaching to. Example: "projects/123456" + * Optional. The parent of the policy we are attaching to. Example: + * "projects/123456" */ @property(nonatomic, copy, nullable) NSString *policyParent; @@ -1477,37 +1485,37 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi @interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts : GTLRObject /** - * Number of scanned resources with zero violations. + * Output only. Number of scanned resources with zero violations. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *compliant; /** - * Number of resources that returned an error when scanned. + * Output only. Number of resources that returned an error when scanned. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *errors; /** - * Number of scanned resources with at least one violation. + * Output only. Number of scanned resources with at least one violation. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *noncompliant; /** - * Number of resources checked for compliance. Must equal: unenforced + - * noncompliant + compliant + error + * Output only. Number of resources checked for compliance. Must equal: + * unenforced + noncompliant + compliant + error * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *scanned; /** - * Number of resources where the constraint was not enforced, i.e. the Policy - * set `enforced: false` for that resource. + * Output only. Number of resources where the constraint was not enforced, i.e. + * the Policy set `enforced: false` for that resource. * * Uses NSNumber of intValue. */ @@ -2222,7 +2230,11 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/PolicyTroubleshooter/Public/GoogleAPIClientForREST/GTLRPolicyTroubleshooterObjects.h b/Sources/GeneratedServices/PolicyTroubleshooter/Public/GoogleAPIClientForREST/GTLRPolicyTroubleshooterObjects.h index c7d1e4390..59bfb1357 100644 --- a/Sources/GeneratedServices/PolicyTroubleshooter/Public/GoogleAPIClientForREST/GTLRPolicyTroubleshooterObjects.h +++ b/Sources/GeneratedServices/PolicyTroubleshooter/Public/GoogleAPIClientForREST/GTLRPolicyTroubleshooterObjects.h @@ -840,7 +840,11 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicyTroubleshooter_GoogleIamV1AuditLog /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m b/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m index ccf36ea78..ef8a5b6ed 100644 --- a/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m +++ b/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m @@ -14,6 +14,14 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRPubsub_AwsKinesis.state +NSString * const kGTLRPubsub_AwsKinesis_State_Active = @"ACTIVE"; +NSString * const kGTLRPubsub_AwsKinesis_State_ConsumerNotFound = @"CONSUMER_NOT_FOUND"; +NSString * const kGTLRPubsub_AwsKinesis_State_KinesisPermissionDenied = @"KINESIS_PERMISSION_DENIED"; +NSString * const kGTLRPubsub_AwsKinesis_State_PublishPermissionDenied = @"PUBLISH_PERMISSION_DENIED"; +NSString * const kGTLRPubsub_AwsKinesis_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRPubsub_AwsKinesis_State_StreamNotFound = @"STREAM_NOT_FOUND"; + // GTLRPubsub_BigQueryConfig.state NSString * const kGTLRPubsub_BigQueryConfig_State_Active = @"ACTIVE"; NSString * const kGTLRPubsub_BigQueryConfig_State_InTransitLocationRestriction = @"IN_TRANSIT_LOCATION_RESTRICTION"; @@ -44,6 +52,11 @@ NSString * const kGTLRPubsub_Subscription_State_ResourceError = @"RESOURCE_ERROR"; NSString * const kGTLRPubsub_Subscription_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRPubsub_Topic.state +NSString * const kGTLRPubsub_Topic_State_Active = @"ACTIVE"; +NSString * const kGTLRPubsub_Topic_State_IngestionResourceError = @"INGESTION_RESOURCE_ERROR"; +NSString * const kGTLRPubsub_Topic_State_StateUnspecified = @"STATE_UNSPECIFIED"; + // GTLRPubsub_ValidateMessageRequest.encoding NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_Binary = @"BINARY"; NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_EncodingUnspecified = @"ENCODING_UNSPECIFIED"; @@ -77,6 +90,16 @@ @implementation GTLRPubsub_AvroConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRPubsub_AwsKinesis +// + +@implementation GTLRPubsub_AwsKinesis +@dynamic awsRoleArn, consumerArn, gcpServiceAccount, state, streamArn; +@end + + // ---------------------------------------------------------------------------- // // GTLRPubsub_BigQueryConfig @@ -204,6 +227,16 @@ @implementation GTLRPubsub_Expr @end +// ---------------------------------------------------------------------------- +// +// GTLRPubsub_IngestionDataSourceSettings +// + +@implementation GTLRPubsub_IngestionDataSourceSettings +@dynamic awsKinesis; +@end + + // ---------------------------------------------------------------------------- // // GTLRPubsub_ListSchemaRevisionsResponse @@ -732,8 +765,9 @@ @implementation GTLRPubsub_TextConfig // @implementation GTLRPubsub_Topic -@dynamic kmsKeyName, labels, messageRetentionDuration, messageStoragePolicy, - name, satisfiesPzs, schemaSettings; +@dynamic ingestionDataSourceSettings, kmsKeyName, labels, + messageRetentionDuration, messageStoragePolicy, name, satisfiesPzs, + schemaSettings, state; @end diff --git a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h index b3ca4fd6c..31f1e60da 100644 --- a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h +++ b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h @@ -16,6 +16,7 @@ #endif @class GTLRPubsub_AvroConfig; +@class GTLRPubsub_AwsKinesis; @class GTLRPubsub_BigQueryConfig; @class GTLRPubsub_Binding; @class GTLRPubsub_CloudStorageConfig; @@ -23,6 +24,7 @@ @class GTLRPubsub_DeadLetterPolicy; @class GTLRPubsub_ExpirationPolicy; @class GTLRPubsub_Expr; +@class GTLRPubsub_IngestionDataSourceSettings; @class GTLRPubsub_Message; @class GTLRPubsub_Message_Attributes; @class GTLRPubsub_MessageStoragePolicy; @@ -54,6 +56,53 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRPubsub_AwsKinesis.state + +/** + * Ingestion is active. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsKinesis_State_Active; +/** + * The Kinesis consumer does not exist. + * + * Value: "CONSUMER_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsKinesis_State_ConsumerNotFound; +/** + * Permission denied encountered while consuming data from Kinesis. This can + * happen if: - The provided `aws_role_arn` does not exist or does not have the + * appropriate permissions attached. - The provided `aws_role_arn` is not set + * up properly for Identity Federation using `gcp_service_account`. - The + * Pub/Sub SA is not granted the `iam.serviceAccounts.getOpenIdToken` + * permission on `gcp_service_account`. + * + * Value: "KINESIS_PERMISSION_DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsKinesis_State_KinesisPermissionDenied; +/** + * Permission denied encountered while publishing to the topic. This can happen + * due to Pub/Sub SA has not been granted the [appropriate publish + * permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher) + * + * Value: "PUBLISH_PERMISSION_DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsKinesis_State_PublishPermissionDenied; +/** + * Default value. This value is unused. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsKinesis_State_StateUnspecified; +/** + * The Kinesis stream does not exist. + * + * Value: "STREAM_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsKinesis_State_StreamNotFound; + // ---------------------------------------------------------------------------- // GTLRPubsub_BigQueryConfig.state @@ -205,6 +254,30 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_Subscription_State_ResourceError; */ FOUNDATION_EXTERN NSString * const kGTLRPubsub_Subscription_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRPubsub_Topic.state + +/** + * The topic does not have any persistent errors. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_Topic_State_Active; +/** + * Ingestion from the data source has encountered a permanent error. See the + * more detailed error state in the corresponding ingestion source + * configuration. + * + * Value: "INGESTION_RESOURCE_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_Topic_State_IngestionResourceError; +/** + * Default value. This value is unused. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_Topic_State_StateUnspecified; + // ---------------------------------------------------------------------------- // GTLRPubsub_ValidateMessageRequest.encoding @@ -262,6 +335,67 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J @end +/** + * Ingestion settings for Amazon Kinesis Data Streams. + */ +@interface GTLRPubsub_AwsKinesis : GTLRObject + +/** + * Required. AWS role ARN to be used for Federated Identity authentication with + * Kinesis. Check the Pub/Sub docs for how to set up this role and the required + * permissions that need to be attached to it. + */ +@property(nonatomic, copy, nullable) NSString *awsRoleArn; + +/** + * Required. The Kinesis consumer ARN to used for ingestion in Enhanced Fan-Out + * mode. The consumer must be already created and ready to be used. + */ +@property(nonatomic, copy, nullable) NSString *consumerArn; + +/** + * Required. The GCP service account to be used for Federated Identity + * authentication with Kinesis (via a `AssumeRoleWithWebIdentity` call for the + * provided role). The `aws_role_arn` must be set up with + * `accounts.google.com:sub` equals to this service account number. + */ +@property(nonatomic, copy, nullable) NSString *gcpServiceAccount; + +/** + * Output only. An output-only field that indicates the state of the Kinesis + * ingestion source. + * + * Likely values: + * @arg @c kGTLRPubsub_AwsKinesis_State_Active Ingestion is active. (Value: + * "ACTIVE") + * @arg @c kGTLRPubsub_AwsKinesis_State_ConsumerNotFound The Kinesis consumer + * does not exist. (Value: "CONSUMER_NOT_FOUND") + * @arg @c kGTLRPubsub_AwsKinesis_State_KinesisPermissionDenied Permission + * denied encountered while consuming data from Kinesis. This can happen + * if: - The provided `aws_role_arn` does not exist or does not have the + * appropriate permissions attached. - The provided `aws_role_arn` is not + * set up properly for Identity Federation using `gcp_service_account`. - + * The Pub/Sub SA is not granted the `iam.serviceAccounts.getOpenIdToken` + * permission on `gcp_service_account`. (Value: + * "KINESIS_PERMISSION_DENIED") + * @arg @c kGTLRPubsub_AwsKinesis_State_PublishPermissionDenied Permission + * denied encountered while publishing to the topic. This can happen due + * to Pub/Sub SA has not been granted the [appropriate publish + * permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher) + * (Value: "PUBLISH_PERMISSION_DENIED") + * @arg @c kGTLRPubsub_AwsKinesis_State_StateUnspecified Default value. This + * value is unused. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRPubsub_AwsKinesis_State_StreamNotFound The Kinesis stream + * does not exist. (Value: "STREAM_NOT_FOUND") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Required. The Kinesis stream ARN to ingest data from. */ +@property(nonatomic, copy, nullable) NSString *streamArn; + +@end + + /** * Configuration for a BigQuery subscription. */ @@ -420,7 +554,11 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -676,6 +814,17 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J @end +/** + * Settings for an ingestion data source on a topic. + */ +@interface GTLRPubsub_IngestionDataSourceSettings : GTLRObject + +/** Optional. Amazon Kinesis Data Streams. */ +@property(nonatomic, strong, nullable) GTLRPubsub_AwsKinesis *awsKinesis; + +@end + + /** * Response for the `ListSchemaRevisions` method. * @@ -880,9 +1029,9 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J @property(nonatomic, copy, nullable) NSString *data; /** - * Optional. ID of this message, assigned by the server when the message is - * published. Guaranteed to be unique within the topic. This value may be read - * by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push + * ID of this message, assigned by the server when the message is published. + * Guaranteed to be unique within the topic. This value may be read by a + * subscriber that receives a `PubsubMessage` via a `Pull` call or a push * delivery. It must not be populated by the publisher in a `Publish` call. */ @property(nonatomic, copy, nullable) NSString *messageId; @@ -900,9 +1049,9 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J @property(nonatomic, copy, nullable) NSString *orderingKey; /** - * Optional. The time at which the message was published, populated by the - * server when it receives the `Publish` call. It must not be populated by the - * publisher in a `Publish` call. + * The time at which the message was published, populated by the server when it + * receives the `Publish` call. It must not be populated by the publisher in a + * `Publish` call. */ @property(nonatomic, strong, nullable) GTLRDateTime *publishTime; @@ -964,8 +1113,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J * Specifying zero might immediately make the message available for delivery to * another subscriber client. This typically results in an increase in the rate * of message redeliveries (that is, duplicates). The minimum deadline you can - * specify is 0 seconds. The maximum deadline you can specify is 600 seconds - * (10 minutes). + * specify is 0 seconds. The maximum deadline you can specify in a single + * request is 600 seconds (10 minutes). * * Uses NSNumber of intValue. */ @@ -1778,6 +1927,11 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J */ @interface GTLRPubsub_Topic : GTLRObject +/** + * Optional. Settings for managed ingestion from a data source into this topic. + */ +@property(nonatomic, strong, nullable) GTLRPubsub_IngestionDataSourceSettings *ingestionDataSourceSettings; + /** * Optional. The resource name of the Cloud KMS CryptoKey to be used to protect * access to messages published on this topic. The expected format is @@ -1831,6 +1985,21 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J /** Optional. Settings for validating messages published against a schema. */ @property(nonatomic, strong, nullable) GTLRPubsub_SchemaSettings *schemaSettings; +/** + * Output only. An output-only field indicating the state of the topic. + * + * Likely values: + * @arg @c kGTLRPubsub_Topic_State_Active The topic does not have any + * persistent errors. (Value: "ACTIVE") + * @arg @c kGTLRPubsub_Topic_State_IngestionResourceError Ingestion from the + * data source has encountered a permanent error. See the more detailed + * error state in the corresponding ingestion source configuration. + * (Value: "INGESTION_RESOURCE_ERROR") + * @arg @c kGTLRPubsub_Topic_State_StateUnspecified Default value. This value + * is unused. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + @end diff --git a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubQuery.h b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubQuery.h index a0487a794..042b1b696 100644 --- a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubQuery.h +++ b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubQuery.h @@ -862,7 +862,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; @end /** - * Updates an existing snapshot. Snapshots are used in + * Updates an existing snapshot by updating the fields specified in the update + * mask. Snapshots are used in * [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, * which allow you to manage message acknowledgments in bulk. That is, you can * set the acknowledgment state of messages in an existing subscription to the @@ -882,7 +883,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; /** * Fetches a @c GTLRPubsub_Snapshot. * - * Updates an existing snapshot. Snapshots are used in + * Updates an existing snapshot by updating the fields specified in the update + * mask. Snapshots are used in * [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, * which allow you to manage message acknowledgments in bulk. That is, you can * set the acknowledgment state of messages in an existing subscription to the @@ -1369,8 +1371,9 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; @end /** - * Updates an existing subscription. Note that certain properties of a - * subscription, such as its topic, are not modifiable. + * Updates an existing subscription by updating the fields specified in the + * update mask. Note that certain properties of a subscription, such as its + * topic, are not modifiable. * * Method: pubsub.projects.subscriptions.patch * @@ -1393,8 +1396,9 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; /** * Fetches a @c GTLRPubsub_Subscription. * - * Updates an existing subscription. Note that certain properties of a - * subscription, such as its topic, are not modifiable. + * Updates an existing subscription by updating the fields specified in the + * update mask. Note that certain properties of a subscription, such as its + * topic, are not modifiable. * * @param object The @c GTLRPubsub_UpdateSubscriptionRequest to include in the * query. @@ -1780,8 +1784,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; @end /** - * Updates an existing topic. Note that certain properties of a topic are not - * modifiable. + * Updates an existing topic by updating the fields specified in the update + * mask. Note that certain properties of a topic are not modifiable. * * Method: pubsub.projects.topics.patch * @@ -1804,8 +1808,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsubViewSchemaViewUnspecified; /** * Fetches a @c GTLRPubsub_Topic. * - * Updates an existing topic. Note that certain properties of a topic are not - * modifiable. + * Updates an existing topic by updating the fields specified in the update + * mask. Note that certain properties of a topic are not modifiable. * * @param object The @c GTLRPubsub_UpdateTopicRequest to include in the query. * @param name Required. The name of the topic. It must have the format diff --git a/Sources/GeneratedServices/Recommender/GTLRRecommenderObjects.m b/Sources/GeneratedServices/Recommender/GTLRRecommenderObjects.m index 1e5d5e922..ec4ff4934 100644 --- a/Sources/GeneratedServices/Recommender/GTLRRecommenderObjects.m +++ b/Sources/GeneratedServices/Recommender/GTLRRecommenderObjects.m @@ -455,7 +455,7 @@ @implementation GTLRRecommender_GoogleCloudRecommenderV1OperationGroup @implementation GTLRRecommender_GoogleCloudRecommenderV1Recommendation @dynamic additionalImpact, associatedInsights, content, descriptionProperty, ETag, lastRefreshTime, name, primaryImpact, priority, - recommenderSubtype, stateInfo, xorGroupId; + recommenderSubtype, stateInfo, targetResources, xorGroupId; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -468,7 +468,8 @@ @implementation GTLRRecommender_GoogleCloudRecommenderV1Recommendation + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"additionalImpact" : [GTLRRecommender_GoogleCloudRecommenderV1Impact class], - @"associatedInsights" : [GTLRRecommender_GoogleCloudRecommenderV1RecommendationInsightReference class] + @"associatedInsights" : [GTLRRecommender_GoogleCloudRecommenderV1RecommendationInsightReference class], + @"targetResources" : [NSString class] }; return map; } diff --git a/Sources/GeneratedServices/Recommender/Public/GoogleAPIClientForREST/GTLRRecommenderObjects.h b/Sources/GeneratedServices/Recommender/Public/GoogleAPIClientForREST/GTLRRecommenderObjects.h index 9985e8c20..ba16020c3 100644 --- a/Sources/GeneratedServices/Recommender/Public/GoogleAPIClientForREST/GTLRRecommenderObjects.h +++ b/Sources/GeneratedServices/Recommender/Public/GoogleAPIClientForREST/GTLRRecommenderObjects.h @@ -1089,6 +1089,9 @@ FOUNDATION_EXTERN NSString * const kGTLRRecommender_GoogleCloudRecommenderV1Reli /** Information for state. Contains state and metadata. */ @property(nonatomic, strong, nullable) GTLRRecommender_GoogleCloudRecommenderV1RecommendationStateInfo *stateInfo; +/** Fully qualified resource names that this recommendation is targeting. */ +@property(nonatomic, strong, nullable) NSArray *targetResources; + /** * Corresponds to a mutually exclusive group ID within a recommender. A * non-empty ID indicates that the recommendation belongs to a mutually diff --git a/Sources/GeneratedServices/Reports/GTLRReportsQuery.m b/Sources/GeneratedServices/Reports/GTLRReportsQuery.m index a7461c9ac..4abd3b7ce 100644 --- a/Sources/GeneratedServices/Reports/GTLRReportsQuery.m +++ b/Sources/GeneratedServices/Reports/GTLRReportsQuery.m @@ -37,6 +37,7 @@ NSString * const kGTLRReportsApplicationNameSaml = @"saml"; NSString * const kGTLRReportsApplicationNameToken = @"token"; NSString * const kGTLRReportsApplicationNameUserAccounts = @"user_accounts"; +NSString * const kGTLRReportsApplicationNameVault = @"vault"; // entityType NSString * const kGTLRReportsEntityTypeGplusCommunities = @"gplus_communities"; diff --git a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsObjects.h b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsObjects.h index ab57abfc7..c5c7fe99e 100644 --- a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsObjects.h +++ b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsObjects.h @@ -162,10 +162,8 @@ NS_ASSUME_NONNULL_BEGIN * request parameters in general: - If no `eventName` is given, the report * returns all possible instances of an `eventName`. - When you request an * `eventName`, the API's response returns all activities which contain that - * `eventName`. It is possible that the returned activities will have other - * `eventName` properties in addition to the one requested. For more - * information about `eventName` properties, see the list of event names for - * various applications above in `applicationName`. + * `eventName`. For more information about `eventName` properties, see the list + * of event names for various applications above in `applicationName`. */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h index a0c02da70..8f1d025fb 100644 --- a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h +++ b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h @@ -174,6 +174,13 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameToken; * Value: "user_accounts" */ FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameUserAccounts; +/** + * The Vault activity reports return information about various types of Vault + * activity events. + * + * Value: "vault" + */ +FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameVault; // ---------------------------------------------------------------------------- // entityType @@ -294,6 +301,9 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * reports return information about various Google Keep activity events. * The Keep activity report is only available for Google Workspace * Business and Enterprise customers. (Value: "keep") + * @arg @c kGTLRReportsApplicationNameVault The Vault activity reports return + * information about various types of Vault activity events. (Value: + * "vault") */ @property(nonatomic, copy, nullable) NSString *applicationName; @@ -502,6 +512,9 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * reports return information about various Google Keep activity events. * The Keep activity report is only available for Google Workspace * Business and Enterprise customers. (Value: "keep") + * @arg @c kGTLRReportsApplicationNameVault The Vault activity reports return + * information about various types of Vault activity events. (Value: + * "vault") * * @return GTLRReportsQuery_ActivitiesList * diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m index b91fab8a4..abdbd41b7 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m @@ -386,6 +386,7 @@ NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlExternalSyncSettingErrorTypeUnspecified = @"SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlserverAgentNotRunning = @"SQLSERVER_AGENT_NOT_RUNNING"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlserverServernameMismatch = @"SQLSERVER_SERVERNAME_MISMATCH"; +NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SubscriptionCalculationStatus = @"SUBSCRIPTION_CALCULATION_STATUS"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_TurnOnPitrAfterPromote = @"TURN_ON_PITR_AFTER_PROMOTE"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnableToVerifyDefiners = @"UNABLE_TO_VERIFY_DEFINERS"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedBinlogFormat = @"UNSUPPORTED_BINLOG_FORMAT"; @@ -935,7 +936,7 @@ @implementation GTLRSQLAdmin_ExportContext_CsvExportOptions // @implementation GTLRSQLAdmin_ExportContext_SqlExportOptions -@dynamic mysqlExportOptions, schemaOnly, tables; +@dynamic mysqlExportOptions, parallel, schemaOnly, tables, threads; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h index e6f4450d6..264e5e510 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h @@ -821,13 +821,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_InstanceType_S // GTLRSQLAdmin_DatabaseInstance.sqlNetworkArchitecture /** - * Instance is a Tenancy Unit (TU) instance. + * The instance uses the new network architecture. * * Value: "NEW_NETWORK_ARCHITECTURE" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_SqlNetworkArchitecture_NewNetworkArchitecture; /** - * Instance is an Umbrella instance. + * The instance uses the old network architecture. * * Value: "OLD_NETWORK_ARCHITECTURE" */ @@ -2053,6 +2053,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Typ * Value: "SQLSERVER_SERVERNAME_MISMATCH" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlserverServernameMismatch; +/** + * If a time out occurs while the subscription counts are calculated, then this + * value is set to 1. Otherwise, this value is set to 2. + * + * Value: "SUBSCRIPTION_CALCULATION_STATUS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SubscriptionCalculationStatus; /** * This code instructs customers to turn on point-in-time recovery manually for * the instance after promoting the Cloud SQL for PostgreSQL instance. @@ -3292,10 +3299,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * * Likely values: * @arg @c kGTLRSQLAdmin_DatabaseInstance_SqlNetworkArchitecture_NewNetworkArchitecture - * Instance is a Tenancy Unit (TU) instance. (Value: + * The instance uses the new network architecture. (Value: * "NEW_NETWORK_ARCHITECTURE") * @arg @c kGTLRSQLAdmin_DatabaseInstance_SqlNetworkArchitecture_OldNetworkArchitecture - * Instance is an Umbrella instance. (Value: "OLD_NETWORK_ARCHITECTURE") + * The instance uses the old network architecture. (Value: + * "OLD_NETWORK_ARCHITECTURE") * @arg @c kGTLRSQLAdmin_DatabaseInstance_SqlNetworkArchitecture_SqlNetworkArchitectureUnspecified * Value "SQL_NETWORK_ARCHITECTURE_UNSPECIFIED" */ @@ -3739,6 +3747,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** Options for exporting from MySQL. */ @property(nonatomic, strong, nullable) GTLRSQLAdmin_ExportContext_SqlExportOptions_MysqlExportOptions *mysqlExportOptions; +/** + * Optional. Whether or not the export should be parallel. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *parallel; + /** * Export only schemas. * @@ -3753,6 +3768,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, strong, nullable) NSArray *tables; +/** + * Optional. The number of threads to use for parallel export. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *threads; + @end @@ -5618,6 +5640,10 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlserverServernameMismatch * SQL Server \@\@SERVERNAME does not match actual host name. (Value: * "SQLSERVER_SERVERNAME_MISMATCH") + * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SubscriptionCalculationStatus + * If a time out occurs while the subscription counts are calculated, + * then this value is set to 1. Otherwise, this value is set to 2. + * (Value: "SUBSCRIPTION_CALCULATION_STATUS") * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_TurnOnPitrAfterPromote * This code instructs customers to turn on point-in-time recovery * manually for the instance after promoting the Cloud SQL for PostgreSQL diff --git a/Sources/GeneratedServices/SecretManager/GTLRSecretManagerQuery.m b/Sources/GeneratedServices/SecretManager/GTLRSecretManagerQuery.m index 0d1c6043e..f4b8129f5 100644 --- a/Sources/GeneratedServices/SecretManager/GTLRSecretManagerQuery.m +++ b/Sources/GeneratedServices/SecretManager/GTLRSecretManagerQuery.m @@ -55,6 +55,363 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsAddVersion + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecretManager_AddSecretVersionRequest *)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}:addVersion"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsAddVersion *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecretManager_SecretVersion class]; + query.loggingName = @"secretmanager.projects.locations.secrets.addVersion"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsCreate + +@dynamic parent, secretId; + ++ (instancetype)queryWithObject:(GTLRSecretManager_Secret *)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}/secrets"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecretManager_Secret class]; + query.loggingName = @"secretmanager.projects.locations.secrets.create"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsDelete + +@dynamic ETag, name; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecretManager_Empty class]; + query.loggingName = @"secretmanager.projects.locations.secrets.delete"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecretManager_Secret class]; + query.loggingName = @"secretmanager.projects.locations.secrets.get"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRSecretManager_Policy class]; + query.loggingName = @"secretmanager.projects.locations.secrets.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/secrets"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecretManager_ListSecretsResponse class]; + query.loggingName = @"secretmanager.projects.locations.secrets.list"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecretManager_Secret *)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}"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecretManager_Secret class]; + query.loggingName = @"secretmanager.projects.locations.secrets.patch"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRSecretManager_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"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRSecretManager_Policy class]; + query.loggingName = @"secretmanager.projects.locations.secrets.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRSecretManager_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"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRSecretManager_TestIamPermissionsResponse class]; + query.loggingName = @"secretmanager.projects.locations.secrets.testIamPermissions"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsAccess + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:access"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsAccess *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecretManager_AccessSecretVersionResponse class]; + query.loggingName = @"secretmanager.projects.locations.secrets.versions.access"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsDestroy + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecretManager_DestroySecretVersionRequest *)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}:destroy"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsDestroy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecretManager_SecretVersion class]; + query.loggingName = @"secretmanager.projects.locations.secrets.versions.destroy"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsDisable + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecretManager_DisableSecretVersionRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:disable"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsDisable *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecretManager_SecretVersion class]; + query.loggingName = @"secretmanager.projects.locations.secrets.versions.disable"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsEnable + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecretManager_EnableSecretVersionRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:enable"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsEnable *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecretManager_SecretVersion class]; + query.loggingName = @"secretmanager.projects.locations.secrets.versions.enable"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecretManager_SecretVersion class]; + query.loggingName = @"secretmanager.projects.locations.secrets.versions.get"; + return query; +} + +@end + +@implementation GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/versions"; + GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecretManager_ListSecretVersionsResponse class]; + query.loggingName = @"secretmanager.projects.locations.secrets.versions.list"; + return query; +} + +@end + @implementation GTLRSecretManagerQuery_ProjectsSecretsAddVersion @dynamic parent; diff --git a/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerObjects.h b/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerObjects.h index af1c67307..f2f5585f0 100644 --- a/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerObjects.h +++ b/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerObjects.h @@ -117,7 +117,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecretManager_SecretVersion_State_StateU /** * The resource name of the SecretVersion in the format `projects/ * /secrets/ - * * /versions/ *`. + * * /versions/ *` or `projects/ * /locations/ * /secrets/ * /versions/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -312,7 +312,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSecretManager_SecretVersion_State_StateU /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -858,7 +862,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecretManager_SecretVersion_State_StateU @property(nonatomic, copy, nullable) NSString *name; /** - * Required. Immutable. The replication policy of the secret data attached to + * Optional. Immutable. The replication policy of the secret data attached to * the Secret. The replication policy cannot be changed after the Secret has * been created. */ @@ -886,8 +890,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSecretManager_SecretVersion_State_StateU * characters. An alias string must start with a letter and cannot be the * string 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given * secret. Version-Alias pairs will be viewable via GetSecret and modifiable - * via UpdateSecret. At launch Access by Allias will only be supported on - * GetSecretVersion and AccessSecretVersion. + * via UpdateSecret. Access by alias is only be supported on GetSecretVersion + * and AccessSecretVersion. */ @property(nonatomic, strong, nullable) GTLRSecretManager_Secret_VersionAliases *versionAliases; @@ -938,8 +942,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSecretManager_SecretVersion_State_StateU * characters. An alias string must start with a letter and cannot be the * string 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given * secret. Version-Alias pairs will be viewable via GetSecret and modifiable - * via UpdateSecret. At launch Access by Allias will only be supported on - * GetSecretVersion and AccessSecretVersion. + * via UpdateSecret. Access by alias is only be supported on GetSecretVersion + * and AccessSecretVersion. * * @note This class is documented as having more properties of NSNumber (Uses * NSNumber of longLongValue.). Use @c -additionalJSONKeys and @c diff --git a/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerQuery.h b/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerQuery.h index 5d433f22b..a833b0246 100644 --- a/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerQuery.h +++ b/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerQuery.h @@ -109,6 +109,619 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates a new SecretVersion containing secret data and attaches it to an + * existing Secret. + * + * Method: secretmanager.projects.locations.secrets.addVersion + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsAddVersion : GTLRSecretManagerQuery + +/** + * Required. The resource name of the Secret to associate with the + * SecretVersion in the format `projects/ * /secrets/ *` or `projects/ * + * /locations/ * /secrets/ *`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecretManager_SecretVersion. + * + * Creates a new SecretVersion containing secret data and attaches it to an + * existing Secret. + * + * @param object The @c GTLRSecretManager_AddSecretVersionRequest to include in + * the query. + * @param parent Required. The resource name of the Secret to associate with + * the SecretVersion in the format `projects/ * /secrets/ *` or `projects/ * + * /locations/ * /secrets/ *`. + * + * @return GTLRSecretManagerQuery_ProjectsLocationsSecretsAddVersion + */ ++ (instancetype)queryWithObject:(GTLRSecretManager_AddSecretVersionRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Creates a new Secret containing no SecretVersions. + * + * Method: secretmanager.projects.locations.secrets.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsCreate : GTLRSecretManagerQuery + +/** + * Required. The resource name of the project to associate with the Secret, in + * the format `projects/ *` or `projects/ * /locations/ *`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Required. This must be unique within the project. A secret ID is a string + * with a maximum length of 255 characters and can contain uppercase and + * lowercase letters, numerals, and the hyphen (`-`) and underscore (`_`) + * characters. + */ +@property(nonatomic, copy, nullable) NSString *secretId; + +/** + * Fetches a @c GTLRSecretManager_Secret. + * + * Creates a new Secret containing no SecretVersions. + * + * @param object The @c GTLRSecretManager_Secret to include in the query. + * @param parent Required. The resource name of the project to associate with + * the Secret, in the format `projects/ *` or `projects/ * /locations/ *`. + * + * @return GTLRSecretManagerQuery_ProjectsLocationsSecretsCreate + */ ++ (instancetype)queryWithObject:(GTLRSecretManager_Secret *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a Secret. + * + * Method: secretmanager.projects.locations.secrets.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsDelete : GTLRSecretManagerQuery + +/** + * Optional. Etag of the Secret. The request succeeds if it matches the etag of + * the currently stored secret object. If the etag is omitted, the request + * succeeds. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. The resource name of the Secret to delete in the format `projects/ + * * /secrets/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecretManager_Empty. + * + * Deletes a Secret. + * + * @param name Required. The resource name of the Secret to delete in the + * format `projects/ * /secrets/ *`. + * + * @return GTLRSecretManagerQuery_ProjectsLocationsSecretsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets metadata for a given Secret. + * + * Method: secretmanager.projects.locations.secrets.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsGet : GTLRSecretManagerQuery + +/** + * Required. The resource name of the Secret, in the format `projects/ * + * /secrets/ *` or `projects/ * /locations/ * /secrets/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecretManager_Secret. + * + * Gets metadata for a given Secret. + * + * @param name Required. The resource name of the Secret, in the format + * `projects/ * /secrets/ *` or `projects/ * /locations/ * /secrets/ *`. + * + * @return GTLRSecretManagerQuery_ProjectsLocationsSecretsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the access control policy for a secret. Returns empty policy if the + * secret exists and does not have a policy set. + * + * Method: secretmanager.projects.locations.secrets.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsGetIamPolicy : GTLRSecretManagerQuery + +/** + * 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 GTLRSecretManager_Policy. + * + * Gets the access control policy for a secret. Returns empty policy if the + * secret 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 GTLRSecretManagerQuery_ProjectsLocationsSecretsGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Lists Secrets. + * + * Method: secretmanager.projects.locations.secrets.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsList : GTLRSecretManagerQuery + +/** + * Optional. Filter string, adhering to the rules in [List-operation + * filtering](https://cloud.google.com/secret-manager/docs/filtering). List + * only secrets matching the filter. If filter is empty, all secrets are + * listed. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of results to be returned in a single page. If + * set to 0, the server decides the number of results to return. If the number + * is greater than 25000, it is capped at 25000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. Pagination token, returned earlier via + * ListSecretsResponse.next_page_token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the project associated with the Secrets, in + * the format `projects/ *` or `projects/ * /locations/ *` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecretManager_ListSecretsResponse. + * + * Lists Secrets. + * + * @param parent Required. The resource name of the project associated with the + * Secrets, in the format `projects/ *` or `projects/ * /locations/ *` + * + * @return GTLRSecretManagerQuery_ProjectsLocationsSecretsList + * + * @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 metadata of an existing Secret. + * + * Method: secretmanager.projects.locations.secrets.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsPatch : GTLRSecretManagerQuery + +/** + * Output only. The resource name of the Secret in the format `projects/ * + * /secrets/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Specifies the fields to be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecretManager_Secret. + * + * Updates metadata of an existing Secret. + * + * @param object The @c GTLRSecretManager_Secret to include in the query. + * @param name Output only. The resource name of the Secret in the format + * `projects/ * /secrets/ *`. + * + * @return GTLRSecretManagerQuery_ProjectsLocationsSecretsPatch + */ ++ (instancetype)queryWithObject:(GTLRSecretManager_Secret *)object + name:(NSString *)name; + +@end + +/** + * Sets the access control policy on the specified secret. Replaces any + * existing policy. Permissions on SecretVersions are enforced according to the + * policy set on the associated Secret. + * + * Method: secretmanager.projects.locations.secrets.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsSetIamPolicy : GTLRSecretManagerQuery + +/** + * 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 GTLRSecretManager_Policy. + * + * Sets the access control policy on the specified secret. Replaces any + * existing policy. Permissions on SecretVersions are enforced according to the + * policy set on the associated Secret. + * + * @param object The @c GTLRSecretManager_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 GTLRSecretManagerQuery_ProjectsLocationsSecretsSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRSecretManager_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Returns permissions that a caller has for the specified secret. If the + * secret does not exist, this call returns 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: secretmanager.projects.locations.secrets.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsTestIamPermissions : GTLRSecretManagerQuery + +/** + * 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 GTLRSecretManager_TestIamPermissionsResponse. + * + * Returns permissions that a caller has for the specified secret. If the + * secret does not exist, this call returns 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 GTLRSecretManager_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 GTLRSecretManagerQuery_ProjectsLocationsSecretsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRSecretManager_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Accesses a SecretVersion. This call returns the secret data. `projects/ * + * /secrets/ * /versions/latest` is an alias to the most recently created + * SecretVersion. + * + * Method: secretmanager.projects.locations.secrets.versions.access + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsAccess : GTLRSecretManagerQuery + +/** + * Required. The resource name of the SecretVersion in the format `projects/ * + * /secrets/ * /versions/ *` or `projects/ * /locations/ * /secrets/ * + * /versions/ *`. `projects/ * /secrets/ * /versions/latest` or `projects/ * + * /locations/ * /secrets/ * /versions/latest` is an alias to the most recently + * created SecretVersion. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecretManager_AccessSecretVersionResponse. + * + * Accesses a SecretVersion. This call returns the secret data. `projects/ * + * /secrets/ * /versions/latest` is an alias to the most recently created + * SecretVersion. + * + * @param name Required. The resource name of the SecretVersion in the format + * `projects/ * /secrets/ * /versions/ *` or `projects/ * /locations/ * + * /secrets/ * /versions/ *`. `projects/ * /secrets/ * /versions/latest` or + * `projects/ * /locations/ * /secrets/ * /versions/latest` is an alias to + * the most recently created SecretVersion. + * + * @return GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsAccess + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Destroys a SecretVersion. Sets the state of the SecretVersion to DESTROYED + * and irrevocably destroys the secret data. + * + * Method: secretmanager.projects.locations.secrets.versions.destroy + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsDestroy : GTLRSecretManagerQuery + +/** + * Required. The resource name of the SecretVersion to destroy in the format + * `projects/ * /secrets/ * /versions/ *` or `projects/ * /locations/ * + * /secrets/ * /versions/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecretManager_SecretVersion. + * + * Destroys a SecretVersion. Sets the state of the SecretVersion to DESTROYED + * and irrevocably destroys the secret data. + * + * @param object The @c GTLRSecretManager_DestroySecretVersionRequest to + * include in the query. + * @param name Required. The resource name of the SecretVersion to destroy in + * the format `projects/ * /secrets/ * /versions/ *` or `projects/ * + * /locations/ * /secrets/ * /versions/ *`. + * + * @return GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsDestroy + */ ++ (instancetype)queryWithObject:(GTLRSecretManager_DestroySecretVersionRequest *)object + name:(NSString *)name; + +@end + +/** + * Disables a SecretVersion. Sets the state of the SecretVersion to DISABLED. + * + * Method: secretmanager.projects.locations.secrets.versions.disable + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsDisable : GTLRSecretManagerQuery + +/** + * Required. The resource name of the SecretVersion to disable in the format + * `projects/ * /secrets/ * /versions/ *` or `projects/ * /locations/ * + * /secrets/ * /versions/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecretManager_SecretVersion. + * + * Disables a SecretVersion. Sets the state of the SecretVersion to DISABLED. + * + * @param object The @c GTLRSecretManager_DisableSecretVersionRequest to + * include in the query. + * @param name Required. The resource name of the SecretVersion to disable in + * the format `projects/ * /secrets/ * /versions/ *` or `projects/ * + * /locations/ * /secrets/ * /versions/ *`. + * + * @return GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsDisable + */ ++ (instancetype)queryWithObject:(GTLRSecretManager_DisableSecretVersionRequest *)object + name:(NSString *)name; + +@end + +/** + * Enables a SecretVersion. Sets the state of the SecretVersion to ENABLED. + * + * Method: secretmanager.projects.locations.secrets.versions.enable + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsEnable : GTLRSecretManagerQuery + +/** + * Required. The resource name of the SecretVersion to enable in the format + * `projects/ * /secrets/ * /versions/ *` or `projects/ * /locations/ * + * /secrets/ * /versions/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecretManager_SecretVersion. + * + * Enables a SecretVersion. Sets the state of the SecretVersion to ENABLED. + * + * @param object The @c GTLRSecretManager_EnableSecretVersionRequest to include + * in the query. + * @param name Required. The resource name of the SecretVersion to enable in + * the format `projects/ * /secrets/ * /versions/ *` or `projects/ * + * /locations/ * /secrets/ * /versions/ *`. + * + * @return GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsEnable + */ ++ (instancetype)queryWithObject:(GTLRSecretManager_EnableSecretVersionRequest *)object + name:(NSString *)name; + +@end + +/** + * Gets metadata for a SecretVersion. `projects/ * /secrets/ * + * /versions/latest` is an alias to the most recently created SecretVersion. + * + * Method: secretmanager.projects.locations.secrets.versions.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsGet : GTLRSecretManagerQuery + +/** + * Required. The resource name of the SecretVersion in the format `projects/ * + * /secrets/ * /versions/ *` or `projects/ * /locations/ * /secrets/ * + * /versions/ *`. `projects/ * /secrets/ * /versions/latest` or `projects/ * + * /locations/ * /secrets/ * /versions/latest` is an alias to the most recently + * created SecretVersion. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecretManager_SecretVersion. + * + * Gets metadata for a SecretVersion. `projects/ * /secrets/ * + * /versions/latest` is an alias to the most recently created SecretVersion. + * + * @param name Required. The resource name of the SecretVersion in the format + * `projects/ * /secrets/ * /versions/ *` or `projects/ * /locations/ * + * /secrets/ * /versions/ *`. `projects/ * /secrets/ * /versions/latest` or + * `projects/ * /locations/ * /secrets/ * /versions/latest` is an alias to + * the most recently created SecretVersion. + * + * @return GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists SecretVersions. This call does not return secret data. + * + * Method: secretmanager.projects.locations.secrets.versions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecretManagerCloudPlatform + */ +@interface GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsList : GTLRSecretManagerQuery + +/** + * Optional. Filter string, adhering to the rules in [List-operation + * filtering](https://cloud.google.com/secret-manager/docs/filtering). List + * only secret versions matching the filter. If filter is empty, all secret + * versions are listed. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of results to be returned in a single page. If + * set to 0, the server decides the number of results to return. If the number + * is greater than 25000, it is capped at 25000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. Pagination token, returned earlier via + * ListSecretVersionsResponse.next_page_token][]. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the Secret associated with the SecretVersions + * to list, in the format `projects/ * /secrets/ *` or `projects/ * /locations/ + * * /secrets/ *`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecretManager_ListSecretVersionsResponse. + * + * Lists SecretVersions. This call does not return secret data. + * + * @param parent Required. The resource name of the Secret associated with the + * SecretVersions to list, in the format `projects/ * /secrets/ *` or + * `projects/ * /locations/ * /secrets/ *`. + * + * @return GTLRSecretManagerQuery_ProjectsLocationsSecretsVersionsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Creates a new SecretVersion containing secret data and attaches it to an * existing Secret. @@ -122,7 +735,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Secret to associate with the - * SecretVersion in the format `projects/ * /secrets/ *`. + * SecretVersion in the format `projects/ * /secrets/ *` or `projects/ * + * /locations/ * /secrets/ *`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -135,7 +749,8 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRSecretManager_AddSecretVersionRequest to include in * the query. * @param parent Required. The resource name of the Secret to associate with - * the SecretVersion in the format `projects/ * /secrets/ *`. + * the SecretVersion in the format `projects/ * /secrets/ *` or `projects/ * + * /locations/ * /secrets/ *`. * * @return GTLRSecretManagerQuery_ProjectsSecretsAddVersion */ @@ -156,7 +771,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the project to associate with the Secret, in - * the format `projects/ *`. + * the format `projects/ *` or `projects/ * /locations/ *`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -175,7 +790,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRSecretManager_Secret to include in the query. * @param parent Required. The resource name of the project to associate with - * the Secret, in the format `projects/ *`. + * the Secret, in the format `projects/ *` or `projects/ * /locations/ *`. * * @return GTLRSecretManagerQuery_ProjectsSecretsCreate */ @@ -233,7 +848,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Secret, in the format `projects/ * - * /secrets/ *`. + * /secrets/ *` or `projects/ * /locations/ * /secrets/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -243,7 +858,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets metadata for a given Secret. * * @param name Required. The resource name of the Secret, in the format - * `projects/ * /secrets/ *`. + * `projects/ * /secrets/ *` or `projects/ * /locations/ * /secrets/ *`. * * @return GTLRSecretManagerQuery_ProjectsSecretsGet */ @@ -333,7 +948,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the project associated with the Secrets, in - * the format `projects/ *`. + * the format `projects/ *` or `projects/ * /locations/ *` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -343,7 +958,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists Secrets. * * @param parent Required. The resource name of the project associated with the - * Secrets, in the format `projects/ *`. + * Secrets, in the format `projects/ *` or `projects/ * /locations/ *` * * @return GTLRSecretManagerQuery_ProjectsSecretsList * @@ -492,8 +1107,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the SecretVersion in the format `projects/ * - * /secrets/ * /versions/ *`. `projects/ * /secrets/ * /versions/latest` is an - * alias to the most recently created SecretVersion. + * /secrets/ * /versions/ *` or `projects/ * /locations/ * /secrets/ * + * /versions/ *`. `projects/ * /secrets/ * /versions/latest` or `projects/ * + * /locations/ * /secrets/ * /versions/latest` is an alias to the most recently + * created SecretVersion. */ @property(nonatomic, copy, nullable) NSString *name; @@ -505,8 +1122,10 @@ NS_ASSUME_NONNULL_BEGIN * SecretVersion. * * @param name Required. The resource name of the SecretVersion in the format - * `projects/ * /secrets/ * /versions/ *`. `projects/ * /secrets/ * - * /versions/latest` is an alias to the most recently created SecretVersion. + * `projects/ * /secrets/ * /versions/ *` or `projects/ * /locations/ * + * /secrets/ * /versions/ *`. `projects/ * /secrets/ * /versions/latest` or + * `projects/ * /locations/ * /secrets/ * /versions/latest` is an alias to + * the most recently created SecretVersion. * * @return GTLRSecretManagerQuery_ProjectsSecretsVersionsAccess */ @@ -527,7 +1146,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the SecretVersion to destroy in the format - * `projects/ * /secrets/ * /versions/ *`. + * `projects/ * /secrets/ * /versions/ *` or `projects/ * /locations/ * + * /secrets/ * /versions/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -540,7 +1160,8 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRSecretManager_DestroySecretVersionRequest to * include in the query. * @param name Required. The resource name of the SecretVersion to destroy in - * the format `projects/ * /secrets/ * /versions/ *`. + * the format `projects/ * /secrets/ * /versions/ *` or `projects/ * + * /locations/ * /secrets/ * /versions/ *`. * * @return GTLRSecretManagerQuery_ProjectsSecretsVersionsDestroy */ @@ -561,7 +1182,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the SecretVersion to disable in the format - * `projects/ * /secrets/ * /versions/ *`. + * `projects/ * /secrets/ * /versions/ *` or `projects/ * /locations/ * + * /secrets/ * /versions/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -573,7 +1195,8 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRSecretManager_DisableSecretVersionRequest to * include in the query. * @param name Required. The resource name of the SecretVersion to disable in - * the format `projects/ * /secrets/ * /versions/ *`. + * the format `projects/ * /secrets/ * /versions/ *` or `projects/ * + * /locations/ * /secrets/ * /versions/ *`. * * @return GTLRSecretManagerQuery_ProjectsSecretsVersionsDisable */ @@ -594,7 +1217,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the SecretVersion to enable in the format - * `projects/ * /secrets/ * /versions/ *`. + * `projects/ * /secrets/ * /versions/ *` or `projects/ * /locations/ * + * /secrets/ * /versions/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -606,7 +1230,8 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRSecretManager_EnableSecretVersionRequest to include * in the query. * @param name Required. The resource name of the SecretVersion to enable in - * the format `projects/ * /secrets/ * /versions/ *`. + * the format `projects/ * /secrets/ * /versions/ *` or `projects/ * + * /locations/ * /secrets/ * /versions/ *`. * * @return GTLRSecretManagerQuery_ProjectsSecretsVersionsEnable */ @@ -628,8 +1253,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the SecretVersion in the format `projects/ * - * /secrets/ * /versions/ *`. `projects/ * /secrets/ * /versions/latest` is an - * alias to the most recently created SecretVersion. + * /secrets/ * /versions/ *` or `projects/ * /locations/ * /secrets/ * + * /versions/ *`. `projects/ * /secrets/ * /versions/latest` or `projects/ * + * /locations/ * /secrets/ * /versions/latest` is an alias to the most recently + * created SecretVersion. */ @property(nonatomic, copy, nullable) NSString *name; @@ -640,8 +1267,10 @@ NS_ASSUME_NONNULL_BEGIN * /versions/latest` is an alias to the most recently created SecretVersion. * * @param name Required. The resource name of the SecretVersion in the format - * `projects/ * /secrets/ * /versions/ *`. `projects/ * /secrets/ * - * /versions/latest` is an alias to the most recently created SecretVersion. + * `projects/ * /secrets/ * /versions/ *` or `projects/ * /locations/ * + * /secrets/ * /versions/ *`. `projects/ * /secrets/ * /versions/latest` or + * `projects/ * /locations/ * /secrets/ * /versions/latest` is an alias to + * the most recently created SecretVersion. * * @return GTLRSecretManagerQuery_ProjectsSecretsVersionsGet */ @@ -682,7 +1311,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the Secret associated with the SecretVersions - * to list, in the format `projects/ * /secrets/ *`. + * to list, in the format `projects/ * /secrets/ *` or `projects/ * /locations/ + * * /secrets/ *`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -692,7 +1322,8 @@ NS_ASSUME_NONNULL_BEGIN * Lists SecretVersions. This call does not return secret data. * * @param parent Required. The resource name of the Secret associated with the - * SecretVersions to list, in the format `projects/ * /secrets/ *`. + * SecretVersions to list, in the format `projects/ * /secrets/ *` or + * `projects/ * /locations/ * /secrets/ *`. * * @return GTLRSecretManagerQuery_ProjectsSecretsVersionsList * diff --git a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m index 747896d78..3d12b8431 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m @@ -189,6 +189,20 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule_EnablementState_EnablementStateUnspecified = @"ENABLEMENT_STATE_UNSPECIFIED"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule_EnablementState_Inherited = @"INHERITED"; +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping.highSensitivityMapping +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_High = @"HIGH"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_Low = @"LOW"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_Medium = @"MEDIUM"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_None = @"NONE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_ResourceValueUnspecified = @"RESOURCE_VALUE_UNSPECIFIED"; + +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping.mediumSensitivityMapping +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_High = @"HIGH"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_Low = @"LOW"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_Medium = @"MEDIUM"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_None = @"NONE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_ResourceValueUnspecified = @"RESOURCE_VALUE_UNSPECIFIED"; + // GTLRSecurityCommandCenter_IamBinding.action NSString * const kGTLRSecurityCommandCenter_IamBinding_Action_ActionUnspecified = @"ACTION_UNSPECIFIED"; NSString * const kGTLRSecurityCommandCenter_IamBinding_Action_Add = @"ADD"; @@ -1420,7 +1434,8 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceSel @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig @dynamic createTime, descriptionProperty, name, resourceLabelsSelector, - resourceType, resourceValue, scope, tagValues, updateTime; + resourceType, resourceValue, scope, sensitiveDataProtectionMapping, + tagValues, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1471,6 +1486,16 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHea @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping +@dynamic highSensitivityMapping, mediumSensitivityMapping; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_GroupAssetsRequest diff --git a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m index 0fe8b6f2f..6734c3554 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m @@ -2253,7 +2253,7 @@ + (instancetype)queryWithParent:(NSString *)parent { @implementation GTLRSecurityCommandCenterQuery_OrganizationsSimulationsAttackExposureResultsValuedResourcesList -@dynamic filter, pageSize, pageToken, parent; +@dynamic filter, orderBy, pageSize, pageToken, parent; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; @@ -2348,7 +2348,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRSecurityCommandCenterQuery_OrganizationsSimulationsValuedResourcesList -@dynamic filter, pageSize, pageToken, parent; +@dynamic filter, orderBy, pageSize, pageToken, parent; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h index 37a36296e..472483bb8 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h @@ -83,6 +83,7 @@ @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig_ResourceLabelsSelector; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping; @class GTLRSecurityCommandCenter_GroupResult; @class GTLRSecurityCommandCenter_GroupResult_Properties; @class GTLRSecurityCommandCenter_IamBinding; @@ -1026,6 +1027,74 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule_EnablementState_Inherited; +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping.highSensitivityMapping + +/** + * High resource value + * + * Value: "HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_High; +/** + * Low resource value + * + * Value: "LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_Low; +/** + * Medium resource value + * + * Value: "MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_Medium; +/** + * No resource value, e.g. ignore these resources + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_None; +/** + * Unspecific value + * + * Value: "RESOURCE_VALUE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_ResourceValueUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping.mediumSensitivityMapping + +/** + * High resource value + * + * Value: "HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_High; +/** + * Low resource value + * + * Value: "LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_Low; +/** + * Medium resource value + * + * Value: "MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_Medium; +/** + * No resource value, e.g. ignore these resources + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_None; +/** + * Unspecific value + * + * Value: "RESOURCE_VALUE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_ResourceValueUnspecified; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_IamBinding.action @@ -2584,7 +2653,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -2902,8 +2975,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res /** - * CVE stands for Common Vulnerabilities and Exposures. More information: - * https://cve.mitre.org + * CVE stands for Common Vulnerabilities and Exposures. Information from the + * [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes + * this vulnerability. */ @interface GTLRSecurityCommandCenter_Cve : GTLRObject @@ -4794,6 +4868,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res */ @property(nonatomic, copy, nullable) NSString *scope; +/** + * A mapping of the sensitivity on Sensitive Data Protection finding to + * resource values. This mapping can only be used in combination with a + * resource_type that is related to BigQuery, e.g. + * "bigquery.googleapis.com/Dataset". + */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping *sensitiveDataProtectionMapping; + /** * Required. Tag values combined with AND to check against. Values in the form * "tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ] @@ -4918,6 +5000,52 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_ValuedResource_Res @end +/** + * Resource value mapping for Sensitive Data Protection findings. If any of + * these mappings have a resource value that is not unspecified, the + * resource_value field will be ignored when reading this configuration. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping : GTLRObject + +/** + * Resource value mapping for high-sensitivity Sensitive Data Protection + * findings + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_High + * High resource value (Value: "HIGH") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_Low + * Low resource value (Value: "LOW") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_Medium + * Medium resource value (Value: "MEDIUM") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_None + * No resource value, e.g. ignore these resources (Value: "NONE") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_HighSensitivityMapping_ResourceValueUnspecified + * Unspecific value (Value: "RESOURCE_VALUE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *highSensitivityMapping; + +/** + * Resource value mapping for medium-sensitivity Sensitive Data Protection + * findings + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_High + * High resource value (Value: "HIGH") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_Low + * Low resource value (Value: "LOW") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_Medium + * Medium resource value (Value: "MEDIUM") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_None + * No resource value, e.g. ignore these resources (Value: "NONE") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_ResourceValueUnspecified + * Unspecific value (Value: "RESOURCE_VALUE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *mediumSensitivityMapping; + +@end + + /** * Request message for grouping by assets. */ diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h index d6d521da6..23772c9b0 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h @@ -4857,6 +4857,17 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *filter; +/** + * Optional. The fields by which to order the valued resources response. + * Supported fields: * `exposed_score` * `resource_value` * `resource_type` * + * `resource` * `display_name` Values should be a comma separated list of + * fields. For example: `exposed_score,resource_value`. The default sorting + * order is descending. To specify ascending or descending order for a field, + * append a " ASC" or a " DESC" suffix, respectively; for example: + * `exposed_score DESC`. + */ +@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. @@ -5100,6 +5111,17 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *filter; +/** + * Optional. The fields by which to order the valued resources response. + * Supported fields: * `exposed_score` * `resource_value` * `resource_type` * + * `resource` * `display_name` Values should be a comma separated list of + * fields. For example: `exposed_score,resource_value`. The default sorting + * order is descending. To specify ascending or descending order for a field, + * append a " ASC" or a " DESC" suffix, respectively; for example: + * `exposed_score DESC`. + */ +@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. diff --git a/Sources/GeneratedServices/ServiceDirectory/Public/GoogleAPIClientForREST/GTLRServiceDirectoryObjects.h b/Sources/GeneratedServices/ServiceDirectory/Public/GoogleAPIClientForREST/GTLRServiceDirectoryObjects.h index 68a3b665c..074ee374f 100644 --- a/Sources/GeneratedServices/ServiceDirectory/Public/GoogleAPIClientForREST/GTLRServiceDirectoryObjects.h +++ b/Sources/GeneratedServices/ServiceDirectory/Public/GoogleAPIClientForREST/GTLRServiceDirectoryObjects.h @@ -111,7 +111,11 @@ NS_ASSUME_NONNULL_BEGIN /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h b/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h index e95be4ab6..262208c7e 100644 --- a/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h +++ b/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h @@ -1644,7 +1644,11 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_Type_Syntax_SyntaxProt /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m index 7db8c05f7..8997a25b6 100644 --- a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m +++ b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m @@ -116,6 +116,7 @@ NSString * const kGTLRShoppingContent_CheckoutSettings_EffectiveEnrollmentState_CheckoutOnMerchantEnrollmentStateUnspecified = @"CHECKOUT_ON_MERCHANT_ENROLLMENT_STATE_UNSPECIFIED"; NSString * const kGTLRShoppingContent_CheckoutSettings_EffectiveEnrollmentState_Enrolled = @"ENROLLED"; NSString * const kGTLRShoppingContent_CheckoutSettings_EffectiveEnrollmentState_Inactive = @"INACTIVE"; +NSString * const kGTLRShoppingContent_CheckoutSettings_EffectiveEnrollmentState_OptOut = @"OPT_OUT"; // GTLRShoppingContent_CheckoutSettings.effectiveReviewState NSString * const kGTLRShoppingContent_CheckoutSettings_EffectiveReviewState_Approved = @"APPROVED"; @@ -127,6 +128,7 @@ NSString * const kGTLRShoppingContent_CheckoutSettings_EnrollmentState_CheckoutOnMerchantEnrollmentStateUnspecified = @"CHECKOUT_ON_MERCHANT_ENROLLMENT_STATE_UNSPECIFIED"; NSString * const kGTLRShoppingContent_CheckoutSettings_EnrollmentState_Enrolled = @"ENROLLED"; NSString * const kGTLRShoppingContent_CheckoutSettings_EnrollmentState_Inactive = @"INACTIVE"; +NSString * const kGTLRShoppingContent_CheckoutSettings_EnrollmentState_OptOut = @"OPT_OUT"; // GTLRShoppingContent_CheckoutSettings.reviewState NSString * const kGTLRShoppingContent_CheckoutSettings_ReviewState_Approved = @"APPROVED"; @@ -1432,16 +1434,6 @@ @implementation GTLRShoppingContent_BusinessDayConfig @end -// ---------------------------------------------------------------------------- -// -// GTLRShoppingContent_BusinessMessagesLink -// - -@implementation GTLRShoppingContent_BusinessMessagesLink -@dynamic agentId, businessMessagesLinkId; -@end - - // ---------------------------------------------------------------------------- // // GTLRShoppingContent_BuyOnGoogleProgramStatus @@ -2785,28 +2777,6 @@ @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 diff --git a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.m b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.m index cb9bd15bd..eb51eaeee 100644 --- a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.m +++ b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.m @@ -84,97 +84,6 @@ + (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; diff --git a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h index 34830b937..3accae502 100644 --- a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h +++ b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h @@ -64,7 +64,6 @@ @class GTLRShoppingContent_BuiltInSimpleAction; @class GTLRShoppingContent_BuiltInSimpleActionAdditionalContent; @class GTLRShoppingContent_BusinessDayConfig; -@class GTLRShoppingContent_BusinessMessagesLink; @class GTLRShoppingContent_CarrierRate; @class GTLRShoppingContent_CarriersCarrier; @class GTLRShoppingContent_CloudExportAdditionalProperties; @@ -843,6 +842,12 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_CheckoutSettings_Effecti * Value: "INACTIVE" */ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_CheckoutSettings_EffectiveEnrollmentState_Inactive; +/** + * Merchant has previously enrolled but opted out of the feature. + * + * Value: "OPT_OUT" + */ +FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_CheckoutSettings_EffectiveEnrollmentState_OptOut; // ---------------------------------------------------------------------------- // GTLRShoppingContent_CheckoutSettings.effectiveReviewState @@ -895,6 +900,12 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_CheckoutSettings_Enrollm * Value: "INACTIVE" */ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_CheckoutSettings_EnrollmentState_Inactive; +/** + * Merchant has previously enrolled but opted out of the feature. + * + * Value: "OPT_OUT" + */ +FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_CheckoutSettings_EnrollmentState_OptOut; // ---------------------------------------------------------------------------- // GTLRShoppingContent_CheckoutSettings.reviewState @@ -4359,32 +4370,6 @@ 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. */ @@ -4612,6 +4597,9 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest * level URL or checkout URLs as part of their feed. (Value: "ENROLLED") * @arg @c kGTLRShoppingContent_CheckoutSettings_EffectiveEnrollmentState_Inactive * Merchant has not enrolled into the feature. (Value: "INACTIVE") + * @arg @c kGTLRShoppingContent_CheckoutSettings_EffectiveEnrollmentState_OptOut + * Merchant has previously enrolled but opted out of the feature. (Value: + * "OPT_OUT") */ @property(nonatomic, copy, nullable) NSString *effectiveEnrollmentState; @@ -4656,6 +4644,9 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest * level URL or checkout URLs as part of their feed. (Value: "ENROLLED") * @arg @c kGTLRShoppingContent_CheckoutSettings_EnrollmentState_Inactive * Merchant has not enrolled into the feature. (Value: "INACTIVE") + * @arg @c kGTLRShoppingContent_CheckoutSettings_EnrollmentState_OptOut + * Merchant has previously enrolled but opted out of the feature. (Value: + * "OPT_OUT") */ @property(nonatomic, copy, nullable) NSString *enrollmentState; @@ -7266,33 +7257,6 @@ 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. * @@ -11624,11 +11588,7 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest * "`store-match-unverified`": The provided POS store couldn't be matched to * any of the connected Google Business Profile stores, as the matched Google * Business Profile store is unverified. Go through the Google Business Profile - * verification process to match correctly. - "`store-match-unavailable`": The - * provided POS store couldn't be matched to any of the connected Google - * Business Profile stores, as the matched Google Business Profile store is in - * an invalid state. Fix any issues on your Google Business Profile store to - * match correctly. + * verification process to match correctly. */ @property(nonatomic, copy, nullable) NSString *matchingStatusHint; diff --git a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentQuery.h b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentQuery.h index ade197fe5..e3fbaeb57 100644 --- a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentQuery.h +++ b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentQuery.h @@ -284,147 +284,6 @@ 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. diff --git a/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m b/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m index 16bd292f3..3f7033864 100644 --- a/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m +++ b/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m @@ -154,6 +154,7 @@ NSString * const kGTLRSpanner_Type_Code_Bytes = @"BYTES"; NSString * const kGTLRSpanner_Type_Code_Date = @"DATE"; NSString * const kGTLRSpanner_Type_Code_Enum = @"ENUM"; +NSString * const kGTLRSpanner_Type_Code_Float32 = @"FLOAT32"; NSString * const kGTLRSpanner_Type_Code_Float64 = @"FLOAT64"; NSString * const kGTLRSpanner_Type_Code_Int64 = @"INT64"; NSString * const kGTLRSpanner_Type_Code_Json = @"JSON"; @@ -343,8 +344,8 @@ @implementation GTLRSpanner_ChildLink // @implementation GTLRSpanner_CommitRequest -@dynamic mutations, requestOptions, returnCommitStats, singleUseTransaction, - transactionId; +@dynamic maxCommitDelay, mutations, requestOptions, returnCommitStats, + singleUseTransaction, transactionId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -915,7 +916,7 @@ + (Class)classForAdditionalProperties { @implementation GTLRSpanner_InstanceConfig @dynamic baseConfig, configType, displayName, ETag, freeInstanceAvailability, labels, leaderOptions, name, optionalReplicas, reconciling, replicas, - state; + state, storageLimitPerProcessingUnit; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; diff --git a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h index a8dd265e3..a8ec0e0a3 100644 --- a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h +++ b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h @@ -809,6 +809,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_Type_Code_Date; * Value: "ENUM" */ FOUNDATION_EXTERN NSString * const kGTLRSpanner_Type_Code_Enum; +/** + * Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or `"-Infinity"`. + * + * Value: "FLOAT32" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_Type_Code_Float32; /** * Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or `"-Infinity"`. * @@ -1323,7 +1329,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; @@ -1370,6 +1380,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni */ @interface GTLRSpanner_CommitRequest : GTLRObject +/** + * Optional. The amount of latency this request is willing to incur in order to + * improve throughput. If this field is not set, Spanner assumes requests are + * relatively latency sensitive and automatically determines an appropriate + * delay time. You can specify a batching delay value between 0 and 500 ms. + */ +@property(nonatomic, strong, nullable) GTLRDuration *maxCommitDelay; + /** * The mutations to be executed when this transaction commits. All mutations * are applied atomically, in the order they appear in this list. @@ -2951,6 +2969,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni */ @property(nonatomic, copy, nullable) NSString *state; +/** + * Output only. The storage limit in bytes per processing unit. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *storageLimitPerProcessingUnit; + @end @@ -4644,7 +4669,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni */ @property(nonatomic, strong, nullable) NSNumber *defaultLeaderLocation; -/** The location of the serving resources, e.g. "us-central1". */ +/** The location of the serving resources, e.g., "us-central1". */ @property(nonatomic, copy, nullable) NSString *location; /** @@ -5667,6 +5692,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni * format. (Value: "DATE") * @arg @c kGTLRSpanner_Type_Code_Enum Encoded as `string`, in decimal * format. (Value: "ENUM") + * @arg @c kGTLRSpanner_Type_Code_Float32 Encoded as `number`, or the strings + * `"NaN"`, `"Infinity"`, or `"-Infinity"`. (Value: "FLOAT32") * @arg @c kGTLRSpanner_Type_Code_Float64 Encoded as `number`, or the strings * `"NaN"`, `"Infinity"`, or `"-Infinity"`. (Value: "FLOAT64") * @arg @c kGTLRSpanner_Type_Code_Int64 Encoded as `string`, in decimal diff --git a/Sources/GeneratedServices/StorageTransfer/GTLRStorageTransferObjects.m b/Sources/GeneratedServices/StorageTransfer/GTLRStorageTransferObjects.m index 6940b7749..bbd868bda 100644 --- a/Sources/GeneratedServices/StorageTransfer/GTLRStorageTransferObjects.m +++ b/Sources/GeneratedServices/StorageTransfer/GTLRStorageTransferObjects.m @@ -303,7 +303,7 @@ @implementation GTLRStorageTransfer_EventStream // @implementation GTLRStorageTransfer_GcsData -@dynamic bucketName, path; +@dynamic bucketName, managedFolderTransferEnabled, path; @end diff --git a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h index 23b17c805..9d7c5bbe8 100644 --- a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h +++ b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h @@ -1280,6 +1280,17 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit */ @property(nonatomic, copy, nullable) NSString *bucketName; +/** + * Transfer managed folders is in public preview. This option is only + * applicable to the Cloud Storage source bucket. If set to true: - The source + * managed folder will be transferred to the destination bucket - The + * destination managed folder will always be overwritten, other OVERWRITE + * options will not be supported + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *managedFolderTransferEnabled; + /** * Root path to transfer objects. Must be an empty string or full path name * that ends with a '/'. This field is treated as an object prefix. As such, it diff --git a/Sources/GeneratedServices/TPU/GTLRTPUObjects.m b/Sources/GeneratedServices/TPU/GTLRTPUObjects.m index 185fc43bd..ee3c509d6 100644 --- a/Sources/GeneratedServices/TPU/GTLRTPUObjects.m +++ b/Sources/GeneratedServices/TPU/GTLRTPUObjects.m @@ -516,7 +516,7 @@ @implementation GTLRTPU_RuntimeVersion // @implementation GTLRTPU_SchedulingConfig -@dynamic preemptible, reserved; +@dynamic preemptible, reserved, spot; @end diff --git a/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUObjects.h b/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUObjects.h index 6a08f0bd5..3019debd0 100644 --- a/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUObjects.h +++ b/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUObjects.h @@ -1124,6 +1124,13 @@ FOUNDATION_EXTERN NSString * const kGTLRTPU_Symptom_SymptomType_SymptomTypeUnspe */ @property(nonatomic, strong, nullable) NSNumber *reserved; +/** + * Optional. Defines whether the node is Spot VM. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *spot; + @end diff --git a/Sources/GeneratedServices/Transcoder/GTLRTranscoderObjects.m b/Sources/GeneratedServices/Transcoder/GTLRTranscoderObjects.m index 2c6bc2649..7f59a6ff2 100644 --- a/Sources/GeneratedServices/Transcoder/GTLRTranscoderObjects.m +++ b/Sources/GeneratedServices/Transcoder/GTLRTranscoderObjects.m @@ -314,8 +314,26 @@ @implementation GTLRTranscoder_Fmp4Config @implementation GTLRTranscoder_H264CodecSettings @dynamic allowOpenGop, aqStrength, bFrameCount, bitrateBps, bPyramid, crfLevel, enableTwoPass, entropyCoder, frameRate, gopDuration, gopFrameCount, - heightPixels, pixelFormat, preset, profile, rateControlMode, tune, - vbvFullnessBits, vbvSizeBits, widthPixels; + heightPixels, hlg, pixelFormat, preset, profile, rateControlMode, sdr, + tune, vbvFullnessBits, vbvSizeBits, widthPixels; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranscoder_H264ColorFormatHLG +// + +@implementation GTLRTranscoder_H264ColorFormatHLG +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranscoder_H264ColorFormatSDR +// + +@implementation GTLRTranscoder_H264ColorFormatSDR @end @@ -326,9 +344,36 @@ @implementation GTLRTranscoder_H264CodecSettings @implementation GTLRTranscoder_H265CodecSettings @dynamic allowOpenGop, aqStrength, bFrameCount, bitrateBps, bPyramid, crfLevel, - enableTwoPass, frameRate, gopDuration, gopFrameCount, heightPixels, - pixelFormat, preset, profile, rateControlMode, tune, vbvFullnessBits, - vbvSizeBits, widthPixels; + enableTwoPass, frameRate, gopDuration, gopFrameCount, hdr10, + heightPixels, hlg, pixelFormat, preset, profile, rateControlMode, sdr, + tune, vbvFullnessBits, vbvSizeBits, widthPixels; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranscoder_H265ColorFormatHDR10 +// + +@implementation GTLRTranscoder_H265ColorFormatHDR10 +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranscoder_H265ColorFormatHLG +// + +@implementation GTLRTranscoder_H265ColorFormatHLG +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranscoder_H265ColorFormatSDR +// + +@implementation GTLRTranscoder_H265ColorFormatSDR @end @@ -717,7 +762,26 @@ @implementation GTLRTranscoder_VideoStream @implementation GTLRTranscoder_Vp9CodecSettings @dynamic bitrateBps, crfLevel, frameRate, gopDuration, gopFrameCount, - heightPixels, pixelFormat, profile, rateControlMode, widthPixels; + heightPixels, hlg, pixelFormat, profile, rateControlMode, sdr, + widthPixels; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranscoder_Vp9ColorFormatHLG +// + +@implementation GTLRTranscoder_Vp9ColorFormatHLG +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranscoder_Vp9ColorFormatSDR +// + +@implementation GTLRTranscoder_Vp9ColorFormatSDR @end diff --git a/Sources/GeneratedServices/Transcoder/Public/GoogleAPIClientForREST/GTLRTranscoderObjects.h b/Sources/GeneratedServices/Transcoder/Public/GoogleAPIClientForREST/GTLRTranscoderObjects.h index 544b7652c..c4ad4d151 100644 --- a/Sources/GeneratedServices/Transcoder/Public/GoogleAPIClientForREST/GTLRTranscoderObjects.h +++ b/Sources/GeneratedServices/Transcoder/Public/GoogleAPIClientForREST/GTLRTranscoderObjects.h @@ -39,7 +39,12 @@ @class GTLRTranscoder_Fairplay; @class GTLRTranscoder_Fmp4Config; @class GTLRTranscoder_H264CodecSettings; +@class GTLRTranscoder_H264ColorFormatHLG; +@class GTLRTranscoder_H264ColorFormatSDR; @class GTLRTranscoder_H265CodecSettings; +@class GTLRTranscoder_H265ColorFormatHDR10; +@class GTLRTranscoder_H265ColorFormatHLG; +@class GTLRTranscoder_H265ColorFormatSDR; @class GTLRTranscoder_Image; @class GTLRTranscoder_Input; @class GTLRTranscoder_Job; @@ -67,6 +72,8 @@ @class GTLRTranscoder_TextStream; @class GTLRTranscoder_VideoStream; @class GTLRTranscoder_Vp9CodecSettings; +@class GTLRTranscoder_Vp9ColorFormatHLG; +@class GTLRTranscoder_Vp9ColorFormatSDR; @class GTLRTranscoder_Widevine; @class GTLRTranscoder_YadifConfig; @@ -937,6 +944,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Manifest_Type_ManifestTypeUns */ @property(nonatomic, strong, nullable) NSNumber *heightPixels; +/** Optional. HLG color format setting for H264. */ +@property(nonatomic, strong, nullable) GTLRTranscoder_H264ColorFormatHLG *hlg; + /** * Pixel format to use. The default is `yuv420p`. Supported pixel formats: - * `yuv420p` pixel format - `yuv422p` pixel format - `yuv444p` pixel format - @@ -970,6 +980,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Manifest_Type_ManifestTypeUns */ @property(nonatomic, copy, nullable) NSString *rateControlMode; +/** Optional. SDR color format setting for H264. */ +@property(nonatomic, strong, nullable) GTLRTranscoder_H264ColorFormatSDR *sdr; + /** * Enforces the specified codec tune. The available options are * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). Note @@ -1011,6 +1024,20 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Manifest_Type_ManifestTypeUns @end +/** + * Convert the input video to a Hybrid Log Gamma (HLG) video. + */ +@interface GTLRTranscoder_H264ColorFormatHLG : GTLRObject +@end + + +/** + * Convert the input video to a Standard Dynamic Range (SDR) video. + */ +@interface GTLRTranscoder_H264ColorFormatSDR : GTLRObject +@end + + /** * H265 codec settings. */ @@ -1103,6 +1130,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Manifest_Type_ManifestTypeUns */ @property(nonatomic, strong, nullable) NSNumber *gopFrameCount; +/** Optional. HDR10 color format setting for H265. */ +@property(nonatomic, strong, nullable) GTLRTranscoder_H265ColorFormatHDR10 *hdr10; + /** * The height of the video in pixels. Must be an even integer. When not * specified, the height is adjusted to match the specified width and input @@ -1116,6 +1146,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Manifest_Type_ManifestTypeUns */ @property(nonatomic, strong, nullable) NSNumber *heightPixels; +/** Optional. HLG color format setting for H265. */ +@property(nonatomic, strong, nullable) GTLRTranscoder_H265ColorFormatHLG *hlg; + /** * Pixel format to use. The default is `yuv420p`. Supported pixel formats: - * `yuv420p` pixel format - `yuv422p` pixel format - `yuv444p` pixel format - @@ -1153,6 +1186,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Manifest_Type_ManifestTypeUns */ @property(nonatomic, copy, nullable) NSString *rateControlMode; +/** Optional. SDR color format setting for H265. */ +@property(nonatomic, strong, nullable) GTLRTranscoder_H265ColorFormatSDR *sdr; + /** * Enforces the specified codec tune. The available options are * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265). Note that @@ -1194,6 +1230,27 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Manifest_Type_ManifestTypeUns @end +/** + * Convert the input video to a High Dynamic Range 10 (HDR10) video. + */ +@interface GTLRTranscoder_H265ColorFormatHDR10 : GTLRObject +@end + + +/** + * Convert the input video to a Hybrid Log Gamma (HLG) video. + */ +@interface GTLRTranscoder_H265ColorFormatHLG : GTLRObject +@end + + +/** + * Convert the input video to a Standard Dynamic Range (SDR) video. + */ +@interface GTLRTranscoder_H265ColorFormatSDR : GTLRObject +@end + + /** * Overlaid image. */ @@ -2106,6 +2163,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Manifest_Type_ManifestTypeUns */ @property(nonatomic, strong, nullable) NSNumber *heightPixels; +/** Optional. HLG color format setting for VP9. */ +@property(nonatomic, strong, nullable) GTLRTranscoder_Vp9ColorFormatHLG *hlg; + /** * Pixel format to use. The default is `yuv420p`. Supported pixel formats: - * `yuv420p` pixel format - `yuv422p` pixel format - `yuv444p` pixel format - @@ -2130,6 +2190,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Manifest_Type_ManifestTypeUns */ @property(nonatomic, copy, nullable) NSString *rateControlMode; +/** Optional. SDR color format setting for VP9. */ +@property(nonatomic, strong, nullable) GTLRTranscoder_Vp9ColorFormatSDR *sdr; + /** * The width of the video in pixels. Must be an even integer. When not * specified, the width is adjusted to match the specified height and input @@ -2146,6 +2209,20 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Manifest_Type_ManifestTypeUns @end +/** + * Convert the input video to a Hybrid Log Gamma (HLG) video. + */ +@interface GTLRTranscoder_Vp9ColorFormatHLG : GTLRObject +@end + + +/** + * Convert the input video to a Standard Dynamic Range (SDR) video. + */ +@interface GTLRTranscoder_Vp9ColorFormatSDR : GTLRObject +@end + + /** * Widevine configuration. */ diff --git a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateObjects.h b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateObjects.h index 6a67d3f5c..846462e09 100644 --- a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateObjects.h +++ b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateObjects.h @@ -135,7 +135,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the file, in form of - * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/files/{file}` + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -155,7 +155,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the file, in form of - * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/files/{file}/sentences/{sentence}` + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence}` */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h index 05132da9f..0d3be5cab 100644 --- a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h +++ b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h @@ -202,7 +202,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the file to delete, in form of - * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/files/{file}` + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -212,7 +212,7 @@ NS_ASSUME_NONNULL_BEGIN * 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}` + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` * * @return GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesDelete */ @@ -233,7 +233,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the file, in form of - * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/files/{file}` + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -243,7 +243,7 @@ NS_ASSUME_NONNULL_BEGIN * 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}` + * `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` * * @return GTLRTranslateQuery_ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesGet */ diff --git a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h index 6eb5ff63d..51d2b90ac 100644 --- a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h +++ b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h @@ -1803,7 +1803,7 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power /** - * AwsVmDetails describes a VM in AWS. + * AzureVmDetails describes a VM in Azure. */ @interface GTLRVMMigrationService_AzureVmDetails : GTLRObject diff --git a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h index 5d9a85816..de36bb0fc 100644 --- a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h +++ b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h @@ -1137,7 +1137,11 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_VpcNetwork_Type_TypeUnspeci /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m index 3c24b3544..07ce271ce 100644 --- a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m +++ b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m @@ -21,6 +21,8 @@ NSString * const kGTLRVersionHistory_Channel_ChannelType_ChannelTypeUnspecified = @"CHANNEL_TYPE_UNSPECIFIED"; NSString * const kGTLRVersionHistory_Channel_ChannelType_Dev = @"DEV"; NSString * const kGTLRVersionHistory_Channel_ChannelType_Extended = @"EXTENDED"; +NSString * const kGTLRVersionHistory_Channel_ChannelType_Ltc = @"LTC"; +NSString * const kGTLRVersionHistory_Channel_ChannelType_Lts = @"LTS"; NSString * const kGTLRVersionHistory_Channel_ChannelType_Stable = @"STABLE"; // GTLRVersionHistory_Platform.platformType diff --git a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h index 7b795bd5c..de732e68b 100644 --- a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h +++ b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h @@ -47,6 +47,18 @@ FOUNDATION_EXTERN NSString * const kGTLRVersionHistory_Channel_ChannelType_Chann FOUNDATION_EXTERN NSString * const kGTLRVersionHistory_Channel_ChannelType_Dev; /** Value: "EXTENDED" */ FOUNDATION_EXTERN NSString * const kGTLRVersionHistory_Channel_ChannelType_Extended; +/** + * The Long-term support candidate channel for ChromeOS. + * + * Value: "LTC" + */ +FOUNDATION_EXTERN NSString * const kGTLRVersionHistory_Channel_ChannelType_Ltc; +/** + * The Long-term support channel for ChromeOS. + * + * Value: "LTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRVersionHistory_Channel_ChannelType_Lts; /** Value: "STABLE" */ FOUNDATION_EXTERN NSString * const kGTLRVersionHistory_Channel_ChannelType_Stable; @@ -104,6 +116,10 @@ FOUNDATION_EXTERN NSString * const kGTLRVersionHistory_Platform_PlatformType_Win * Value "CHANNEL_TYPE_UNSPECIFIED" * @arg @c kGTLRVersionHistory_Channel_ChannelType_Dev Value "DEV" * @arg @c kGTLRVersionHistory_Channel_ChannelType_Extended Value "EXTENDED" + * @arg @c kGTLRVersionHistory_Channel_ChannelType_Ltc The Long-term support + * candidate channel for ChromeOS. (Value: "LTC") + * @arg @c kGTLRVersionHistory_Channel_ChannelType_Lts The Long-term support + * channel for ChromeOS. (Value: "LTS") * @arg @c kGTLRVersionHistory_Channel_ChannelType_Stable Value "STABLE" */ @property(nonatomic, copy, nullable) NSString *channelType; diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h index adb2a6373..d5a47a4d4 100644 --- a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h @@ -4079,7 +4079,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri @interface GTLRWalletobjects_FlightCarrier : GTLRObject /** - * A logo for the airline alliance, displayed above the QR code that the + * A logo for the airline alliance, displayed below the QR code that the * passenger scans to board. */ @property(nonatomic, strong, nullable) GTLRWalletobjects_Image *airlineAllianceLogo; diff --git a/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m b/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m index f1083454d..282c2cb02 100644 --- a/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m +++ b/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m @@ -121,8 +121,10 @@ @implementation GTLRWorkflowExecutions_Exception // @implementation GTLRWorkflowExecutions_Execution -@dynamic argument, callLogLevel, duration, endTime, error, labels, name, result, - startTime, state, stateError, status, workflowRevisionId; +@dynamic argument, callLogLevel, createTime, + disableConcurrencyQuotaOverflowBuffering, duration, endTime, error, + labels, name, result, startTime, state, stateError, status, + workflowRevisionId; @end diff --git a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h index c8fb0efc3..42b3c6d36 100644 --- a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h +++ b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h @@ -423,6 +423,18 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_Pro */ @property(nonatomic, copy, nullable) NSString *callLogLevel; +/** Output only. Marks the creation of the execution. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. If set to true, the execution will not be backlogged when the + * concurrency quota is exhausted. The backlog execution starts when the + * concurrency quota becomes available. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableConcurrencyQuotaOverflowBuffering; + /** Output only. Measures the duration of the execution. */ @property(nonatomic, strong, nullable) GTLRDuration *duration; @@ -721,9 +733,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_Pro @property(nonatomic, copy, nullable) NSString *data; /** - * Optional. ID of this message, assigned by the server when the message is - * published. Guaranteed to be unique within the topic. This value may be read - * by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push + * ID of this message, assigned by the server when the message is published. + * Guaranteed to be unique within the topic. This value may be read by a + * subscriber that receives a `PubsubMessage` via a `Pull` call or a push * delivery. It must not be populated by the publisher in a `Publish` call. */ @property(nonatomic, copy, nullable) NSString *messageId; @@ -741,9 +753,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_Pro @property(nonatomic, copy, nullable) NSString *orderingKey; /** - * Optional. The time at which the message was published, populated by the - * server when it receives the `Publish` call. It must not be populated by the - * publisher in a `Publish` call. + * The time at which the message was published, populated by the server when it + * receives the `Publish` call. It must not be populated by the publisher in a + * `Publish` call. */ @property(nonatomic, strong, nullable) GTLRDateTime *publishTime; diff --git a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h index 9cc36764f..5cb8e265c 100644 --- a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h +++ b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsQuery.h @@ -280,19 +280,19 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutionsViewFull; /** * Optional. Filters applied to the `[Executions.ListExecutions]` results. The * following fields are supported for filtering: `executionId`, `state`, - * `startTime`, `endTime`, `duration`, `workflowRevisionId`, `stepName`, and - * `label`. For details, see AIP-160. For example, if you are using the Google - * APIs Explorer: `state="SUCCEEDED"` or `startTime>"2023-08-01" AND - * state="FAILED"` + * `createTime`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, + * `stepName`, and `label`. For details, see AIP-160. For example, if you are + * using the Google APIs Explorer: `state="SUCCEEDED"` or + * `startTime>"2023-08-01" AND state="FAILED"` */ @property(nonatomic, copy, nullable) NSString *filter; /** * Optional. Comma-separated list of fields that specify the ordering applied * to the `[Executions.ListExecutions]` results. By default the ordering is - * based on descending `startTime`. The following fields are supported for - * ordering: `executionId`, `state`, `startTime`, `endTime`, `duration`, and - * `workflowRevisionId`. For details, see AIP-132. + * based on descending `createTime`. The following fields are supported for + * ordering: `executionId`, `state`, `createTime`, `startTime`, `endTime`, + * `duration`, and `workflowRevisionId`. For details, see AIP-132. */ @property(nonatomic, copy, nullable) NSString *orderBy; diff --git a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m index 1a931f314..77122b77e 100644 --- a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m +++ b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m @@ -534,12 +534,19 @@ @implementation GTLRWorkloadManager_ResourceStatus @implementation GTLRWorkloadManager_Rule @dynamic descriptionProperty, displayName, errorMessage, name, primaryCategory, - remediation, revisionId, secondaryCategory, severity, uri; + remediation, revisionId, secondaryCategory, severity, tags, uri; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; } ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"tags" : [NSString class] + }; + return map; +} + @end @@ -703,7 +710,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRWorkloadManager_ScannedResource -@dynamic resource; +@dynamic resource, type; @end diff --git a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h index 4d9d63f7e..8387ae528 100644 --- a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h +++ b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h @@ -1161,6 +1161,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid /** the severity of the rule */ @property(nonatomic, copy, nullable) NSString *severity; +/** List of user-defined tags */ +@property(nonatomic, strong, nullable) NSArray *tags; + /** the docuement url for the rule */ @property(nonatomic, copy, nullable) NSString *uri; @@ -1557,6 +1560,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid /** resource name */ @property(nonatomic, copy, nullable) NSString *resource; +/** resource type */ +@property(nonatomic, copy, nullable) NSString *type; + @end diff --git a/Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsObjects.m b/Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsObjects.m new file mode 100644 index 000000000..9819380d1 --- /dev/null +++ b/Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsObjects.m @@ -0,0 +1,13 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Workspace Events API (workspaceevents/v1) +// Description: +// The Google Workspace Events API lets you subscribe to events and manage +// change notifications across Google Workspace applications. +// Documentation: +// https://developers.google.com/workspace/events + +#import + diff --git a/Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsQuery.m b/Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsQuery.m new file mode 100644 index 000000000..a3ade9b47 --- /dev/null +++ b/Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsQuery.m @@ -0,0 +1,18 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Workspace Events API (workspaceevents/v1) +// Description: +// The Google Workspace Events API lets you subscribe to events and manage +// change notifications across Google Workspace applications. +// Documentation: +// https://developers.google.com/workspace/events + +#import + +@implementation GTLRWorkspaceEventsQuery + +@dynamic fields; + +@end diff --git a/Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsService.m b/Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsService.m new file mode 100644 index 000000000..b9e655484 --- /dev/null +++ b/Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsService.m @@ -0,0 +1,27 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Workspace Events API (workspaceevents/v1) +// Description: +// The Google Workspace Events API lets you subscribe to events and manage +// change notifications across Google Workspace applications. +// Documentation: +// https://developers.google.com/workspace/events + +#import + +@implementation GTLRWorkspaceEventsService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://workspaceevents.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEvents.h b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEvents.h new file mode 100644 index 000000000..5b89a7e0a --- /dev/null +++ b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEvents.h @@ -0,0 +1,14 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Workspace Events API (workspaceevents/v1) +// Description: +// The Google Workspace Events API lets you subscribe to events and manage +// change notifications across Google Workspace applications. +// Documentation: +// https://developers.google.com/workspace/events + +#import "GTLRWorkspaceEventsObjects.h" +#import "GTLRWorkspaceEventsQuery.h" +#import "GTLRWorkspaceEventsService.h" diff --git a/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsObjects.h b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsObjects.h new file mode 100644 index 000000000..b9ab7365c --- /dev/null +++ b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsObjects.h @@ -0,0 +1,28 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Workspace Events API (workspaceevents/v1) +// Description: +// The Google Workspace Events API lets you subscribe to events and manage +// change notifications across Google Workspace applications. +// Documentation: +// https://developers.google.com/workspace/events + +#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 + + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsQuery.h b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsQuery.h new file mode 100644 index 000000000..fde71cde7 --- /dev/null +++ b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsQuery.h @@ -0,0 +1,37 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Workspace Events API (workspaceevents/v1) +// Description: +// The Google Workspace Events API lets you subscribe to events and manage +// change notifications across Google Workspace applications. +// Documentation: +// https://developers.google.com/workspace/events + +#import + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Parent class for other Workspace Events query classes. + */ +@interface GTLRWorkspaceEventsQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsService.h b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsService.h new file mode 100644 index 000000000..bf3823d1e --- /dev/null +++ b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsService.h @@ -0,0 +1,60 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Google Workspace Events API (workspaceevents/v1) +// Description: +// The Google Workspace Events API lets you subscribe to events and manage +// change notifications across Google Workspace applications. +// Documentation: +// https://developers.google.com/workspace/events + +#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 + +/** + * Service for executing Google Workspace Events API queries. + * + * The Google Workspace Events API lets you subscribe to events and manage + * change notifications across Google Workspace applications. + */ +@interface GTLRWorkspaceEventsService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRWorkspaceEventsQuery.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/YouTube/GTLRYouTubeQuery.m b/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m index 93a95cceb..5ad02f05b 100644 --- a/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m +++ b/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m @@ -513,8 +513,9 @@ + (instancetype)queryWithObject:(GTLRYouTube_ChannelSection *)object @implementation GTLRYouTubeQuery_ChannelsList -@dynamic categoryId, forUsername, hl, identifier, managedByMe, maxResults, mine, - mySubscribers, onBehalfOfContentOwner, pageToken, part; +@dynamic categoryId, forHandle, forUsername, hl, identifier, managedByMe, + maxResults, mine, mySubscribers, onBehalfOfContentOwner, pageToken, + part; + (NSDictionary *)parameterNameMap { return @{ @"identifier" : @"id" }; diff --git a/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h b/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h index abb1d3b94..c43a80218 100644 --- a/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h +++ b/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h @@ -1322,6 +1322,9 @@ FOUNDATION_EXTERN NSString * const kGTLRYouTubeVideoTypeVideoTypeUnspecified; /** Return the channels within the specified guide category ID. */ @property(nonatomic, copy, nullable) NSString *categoryId; +/** Return the channel associated with a YouTube handle. */ +@property(nonatomic, copy, nullable) NSString *forHandle; + /** Return the channel associated with a YouTube username. */ @property(nonatomic, copy, nullable) NSString *forUsername;